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.



9144
9145
9146
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9144

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



9122
9123
9124
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9122

def data_store_components
  @data_store_components
end

#display_nameString

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

Returns:

  • (String)


9127
9128
9129
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9127

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)


9134
9135
9136
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9134

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 APIs under WidgetService, such as LookUpWidgetConfig, the project number and location part is erased in this field. Corresponds to the JSON propertyname`

Returns:

  • (String)


9142
9143
9144
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9142

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9149
9150
9151
9152
9153
9154
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9149

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