class Google::Apis::CustomsearchV1::Search::SearchInformation

Metadata about a search operation.

Attributes

formatted_search_time[RW]

The time taken for the server to return search results, formatted according to locale style. Corresponds to the JSON property `formattedSearchTime` @return [String]

formatted_total_results[RW]

The total number of search results, formatted according to locale style. Corresponds to the JSON property `formattedTotalResults` @return [String]

search_time[RW]

The time taken for the server to return search results. Corresponds to the JSON property `searchTime` @return [Float]

total_results[RW]

The total number of search results returned by the query. Corresponds to the JSON property `totalResults` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/customsearch_v1/classes.rb, line 1355
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/customsearch_v1/classes.rb, line 1360
def update!(**args)
  @formatted_search_time = args[:formatted_search_time] if args.key?(:formatted_search_time)
  @formatted_total_results = args[:formatted_total_results] if args.key?(:formatted_total_results)
  @search_time = args[:search_time] if args.key?(:search_time)
  @total_results = args[:total_results] if args.key?(:total_results)
end