#include <data_disk_assignment.h>
Data disk assignment for a given VM instance.
◆ DataDiskAssignment() [1/2]
| google_dataflow_api::DataDiskAssignment::DataDiskAssignment |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ DataDiskAssignment() [2/2]
| google_dataflow_api::DataDiskAssignment::DataDiskAssignment |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~DataDiskAssignment()
| google_dataflow_api::DataDiskAssignment::~DataDiskAssignment |
( |
| ) |
|
|
virtual |
◆ clear_data_disks()
| void google_dataflow_api::DataDiskAssignment::clear_data_disks |
( |
| ) |
|
|
inline |
Clears the 'dataDisks' attribute.
◆ clear_vm_instance()
| void google_dataflow_api::DataDiskAssignment::clear_vm_instance |
( |
| ) |
|
|
inline |
Clears the 'vmInstance' attribute.
◆ get_data_disks()
| const client::JsonCppArray<string > google_dataflow_api::DataDiskAssignment::get_data_disks |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'dataDisks' attribute.
◆ get_vm_instance()
| const StringPiece google_dataflow_api::DataDiskAssignment::get_vm_instance |
( |
| ) |
const |
|
inline |
Get the value of the 'vmInstance' attribute.
◆ GetTypeName()
| const StringPiece google_dataflow_api::DataDiskAssignment::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_data_disks()
| bool google_dataflow_api::DataDiskAssignment::has_data_disks |
( |
| ) |
const |
|
inline |
Determine if the 'dataDisks' attribute was set.
- Returns
- true if the '
dataDisks' attribute was set.
◆ has_vm_instance()
| bool google_dataflow_api::DataDiskAssignment::has_vm_instance |
( |
| ) |
const |
|
inline |
Determine if the 'vmInstance' attribute was set.
- Returns
- true if the '
vmInstance' attribute was set.
◆ mutable_dataDisks()
| client::JsonCppArray<string > google_dataflow_api::DataDiskAssignment::mutable_dataDisks |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'dataDisks' property.
Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
- 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_vm_instance()
| void google_dataflow_api::DataDiskAssignment::set_vm_instance |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'vmInstance' attribute.
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
- Parameters
-
The documentation for this class was generated from the following files: