compute
v1
|
#include <node_template.h>
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 NodeTemplate * | New () |
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 ==).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'creationTimestamp
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'nodeAffinityLabels
' attribute.
|
inline |
Clears the 'nodeType
' attribute.
|
inline |
Clears the 'nodeTypeFlexibility
' attribute.
|
inline |
Clears the 'region
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'statusMessage
' attribute.
|
inline |
Get the value of the 'creationTimestamp
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get a reference to the value of the 'nodeAffinityLabels
' attribute.
|
inline |
Get the value of the 'nodeType
' attribute.
const NodeTemplateNodeTypeFlexibility google_compute_api::NodeTemplate::get_node_type_flexibility | ( | ) | const |
Get a reference to the value of the 'nodeTypeFlexibility
' attribute.
|
inline |
Get the value of the 'region
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'statusMessage
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
creationTimestamp
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'nodeAffinityLabels
' attribute was set.
nodeAffinityLabels
' attribute was set.
|
inline |
Determine if the 'nodeType
' attribute was set.
nodeType
' attribute was set.
|
inline |
Determine if the 'nodeTypeFlexibility
' attribute was set.
nodeTypeFlexibility
' attribute was set.
|
inline |
Determine if the 'region
' attribute was set.
region
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'statusMessage
' attribute was set.
statusMessage
' attribute was set.
|
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.
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.
|
static |
Creates a new default instance.
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
An optional description of this resource. Provide this property when you create the resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[Output Only] The type of the resource. Always compute::nodeTemplate for node templates.
[in] | value | The new 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.
[in] | value | The new value. |
|
inline |
Change the 'nodeType
' attribute.
The node type to use for nodes group that are created from this template.
[in] | value | The new value. |
|
inline |
Change the 'region
' attribute.
[Output Only] The name of the region where the node template resides, such as us-central1.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.
[in] | value | The new value. |
|
inline |
Change the 'statusMessage
' attribute.
[Output Only] An optional, human-readable explanation of the status.
[in] | value | The new value. |