Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Defines target endpoints used to connect to third-party sources.
Instance Attribute Summary collapse
-
#destinations ⇒ Array<Google::Apis::DiscoveryengineV1beta::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.
6060 6061 6062 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destinations ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>
Optional. The destinations for the corresponding key.
Corresponds to the JSON property destinations
6048 6049 6050 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6048 def destinations @destinations end |
#key ⇒ String
Optional. Unique destination identifier that is supported by the connector.
Corresponds to the JSON property key
6053 6054 6055 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6053 def key @key end |
#params ⇒ Hash<String,Object>
Optional. Additional parameters for this destination config.
Corresponds to the JSON property params
6058 6059 6060 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6058 def params @params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6065 6066 6067 6068 6069 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6065 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 |