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

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Attributes

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

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: any(),
  maintenancePolicy: GoogleApi.Container.V1.Model.MaintenancePolicy.t(),
  name: any(),
  projectId: any(),
  zone: any()
}

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.