Eventarc v1 API - Class CloudRun (2.3.0)

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.

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