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

#include <instance_reference.h>

Inheritance diagram for google_compute_api::InstanceReference:

Public Member Functions

 InstanceReference (const Json::Value &storage)
 
 InstanceReference (Json::Value *storage)
 
virtual ~InstanceReference ()
 
const StringPiece GetTypeName () const
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 

Static Public Member Functions

static InstanceReferenceNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstanceReference() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstanceReference() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstanceReference()

google_compute_api::InstanceReference::~InstanceReference ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_instance()

void google_compute_api::InstanceReference::clear_instance ( )
inline

Clears the 'instance' attribute.

◆ get_instance()

const StringPiece google_compute_api::InstanceReference::get_instance ( ) const
inline

Get the value of the 'instance' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstanceReference

◆ has_instance()

bool google_compute_api::InstanceReference::has_instance ( ) const
inline

Determine if the 'instance' attribute was set.

Returns
true if the 'instance' attribute was set.

◆ New()

InstanceReference * google_compute_api::InstanceReference::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_instance()

void google_compute_api::InstanceReference::set_instance ( const StringPiece &  value)
inline

Change the 'instance' attribute.

The URL for a specific instance.

Parameters
[in]valueThe new value.

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