Class ExecutePatchJobRequest (0.1.2)

ExecutePatchJobRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request message to initiate patching across Compute Engine instances.

Attributes

NameDescription
parent str
Required. The project in which to run this patch in the form projects/*
description str
Description of the patch job. Length of the description is limited to 1024 characters.
instance_filter .gco_patch_jobs.PatchInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
patch_config .gco_patch_jobs.PatchConfig
Patch configuration being applied. If omitted, instances are patched using the default configurations.
duration .gp_duration.Duration
Duration of the patch job. After the duration ends, the patch job times out.
dry_run bool
If this patch is a dry-run only, instances are contacted but will do nothing.
display_name str
Display name for this patch job. This does not have to be unique.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.