Class PubsubConfig (2.0.0)

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

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

Inheritance

Object > PubsubConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

PubsubConfig()

public PubsubConfig()

PubsubConfig(PubsubConfig)

public PubsubConfig(PubsubConfig other)
Parameter
NameDescription
otherPubsubConfig

Properties

ServiceAccountEmail

public string ServiceAccountEmail { get; set; }

Service account that will make the push request.

Property Value
TypeDescription
String

ServiceAccountEmailAsServiceAccountName

public ServiceAccountName ServiceAccountEmailAsServiceAccountName { get; set; }

ServiceAccountName-typed view over the ServiceAccountEmail resource name property.

Property Value
TypeDescription
ServiceAccountName

State

public PubsubConfig.Types.State State { get; set; }

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Property Value
TypeDescription
PubsubConfig.Types.State

Subscription

public string Subscription { get; set; }

Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

Property Value
TypeDescription
String

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName

Topic

public string Topic { get; set; }

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

Property Value
TypeDescription
String

TopicAsTopicName

public TopicName TopicAsTopicName { get; set; }

TopicName-typed view over the Topic resource name property.

Property Value
TypeDescription
TopicName