container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::CreateNodePoolRequest Class Reference

#include <create_node_pool_request.h>

Inheritance diagram for google_container_api::CreateNodePoolRequest:

Public Member Functions

 CreateNodePoolRequest (const Json::Value &storage)
 
 CreateNodePoolRequest (Json::Value *storage)
 
virtual ~CreateNodePoolRequest ()
 
const StringPiece GetTypeName () const
 
bool has_cluster_id () const
 
void clear_cluster_id ()
 
const StringPiece get_cluster_id () const
 
void set_cluster_id (const StringPiece &value)
 
bool has_node_pool () const
 
void clear_node_pool ()
 
const NodePool get_node_pool () const
 
NodePool mutable_nodePool ()
 
bool has_parent () const
 
void clear_parent ()
 
const StringPiece get_parent () const
 
void set_parent (const StringPiece &value)
 
bool has_project_id () const
 
void clear_project_id ()
 
const StringPiece get_project_id () const
 
void set_project_id (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 CreateNodePoolRequestNew ()
 

Detailed Description

CreateNodePoolRequest creates a node pool for a cluster.

Constructor & Destructor Documentation

◆ CreateNodePoolRequest() [1/2]

google_container_api::CreateNodePoolRequest::CreateNodePoolRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ CreateNodePoolRequest() [2/2]

google_container_api::CreateNodePoolRequest::CreateNodePoolRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CreateNodePoolRequest()

google_container_api::CreateNodePoolRequest::~CreateNodePoolRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cluster_id()

void google_container_api::CreateNodePoolRequest::clear_cluster_id ( )
inline

Clears the 'clusterId' attribute.

◆ clear_node_pool()

void google_container_api::CreateNodePoolRequest::clear_node_pool ( )
inline

Clears the 'nodePool' attribute.

◆ clear_parent()

void google_container_api::CreateNodePoolRequest::clear_parent ( )
inline

Clears the 'parent' attribute.

◆ clear_project_id()

void google_container_api::CreateNodePoolRequest::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_zone()

void google_container_api::CreateNodePoolRequest::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_cluster_id()

const StringPiece google_container_api::CreateNodePoolRequest::get_cluster_id ( ) const
inline

Get the value of the 'clusterId' attribute.

◆ get_node_pool()

const NodePool google_container_api::CreateNodePoolRequest::get_node_pool ( ) const

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

◆ get_parent()

const StringPiece google_container_api::CreateNodePoolRequest::get_parent ( ) const
inline

Get the value of the 'parent' attribute.

◆ get_project_id()

const StringPiece google_container_api::CreateNodePoolRequest::get_project_id ( ) const
inline

Get the value of the 'projectId' attribute.

◆ get_zone()

const StringPiece google_container_api::CreateNodePoolRequest::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

const StringPiece google_container_api::CreateNodePoolRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::CreateNodePoolRequest

◆ has_cluster_id()

bool google_container_api::CreateNodePoolRequest::has_cluster_id ( ) const
inline

Determine if the 'clusterId' attribute was set.

Returns
true if the 'clusterId' attribute was set.

◆ has_node_pool()

bool google_container_api::CreateNodePoolRequest::has_node_pool ( ) const
inline

Determine if the 'nodePool' attribute was set.

Returns
true if the 'nodePool' attribute was set.

◆ has_parent()

bool google_container_api::CreateNodePoolRequest::has_parent ( ) const
inline

Determine if the 'parent' attribute was set.

Returns
true if the 'parent' attribute was set.

◆ has_project_id()

bool google_container_api::CreateNodePoolRequest::has_project_id ( ) const
inline

Determine if the 'projectId' attribute was set.

Returns
true if the 'projectId' attribute was set.

◆ has_zone()

bool google_container_api::CreateNodePoolRequest::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ mutable_nodePool()

NodePool google_container_api::CreateNodePoolRequest::mutable_nodePool ( )

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

Required. The node pool to create.

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

◆ New()

CreateNodePoolRequest * google_container_api::CreateNodePoolRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_cluster_id()

void google_container_api::CreateNodePoolRequest::set_cluster_id ( const StringPiece &  value)
inline

Change the 'clusterId' attribute.

Deprecated:

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

Parameters
[in]valueThe new value.

◆ set_parent()

void google_container_api::CreateNodePoolRequest::set_parent ( const StringPiece &  value)
inline

Change the 'parent' attribute.

The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/locations/clusters'.

Parameters
[in]valueThe new value.

◆ set_project_id()

void google_container_api::CreateNodePoolRequest::set_project_id ( const StringPiece &  value)
inline

Change the 'projectId' attribute.

Deprecated:

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_container_api::CreateNodePoolRequest::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

Deprecated:

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

Parameters
[in]valueThe new value.

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