class Google::Apis::CloudsearchV1::HtmlPropertyOptions
Options for html properties.
Attributes
operator_options[RW]
Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. Corresponds to the JSON property `operatorOptions` @return [Google::Apis::CloudsearchV1::HtmlOperatorOptions]
retrieval_importance[RW]
Indicates the search quality importance of the tokens within the field when used for retrieval. Can only be set to DEFAULT or NONE. Corresponds to the JSON property `retrievalImportance` @return [Google::Apis::CloudsearchV1::RetrievalImportance]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1515 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 1520 def update!(**args) @operator_options = args[:operator_options] if args.key?(:operator_options) @retrieval_importance = args[:retrieval_importance] if args.key?(:retrieval_importance) end