Class CloudRun (1.2.0)

public sealed class CloudRun : IMessage<CloudRun>, IEquatable<CloudRun>, IDeepCloneable<CloudRun>, IBufferMessage, IMessage

Represents a Cloud Run destination.

Inheritance

Object > CloudRun

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

CloudRun()

public CloudRun()

CloudRun(CloudRun)

public CloudRun(CloudRun other)
Parameter
NameDescription
otherCloudRun

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
TypeDescription
String

Region

public string Region { get; set; }

Required. The region the Cloud Run service is deployed in.

Property Value
TypeDescription
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
TypeDescription
String

ServiceAsResourceName

public IResourceName ServiceAsResourceName { get; set; }

IResourceName-typed view over the Service resource name property.

Property Value
TypeDescription
IResourceName