Class ExecutePatchJobRequest (1.8.0)

public sealed class ExecutePatchJobRequest : IMessage<ExecutePatchJobRequest>, IEquatable<ExecutePatchJobRequest>, IDeepCloneable<ExecutePatchJobRequest>, IBufferMessage, IMessage

A request message to initiate patching across Compute Engine instances.

Inheritance

Object > ExecutePatchJobRequest

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

ExecutePatchJobRequest()

public ExecutePatchJobRequest()

ExecutePatchJobRequest(ExecutePatchJobRequest)

public ExecutePatchJobRequest(ExecutePatchJobRequest other)
Parameter
NameDescription
otherExecutePatchJobRequest

Properties

Description

public string Description { get; set; }

Description of the patch job. Length of the description is limited to 1024 characters.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Display name for this patch job. This does not have to be unique.

Property Value
TypeDescription
String

DryRun

public bool DryRun { get; set; }

If this patch is a dry-run only, instances are contacted but will do nothing.

Property Value
TypeDescription
Boolean

Duration

public Duration Duration { get; set; }

Duration of the patch job. After the duration ends, the patch job times out.

Property Value
TypeDescription
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
TypeDescription
PatchInstanceFilter

Parent

public string Parent { get; set; }

Required. The project in which to run this patch in the form projects/*

Property Value
TypeDescription
String

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

PatchConfig

public PatchConfig PatchConfig { get; set; }

Patch configuration being applied. If omitted, instances are patched using the default configurations.

Property Value
TypeDescription
PatchConfig

Rollout

public PatchRollout Rollout { get; set; }

Rollout strategy of the patch job.

Property Value
TypeDescription
PatchRollout