Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent

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

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

Instance Method Summary collapse

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_nameString

The display name of the data store. Corresponds to the JSON property displayName

Returns:

  • (String)


8413
8414
8415
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8413

def display_name
  @display_name
end

#idString

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

Returns:

  • (String)


8420
8421
8422
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8420

def id
  @id
end

#nameString

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`

Returns:

  • (String)


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