class Google::Apis::CloudbuildV1::PubsubConfig
PubsubConfig
describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
Attributes
Service account that will make the push request. Corresponds to the JSON property `serviceAccountEmail` @return [String]
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. Corresponds to the JSON property `state` @return [String]
Output only. Name of the subscription. Format is `projects/`project`/ subscriptions/`subscription“. Corresponds to the JSON property `subscription` @return [String]
The name of the topic from which this subscription is receiving messages. Format is `projects/`project`/topics/`topic“. Corresponds to the JSON property `topic` @return [String]
Public Class Methods
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2194 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2199 def update!(**args) @service_account_email = args[:service_account_email] if args.key?(:service_account_email) @state = args[:state] if args.key?(:state) @subscription = args[:subscription] if args.key?(:subscription) @topic = args[:topic] if args.key?(:topic) end