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.



327
328
329
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 327

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

Instance Attribute Details

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

The conversions being requested. Corresponds to the JSON property conversion



319
320
321
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 319

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)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



332
333
334
335
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 332

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