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

#include <instance_move_request.h>

Inheritance diagram for google_compute_api::InstanceMoveRequest:

Public Member Functions

 InstanceMoveRequest (const Json::Value &storage)
 
 InstanceMoveRequest (Json::Value *storage)
 
virtual ~InstanceMoveRequest ()
 
const StringPiece GetTypeName () const
 
bool has_destination_zone () const
 
void clear_destination_zone ()
 
const StringPiece get_destination_zone () const
 
void set_destination_zone (const StringPiece &value)
 
bool has_target_instance () const
 
void clear_target_instance ()
 
const StringPiece get_target_instance () const
 
void set_target_instance (const StringPiece &value)
 

Static Public Member Functions

static InstanceMoveRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstanceMoveRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstanceMoveRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstanceMoveRequest()

google_compute_api::InstanceMoveRequest::~InstanceMoveRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_destination_zone()

void google_compute_api::InstanceMoveRequest::clear_destination_zone ( )
inline

Clears the 'destinationZone' attribute.

◆ clear_target_instance()

void google_compute_api::InstanceMoveRequest::clear_target_instance ( )
inline

Clears the 'targetInstance' attribute.

◆ get_destination_zone()

const StringPiece google_compute_api::InstanceMoveRequest::get_destination_zone ( ) const
inline

Get the value of the 'destinationZone' attribute.

◆ get_target_instance()

const StringPiece google_compute_api::InstanceMoveRequest::get_target_instance ( ) const
inline

Get the value of the 'targetInstance' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstanceMoveRequest

◆ has_destination_zone()

bool google_compute_api::InstanceMoveRequest::has_destination_zone ( ) const
inline

Determine if the 'destinationZone' attribute was set.

Returns
true if the 'destinationZone' attribute was set.

◆ has_target_instance()

bool google_compute_api::InstanceMoveRequest::has_target_instance ( ) const
inline

Determine if the 'targetInstance' attribute was set.

Returns
true if the 'targetInstance' attribute was set.

◆ New()

InstanceMoveRequest * google_compute_api::InstanceMoveRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_destination_zone()

void google_compute_api::InstanceMoveRequest::set_destination_zone ( const StringPiece &  value)
inline

Change the 'destinationZone' attribute.

The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone:

Parameters
[in]valueThe new value.

◆ set_target_instance()

void google_compute_api::InstanceMoveRequest::set_target_instance ( const StringPiece &  value)
inline

Change the 'targetInstance' attribute.

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance:

Parameters
[in]valueThe new value.

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