#include <update_node_pool_request.h>
UpdateNodePoolRequests update a node pool's image and/or version.
◆ UpdateNodePoolRequest() [1/2]
google_container_api::UpdateNodePoolRequest::UpdateNodePoolRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~UpdateNodePoolRequest()
google_container_api::UpdateNodePoolRequest::~UpdateNodePoolRequest |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ set_project_id()
void google_container_api::UpdateNodePoolRequest::set_project_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
◆ 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
-
The documentation for this class was generated from the following files: