#include <customer_encryption_key.h>
Represents a customer-supplied encryption key.
◆ CustomerEncryptionKey() [1/2]
google_compute_api::CustomerEncryptionKey::CustomerEncryptionKey |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CustomerEncryptionKey() [2/2]
google_compute_api::CustomerEncryptionKey::CustomerEncryptionKey |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CustomerEncryptionKey()
google_compute_api::CustomerEncryptionKey::~CustomerEncryptionKey |
( |
| ) |
|
|
virtual |
◆ clear_kms_key_name()
void google_compute_api::CustomerEncryptionKey::clear_kms_key_name |
( |
| ) |
|
|
inline |
Clears the 'kmsKeyName
' attribute.
◆ clear_raw_key()
void google_compute_api::CustomerEncryptionKey::clear_raw_key |
( |
| ) |
|
|
inline |
Clears the 'rawKey
' attribute.
◆ clear_sha256()
void google_compute_api::CustomerEncryptionKey::clear_sha256 |
( |
| ) |
|
|
inline |
Clears the 'sha256
' attribute.
◆ get_kms_key_name()
const StringPiece google_compute_api::CustomerEncryptionKey::get_kms_key_name |
( |
| ) |
const |
|
inline |
Get the value of the 'kmsKeyName
' attribute.
◆ get_raw_key()
const StringPiece google_compute_api::CustomerEncryptionKey::get_raw_key |
( |
| ) |
const |
|
inline |
Get the value of the 'rawKey
' attribute.
◆ get_sha256()
const StringPiece google_compute_api::CustomerEncryptionKey::get_sha256 |
( |
| ) |
const |
|
inline |
Get the value of the 'sha256
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::CustomerEncryptionKey::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kms_key_name()
bool google_compute_api::CustomerEncryptionKey::has_kms_key_name |
( |
| ) |
const |
|
inline |
Determine if the 'kmsKeyName
' attribute was set.
- Returns
- true if the '
kmsKeyName
' attribute was set.
◆ has_raw_key()
bool google_compute_api::CustomerEncryptionKey::has_raw_key |
( |
| ) |
const |
|
inline |
Determine if the 'rawKey
' attribute was set.
- Returns
- true if the '
rawKey
' attribute was set.
◆ has_sha256()
bool google_compute_api::CustomerEncryptionKey::has_sha256 |
( |
| ) |
const |
|
inline |
Determine if the 'sha256
' attribute was set.
- Returns
- true if the '
sha256
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kms_key_name()
void google_compute_api::CustomerEncryptionKey::set_kms_key_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kmsKeyName
' attribute.
The name of the encryption key that is stored in Google Cloud KMS.
- Parameters
-
◆ set_raw_key()
void google_compute_api::CustomerEncryptionKey::set_raw_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'rawKey
' attribute.
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Parameters
-
◆ set_sha256()
void google_compute_api::CustomerEncryptionKey::set_sha256 |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'sha256
' attribute.
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer- supplied encryption key that protects this resource.
- Parameters
-
The documentation for this class was generated from the following files: