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.
-
#service_account ⇒ String
Service account needed for runtime plane to trigger IP workflow.
-
#type ⇒ String
type of the destination Corresponds to the JSON property
type
.
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.
2028 2029 2030 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2028 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
2016 2017 2018 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2016 def endpoint @endpoint end |
#service_account ⇒ String
Service account needed for runtime plane to trigger IP workflow.
Corresponds to the JSON property serviceAccount
2021 2022 2023 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2021 def service_account @service_account end |
#type ⇒ String
type of the destination
Corresponds to the JSON property type
2026 2027 2028 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2026 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2033 2034 2035 2036 2037 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2033 def update!(**args) @endpoint = args[:endpoint] if args.key?(:endpoint) @service_account = args[:service_account] if args.key?(:service_account) @type = args[:type] if args.key?(:type) end |