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

Attributes

formatted_search_time[RW]

Corresponds to the JSON property `formattedSearchTime` @return [String]

formatted_total_results[RW]

Corresponds to the JSON property `formattedTotalResults` @return [String]

search_time[RW]

Corresponds to the JSON property `searchTime` @return [Float]

total_results[RW]

Corresponds to the JSON property `totalResults` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 706
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 711
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