Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsResponse

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

Response message for SearchAds360FieldService.SearchSearchAds360Fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsResponse

Returns a new instance of GoogleAdsSearchads360V0ServicesSearchSearchAds360FieldsResponse.



8459
8460
8461
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8459

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

Instance Attribute Details

#next_page_tokenString

Pagination token used to retrieve the next page of results. Pass the content of this string as the page_token attribute of the next request. next_page_token is not returned for the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8447
8448
8449
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8447

def next_page_token
  @next_page_token
end

#resultsArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesSearchAds360Field>

The list of fields that matched the query. Corresponds to the JSON property results



8452
8453
8454
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8452

def results
  @results
end

#total_results_countFixnum

Total number of results that match the query ignoring the LIMIT clause. Corresponds to the JSON property totalResultsCount

Returns:

  • (Fixnum)


8457
8458
8459
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8457

def total_results_count
  @total_results_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8464
8465
8466
8467
8468
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8464

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