Class: Google::Container::V1::SetLabelsRequest
- Inherits:
-
Object
- Object
- Google::Container::V1::SetLabelsRequest
- Defined in:
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
Overview
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
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
The name of the cluster.
-
#label_fingerprint ⇒ String
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
-
#project_id ⇒ String
The Google Developers Console project ID or project number.
-
#resource_labels ⇒ Hash{String => String}
The labels to set for that cluster.
-
#zone ⇒ String
The name of the Google Compute Engine zone in which the cluster resides.
Instance Attribute Details
#cluster_id ⇒ String
Returns The name of the cluster.
1404 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1404 class SetLabelsRequest; end |
#label_fingerprint ⇒ String
Returns The fingerprint of the previous set of labels for this resource,
used to detect conflicts. The fingerprint is initially generated by
Container 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.
1404 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1404 class SetLabelsRequest; end |
#project_id ⇒ String
Returns The Google Developers Console project ID or project number.
1404 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1404 class SetLabelsRequest; end |
#resource_labels ⇒ Hash{String => String}
Returns The labels to set for that cluster.
1404 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1404 class SetLabelsRequest; end |
#zone ⇒ String
Returns The name of the Google Compute Engine zone in which the cluster resides.
1404 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1404 class SetLabelsRequest; end |