Class EncryptionConfiguration (3.0.1)

EncryptionConfiguration(kms_key_name=None)

Custom encryption configuration (e.g., Cloud KMS keys).

Parameter

NameDescription
kms_key_name str

resource ID of Cloud KMS key used for encryption

Inheritance

builtins.object > EncryptionConfiguration

Properties

kms_key_name

str: Resource ID of Cloud KMS key

Resource ID of Cloud KMS key or :data:None if using default encryption.

Methods

from_api_repr

from_api_repr(resource)

Construct an encryption configuration from its API representation

Parameter
NameDescription
resource Dict[str, object]

An encryption configuration representation as returned from the API.

Returns
TypeDescription
google.cloud.bigquery.table.EncryptionConfigurationAn encryption configuration parsed from ``resource``.

to_api_repr

to_api_repr()

Construct the API resource representation of this encryption configuration.

Returns
TypeDescription
Dict[str, object]Encryption configuration as represented as an API resource

__init__

__init__(kms_key_name=None)

Initialize self. See help(type(self)) for accurate signature.

EncryptionConfiguration

EncryptionConfiguration(kms_key_name=None)

Custom encryption configuration (e.g., Cloud KMS keys).

Parameter
NameDescription
kms_key_name str

resource ID of Cloud KMS key used for encryption