Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse

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 SearchDetailedLeadReports 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) ⇒ GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse

Returns a new instance of GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse.



388
389
390
# File 'generated/google/apis/localservices_v1/classes.rb', line 388

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

Instance Attribute Details

#detailed_lead_reportsArray<Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport>

List of detailed lead reports uniquely identified by external lead id. Corresponds to the JSON property detailedLeadReports



379
380
381
# File 'generated/google/apis/localservices_v1/classes.rb', line 379

def detailed_lead_reports
  @detailed_lead_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)


386
387
388
# File 'generated/google/apis/localservices_v1/classes.rb', line 386

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



393
394
395
396
# File 'generated/google/apis/localservices_v1/classes.rb', line 393

def update!(**args)
  @detailed_lead_reports = args[:detailed_lead_reports] if args.key?(:detailed_lead_reports)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end