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.



4599
4600
4601
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4599

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)


4587
4588
4589
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4587

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



4592
4593
4594
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4592

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)


4597
4598
4599
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4597

def total_results_count
  @total_results_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4604
4605
4606
4607
4608
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4604

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