SetLabelsRequest class

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

Constructors

SetLabelsRequest()
SetLabelsRequest.fromJson(Map _json)

Properties

clusterId ↔ String
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
read / write
labelFingerprint ↔ String
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.
read / write
name ↔ String
The name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects / * /locations / * /clusters / * '.
read / write
projectId ↔ String
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
read / write
resourceLabels ↔ Map<String, String>
The labels to set for that cluster.
read / write
zone ↔ String
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.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited