Class: Google::Apis::DfareportingV3_4::ConversionsBatchUpdateRequest

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

Overview

Update 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) ⇒ ConversionsBatchUpdateRequest

Returns a new instance of ConversionsBatchUpdateRequest.


2722
2723
2724
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2722

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

Instance Attribute Details

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

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


2709
2710
2711
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2709

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV3_4::EncryptionInfo

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


2714
2715
2716
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2714

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)

2720
2721
2722
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2720

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2727
2728
2729
2730
2731
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2727

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