Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
- 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
Facet fields that store the mapping of fields to end user widget appearance.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#field ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField.
4586 4587 4588 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. The field name that end users will see.
Corresponds to the JSON property displayName
4579 4580 4581 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4579 def display_name @display_name end |
#field ⇒ String
Required. Registered field name. The format is field.abc
.
Corresponds to the JSON property field
4584 4585 4586 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4584 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4591 4592 4593 4594 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4591 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @field = args[:field] if args.key?(:field) end |