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

#include <update_node_pool_request.h>

Inheritance diagram for google_container_api::UpdateNodePoolRequest:

Public Member Functions

 UpdateNodePoolRequest (const Json::Value &storage)
 
 UpdateNodePoolRequest (Json::Value *storage)
 
virtual ~UpdateNodePoolRequest ()
 
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_image_type () const
 
void clear_image_type ()
 
const StringPiece get_image_type () const
 
void set_image_type (const StringPiece &value)
 
bool has_locations () const
 
void clear_locations ()
 
const client::JsonCppArray< string > get_locations () const
 
client::JsonCppArray< string > mutable_locations ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_node_pool_id () const
 
void clear_node_pool_id ()
 
const StringPiece get_node_pool_id () const
 
void set_node_pool_id (const StringPiece &value)
 
bool has_node_version () const
 
void clear_node_version ()
 
const StringPiece get_node_version () const
 
void set_node_version (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_upgrade_settings () const
 
void clear_upgrade_settings ()
 
const UpgradeSettings get_upgrade_settings () const
 
UpgradeSettings mutable_upgradeSettings ()
 
bool has_workload_metadata_config () const
 
void clear_workload_metadata_config ()
 
const WorkloadMetadataConfig get_workload_metadata_config () const
 
WorkloadMetadataConfig mutable_workloadMetadataConfig ()
 
bool has_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static UpdateNodePoolRequestNew ()
 

Detailed Description

UpdateNodePoolRequests update a node pool's image and/or version.

Constructor & Destructor Documentation

◆ UpdateNodePoolRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ UpdateNodePoolRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~UpdateNodePoolRequest()

google_container_api::UpdateNodePoolRequest::~UpdateNodePoolRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cluster_id()

void google_container_api::UpdateNodePoolRequest::clear_cluster_id ( )
inline

Clears the 'clusterId' attribute.

◆ clear_image_type()

void google_container_api::UpdateNodePoolRequest::clear_image_type ( )
inline

Clears the 'imageType' attribute.

◆ clear_locations()

void google_container_api::UpdateNodePoolRequest::clear_locations ( )
inline

Clears the 'locations' attribute.

◆ clear_name()

void google_container_api::UpdateNodePoolRequest::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_node_pool_id()

void google_container_api::UpdateNodePoolRequest::clear_node_pool_id ( )
inline

Clears the 'nodePoolId' attribute.

◆ clear_node_version()

void google_container_api::UpdateNodePoolRequest::clear_node_version ( )
inline

Clears the 'nodeVersion' attribute.

◆ clear_project_id()

void google_container_api::UpdateNodePoolRequest::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_upgrade_settings()

void google_container_api::UpdateNodePoolRequest::clear_upgrade_settings ( )
inline

Clears the 'upgradeSettings' attribute.

◆ clear_workload_metadata_config()

void google_container_api::UpdateNodePoolRequest::clear_workload_metadata_config ( )
inline

Clears the 'workloadMetadataConfig' attribute.

◆ clear_zone()

void google_container_api::UpdateNodePoolRequest::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_cluster_id()

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

Get the value of the 'clusterId' attribute.

◆ get_image_type()

const StringPiece google_container_api::UpdateNodePoolRequest::get_image_type ( ) const
inline

Get the value of the 'imageType' attribute.

◆ get_locations()

const client::JsonCppArray<string > google_container_api::UpdateNodePoolRequest::get_locations ( ) const
inline

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

◆ get_name()

const StringPiece google_container_api::UpdateNodePoolRequest::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_node_pool_id()

const StringPiece google_container_api::UpdateNodePoolRequest::get_node_pool_id ( ) const
inline

Get the value of the 'nodePoolId' attribute.

◆ get_node_version()

const StringPiece google_container_api::UpdateNodePoolRequest::get_node_version ( ) const
inline

Get the value of the 'nodeVersion' attribute.

◆ get_project_id()

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

Get the value of the 'projectId' attribute.

◆ get_upgrade_settings()

const UpgradeSettings google_container_api::UpdateNodePoolRequest::get_upgrade_settings ( ) const

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

◆ get_workload_metadata_config()

const WorkloadMetadataConfig google_container_api::UpdateNodePoolRequest::get_workload_metadata_config ( ) const

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

◆ get_zone()

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

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::UpdateNodePoolRequest

◆ has_cluster_id()

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

Determine if the 'clusterId' attribute was set.

Returns
true if the 'clusterId' attribute was set.

◆ has_image_type()

bool google_container_api::UpdateNodePoolRequest::has_image_type ( ) const
inline

Determine if the 'imageType' attribute was set.

Returns
true if the 'imageType' attribute was set.

◆ has_locations()

bool google_container_api::UpdateNodePoolRequest::has_locations ( ) const
inline

Determine if the 'locations' attribute was set.

Returns
true if the 'locations' attribute was set.

◆ has_name()

bool google_container_api::UpdateNodePoolRequest::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_node_pool_id()

bool google_container_api::UpdateNodePoolRequest::has_node_pool_id ( ) const
inline

Determine if the 'nodePoolId' attribute was set.

Returns
true if the 'nodePoolId' attribute was set.

◆ has_node_version()

bool google_container_api::UpdateNodePoolRequest::has_node_version ( ) const
inline

Determine if the 'nodeVersion' attribute was set.

Returns
true if the 'nodeVersion' attribute was set.

◆ has_project_id()

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

Determine if the 'projectId' attribute was set.

Returns
true if the 'projectId' attribute was set.

◆ has_upgrade_settings()

bool google_container_api::UpdateNodePoolRequest::has_upgrade_settings ( ) const
inline

Determine if the 'upgradeSettings' attribute was set.

Returns
true if the 'upgradeSettings' attribute was set.

◆ has_workload_metadata_config()

bool google_container_api::UpdateNodePoolRequest::has_workload_metadata_config ( ) const
inline

Determine if the 'workloadMetadataConfig' attribute was set.

Returns
true if the 'workloadMetadataConfig' attribute was set.

◆ has_zone()

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

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ mutable_locations()

client::JsonCppArray<string > google_container_api::UpdateNodePoolRequest::mutable_locations ( )
inline

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

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

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

◆ mutable_upgradeSettings()

UpgradeSettings google_container_api::UpdateNodePoolRequest::mutable_upgradeSettings ( )

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

Upgrade settings control disruption and speed of the upgrade.

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

◆ mutable_workloadMetadataConfig()

WorkloadMetadataConfig google_container_api::UpdateNodePoolRequest::mutable_workloadMetadataConfig ( )

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

The desired workload metadata config for the node pool.

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

◆ New()

UpdateNodePoolRequest * google_container_api::UpdateNodePoolRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_cluster_id()

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

Change the 'clusterId' attribute.

Deprecated:

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

Parameters
[in]valueThe new value.

◆ set_image_type()

void google_container_api::UpdateNodePoolRequest::set_image_type ( const StringPiece &  value)
inline

Change the 'imageType' attribute.

Required. The desired image type for the node pool.

Parameters
[in]valueThe new value.

◆ set_name()

void google_container_api::UpdateNodePoolRequest::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/locations/clusters/nodePools'.

Parameters
[in]valueThe new value.

◆ set_node_pool_id()

void google_container_api::UpdateNodePoolRequest::set_node_pool_id ( const StringPiece &  value)
inline

Change the 'nodePoolId' attribute.

Deprecated:

Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

Parameters
[in]valueThe new value.

◆ set_node_version()

void google_container_api::UpdateNodePoolRequest::set_node_version ( const StringPiece &  value)
inline

Change the 'nodeVersion' attribute.

Required. The Kubernetes version to change the nodes to (typically an upgrade).

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

"latest"
picks the highest valid Kubernetes version.
"1.X"
picks the highest valid patch+gke.N patch in the 1.X version.
"1.X.Y"
picks the highest valid gke.N patch in the 1.X.Y version.
"1.X.Y-gke.N"
picks an explicit Kubernetes version.
"-"
picks the Kubernetes master version.
Parameters
[in]valueThe new value.

◆ set_project_id()

void google_container_api::UpdateNodePoolRequest::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 name field.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_container_api::UpdateNodePoolRequest::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 name field.

Parameters
[in]valueThe new value.

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