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

#include <node_template.h>

Inheritance diagram for google_compute_api::NodeTemplate:

Public Member Functions

 NodeTemplate (const Json::Value &storage)
 
 NodeTemplate (Json::Value *storage)
 
virtual ~NodeTemplate ()
 
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_affinity_labels () const
 
void clear_node_affinity_labels ()
 
const client::JsonCppAssociativeArray< string > get_node_affinity_labels () const
 
client::JsonCppAssociativeArray< string > mutable_nodeAffinityLabels ()
 
bool has_node_type () const
 
void clear_node_type ()
 
const StringPiece get_node_type () const
 
void set_node_type (const StringPiece &value)
 
bool has_node_type_flexibility () const
 
void clear_node_type_flexibility ()
 
const NodeTemplateNodeTypeFlexibility get_node_type_flexibility () const
 
NodeTemplateNodeTypeFlexibility mutable_nodeTypeFlexibility ()
 
bool has_region () const
 
void clear_region ()
 
const StringPiece get_region () const
 
void set_region (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_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_status_message () const
 
void clear_status_message ()
 
const StringPiece get_status_message () const
 
void set_status_message (const StringPiece &value)
 

Static Public Member Functions

static NodeTemplateNew ()
 

Detailed Description

A Node Template resource. To learn more about node templates and sole-tenant nodes, read the Sole-tenant nodes documentation. (== resource_for beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==).

Constructor & Destructor Documentation

◆ NodeTemplate() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NodeTemplate() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NodeTemplate()

google_compute_api::NodeTemplate::~NodeTemplate ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::NodeTemplate::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_description()

void google_compute_api::NodeTemplate::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_compute_api::NodeTemplate::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::NodeTemplate::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::NodeTemplate::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_node_affinity_labels()

void google_compute_api::NodeTemplate::clear_node_affinity_labels ( )
inline

Clears the 'nodeAffinityLabels' attribute.

◆ clear_node_type()

void google_compute_api::NodeTemplate::clear_node_type ( )
inline

Clears the 'nodeType' attribute.

◆ clear_node_type_flexibility()

void google_compute_api::NodeTemplate::clear_node_type_flexibility ( )
inline

Clears the 'nodeTypeFlexibility' attribute.

◆ clear_region()

void google_compute_api::NodeTemplate::clear_region ( )
inline

Clears the 'region' attribute.

◆ clear_self_link()

void google_compute_api::NodeTemplate::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_status()

void google_compute_api::NodeTemplate::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_status_message()

void google_compute_api::NodeTemplate::clear_status_message ( )
inline

Clears the 'statusMessage' attribute.

◆ get_creation_timestamp()

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

Get the value of the 'creationTimestamp' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_node_affinity_labels()

const client::JsonCppAssociativeArray<string > google_compute_api::NodeTemplate::get_node_affinity_labels ( ) const
inline

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

◆ get_node_type()

const StringPiece google_compute_api::NodeTemplate::get_node_type ( ) const
inline

Get the value of the 'nodeType' attribute.

◆ get_node_type_flexibility()

const NodeTemplateNodeTypeFlexibility google_compute_api::NodeTemplate::get_node_type_flexibility ( ) const

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

◆ get_region()

const StringPiece google_compute_api::NodeTemplate::get_region ( ) const
inline

Get the value of the 'region' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ get_status()

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

Get the value of the 'status' attribute.

◆ get_status_message()

const StringPiece google_compute_api::NodeTemplate::get_status_message ( ) const
inline

Get the value of the 'statusMessage' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::NodeTemplate

◆ has_creation_timestamp()

bool google_compute_api::NodeTemplate::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::NodeTemplate::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::NodeTemplate::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::NodeTemplate::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::NodeTemplate::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_node_affinity_labels()

bool google_compute_api::NodeTemplate::has_node_affinity_labels ( ) const
inline

Determine if the 'nodeAffinityLabels' attribute was set.

Returns
true if the 'nodeAffinityLabels' attribute was set.

◆ has_node_type()

bool google_compute_api::NodeTemplate::has_node_type ( ) const
inline

Determine if the 'nodeType' attribute was set.

Returns
true if the 'nodeType' attribute was set.

◆ has_node_type_flexibility()

bool google_compute_api::NodeTemplate::has_node_type_flexibility ( ) const
inline

Determine if the 'nodeTypeFlexibility' attribute was set.

Returns
true if the 'nodeTypeFlexibility' attribute was set.

◆ has_region()

bool google_compute_api::NodeTemplate::has_region ( ) const
inline

Determine if the 'region' attribute was set.

Returns
true if the 'region' attribute was set.

◆ has_self_link()

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

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_status()

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

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_status_message()

bool google_compute_api::NodeTemplate::has_status_message ( ) const
inline

Determine if the 'statusMessage' attribute was set.

Returns
true if the 'statusMessage' attribute was set.

◆ mutable_nodeAffinityLabels()

client::JsonCppAssociativeArray<string > google_compute_api::NodeTemplate::mutable_nodeAffinityLabels ( )
inline

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

Labels to use for node affinity, which will be used in instance scheduling.

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

◆ mutable_nodeTypeFlexibility()

NodeTemplateNodeTypeFlexibility google_compute_api::NodeTemplate::mutable_nodeTypeFlexibility ( )

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

The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties.

This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.

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

◆ New()

NodeTemplate * google_compute_api::NodeTemplate::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::NodeTemplate::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::NodeTemplate::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::NodeTemplate::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::NodeTemplate::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] The type of the resource. Always compute::nodeTemplate for node templates.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::NodeTemplate::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_type()

void google_compute_api::NodeTemplate::set_node_type ( const StringPiece &  value)
inline

Change the 'nodeType' attribute.

The node type to use for nodes group that are created from this template.

Parameters
[in]valueThe new value.

◆ set_region()

void google_compute_api::NodeTemplate::set_region ( const StringPiece &  value)
inline

Change the 'region' attribute.

[Output Only] The name of the region where the node template resides, such as us-central1.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::NodeTemplate::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_status()

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

Change the 'status' attribute.

[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.

Parameters
[in]valueThe new value.

◆ set_status_message()

void google_compute_api::NodeTemplate::set_status_message ( const StringPiece &  value)
inline

Change the 'statusMessage' attribute.

[Output Only] An optional, human-readable explanation of the status.

Parameters
[in]valueThe new value.

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