Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
- 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
Read-only data store component that contains data stores fields that may be
used for filtering, it's the child of CollectionComponent.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the data store.
-
#id ⇒ String
Output only.
-
#name ⇒ String
The name of the data store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent.
8430 8431 8432 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the data store.
Corresponds to the JSON property displayName
8413 8414 8415 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8413 def display_name @display_name end |
#id ⇒ String
Output only. the identifier of the data store, used for widget service. For
now it refers to data_store_id, in the future we will migrate the field to
encrypted data store name UUID.
Corresponds to the JSON property id
8420 8421 8422 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8420 def id @id end |
#name ⇒ String
The name of the data store. It should be data store resource name Format:
projects/project_number/locations/location/collections/collection_id/
dataStores/data_store_id`. For widget service usage, such look up widget
config, returned name should be skipped.
Corresponds to the JSON propertyname`
8428 8429 8430 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8428 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8435 8436 8437 8438 8439 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8435 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |