google_api_container v0.12.2 GoogleApi.Container.V1.Model.SetMaintenancePolicyRequest View Source

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Attributes

  • clusterId (type: String.t, default: nil) - Required. The name of the cluster to update.
  • maintenancePolicy (type: GoogleApi.Container.V1.Model.MaintenancePolicy.t, default: nil) - Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
  • name (type: String.t, default: nil) - The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects//locations//clusters/*'.
  • projectId (type: String.t, default: nil) - Required. The Google Developers Console project ID or project number.
  • zone (type: String.t, default: nil) - Required. The name of the Google Compute Engine zone in which the cluster resides.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Container.V1.Model.SetMaintenancePolicyRequest{
  clusterId: String.t(),
  maintenancePolicy: GoogleApi.Container.V1.Model.MaintenancePolicy.t(),
  name: String.t(),
  projectId: String.t(),
  zone: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.