class Google::Apis::CloudsearchV1::FacetResult
Source
specific facet response
Attributes
buckets[RW]
FacetBuckets for values in response containing at least a single result. Corresponds to the JSON property `buckets` @return [Array<Google::Apis::CloudsearchV1::FacetBucket>]
object_type[RW]
Object type for which facet results are returned. Can be empty. Corresponds to the JSON property `objectType` @return [String]
operator_name[RW]
Name
of the operator chosen for faceting. @see cloudsearch. SchemaPropertyOptions Corresponds to the JSON property `operatorName` @return [String]
source_name[RW]
Source
name for which facet results are returned. Will not be empty. Corresponds to the JSON property `sourceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1149 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 1154 def update!(**args) @buckets = args[:buckets] if args.key?(:buckets) @object_type = args[:object_type] if args.key?(:object_type) @operator_name = args[:operator_name] if args.key?(:operator_name) @source_name = args[:source_name] if args.key?(:source_name) end