Class PubsubConfig

PubsubConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
subscription str
Output only. Name of the subscription. Format is ``projects/{project}/subscriptions/{subscription}``.
topic str
The name of the topic from which this subscription is receiving messages. Format is ``projects/{project}/topics/{topic}``.
service_account_email str
Service account that will make the push request.
state google.cloud.devtools.cloudbuild_v1.types.PubsubConfig.State
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Inheritance

builtins.object > proto.message.Message > PubsubConfig

Classes

State

State(value)

Enumerates potential issues with the underlying Pub/Sub subscription configuration.