Class: Google::Apis::DfareportingV2_7::ConversionsBatchInsertRequest

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

Overview

Insert Conversions Request.

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) ⇒ ConversionsBatchInsertRequest

Returns a new instance of ConversionsBatchInsertRequest



2470
2471
2472
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2470

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

Instance Attribute Details

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

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



2457
2458
2459
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2457

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV2_7::EncryptionInfo

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



2462
2463
2464
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2462

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)


2468
2469
2470
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2468

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2475
2476
2477
2478
2479
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2475

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