public sealed class ExecutePatchJobRequest : IMessage<ExecutePatchJobRequest>, IEquatable<ExecutePatchJobRequest>, IDeepCloneable<ExecutePatchJobRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class ExecutePatchJobRequest.
A request message to initiate patching across Compute Engine instances.
Implements
IMessageExecutePatchJobRequest, IEquatableExecutePatchJobRequest, IDeepCloneableExecutePatchJobRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
ExecutePatchJobRequest()
public ExecutePatchJobRequest()
ExecutePatchJobRequest(ExecutePatchJobRequest)
public ExecutePatchJobRequest(ExecutePatchJobRequest other)
Parameter | |
---|---|
Name | Description |
other |
ExecutePatchJobRequest |
Properties
Description
public string Description { get; set; }
Description of the patch job. Length of the description is limited to 1024 characters.
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
Display name for this patch job. This does not have to be unique.
Property Value | |
---|---|
Type | Description |
string |
DryRun
public bool DryRun { get; set; }
If this patch is a dry-run only, instances are contacted but will do nothing.
Property Value | |
---|---|
Type | Description |
bool |
Duration
public Duration Duration { get; set; }
Duration of the patch job. After the duration ends, the patch job times out.
Property Value | |
---|---|
Type | Description |
Duration |
InstanceFilter
public PatchInstanceFilter InstanceFilter { get; set; }
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
Property Value | |
---|---|
Type | Description |
PatchInstanceFilter |
Parent
public string Parent { get; set; }
Required. The project in which to run this patch in the form projects/*
Property Value | |
---|---|
Type | Description |
string |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
PatchConfig
public PatchConfig PatchConfig { get; set; }
Patch configuration being applied. If omitted, instances are patched using the default configurations.
Property Value | |
---|---|
Type | Description |
PatchConfig |
Rollout
public PatchRollout Rollout { get; set; }
Rollout strategy of the patch job.
Property Value | |
---|---|
Type | Description |
PatchRollout |