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

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

Information about the Google Cloud Platform wrapped key.

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

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.

↳ wip_provider string

Required. The Workload Identity pool provider required to use KEK.

↳ kek_uri string

Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".

↳ 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

getWipProvider

Required. The Workload Identity pool provider required to use KEK.

Returns
Type Description
string

setWipProvider

Required. The Workload Identity pool provider required to use KEK.

Parameter
Name Description
var string
Returns
Type Description
$this

getKekUri

Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".

Returns
Type Description
string

setKekUri

Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".

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