Class: Google::Apis::DfareportingV3_3::EncryptionInfo

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

Overview

A description of how user IDs are encrypted.

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

Returns a new instance of EncryptionInfo.



5408
5409
5410
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5408

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

Instance Attribute Details

#encryption_entity_idFixnum

The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer. Corresponds to the JSON property encryptionEntityId

Returns:

  • (Fixnum)


5388
5389
5390
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5388

def encryption_entity_id
  @encryption_entity_id
end

#encryption_entity_typeString

The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer. Corresponds to the JSON property encryptionEntityType

Returns:

  • (String)


5394
5395
5396
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5394

def encryption_entity_type
  @encryption_entity_type
end

#encryption_sourceString

Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer. Corresponds to the JSON property encryptionSource

Returns:

  • (String)


5400
5401
5402
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5400

def encryption_source
  @encryption_source
end

#kindString

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

Returns:

  • (String)


5406
5407
5408
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5406

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5413
5414
5415
5416
5417
5418
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5413

def update!(**args)
  @encryption_entity_id = args[:encryption_entity_id] if args.key?(:encryption_entity_id)
  @encryption_entity_type = args[:encryption_entity_type] if args.key?(:encryption_entity_type)
  @encryption_source = args[:encryption_source] if args.key?(:encryption_source)
  @kind = args[:kind] if args.key?(:kind)
end