class Google::Apis::CustomsearchV1::Context::Facet
Attributes
anchor[RW]
Corresponds to the JSON property `anchor` @return [String]
label[RW]
Corresponds to the JSON property `label` @return [String]
label_with_op[RW]
Corresponds to the JSON property `label_with_op` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 68 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/customsearch_v1/classes.rb, line 73 def update!(**args) @anchor = args[:anchor] if args.key?(:anchor) @label = args[:label] if args.key?(:label) @label_with_op = args[:label_with_op] if args.key?(:label_with_op) end