class Google::Apis::OsconfigV1beta::ExecutePatchJobRequest
A request message to initiate patching across Compute Engine instances.
Attributes
Description of the patch job. Length of the description is limited to 1024 characters. Corresponds to the JSON property `description` @return [String]
Display name for this patch job. This does not have to be unique. Corresponds to the JSON property `displayName` @return [String]
If this patch is a dry-run only, instances are contacted but will do nothing. Corresponds to the JSON property `dryRun` @return [Boolean]
If this patch is a dry-run only, instances are contacted but will do nothing. Corresponds to the JSON property `dryRun` @return [Boolean]
Duration of the patch job. After the duration ends, the patch job times out. Corresponds to the JSON property `duration` @return [String]
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones. Corresponds to the JSON property `instanceFilter` @return [Google::Apis::OsconfigV1beta::PatchInstanceFilter]
Patch configuration specifications. Contains details on how to apply the patch( es) to a VM instance. Corresponds to the JSON property `patchConfig` @return [Google::Apis::OsconfigV1beta::PatchConfig]
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs. Corresponds to the JSON property `rollout` @return [Google::Apis::OsconfigV1beta::PatchRollout]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 487 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 492 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @dry_run = args[:dry_run] if args.key?(:dry_run) @duration = args[:duration] if args.key?(:duration) @instance_filter = args[:instance_filter] if args.key?(:instance_filter) @patch_config = args[:patch_config] if args.key?(:patch_config) @rollout = args[:rollout] if args.key?(:rollout) end