Data Loss Prevention V2 Client - Class UnwrappedCryptoKey (1.9.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
NameDescription
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
TypeDescription
string

setKey

Required. A 128/192/256 bit key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this