GetPatchDeploymentResult constructor

const GetPatchDeploymentResult({
  1. required String createTime,
  2. required String description,
  3. required String duration,
  4. required PatchInstanceFilterResponse instanceFilter,
  5. required String lastExecuteTime,
  6. required String name,
  7. required OneTimeScheduleResponse oneTimeSchedule,
  8. required PatchConfigResponse patchConfig,
  9. required RecurringScheduleResponse recurringSchedule,
  10. required PatchRolloutResponse rollout,
  11. required String state,
  12. required String updateTime,
})

Creates a new GetPatchDeploymentResult. createTime Time the patch deployment was created. Timestamp is in RFC3339 text format. description Optional. Description of the patch deployment. Length of the description is limited to 1024 characters. duration Optional. Duration of the patch. After the duration ends, the patch times out. instanceFilter VM instances to patch. lastExecuteTime The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format. name 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 Schedule a one-time execution. patchConfig Optional. Patch configuration that is applied. recurringSchedule Schedule recurring executions. rollout Optional. Rollout strategy of the patch job. state Current state of the patch deployment. updateTime Time the patch deployment was last updated. Timestamp is in RFC3339 text format.

Implementation

const GetPatchDeploymentResult({
  required this.createTime,
  required this.description,
  required this.duration,
  required this.instanceFilter,
  required this.lastExecuteTime,
  required this.name,
  required this.oneTimeSchedule,
  required this.patchConfig,
  required this.recurringSchedule,
  required this.rollout,
  required this.state,
  required this.updateTime,
});