Class: Google::Apis::MerchantapiReportsV1beta::SearchRequest
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReportsV1beta::SearchRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reports_v1beta/classes.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb
Overview
Request message for the ReportService.Search
method.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
Optional.
-
#page_token ⇒ String
Optional.
-
#query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchRequest
constructor
A new instance of SearchRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchRequest
Returns a new instance of SearchRequest.
1791 1792 1793 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
Optional. Number of ReportRows
to retrieve in a single page. Defaults to
- Values above 5000 are coerced to 5000.
Corresponds to the JSON property
pageSize
1775 1776 1777 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1775 def page_size @page_size end |
#page_token ⇒ String
Optional. 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
1782 1783 1784 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1782 def page_token @page_token end |
#query ⇒ String
Required. Query that defines a report to be retrieved. For details on how to
construct your query, see the Query Language guide. For the full list of
available tables and fields, see the Available fields.
Corresponds to the JSON property query
1789 1790 1791 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1789 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1796 1797 1798 1799 1800 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1796 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 |