Google Cloud OS Config v1 API - Class PatchJob (2.3.0)

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

Reference documentation and code samples for the Google Cloud OS Config v1 API class PatchJob.

A high level representation of a patch job that is either in progress or has completed.

Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails.

For more information about patch jobs, see Creating patch jobs.

Inheritance

object > PatchJob

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

PatchJob()

public PatchJob()

PatchJob(PatchJob)

public PatchJob(PatchJob other)
Parameter
NameDescription
otherPatchJob

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Time this patch job was created.

Property Value
TypeDescription
Timestamp

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 is not a unique identifier.

Property Value
TypeDescription
string

DryRun

public bool DryRun { get; set; }

If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.

Property Value
TypeDescription
bool

Duration

public Duration Duration { get; set; }

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

Property Value
TypeDescription
Duration

ErrorMessage

public string ErrorMessage { get; set; }

If this patch job failed, this message provides information about the failure.

Property Value
TypeDescription
string

InstanceDetailsSummary

public PatchJob.Types.InstanceDetailsSummary InstanceDetailsSummary { get; set; }

Summary of instance details.

Property Value
TypeDescription
PatchJobTypesInstanceDetailsSummary

InstanceFilter

public PatchInstanceFilter InstanceFilter { get; set; }

Instances to patch.

Property Value
TypeDescription
PatchInstanceFilter

Name

public string Name { get; set; }

Unique identifier for this patch job in the form projects/*/patchJobs/*

Property Value
TypeDescription
string

PatchConfig

public PatchConfig PatchConfig { get; set; }

Patch configuration being applied.

Property Value
TypeDescription
PatchConfig

PatchDeployment

public string PatchDeployment { get; set; }

Output only. Name of the patch deployment that created this patch job.

Property Value
TypeDescription
string

PatchDeploymentAsPatchDeploymentName

public PatchDeploymentName PatchDeploymentAsPatchDeploymentName { get; set; }

PatchDeploymentName-typed view over the PatchDeployment resource name property.

Property Value
TypeDescription
PatchDeploymentName

PatchJobName

public PatchJobName PatchJobName { get; set; }

PatchJobName-typed view over the Name resource name property.

Property Value
TypeDescription
PatchJobName

PercentComplete

public double PercentComplete { get; set; }

Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.

Property Value
TypeDescription
double

Rollout

public PatchRollout Rollout { get; set; }

Rollout strategy being applied.

Property Value
TypeDescription
PatchRollout

State

public PatchJob.Types.State State { get; set; }

The current state of the PatchJob.

Property Value
TypeDescription
PatchJobTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Last time this patch job was updated.

Property Value
TypeDescription
Timestamp