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

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

Overview

A list of conversions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionList

Returns a new instance of ConversionList.



338
339
340
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 338

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

Instance Attribute Details

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

The conversions being requested. Corresponds to the JSON property conversion



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

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)


336
337
338
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 336

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



343
344
345
346
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 343

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