#include <set_labels_request.h>
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster.
◆ SetLabelsRequest() [1/2]
google_container_api::SetLabelsRequest::SetLabelsRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SetLabelsRequest() [2/2]
google_container_api::SetLabelsRequest::SetLabelsRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SetLabelsRequest()
google_container_api::SetLabelsRequest::~SetLabelsRequest |
( |
| ) |
|
|
virtual |
◆ clear_cluster_id()
void google_container_api::SetLabelsRequest::clear_cluster_id |
( |
| ) |
|
|
inline |
Clears the 'clusterId
' attribute.
◆ clear_label_fingerprint()
void google_container_api::SetLabelsRequest::clear_label_fingerprint |
( |
| ) |
|
|
inline |
Clears the 'labelFingerprint
' attribute.
◆ clear_name()
void google_container_api::SetLabelsRequest::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_project_id()
void google_container_api::SetLabelsRequest::clear_project_id |
( |
| ) |
|
|
inline |
Clears the 'projectId
' attribute.
◆ clear_resource_labels()
void google_container_api::SetLabelsRequest::clear_resource_labels |
( |
| ) |
|
|
inline |
Clears the 'resourceLabels
' attribute.
◆ clear_zone()
void google_container_api::SetLabelsRequest::clear_zone |
( |
| ) |
|
|
inline |
Clears the 'zone
' attribute.
◆ get_cluster_id()
const StringPiece google_container_api::SetLabelsRequest::get_cluster_id |
( |
| ) |
const |
|
inline |
Get the value of the 'clusterId
' attribute.
◆ get_label_fingerprint()
const StringPiece google_container_api::SetLabelsRequest::get_label_fingerprint |
( |
| ) |
const |
|
inline |
Get the value of the 'labelFingerprint
' attribute.
◆ get_name()
const StringPiece google_container_api::SetLabelsRequest::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_project_id()
const StringPiece google_container_api::SetLabelsRequest::get_project_id |
( |
| ) |
const |
|
inline |
Get the value of the 'projectId
' attribute.
◆ get_resource_labels()
const client::JsonCppAssociativeArray<string > google_container_api::SetLabelsRequest::get_resource_labels |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'resourceLabels
' attribute.
◆ get_zone()
const StringPiece google_container_api::SetLabelsRequest::get_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'zone
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::SetLabelsRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_cluster_id()
bool google_container_api::SetLabelsRequest::has_cluster_id |
( |
| ) |
const |
|
inline |
Determine if the 'clusterId
' attribute was set.
- Returns
- true if the '
clusterId
' attribute was set.
◆ has_label_fingerprint()
bool google_container_api::SetLabelsRequest::has_label_fingerprint |
( |
| ) |
const |
|
inline |
Determine if the 'labelFingerprint
' attribute was set.
- Returns
- true if the '
labelFingerprint
' attribute was set.
◆ has_name()
bool google_container_api::SetLabelsRequest::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::SetLabelsRequest::has_project_id |
( |
| ) |
const |
|
inline |
Determine if the 'projectId
' attribute was set.
- Returns
- true if the '
projectId
' attribute was set.
◆ has_resource_labels()
bool google_container_api::SetLabelsRequest::has_resource_labels |
( |
| ) |
const |
|
inline |
Determine if the 'resourceLabels
' attribute was set.
- Returns
- true if the '
resourceLabels
' attribute was set.
◆ has_zone()
bool google_container_api::SetLabelsRequest::has_zone |
( |
| ) |
const |
|
inline |
Determine if the 'zone
' attribute was set.
- Returns
- true if the '
zone
' attribute was set.
◆ mutable_resourceLabels()
client::JsonCppAssociativeArray<string > google_container_api::SetLabelsRequest::mutable_resourceLabels |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'resourceLabels
' property.
Required. The labels to set for that cluster.
- 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::SetLabelsRequest::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 name field.
- Parameters
-
◆ set_label_fingerprint()
void google_container_api::SetLabelsRequest::set_label_fingerprint |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'labelFingerprint
' attribute.
Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a get() request to the resource to get the latest fingerprint.
- Parameters
-
◆ set_name()
void google_container_api::SetLabelsRequest::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
The name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects/locations/clusters'.
- Parameters
-
◆ set_project_id()
void google_container_api::SetLabelsRequest::set_project_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
◆ set_zone()
void google_container_api::SetLabelsRequest::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: