class Google::Apis::CustomsearchV1::Query
Attributes
Corresponds to the JSON property `count` @return [Fixnum]
Corresponds to the JSON property `cr` @return [String]
Corresponds to the JSON property `cref` @return [String]
Corresponds to the JSON property `cx` @return [String]
Corresponds to the JSON property `dateRestrict` @return [String]
Corresponds to the JSON property `disableCnTwTranslation` @return [String]
Corresponds to the JSON property `exactTerms` @return [String]
Corresponds to the JSON property `excludeTerms` @return [String]
Corresponds to the JSON property `fileType` @return [String]
Corresponds to the JSON property `filter` @return [String]
Corresponds to the JSON property `gl` @return [String]
Corresponds to the JSON property `googleHost` @return [String]
Corresponds to the JSON property `highRange` @return [String]
Corresponds to the JSON property `hl` @return [String]
Corresponds to the JSON property `hq` @return [String]
Corresponds to the JSON property `imgColorType` @return [String]
Corresponds to the JSON property `imgDominantColor` @return [String]
Corresponds to the JSON property `imgSize` @return [String]
Corresponds to the JSON property `imgType` @return [String]
Corresponds to the JSON property `inputEncoding` @return [String]
Corresponds to the JSON property `language` @return [String]
Corresponds to the JSON property `linkSite` @return [String]
Corresponds to the JSON property `lowRange` @return [String]
Corresponds to the JSON property `orTerms` @return [String]
Corresponds to the JSON property `outputEncoding` @return [String]
Corresponds to the JSON property `rights` @return [String]
Corresponds to the JSON property `safe` @return [String]
Corresponds to the JSON property `searchTerms` @return [String]
Corresponds to the JSON property `searchType` @return [String]
Corresponds to the JSON property `siteSearch` @return [String]
Corresponds to the JSON property `siteSearchFilter` @return [String]
Corresponds to the JSON property `sort` @return [String]
Corresponds to the JSON property `startIndex` @return [Fixnum]
Corresponds to the JSON property `startPage` @return [Fixnum]
Corresponds to the JSON property `title` @return [String]
Corresponds to the JSON property `totalResults` @return [String]
Public Class Methods
# File generated/google/apis/customsearch_v1/classes.rb, line 387 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/customsearch_v1/classes.rb, line 392 def update!(**args) @count = args[:count] if args.key?(:count) @cr = args[:cr] if args.key?(:cr) @cref = args[:cref] if args.key?(:cref) @cx = args[:cx] if args.key?(:cx) @date_restrict = args[:date_restrict] if args.key?(:date_restrict) @disable_cn_tw_translation = args[:disable_cn_tw_translation] if args.key?(:disable_cn_tw_translation) @exact_terms = args[:exact_terms] if args.key?(:exact_terms) @exclude_terms = args[:exclude_terms] if args.key?(:exclude_terms) @file_type = args[:file_type] if args.key?(:file_type) @filter = args[:filter] if args.key?(:filter) @gl = args[:gl] if args.key?(:gl) @google_host = args[:google_host] if args.key?(:google_host) @high_range = args[:high_range] if args.key?(:high_range) @hl = args[:hl] if args.key?(:hl) @hq = args[:hq] if args.key?(:hq) @img_color_type = args[:img_color_type] if args.key?(:img_color_type) @img_dominant_color = args[:img_dominant_color] if args.key?(:img_dominant_color) @img_size = args[:img_size] if args.key?(:img_size) @img_type = args[:img_type] if args.key?(:img_type) @input_encoding = args[:input_encoding] if args.key?(:input_encoding) @language = args[:language] if args.key?(:language) @link_site = args[:link_site] if args.key?(:link_site) @low_range = args[:low_range] if args.key?(:low_range) @or_terms = args[:or_terms] if args.key?(:or_terms) @output_encoding = args[:output_encoding] if args.key?(:output_encoding) @related_site = args[:related_site] if args.key?(:related_site) @rights = args[:rights] if args.key?(:rights) @safe = args[:safe] if args.key?(:safe) @search_terms = args[:search_terms] if args.key?(:search_terms) @search_type = args[:search_type] if args.key?(:search_type) @site_search = args[:site_search] if args.key?(:site_search) @site_search_filter = args[:site_search_filter] if args.key?(:site_search_filter) @sort = args[:sort] if args.key?(:sort) @start_index = args[:start_index] if args.key?(:start_index) @start_page = args[:start_page] if args.key?(:start_page) @title = args[:title] if args.key?(:title) @total_results = args[:total_results] if args.key?(:total_results) end