Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse

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.SearchStream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse

Returns a new instance of GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse.



4729
4730
4731
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4729

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



4707
4708
4709
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4707

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)


4712
4713
4714
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4712

def field_mask
  @field_mask
end

#request_idString

The unique id of the request that is used for debugging purposes. Corresponds to the JSON property requestId

Returns:

  • (String)


4717
4718
4719
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4717

def request_id
  @request_id
end

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

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



4722
4723
4724
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4722

def results
  @results
end

#summary_rowGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row

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



4727
4728
4729
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4727

def summary_row
  @summary_row
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4734
4735
4736
4737
4738
4739
4740
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4734

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)
  @request_id = args[:request_id] if args.key?(:request_id)
  @results = args[:results] if args.key?(:results)
  @summary_row = args[:summary_row] if args.key?(:summary_row)
end