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

#include <autoscalers_scoped_list.h>

Inheritance diagram for google_compute_api::AutoscalersScopedList:

Classes

class  AutoscalersScopedListWarning
 

Public Member Functions

 AutoscalersScopedList (const Json::Value &storage)
 
 AutoscalersScopedList (Json::Value *storage)
 
virtual ~AutoscalersScopedList ()
 
const StringPiece GetTypeName () const
 
bool has_autoscalers () const
 
void clear_autoscalers ()
 
const client::JsonCppArray< Autoscalerget_autoscalers () const
 
client::JsonCppArray< Autoscalermutable_autoscalers ()
 
bool has_warning () const
 
void clear_warning ()
 
const AutoscalersScopedListWarning get_warning () const
 
AutoscalersScopedListWarning mutable_warning ()
 

Static Public Member Functions

static AutoscalersScopedListNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AutoscalersScopedList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AutoscalersScopedList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AutoscalersScopedList()

google_compute_api::AutoscalersScopedList::~AutoscalersScopedList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_autoscalers()

void google_compute_api::AutoscalersScopedList::clear_autoscalers ( )
inline

Clears the 'autoscalers' attribute.

◆ clear_warning()

void google_compute_api::AutoscalersScopedList::clear_warning ( )
inline

Clears the 'warning' attribute.

◆ get_autoscalers()

const client::JsonCppArray<Autoscaler > google_compute_api::AutoscalersScopedList::get_autoscalers ( ) const

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

◆ get_warning()

const AutoscalersScopedListWarning google_compute_api::AutoscalersScopedList::get_warning ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::AutoscalersScopedList

◆ has_autoscalers()

bool google_compute_api::AutoscalersScopedList::has_autoscalers ( ) const
inline

Determine if the 'autoscalers' attribute was set.

Returns
true if the 'autoscalers' attribute was set.

◆ has_warning()

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

Determine if the 'warning' attribute was set.

Returns
true if the 'warning' attribute was set.

◆ mutable_autoscalers()

client::JsonCppArray<Autoscaler > google_compute_api::AutoscalersScopedList::mutable_autoscalers ( )

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

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

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

◆ mutable_warning()

AutoscalersScopedListWarning google_compute_api::AutoscalersScopedList::mutable_warning ( )
inline

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

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

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

◆ New()

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