Class PubsubConfig (3.4.0)

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.

Classes

State

State(value)

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