#include <update_master_request.h>
UpdateMasterRequest updates the master of the cluster.
◆ UpdateMasterRequest() [1/2]
| google_container_api::UpdateMasterRequest::UpdateMasterRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ UpdateMasterRequest() [2/2]
| google_container_api::UpdateMasterRequest::UpdateMasterRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~UpdateMasterRequest()
| google_container_api::UpdateMasterRequest::~UpdateMasterRequest |
( |
| ) |
|
|
virtual |
◆ clear_cluster_id()
| void google_container_api::UpdateMasterRequest::clear_cluster_id |
( |
| ) |
|
|
inline |
Clears the 'clusterId' attribute.
◆ clear_master_version()
| void google_container_api::UpdateMasterRequest::clear_master_version |
( |
| ) |
|
|
inline |
Clears the 'masterVersion' attribute.
◆ clear_name()
| void google_container_api::UpdateMasterRequest::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_project_id()
| void google_container_api::UpdateMasterRequest::clear_project_id |
( |
| ) |
|
|
inline |
Clears the 'projectId' attribute.
◆ clear_zone()
| void google_container_api::UpdateMasterRequest::clear_zone |
( |
| ) |
|
|
inline |
Clears the 'zone' attribute.
◆ get_cluster_id()
| const StringPiece google_container_api::UpdateMasterRequest::get_cluster_id |
( |
| ) |
const |
|
inline |
Get the value of the 'clusterId' attribute.
◆ get_master_version()
| const StringPiece google_container_api::UpdateMasterRequest::get_master_version |
( |
| ) |
const |
|
inline |
Get the value of the 'masterVersion' attribute.
◆ get_name()
| const StringPiece google_container_api::UpdateMasterRequest::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_project_id()
| const StringPiece google_container_api::UpdateMasterRequest::get_project_id |
( |
| ) |
const |
|
inline |
Get the value of the 'projectId' attribute.
◆ get_zone()
| const StringPiece google_container_api::UpdateMasterRequest::get_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'zone' attribute.
◆ GetTypeName()
| const StringPiece google_container_api::UpdateMasterRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_cluster_id()
| bool google_container_api::UpdateMasterRequest::has_cluster_id |
( |
| ) |
const |
|
inline |
Determine if the 'clusterId' attribute was set.
- Returns
- true if the '
clusterId' attribute was set.
◆ has_master_version()
| bool google_container_api::UpdateMasterRequest::has_master_version |
( |
| ) |
const |
|
inline |
Determine if the 'masterVersion' attribute was set.
- Returns
- true if the '
masterVersion' attribute was set.
◆ has_name()
| bool google_container_api::UpdateMasterRequest::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_project_id()
| bool google_container_api::UpdateMasterRequest::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::UpdateMasterRequest::has_zone |
( |
| ) |
const |
|
inline |
Determine if the 'zone' attribute was set.
- Returns
- true if the '
zone' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_cluster_id()
| void google_container_api::UpdateMasterRequest::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_master_version()
| void google_container_api::UpdateMasterRequest::set_master_version |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'masterVersion' attribute.
Required. The Kubernetes version to change the master to.
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 default Kubernetes version.
- Parameters
-
◆ set_name()
| void google_container_api::UpdateMasterRequest::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
The name (project, location, cluster) of the cluster to update. Specified in the format 'projects/locations/clusters'.
- Parameters
-
◆ set_project_id()
| void google_container_api::UpdateMasterRequest::set_project_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
◆ set_zone()
| void google_container_api::UpdateMasterRequest::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: