Class: Google::Apis::DfareportingV4::ConversionsBatchUpdateRequest

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

Update Conversions Request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionsBatchUpdateRequest

Returns a new instance of ConversionsBatchUpdateRequest.



3007
3008
3009
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3007

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

Instance Attribute Details

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

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



2994
2995
2996
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2994

def conversions
  @conversions
end

#encryption_infoGoogle::Apis::DfareportingV4::EncryptionInfo

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



2999
3000
3001
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2999

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)


3005
3006
3007
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3005

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3012
3013
3014
3015
3016
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3012

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