dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::DataDiskAssignment Class Reference

#include <data_disk_assignment.h>

Inheritance diagram for google_dataflow_api::DataDiskAssignment:

Public Member Functions

 DataDiskAssignment (const Json::Value &storage)
 
 DataDiskAssignment (Json::Value *storage)
 
virtual ~DataDiskAssignment ()
 
const StringPiece GetTypeName () const
 
bool has_data_disks () const
 
void clear_data_disks ()
 
const client::JsonCppArray< string > get_data_disks () const
 
client::JsonCppArray< string > mutable_dataDisks ()
 
bool has_vm_instance () const
 
void clear_vm_instance ()
 
const StringPiece get_vm_instance () const
 
void set_vm_instance (const StringPiece &value)
 

Static Public Member Functions

static DataDiskAssignmentNew ()
 

Detailed Description

Data disk assignment for a given VM instance.

Constructor & Destructor Documentation

◆ DataDiskAssignment() [1/2]

google_dataflow_api::DataDiskAssignment::DataDiskAssignment ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ~DataDiskAssignment()

google_dataflow_api::DataDiskAssignment::~DataDiskAssignment ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::DataDiskAssignment

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

DataDiskAssignment * google_dataflow_api::DataDiskAssignment::New ( )
static

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

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