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

#include <instances_start_with_encryption_key_request.h>

Inheritance diagram for google_compute_api::InstancesStartWithEncryptionKeyRequest:

Public Member Functions

 InstancesStartWithEncryptionKeyRequest (const Json::Value &storage)
 
 InstancesStartWithEncryptionKeyRequest (Json::Value *storage)
 
virtual ~InstancesStartWithEncryptionKeyRequest ()
 
const StringPiece GetTypeName () const
 
bool has_disks () const
 
void clear_disks ()
 
const client::JsonCppArray< CustomerEncryptionKeyProtectedDiskget_disks () const
 
client::JsonCppArray< CustomerEncryptionKeyProtectedDiskmutable_disks ()
 

Static Public Member Functions

static InstancesStartWithEncryptionKeyRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstancesStartWithEncryptionKeyRequest() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ InstancesStartWithEncryptionKeyRequest() [2/2]

google_compute_api::InstancesStartWithEncryptionKeyRequest::InstancesStartWithEncryptionKeyRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~InstancesStartWithEncryptionKeyRequest()

google_compute_api::InstancesStartWithEncryptionKeyRequest::~InstancesStartWithEncryptionKeyRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disks()

void google_compute_api::InstancesStartWithEncryptionKeyRequest::clear_disks ( )
inline

Clears the 'disks' attribute.

◆ get_disks()

const client::JsonCppArray<CustomerEncryptionKeyProtectedDisk > google_compute_api::InstancesStartWithEncryptionKeyRequest::get_disks ( ) const

Get a reference to the value of the 'disks' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::InstancesStartWithEncryptionKeyRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstancesStartWithEncryptionKeyRequest

◆ has_disks()

bool google_compute_api::InstancesStartWithEncryptionKeyRequest::has_disks ( ) const
inline

Determine if the 'disks' attribute was set.

Returns
true if the 'disks' attribute was set.

◆ mutable_disks()

client::JsonCppArray<CustomerEncryptionKeyProtectedDisk > google_compute_api::InstancesStartWithEncryptionKeyRequest::mutable_disks ( )

Gets a reference to a mutable value of the 'disks' property.

Array of disks associated with this instance that are protected with a customer-supplied encryption key.

In order to start the instance, the disk url and its corresponding key must be provided.

If the disk is not protected with a customer-supplied encryption key it should not be specified.

Returns
The result can be modified to change the attribute value.

◆ New()

InstancesStartWithEncryptionKeyRequest * google_compute_api::InstancesStartWithEncryptionKeyRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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