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.



8204
8205
8206
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8204

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)


8192
8193
8194
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8192

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



8197
8198
8199
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8197

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)


8202
8203
8204
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8202

def total_results_count
  @total_results_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8209
8210
8211
8212
8213
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8209

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