Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/localservices_v1/classes.rb,
generated/google/apis/localservices_v1/representations.rb,
generated/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse

Returns a new instance of GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse.



358
359
360
# File 'generated/google/apis/localservices_v1/classes.rb', line 358

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_reportsArray<Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AccountReport>

List of account reports which maps 1:1 to a particular linked GLS account. Corresponds to the JSON property accountReports



349
350
351
# File 'generated/google/apis/localservices_v1/classes.rb', line 349

def 
  @account_reports
end

#next_page_tokenString

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

Returns:

  • (String)


356
357
358
# File 'generated/google/apis/localservices_v1/classes.rb', line 356

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



363
364
365
366
# File 'generated/google/apis/localservices_v1/classes.rb', line 363

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