15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ENCRYPTION_CONFIG_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ENCRYPTION_CONFIG_H
18#include "google/cloud/spanner/version.h"
19#include "google/cloud/kms_key_name.h"
20#include "absl/types/variant.h"
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
28
29
30
31
32
36
37
41
42
46 : encryption_key_
(std::move(encryption_key)
) {}
55
56
57
58
59
63GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
KmsKeyName(KmsKeyName &&)=default
Use encryption with encryption_key.
Definition: encryption_config.h:43
KmsKeyName const & encryption_key() const
Definition: encryption_config.h:48
CustomerManagedEncryption(KmsKeyName encryption_key)
Definition: encryption_config.h:45
Use the per-operation default encryption:
Definition: encryption_config.h:33
Use Google default encryption.
Definition: encryption_config.h:38
Contains all the Cloud Spanner C++ client types and functions.
Definition: backoff_policy.h:23