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

SetLocationsRequest sets the locations of the cluster.

Attributes

  • clusterId (type: String.t, default: nil) - Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  • locations (type: list(String.t), default: nil) - Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
  • name (type: String.t, default: nil) - The name (project, location, cluster) of the cluster to set locations. 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.
  • 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.SetLocationsRequest{
  clusterId: String.t(),
  locations: [String.t()],
  name: String.t(),
  projectId: String.t(),
  zone: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.