Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse
- Inherits:
-
Object
- Object
- Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/localservices_v1/classes.rb,
lib/google/apis/localservices_v1/representations.rb,
lib/google/apis/localservices_v1/representations.rb
Overview
A page of the response received from the SearchAccountReports method. A
paginated response where more pages are available has next_page_token set.
This token can be used in a subsequent request to retrieve the next request
page.
Instance Attribute Summary collapse
-
#account_reports ⇒ Array<Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AccountReport>
List of account reports which maps 1:1 to a particular linked GLS account.
-
#next_page_token ⇒ String
Pagination token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse
constructor
A new instance of GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse
Returns a new instance of GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse.
413 414 415 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_reports ⇒ Array<Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AccountReport>
List of account reports which maps 1:1 to a particular linked GLS account.
Corresponds to the JSON property accountReports
404 405 406 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 404 def account_reports @account_reports end |
#next_page_token ⇒ String
Pagination token to retrieve the next page of results. When next_page_token
is not filled in, there is no next page and the list returned is the last page
in the result set.
Corresponds to the JSON property nextPageToken
411 412 413 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 411 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 421 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 418 def update!(**args) @account_reports = args[:account_reports] if args.key?(:account_reports) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |