Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360Response

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 SearchAds360Service.Search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchSearchAds360Response

Returns a new instance of GoogleAdsSearchads360V0ServicesSearchSearchAds360Response.



3771
3772
3773
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3771

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

Instance Attribute Details

#custom_column_headersArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader>

The headers of the custom columns in the results. Corresponds to the JSON property customColumnHeaders



3742
3743
3744
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3742

def custom_column_headers
  @custom_column_headers
end

#field_maskString

FieldMask that represents what fields were requested by the user. Corresponds to the JSON property fieldMask

Returns:

  • (String)


3747
3748
3749
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3747

def field_mask
  @field_mask
end

#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)


3754
3755
3756
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3754

def next_page_token
  @next_page_token
end

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

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



3759
3760
3761
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3759

def results
  @results
end

#summary_rowGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row

A returned row from the query. Corresponds to the JSON property summaryRow



3764
3765
3766
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3764

def summary_row
  @summary_row
end

#total_results_countFixnum

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

Returns:

  • (Fixnum)


3769
3770
3771
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3769

def total_results_count
  @total_results_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3776
3777
3778
3779
3780
3781
3782
3783
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3776

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