Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnection

Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnection.



5027
5028
5029
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5027

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

Instance Attribute Details

#data_storeString

The full name of the referenced data store. Formats: projects/project/ locations/location/collections/collection/dataStores/data_store` projects/`project`/locations/`location`/dataStores/`data_store Corresponds to the JSON property dataStore

Returns:

  • (String)


5020
5021
5022
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5020

def data_store
  @data_store
end

#data_store_typeString

The type of the connected data store. Corresponds to the JSON property dataStoreType

Returns:

  • (String)


5025
5026
5027
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5025

def data_store_type
  @data_store_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5032
5033
5034
5035
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5032

def update!(**args)
  @data_store = args[:data_store] if args.key?(:data_store)
  @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
end