Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig
- 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
-
#destinations ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>
Optional.
-
#key ⇒ String
Optional.
-
#params ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDestinationConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDestinationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#destinations ⇒ Array<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 |
#key ⇒ String
Optional. Unique destination identifier that is supported by the connector.
Corresponds to the JSON property key
8623 8624 8625 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8623 def key @key end |
#params ⇒ Hash<String,Object>
Optional. Additional parameters for this destination config.
Corresponds to the JSON property params
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 |