class Google::Apis::CustomsearchV1::Context
Attributes
facets[RW]
Corresponds to the JSON property `facets` @return [Array<Array<Google::Apis::CustomsearchV1::Context::Facet>>]
title[RW]
Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 39 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 44 def update!(**args) @facets = args[:facets] if args.key?(:facets) @title = args[:title] if args.key?(:title) end