Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent

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 collection component that contains data store collections fields that may be used for filtering

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent.



8392
8393
8394
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8392

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

Instance Attribute Details

#data_store_componentsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent>

For the data store collection, list of the children data stores. Corresponds to the JSON property dataStoreComponents



8370
8371
8372
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8370

def data_store_components
  @data_store_components
end

#display_nameString

The display name of the collection. Corresponds to the JSON property displayName

Returns:

  • (String)


8375
8376
8377
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8375

def display_name
  @display_name
end

#idString

Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID. Corresponds to the JSON property id

Returns:

  • (String)


8382
8383
8384
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8382

def id
  @id
end

#nameString

The name of the collection. It should be collection resource name. Format: projects/project_number/locations/location/collections/collection_id`. For widget service usage, such look up widget config, returned name should be skipped. Corresponds to the JSON propertyname`

Returns:

  • (String)


8390
8391
8392
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8390

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8397
8398
8399
8400
8401
8402
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8397

def update!(**args)
  @data_store_components = args[:data_store_components] if args.key?(:data_store_components)
  @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