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
- (::Google::Cloud::Build::V1::PubsubConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
#state=
def state=(value) -> ::Google::Cloud::Build::V1::PubsubConfig::State
Parameter
- value (::Google::Cloud::Build::V1::PubsubConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
Returns
- (::Google::Cloud::Build::V1::PubsubConfig::State) — Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
#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}
.