Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig

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

Stores information for connecting to AlloyDB.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig.



10674
10675
10676
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10674

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

Instance Attribute Details

#alloydb_ai_nl_configGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig

Configuration for AlloyDB AI Natural Language. Corresponds to the JSON property alloydbAiNlConfig



10661
10662
10663
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10661

def alloydb_ai_nl_config
  @alloydb_ai_nl_config
end

#alloydb_connection_configGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig

Configuration for connecting to AlloyDB. Corresponds to the JSON property alloydbConnectionConfig



10666
10667
10668
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10666

def alloydb_connection_config
  @alloydb_connection_config
end

#returned_fieldsArray<String>

Optional. Fields to be returned in the search results. If empty, all fields will be returned. Corresponds to the JSON property returnedFields

Returns:

  • (Array<String>)


10672
10673
10674
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10672

def returned_fields
  @returned_fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10679
10680
10681
10682
10683
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10679

def update!(**args)
  @alloydb_ai_nl_config = args[:alloydb_ai_nl_config] if args.key?(:alloydb_ai_nl_config)
  @alloydb_connection_config = args[:alloydb_connection_config] if args.key?(:alloydb_connection_config)
  @returned_fields = args[:returned_fields] if args.key?(:returned_fields)
end