Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
Request message for SearchAds360FieldService.SearchSearchAds360Fields.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
Number of elements to retrieve in a single page.
-
#page_token ⇒ String
Token of the page to retrieve.
-
#query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest
constructor
A new instance of GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest
Returns a new instance of GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsRequest.
8426 8427 8428 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
Number of elements to retrieve in a single page. When too large a page is
requested, the server may decide to further limit the number of returned
resources.
Corresponds to the JSON property pageSize
8412 8413 8414 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8412 def page_size @page_size end |
#page_token ⇒ String
Token of the page to retrieve. If not specified, the first page of results
will be returned. Use the value obtained from next_page_token
in the
previous response in order to request the next page of results.
Corresponds to the JSON property pageToken
8419 8420 8421 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8419 def page_token @page_token end |
#query ⇒ String
Required. The query string.
Corresponds to the JSON property query
8424 8425 8426 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8424 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8431 8432 8433 8434 8435 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8431 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 |