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

#include <node_group.h>

Inheritance diagram for google_compute_api::NodeGroup:

Public Member Functions

 NodeGroup (const Json::Value &storage)
 
 NodeGroup (Json::Value *storage)
 
virtual ~NodeGroup ()
 
const StringPiece GetTypeName () const
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_node_template () const
 
void clear_node_template ()
 
const StringPiece get_node_template () const
 
void set_node_template (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_size () const
 
void clear_size ()
 
int32 get_size () const
 
void set_size (int32 value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static NodeGroupNew ()
 

Detailed Description

A NodeGroup resource. To create a node group, you must first create a node templates. To learn more about node groups and sole-tenant nodes, read the Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==).

Constructor & Destructor Documentation

◆ NodeGroup() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NodeGroup() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NodeGroup()

google_compute_api::NodeGroup::~NodeGroup ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::NodeGroup::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_description()

void google_compute_api::NodeGroup::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_compute_api::NodeGroup::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::NodeGroup::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::NodeGroup::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_node_template()

void google_compute_api::NodeGroup::clear_node_template ( )
inline

Clears the 'nodeTemplate' attribute.

◆ clear_self_link()

void google_compute_api::NodeGroup::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_size()

void google_compute_api::NodeGroup::clear_size ( )
inline

Clears the 'size' attribute.

◆ clear_status()

void google_compute_api::NodeGroup::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_zone()

void google_compute_api::NodeGroup::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::NodeGroup::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_description()

const StringPiece google_compute_api::NodeGroup::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_id()

uint64 google_compute_api::NodeGroup::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::NodeGroup::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::NodeGroup::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_node_template()

const StringPiece google_compute_api::NodeGroup::get_node_template ( ) const
inline

Get the value of the 'nodeTemplate' attribute.

◆ get_self_link()

const StringPiece google_compute_api::NodeGroup::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_size()

int32 google_compute_api::NodeGroup::get_size ( ) const
inline

Get the value of the 'size' attribute.

◆ get_status()

const StringPiece google_compute_api::NodeGroup::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_zone()

const StringPiece google_compute_api::NodeGroup::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::NodeGroup

◆ has_creation_timestamp()

bool google_compute_api::NodeGroup::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_description()

bool google_compute_api::NodeGroup::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_id()

bool google_compute_api::NodeGroup::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::NodeGroup::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_compute_api::NodeGroup::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_node_template()

bool google_compute_api::NodeGroup::has_node_template ( ) const
inline

Determine if the 'nodeTemplate' attribute was set.

Returns
true if the 'nodeTemplate' attribute was set.

◆ has_self_link()

bool google_compute_api::NodeGroup::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_size()

bool google_compute_api::NodeGroup::has_size ( ) const
inline

Determine if the 'size' attribute was set.

Returns
true if the 'size' attribute was set.

◆ has_status()

bool google_compute_api::NodeGroup::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_zone()

bool google_compute_api::NodeGroup::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ New()

NodeGroup * google_compute_api::NodeGroup::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::NodeGroup::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::NodeGroup::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional description of this resource. Provide this property when you create the resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::NodeGroup::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::NodeGroup::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] The type of the resource. Always compute::nodeGroup for node group.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::NodeGroup::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Parameters
[in]valueThe new value.

◆ set_node_template()

void google_compute_api::NodeGroup::set_node_template ( const StringPiece &  value)
inline

Change the 'nodeTemplate' attribute.

The URL of the node template to which this node group belongs.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::NodeGroup::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_size()

void google_compute_api::NodeGroup::set_size ( int32  value)
inline

Change the 'size' attribute.

[Output Only] The total number of nodes in the node group.

Parameters
[in]valueThe new value.

◆ set_status()

void google_compute_api::NodeGroup::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_compute_api::NodeGroup::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

[Output Only] The name of the zone where the node group resides, such as us-central1-a.

Parameters
[in]valueThe new value.

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