Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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.



12888
12889
12890
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12888

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

Instance Attribute Details

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

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



12876
12877
12878
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12876

def destinations
  @destinations
end

#keyString

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

Returns:

  • (String)


12881
12882
12883
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12881

def key
  @key
end

#paramsHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


12886
12887
12888
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12886

def params
  @params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12893
12894
12895
12896
12897
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12893

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