Common Protos for Google Cloud APIs Client - Class EncryptionInfo (0.4.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class EncryptionInfo.

Encryption properties for a table or a job

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.EncryptionInfo

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kms_key_name string

Cloud kms key identifier. Format: projects/<project_id>/locations/<location>/keyRings/<key_ring_name>/cryptoKeys/<key_name>

getKmsKeyName

Cloud kms key identifier.

Format: projects/<project_id>/locations/<location>/keyRings/<key_ring_name>/cryptoKeys/<key_name>

Returns
TypeDescription
string

setKmsKeyName

Cloud kms key identifier.

Format: projects/<project_id>/locations/<location>/keyRings/<key_ring_name>/cryptoKeys/<key_name>

Parameter
NameDescription
var string
Returns
TypeDescription
$this