class Google::Apis::OsconfigV1beta::ExecutePatchJobRequest

A request message to initiate patching across Compute Engine instances.

Attributes

description[RW]

Description of the patch job. Length of the description is limited to 1024 characters. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Display name for this patch job. This does not have to be unique. Corresponds to the JSON property `displayName` @return [String]

dry_run[RW]

If this patch is a dry-run only, instances are contacted but will do nothing. Corresponds to the JSON property `dryRun` @return [Boolean]

dry_run?[RW]

If this patch is a dry-run only, instances are contacted but will do nothing. Corresponds to the JSON property `dryRun` @return [Boolean]

duration[RW]

Duration of the patch job. After the duration ends, the patch job times out. Corresponds to the JSON property `duration` @return [String]

instance_filter[RW]

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_config[RW]

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]

rollout[RW]

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

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 487
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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