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

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 name) 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.