Class: Google::Cloud::Build::V1::PubsubConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::PubsubConfig
- 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
-
#service_account_email ⇒ ::String
Service account that will make the push request.
-
#state ⇒ ::Google::Cloud::Build::V1::PubsubConfig::State
Potential issues with the underlying Pub/Sub subscription configuration.
-
#subscription ⇒ ::String
readonly
Output only.
-
#topic ⇒ ::String
The name of the topic from which this subscription is receiving messages.
Instance Attribute Details
#service_account_email ⇒ ::String
Returns Service account that will make the push request.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1761 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}
.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1761 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}
.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1761 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 |