compute
v1
|
#include <node_group.h>
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 NodeGroup * | New () |
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 ==).
|
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 'nodeTemplate
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'size
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'zone
' 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 the value of the 'nodeTemplate
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'size
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'zone
' 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 'nodeTemplate
' attribute was set.
nodeTemplate
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'size
' attribute was set.
size
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'zone
' attribute was set.
zone
' attribute was set.
|
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::nodeGroup for node group.
[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 'nodeTemplate
' attribute.
The URL of the node template to which this node group belongs.
[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 'size
' attribute.
[Output Only] The total number of nodes in the node group.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[in] | value | The new value. |
|
inline |
Change the 'zone
' attribute.
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
[in] | value | The new value. |