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

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Attributes

  • resourceVersion (type: String.t, default: nil) - A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a get() request to the cluster to get the current resource version and include it with requests to set the policy.
  • window (type: GoogleApi.Container.V1.Model.MaintenanceWindow.t, default: nil) - Specifies the maintenance window in which maintenance may be performed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.MaintenancePolicy{
  resourceVersion: String.t() | nil,
  window: GoogleApi.Container.V1.Model.MaintenanceWindow.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.