Cloud Build V1 API - Class Google::Cloud::Build::V1::PubsubConfig (v0.13.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::PubsubConfig.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_account_email

def service_account_email() -> ::String
Returns
  • (::String) — Service account that will make the push request.

#service_account_email=

def service_account_email=(value) -> ::String
Parameter
  • value (::String) — Service account that will make the push request.
Returns
  • (::String) — Service account that will make the push request.

#state

def state() -> ::Google::Cloud::Build::V1::PubsubConfig::State
Returns

#state=

def state=(value) -> ::Google::Cloud::Build::V1::PubsubConfig::State
Parameter
Returns

#subscription

def subscription() -> ::String
Returns
  • (::String) — Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

#topic

def topic() -> ::String
Returns
  • (::String) — The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

#topic=

def topic=(value) -> ::String
Parameter
  • value (::String) — The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.
Returns
  • (::String) — The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.