#include <customer_encryption_key_protected_disk.h>
◆ CustomerEncryptionKeyProtectedDisk() [1/2]
google_compute_api::CustomerEncryptionKeyProtectedDisk::CustomerEncryptionKeyProtectedDisk |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CustomerEncryptionKeyProtectedDisk() [2/2]
google_compute_api::CustomerEncryptionKeyProtectedDisk::CustomerEncryptionKeyProtectedDisk |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CustomerEncryptionKeyProtectedDisk()
google_compute_api::CustomerEncryptionKeyProtectedDisk::~CustomerEncryptionKeyProtectedDisk |
( |
| ) |
|
|
virtual |
◆ clear_disk_encryption_key()
void google_compute_api::CustomerEncryptionKeyProtectedDisk::clear_disk_encryption_key |
( |
| ) |
|
|
inline |
Clears the 'diskEncryptionKey
' attribute.
◆ clear_source()
void google_compute_api::CustomerEncryptionKeyProtectedDisk::clear_source |
( |
| ) |
|
|
inline |
Clears the 'source
' attribute.
◆ get_disk_encryption_key()
const CustomerEncryptionKey google_compute_api::CustomerEncryptionKeyProtectedDisk::get_disk_encryption_key |
( |
| ) |
const |
Get a reference to the value of the 'diskEncryptionKey
' attribute.
◆ get_source()
const StringPiece google_compute_api::CustomerEncryptionKeyProtectedDisk::get_source |
( |
| ) |
const |
|
inline |
Get the value of the 'source
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::CustomerEncryptionKeyProtectedDisk::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_disk_encryption_key()
bool google_compute_api::CustomerEncryptionKeyProtectedDisk::has_disk_encryption_key |
( |
| ) |
const |
|
inline |
Determine if the 'diskEncryptionKey
' attribute was set.
- Returns
- true if the '
diskEncryptionKey
' attribute was set.
◆ has_source()
bool google_compute_api::CustomerEncryptionKeyProtectedDisk::has_source |
( |
| ) |
const |
|
inline |
Determine if the 'source
' attribute was set.
- Returns
- true if the '
source
' attribute was set.
◆ mutable_diskEncryptionKey()
CustomerEncryptionKey google_compute_api::CustomerEncryptionKeyProtectedDisk::mutable_diskEncryptionKey |
( |
| ) |
|
Gets a reference to a mutable value of the 'diskEncryptionKey
' property.
Decrypts data associated with the disk with a customer-supplied encryption key.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_source()
void google_compute_api::CustomerEncryptionKeyProtectedDisk::set_source |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'source
' attribute.
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
- Parameters
-
The documentation for this class was generated from the following files: