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.
9183 9184 9185 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9183 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
9165 9166 9167 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9165 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
9172 9173 9174 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9172 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 APIs under WidgetService, such as
LookUpWidgetConfig, the project number and location part is erased in this
field.
Corresponds to the JSON propertyname`
9181 9182 9183 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9181 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9188 9189 9190 9191 9192 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9188 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 |