Class: Google::Apis::DfareportingV5::ConversionsBatchUpdateRequest

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

Overview

Update Conversions Request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionsBatchUpdateRequest

Returns a new instance of ConversionsBatchUpdateRequest.



3190
3191
3192
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 3190

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

Instance Attribute Details

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

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



3177
3178
3179
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 3177

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV5::EncryptionInfo

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



3182
3183
3184
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 3182

def encryption_info
  @encryption_info
end

#kindString

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

Returns:

  • (String)


3188
3189
3190
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 3188

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3195
3196
3197
3198
3199
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 3195

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