Class: Google::Apis::ConnectorsV1::EventSubscriptionDestination
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EventSubscriptionDestination
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Message for EventSubscription Destination to act on receiving an event
Instance Attribute Summary collapse
-
#endpoint ⇒ Google::Apis::ConnectorsV1::EndPoint
Endpoint message includes details of the Destination endpoint.
-
#pubsub ⇒ Google::Apis::ConnectorsV1::PubSub
Pub/Sub message includes details of the Destination Pub/Sub topic.
-
#service_account ⇒ String
Optional.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventSubscriptionDestination
constructor
A new instance of EventSubscriptionDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventSubscriptionDestination
Returns a new instance of EventSubscriptionDestination.
3035 3036 3037 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint ⇒ Google::Apis::ConnectorsV1::EndPoint
Endpoint message includes details of the Destination endpoint.
Corresponds to the JSON property endpoint
3018 3019 3020 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3018 def endpoint @endpoint end |
#pubsub ⇒ Google::Apis::ConnectorsV1::PubSub
Pub/Sub message includes details of the Destination Pub/Sub topic.
Corresponds to the JSON property pubsub
3023 3024 3025 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3023 def pubsub @pubsub end |
#service_account ⇒ String
Optional. Service account needed for runtime plane to trigger IP workflow.
Corresponds to the JSON property serviceAccount
3028 3029 3030 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3028 def service_account @service_account end |
#type ⇒ String
Optional. type of the destination
Corresponds to the JSON property type
3033 3034 3035 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3033 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3040 3041 3042 3043 3044 3045 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3040 def update!(**args) @endpoint = args[:endpoint] if args.key?(:endpoint) @pubsub = args[:pubsub] if args.key?(:pubsub) @service_account = args[:service_account] if args.key?(:service_account) @type = args[:type] if args.key?(:type) end |