Google Ads Data Manager V1 Client - Class AwsWrappedKeyInfo (0.1.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class AwsWrappedKeyInfo.

A data encryption key wrapped by an AWS KMS key.

Generated from protobuf message google.ads.datamanager.v1.AwsWrappedKeyInfo

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key_type int

Required. The type of algorithm used to encrypt the data.

↳ role_arn string

Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"

↳ kek_uri string

Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"

↳ encrypted_dek string

Required. The base64 encoded encrypted data encryption key.

getKeyType

Required. The type of algorithm used to encrypt the data.

Returns
Type Description
int Enum of type KeyType.

setKeyType

Required. The type of algorithm used to encrypt the data.

Parameter
Name Description
var int

Enum of type KeyType.

Returns
Type Description
$this

getRoleArn

Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"

Returns
Type Description
string

setRoleArn

Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"

Parameter
Name Description
var string
Returns
Type Description
$this

getKekUri

Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"

Returns
Type Description
string

setKekUri

Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"

Parameter
Name Description
var string
Returns
Type Description
$this

getEncryptedDek

Required. The base64 encoded encrypted data encryption key.

Returns
Type Description
string

setEncryptedDek

Required. The base64 encoded encrypted data encryption key.

Parameter
Name Description
var string
Returns
Type Description
$this