As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
Library versions released prior to that date will continue to be available. For more information please
visit Python 2 support on Google Cloud.
google.cloud.bigquery.encryption_configuration.EncryptionConfiguration¶
- class google.cloud.bigquery.encryption_configuration.EncryptionConfiguration(kms_key_name=None)[source]¶
Custom encryption configuration (e.g., Cloud KMS keys).
- Parameters
kms_key_name (str) – resource ID of Cloud KMS key used for encryption
- __init__(kms_key_name=None) → None[source]¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([kms_key_name])Initialize self.
from_api_repr
(resource)Construct an encryption configuration from its API representation
Construct the API resource representation of this encryption configuration.
Attributes
Resource ID of Cloud KMS key
- classmethod from_api_repr(resource)[source]¶
Construct an encryption configuration from its API representation