class Google::Apis::CustomsearchV1::Search
Attributes
Corresponds to the JSON property `context` @return [Google::Apis::CustomsearchV1::Context]
Corresponds to the JSON property `items` @return [Array<Google::Apis::CustomsearchV1::Result>]
Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `promotions` @return [Array<Google::Apis::CustomsearchV1::Promotion>]
Corresponds to the JSON property `queries` @return [Hash<String,Array<Google::Apis::CustomsearchV1::Query>>]
Corresponds to the JSON property `searchInformation` @return [Google::Apis::CustomsearchV1::Search::SearchInformation]
Corresponds to the JSON property `spelling` @return [Google::Apis::CustomsearchV1::Search::Spelling]
Corresponds to the JSON property `url` @return [Google::Apis::CustomsearchV1::Search::Url]
Public Class Methods
# File generated/google/apis/customsearch_v1/classes.rb, line 666 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/customsearch_v1/classes.rb, line 671 def update!(**args) @context = args[:context] if args.key?(:context) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @promotions = args[:promotions] if args.key?(:promotions) @queries = args[:queries] if args.key?(:queries) @search_information = args[:search_information] if args.key?(:search_information) @spelling = args[:spelling] if args.key?(:spelling) @url = args[:url] if args.key?(:url) end