View Source GoogleApi.OSConfig.V1.Model.PatchDeployment (google_api_os_config v0.20.0)

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.


  • createTime (type: DateTime.t, default: nil) - Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
  • description (type: String.t, default: nil) - Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
  • duration (type: String.t, default: nil) - Optional. Duration of the patch. After the duration ends, the patch times out.
  • instanceFilter (type: GoogleApi.OSConfig.V1.Model.PatchInstanceFilter.t, default: nil) - Required. VM instances to patch.
  • lastExecuteTime (type: DateTime.t, default: nil) - Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
  • name (type: String.t, default: nil) - Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.
  • oneTimeSchedule (type: GoogleApi.OSConfig.V1.Model.OneTimeSchedule.t, default: nil) - Required. Schedule a one-time execution.
  • patchConfig (type: GoogleApi.OSConfig.V1.Model.PatchConfig.t, default: nil) - Optional. Patch configuration that is applied.
  • recurringSchedule (type: GoogleApi.OSConfig.V1.Model.RecurringSchedule.t, default: nil) - Required. Schedule recurring executions.
  • rollout (type: GoogleApi.OSConfig.V1.Model.PatchRollout.t, default: nil) - Optional. Rollout strategy of the patch job.
  • state (type: String.t, default: nil) - Output only. Current state of the patch deployment.
  • updateTime (type: DateTime.t, default: nil) - Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.OSConfig.V1.Model.PatchDeployment{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  duration: String.t() | nil,
  instanceFilter: GoogleApi.OSConfig.V1.Model.PatchInstanceFilter.t() | nil,
  lastExecuteTime: DateTime.t() | nil,
  name: String.t() | nil,
  oneTimeSchedule: GoogleApi.OSConfig.V1.Model.OneTimeSchedule.t() | nil,
  patchConfig: GoogleApi.OSConfig.V1.Model.PatchConfig.t() | nil,
  recurringSchedule: GoogleApi.OSConfig.V1.Model.RecurringSchedule.t() | nil,
  rollout: GoogleApi.OSConfig.V1.Model.PatchRollout.t() | nil,
  state: String.t() | nil,
  updateTime: DateTime.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.