Data Loss Prevention V2 Client - Class UnwrappedCryptoKey (2.1.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class UnwrappedCryptoKey.

Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.

Generated from protobuf message google.privacy.dlp.v2.UnwrappedCryptoKey

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Required. A 128/192/256 bit key.

getKey

Required. A 128/192/256 bit key.

Returns
Type Description
string

setKey

Required. A 128/192/256 bit key.

Parameter
Name Description
var string
Returns
Type Description
$this