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.



347
348
349
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 347

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

Instance Attribute Details

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

The conversions being requested. Corresponds to the JSON property conversion



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

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)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



352
353
354
355
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 352

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