Class: Google::Apis::DfareportingV3_5::ConversionsBatchInsertRequest

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

Overview

Insert Conversions Request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionsBatchInsertRequest

Returns a new instance of ConversionsBatchInsertRequest.



2595
2596
2597
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2595

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

Instance Attribute Details

#conversionsArray<Google::Apis::DfareportingV3_5::Conversion>

The set of conversions to insert. Corresponds to the JSON property conversions



2582
2583
2584
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2582

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV3_5::EncryptionInfo

A description of how user IDs are encrypted. Corresponds to the JSON property encryptionInfo



2587
2588
2589
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2587

def encryption_info
  @encryption_info
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#conversionsBatchInsertRequest". Corresponds to the JSON property kind

Returns:

  • (String)


2593
2594
2595
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2593

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2600
2601
2602
2603
2604
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2600

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