Class: Google::Apis::DfareportingV4::ConversionsBatchInsertRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



3030
3031
3032
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3030

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

Instance Attribute Details

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

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



3017
3018
3019
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3017

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV4::EncryptionInfo

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



3022
3023
3024
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3022

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)


3028
3029
3030
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3028

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3035
3036
3037
3038
3039
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3035

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