class Google::Apis::CloudsearchV1::QueryOperator
The definition of a operator that can be used in a Search/Suggest request.
Attributes
Display name of the operator Corresponds to the JSON property `displayName` @return [String]
Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator. Corresponds to the JSON property `enumValues` @return [Array<String>]
Indicates the operator name that can be used to isolate the property using the greater-than operator. Corresponds to the JSON property `greaterThanOperatorName` @return [String]
Can this operator be used to get facets. Corresponds to the JSON property `isFacetable` @return [Boolean]
Can this operator be used to get facets. Corresponds to the JSON property `isFacetable` @return [Boolean]
Indicates if multiple values can be set for this property. Corresponds to the JSON property `isRepeatable` @return [Boolean]
Indicates if multiple values can be set for this property. Corresponds to the JSON property `isRepeatable` @return [Boolean]
Will the property associated with this facet be returned as part of search results. Corresponds to the JSON property `isReturnable` @return [Boolean]
Will the property associated with this facet be returned as part of search results. Corresponds to the JSON property `isReturnable` @return [Boolean]
Can this operator be used to sort results. Corresponds to the JSON property `isSortable` @return [Boolean]
Can this operator be used to sort results. Corresponds to the JSON property `isSortable` @return [Boolean]
Can get suggestions for this field. Corresponds to the JSON property `isSuggestable` @return [Boolean]
Can get suggestions for this field. Corresponds to the JSON property `isSuggestable` @return [Boolean]
Indicates the operator name that can be used to isolate the property using the less-than operator. Corresponds to the JSON property `lessThanOperatorName` @return [String]
Name
of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators. Corresponds to the JSON property `objectType` @return [String]
The name of the operator. Corresponds to the JSON property `operatorName` @return [String]
Type of the operator. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3480 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3485 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @enum_values = args[:enum_values] if args.key?(:enum_values) @greater_than_operator_name = args[:greater_than_operator_name] if args.key?(:greater_than_operator_name) @is_facetable = args[:is_facetable] if args.key?(:is_facetable) @is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable) @is_returnable = args[:is_returnable] if args.key?(:is_returnable) @is_sortable = args[:is_sortable] if args.key?(:is_sortable) @is_suggestable = args[:is_suggestable] if args.key?(:is_suggestable) @less_than_operator_name = args[:less_than_operator_name] if args.key?(:less_than_operator_name) @object_type = args[:object_type] if args.key?(:object_type) @operator_name = args[:operator_name] if args.key?(:operator_name) @type = args[:type] if args.key?(:type) end