Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DataStoreConnection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DataStoreConnection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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
-
#data_store ⇒ String
The full name of the referenced data store.
-
#data_store_type ⇒ String
The type of the connected data store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnection
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnection
Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnection.
4411 4412 4413 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 4411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store ⇒ String
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
4404 4405 4406 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 4404 def data_store @data_store end |
#data_store_type ⇒ String
The type of the connected data store.
Corresponds to the JSON property dataStoreType
4409 4410 4411 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 4409 def data_store_type @data_store_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4416 4417 4418 4419 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 4416 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 |