[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCloudRun\u003c/code\u003e class in the Eventarc v1 API is 2.6.0, with the class representing a Cloud Run destination for events.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudRun\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Eventarc.V1\u003c/code\u003e namespace, implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003ePath\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, and \u003ccode\u003eService\u003c/code\u003e to specify the Cloud Run service details for event routing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAsResourceName\u003c/code\u003e property offers a resource name view over the \u003ccode\u003eService\u003c/code\u003e property for streamlined resource name handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instantiated via a default constructor or a constructor that accepts another \u003ccode\u003eCloudRun\u003c/code\u003e instance as a copy.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class CloudRun (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.CloudRun)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.CloudRun) \n\n public sealed class CloudRun : IMessage\u003cCloudRun\u003e, IEquatable\u003cCloudRun\u003e, IDeepCloneable\u003cCloudRun\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class CloudRun.\n\nRepresents a Cloud Run destination. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CloudRun \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudRun](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudRun), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudRun](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudRun), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudRun](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudRun), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### CloudRun()\n\n public CloudRun()\n\n### CloudRun(CloudRun)\n\n public CloudRun(CloudRun other)\n\nProperties\n----------\n\n### Path\n\n public string Path { get; set; }\n\nOptional. The relative path on the Cloud Run service the events should be\nsent to.\n\nThe value must conform to the definition of a URI path segment (section 3.3\nof RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".\n\n### Region\n\n public string Region { get; set; }\n\nRequired. The region the Cloud Run service is deployed in.\n\n### Service\n\n public string Service { get; set; }\n\nRequired. The name of the Cloud Run service being addressed. See\n\u003chttps://cloud.google.com/run/docs/reference/rest/v1/namespaces.services\u003e.\n\nOnly services located in the same project as the trigger object\ncan be addressed.\n\n### ServiceAsResourceName\n\n public IResourceName ServiceAsResourceName { get; set; }\n\n[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html)-typed view over the [Service](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudRun#Google_Cloud_Eventarc_V1_CloudRun_Service) resource name property."]]