Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Defines target endpoints used to connect to third-party sources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDestinationConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDestinationConfig.



8630
8631
8632
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8630

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

Instance Attribute Details

#destinationsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>

Optional. The destinations for the corresponding key. Corresponds to the JSON property destinations



8618
8619
8620
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8618

def destinations
  @destinations
end

#keyString

Optional. Unique destination identifier that is supported by the connector. Corresponds to the JSON property key

Returns:

  • (String)


8623
8624
8625
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8623

def key
  @key
end

#paramsHash<String,Object>

Optional. Additional parameters for this destination config. Corresponds to the JSON property params

Returns:

  • (Hash<String,Object>)


8628
8629
8630
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8628

def params
  @params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8635
8636
8637
8638
8639
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8635

def update!(**args)
  @destinations = args[:destinations] if args.key?(:destinations)
  @key = args[:key] if args.key?(:key)
  @params = args[:params] if args.key?(:params)
end