GoogleApi.Container.V1.Model.SetLabelsRequest (google_api_container v0.24.0) View Source

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

Attributes

  • clusterId (type: String.t, default: nil) - Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
  • labelFingerprint (type: String.t, default: nil) - 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.
  • name (type: String.t, default: nil) - The name (project, location, cluster id) of the cluster to set labels. Specified in the format projects/*/locations/*/clusters/*.
  • projectId (type: String.t, default: nil) - Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
  • resourceLabels (type: map(), default: nil) - Required. The labels to set for that cluster.
  • zone (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Container.V1.Model.SetLabelsRequest{
  clusterId: String.t(),
  labelFingerprint: String.t(),
  name: String.t(),
  projectId: String.t(),
  resourceLabels: map(),
  zone: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.