Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ExecutePatchJobRequest.
A request message to initiate patching across Compute Engine instances.
Generated from protobuf message google.cloud.osconfig.v1.ExecutePatchJobRequest
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project in which to run this patch in the form projects/*
↳ description
string
Description of the patch job. Length of the description is limited to 1024 characters.
↳ instance_filter
PatchInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
↳ patch_config
PatchConfig
Patch configuration being applied. If omitted, instances are patched using the default configurations.
↳ duration
Google\Protobuf\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
string
Display name for this patch job. This does not have to be unique.
↳ rollout
getParent
Required. The project in which to run this patch in the form projects/*
string
setParent
Required. The project in which to run this patch in the form projects/*
var
string
$this
getDescription
Description of the patch job. Length of the description is limited to 1024 characters.
string
setDescription
Description of the patch job. Length of the description is limited to 1024 characters.
var
string
$this
getInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
hasInstanceFilter
clearInstanceFilter
setInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
$this
getPatchConfig
Patch configuration being applied. If omitted, instances are patched using the default configurations.
hasPatchConfig
clearPatchConfig
setPatchConfig
Patch configuration being applied. If omitted, instances are patched using the default configurations.
$this
getDuration
Duration of the patch job. After the duration ends, the patch job times out.
hasDuration
clearDuration
setDuration
Duration of the patch job. After the duration ends, the patch job times out.
$this
getDryRun
If this patch is a dry-run only, instances are contacted but will do nothing.
bool
setDryRun
If this patch is a dry-run only, instances are contacted but will do nothing.
var
bool
$this
getDisplayName
Display name for this patch job. This does not have to be unique.
string
setDisplayName
Display name for this patch job. This does not have to be unique.
var
string
$this
getRollout
Rollout strategy of the patch job.
hasRollout
clearRollout
setRollout
Rollout strategy of the patch job.
$this