compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::CustomerEncryptionKeyProtectedDisk Class Reference

#include <customer_encryption_key_protected_disk.h>

Inheritance diagram for google_compute_api::CustomerEncryptionKeyProtectedDisk:

Public Member Functions

 CustomerEncryptionKeyProtectedDisk (const Json::Value &storage)
 
 CustomerEncryptionKeyProtectedDisk (Json::Value *storage)
 
virtual ~CustomerEncryptionKeyProtectedDisk ()
 
const StringPiece GetTypeName () const
 
bool has_disk_encryption_key () const
 
void clear_disk_encryption_key ()
 
const CustomerEncryptionKey get_disk_encryption_key () const
 
CustomerEncryptionKey mutable_diskEncryptionKey ()
 
bool has_source () const
 
void clear_source ()
 
const StringPiece get_source () const
 
void set_source (const StringPiece &value)
 

Static Public Member Functions

static CustomerEncryptionKeyProtectedDiskNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ CustomerEncryptionKeyProtectedDisk() [1/2]

google_compute_api::CustomerEncryptionKeyProtectedDisk::CustomerEncryptionKeyProtectedDisk ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~CustomerEncryptionKeyProtectedDisk()

google_compute_api::CustomerEncryptionKeyProtectedDisk::~CustomerEncryptionKeyProtectedDisk ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_compute_api::CustomerEncryptionKeyProtectedDisk

◆ 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()

CustomerEncryptionKeyProtectedDisk * google_compute_api::CustomerEncryptionKeyProtectedDisk::New ( )
static

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
[in]valueThe new value.

The documentation for this class was generated from the following files: