class Google::Apis::ContentV2_1::SearchRequest

Request message for the ReportService.Search method.

Attributes

page_size[RW]

Number of ReportRows to retrieve in a single page. Defaults to the maximum of

  1. Values above 1000 are coerced to 1000.

Corresponds to the JSON property `pageSize` @return [Fixnum]

page_token[RW]

Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used. Corresponds to the JSON property `pageToken` @return [String]

query[RW]

Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](developers.google. com/shopping-content/guides/reports/query-language/overview). Corresponds to the JSON property `query` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 13839
def update!(**args)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @query = args[:query] if args.key?(:query)
end