public sealed class CloudRun : IMessage<CloudRun>, IEquatable<CloudRun>, IDeepCloneable<CloudRun>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class CloudRun.
Represents a Cloud Run destination.
Implements
IMessage<CloudRun>, IEquatable<CloudRun>, IDeepCloneable<CloudRun>, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
CloudRun()
public CloudRun()
CloudRun(CloudRun)
public CloudRun(CloudRun other)
Parameter | |
---|---|
Name | Description |
other | CloudRun |
Properties
Path
public string Path { get; set; }
Optional. The relative path on the Cloud Run service the events should be sent to.
The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
Property Value | |
---|---|
Type | Description |
String |
Region
public string Region { get; set; }
Required. The region the Cloud Run service is deployed in.
Property Value | |
---|---|
Type | Description |
String |
Service
public string Service { get; set; }
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.
Only services located in the same project as the trigger object can be addressed.
Property Value | |
---|---|
Type | Description |
String |
ServiceAsResourceName
public IResourceName ServiceAsResourceName { get; set; }
IResourceName-typed view over the Service resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |