Class: Google::Cloud::Build::V1::PubsubConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

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

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#service_account_email::String

Returns Service account that will make the push request.

Returns:

  • (::String)

    Service account that will make the push request.



1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1576

class PubsubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the underlying Pub/Sub subscription
  # configuration.
  module State
    # The subscription configuration has not been checked.
    STATE_UNSPECIFIED = 0

    # The Pub/Sub subscription is properly configured.
    OK = 1

    # The subscription has been deleted.
    SUBSCRIPTION_DELETED = 2

    # The topic has been deleted.
    TOPIC_DELETED = 3

    # Some of the subscription's field are misconfigured.
    SUBSCRIPTION_MISCONFIGURED = 4
  end
end

#state::Google::Cloud::Build::V1::PubsubConfig::State

Returns Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Returns:



1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1576

class PubsubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the underlying Pub/Sub subscription
  # configuration.
  module State
    # The subscription configuration has not been checked.
    STATE_UNSPECIFIED = 0

    # The Pub/Sub subscription is properly configured.
    OK = 1

    # The subscription has been deleted.
    SUBSCRIPTION_DELETED = 2

    # The topic has been deleted.
    TOPIC_DELETED = 3

    # Some of the subscription's field are misconfigured.
    SUBSCRIPTION_MISCONFIGURED = 4
  end
end

#subscription::String (readonly)

Returns Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

Returns:

  • (::String)

    Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.



1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1576

class PubsubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the underlying Pub/Sub subscription
  # configuration.
  module State
    # The subscription configuration has not been checked.
    STATE_UNSPECIFIED = 0

    # The Pub/Sub subscription is properly configured.
    OK = 1

    # The subscription has been deleted.
    SUBSCRIPTION_DELETED = 2

    # The topic has been deleted.
    TOPIC_DELETED = 3

    # Some of the subscription's field are misconfigured.
    SUBSCRIPTION_MISCONFIGURED = 4
  end
end

#topic::String

Returns 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}.



1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1576

class PubsubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumerates potential issues with the underlying Pub/Sub subscription
  # configuration.
  module State
    # The subscription configuration has not been checked.
    STATE_UNSPECIFIED = 0

    # The Pub/Sub subscription is properly configured.
    OK = 1

    # The subscription has been deleted.
    SUBSCRIPTION_DELETED = 2

    # The topic has been deleted.
    TOPIC_DELETED = 3

    # Some of the subscription's field are misconfigured.
    SUBSCRIPTION_MISCONFIGURED = 4
  end
end