Class EncryptionConfiguration (3.38.0)

EncryptionConfiguration(kms_key_name=None)

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

Parameter

Name Description
kms_key_name str

resource ID of Cloud KMS key used for encryption

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
Name Description
resource Dict[str, object]

An encryption configuration representation as returned from the API.

Returns
Type Description
google.cloud.bigquery.table.EncryptionConfiguration An encryption configuration parsed from resource.

to_api_repr

to_api_repr()

Construct the API resource representation of this encryption configuration.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.