class Google::Apis::CloudsearchV1::ResultDisplayField

Display Fields for Search Results

Attributes

label[RW]

The display label for the property. Corresponds to the JSON property `label` @return [String]

operator_name[RW]

The operator name of the property. Corresponds to the JSON property `operatorName` @return [String]

property[RW]

A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`. Corresponds to the JSON property `property` @return [Google::Apis::CloudsearchV1::NamedProperty]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3775
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 3780
def update!(**args)
  @label = args[:label] if args.key?(:label)
  @operator_name = args[:operator_name] if args.key?(:operator_name)
  @property = args[:property] if args.key?(:property)
end