Cloud Build v1 API - Class PubsubConfig (2.12.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
Name Description
other PubsubConfig

Properties

ServiceAccountEmail

public string ServiceAccountEmail { get; set; }

Service account that will make the push request.

Property Value
Type Description
string

ServiceAccountEmailAsServiceAccountName

public ServiceAccountName ServiceAccountEmailAsServiceAccountName { get; set; }

ServiceAccountName-typed view over the ServiceAccountEmail resource name property.

Property Value
Type Description
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
Type Description
PubsubConfigTypesState

Subscription

public string Subscription { get; set; }

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

Property Value
Type Description
string

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
Type Description
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
Type Description
string

TopicAsTopicName

public TopicName TopicAsTopicName { get; set; }

TopicName-typed view over the Topic resource name property.

Property Value
Type Description
TopicName