Class: Google::Apis::DoubleclicksearchV2::ConversionList

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

Overview

A list of conversions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ConversionList

Returns a new instance of ConversionList.


325
326
327
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 325

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

Instance Attribute Details

#conversionArray<Google::Apis::DoubleclicksearchV2::Conversion>

The conversions being requested. Corresponds to the JSON property conversion


317
318
319
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 317

def conversion
  @conversion
end

#kindString

Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. Corresponds to the JSON property kind

Returns:

  • (String)

323
324
325
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 323

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


330
331
332
333
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 330

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