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

#include <instances_scoped_list.h>

Inheritance diagram for google_compute_api::InstancesScopedList:

Classes

class  InstancesScopedListWarning
 

Public Member Functions

 InstancesScopedList (const Json::Value &storage)
 
 InstancesScopedList (Json::Value *storage)
 
virtual ~InstancesScopedList ()
 
const StringPiece GetTypeName () const
 
bool has_instances () const
 
void clear_instances ()
 
const client::JsonCppArray< Instanceget_instances () const
 
client::JsonCppArray< Instancemutable_instances ()
 
bool has_warning () const
 
void clear_warning ()
 
const InstancesScopedListWarning get_warning () const
 
InstancesScopedListWarning mutable_warning ()
 

Static Public Member Functions

static InstancesScopedListNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstancesScopedList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstancesScopedList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstancesScopedList()

google_compute_api::InstancesScopedList::~InstancesScopedList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_instances()

void google_compute_api::InstancesScopedList::clear_instances ( )
inline

Clears the 'instances' attribute.

◆ clear_warning()

void google_compute_api::InstancesScopedList::clear_warning ( )
inline

Clears the 'warning' attribute.

◆ get_instances()

const client::JsonCppArray<Instance > google_compute_api::InstancesScopedList::get_instances ( ) const

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

◆ get_warning()

const InstancesScopedListWarning google_compute_api::InstancesScopedList::get_warning ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstancesScopedList

◆ has_instances()

bool google_compute_api::InstancesScopedList::has_instances ( ) const
inline

Determine if the 'instances' attribute was set.

Returns
true if the 'instances' attribute was set.

◆ has_warning()

bool google_compute_api::InstancesScopedList::has_warning ( ) const
inline

Determine if the 'warning' attribute was set.

Returns
true if the 'warning' attribute was set.

◆ mutable_instances()

client::JsonCppArray<Instance > google_compute_api::InstancesScopedList::mutable_instances ( )

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

[Output Only] A list of instances contained in this scope.

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

◆ mutable_warning()

InstancesScopedListWarning google_compute_api::InstancesScopedList::mutable_warning ( )
inline

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

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

◆ New()

InstancesScopedList * google_compute_api::InstancesScopedList::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: