Class: Google::Apis::MerchantapiConversionsV1beta::ListConversionSourcesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_conversions_v1beta/classes.rb,
lib/google/apis/merchantapi_conversions_v1beta/representations.rb,
lib/google/apis/merchantapi_conversions_v1beta/representations.rb

Overview

Response message for the ListConversionSources method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConversionSourcesResponse

Returns a new instance of ListConversionSourcesResponse.



212
213
214
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 212

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

Instance Attribute Details

#conversion_sourcesArray<Google::Apis::MerchantapiConversionsV1beta::ConversionSource>

List of conversion sources. Corresponds to the JSON property conversionSources



205
206
207
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 205

def conversion_sources
  @conversion_sources
end

#next_page_tokenString

Token to be used to fetch the next results page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


210
211
212
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 210

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



217
218
219
220
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 217

def update!(**args)
  @conversion_sources = args[:conversion_sources] if args.key?(:conversion_sources)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end