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

#include <target_instances_scoped_list.h>

Inheritance diagram for google_compute_api::TargetInstancesScopedList:

Classes

class  TargetInstancesScopedListWarning
 

Public Member Functions

 TargetInstancesScopedList (const Json::Value &storage)
 
 TargetInstancesScopedList (Json::Value *storage)
 
virtual ~TargetInstancesScopedList ()
 
const StringPiece GetTypeName () const
 
bool has_target_instances () const
 
void clear_target_instances ()
 
const client::JsonCppArray< TargetInstanceget_target_instances () const
 
client::JsonCppArray< TargetInstancemutable_targetInstances ()
 
bool has_warning () const
 
void clear_warning ()
 
const TargetInstancesScopedListWarning get_warning () const
 
TargetInstancesScopedListWarning mutable_warning ()
 

Static Public Member Functions

static TargetInstancesScopedListNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ TargetInstancesScopedList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TargetInstancesScopedList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TargetInstancesScopedList()

google_compute_api::TargetInstancesScopedList::~TargetInstancesScopedList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_target_instances()

void google_compute_api::TargetInstancesScopedList::clear_target_instances ( )
inline

Clears the 'targetInstances' attribute.

◆ clear_warning()

void google_compute_api::TargetInstancesScopedList::clear_warning ( )
inline

Clears the 'warning' attribute.

◆ get_target_instances()

const client::JsonCppArray<TargetInstance > google_compute_api::TargetInstancesScopedList::get_target_instances ( ) const

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

◆ get_warning()

const TargetInstancesScopedListWarning google_compute_api::TargetInstancesScopedList::get_warning ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::TargetInstancesScopedList

◆ has_target_instances()

bool google_compute_api::TargetInstancesScopedList::has_target_instances ( ) const
inline

Determine if the 'targetInstances' attribute was set.

Returns
true if the 'targetInstances' attribute was set.

◆ has_warning()

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

Determine if the 'warning' attribute was set.

Returns
true if the 'warning' attribute was set.

◆ mutable_targetInstances()

client::JsonCppArray<TargetInstance > google_compute_api::TargetInstancesScopedList::mutable_targetInstances ( )

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

A list of target instances contained in this scope.

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

◆ mutable_warning()

TargetInstancesScopedListWarning google_compute_api::TargetInstancesScopedList::mutable_warning ( )
inline

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

Informational warning which replaces the list of addresses when the list is empty.

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

◆ New()

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