Class: Google::Apis::ConnectorsV1::EventSubscriptionDestination

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventSubscriptionDestination

Returns a new instance of EventSubscriptionDestination.



2354
2355
2356
# File 'lib/google/apis/connectors_v1/classes.rb', line 2354

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endpointGoogle::Apis::ConnectorsV1::EndPoint

Endpoint message includes details of the Destination endpoint. Corresponds to the JSON property endpoint



2342
2343
2344
# File 'lib/google/apis/connectors_v1/classes.rb', line 2342

def endpoint
  @endpoint
end

#service_accountString

Service account needed for runtime plane to trigger IP workflow. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


2347
2348
2349
# File 'lib/google/apis/connectors_v1/classes.rb', line 2347

def 
  @service_account
end

#typeString

type of the destination Corresponds to the JSON property type

Returns:

  • (String)


2352
2353
2354
# File 'lib/google/apis/connectors_v1/classes.rb', line 2352

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2359
2360
2361
2362
2363
# File 'lib/google/apis/connectors_v1/classes.rb', line 2359

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