Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest

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

Request for DataConnectorService.SetUpDataConnector method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest.



17259
17260
17261
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17259

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

Instance Attribute Details

#collection_display_nameString

Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. Corresponds to the JSON property collectionDisplayName

Returns:

  • (String)


17238
17239
17240
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17238

def collection_display_name
  @collection_display_name
end

#collection_idString

Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to the JSON property collectionId

Returns:

  • (String)


17248
17249
17250
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17248

def collection_id
  @collection_id
end

#data_connectorGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector

Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService. SetUpDataConnector method, which will create a new Collection and initialize its DataConnector. Corresponds to the JSON property dataConnector



17257
17258
17259
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17257

def data_connector
  @data_connector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17264
17265
17266
17267
17268
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17264

def update!(**args)
  @collection_display_name = args[:collection_display_name] if args.key?(:collection_display_name)
  @collection_id = args[:collection_id] if args.key?(:collection_id)
  @data_connector = args[:data_connector] if args.key?(:data_connector)
end