Cloud Build v1 API - Class PubsubConfig (2.8.0)

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

Reference documentation and code samples for the Cloud Build v1 API class PubsubConfig.

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
PubsubConfigTypesState

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