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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse

Returns a new instance of GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse.



420
421
422
# File 'lib/google/apis/localservices_v1/classes.rb', line 420

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



411
412
413
# File 'lib/google/apis/localservices_v1/classes.rb', line 411

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)


418
419
420
# File 'lib/google/apis/localservices_v1/classes.rb', line 418

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



425
426
427
428
# File 'lib/google/apis/localservices_v1/classes.rb', line 425

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