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.



3850
3851
3852
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3850

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



3828
3829
3830
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3828

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)


3833
3834
3835
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3833

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)


3838
3839
3840
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3838

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



3843
3844
3845
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3843

def results
  @results
end

#summary_rowGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row

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



3848
3849
3850
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3848

def summary_row
  @summary_row
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3855
3856
3857
3858
3859
3860
3861
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3855

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