Show / Hide Table of Contents

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
System.Object
PatchJob
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.OSConfig.v1beta.Data
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class PatchJob : IDirectResponseSchema

Properties

CreateTime

Time this patch job was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

Description

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

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

DisplayName

Display name for this patch job. This is not a unique identifier.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
System.String

DryRun

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

Declaration
[JsonProperty("dryRun")]
public virtual bool? DryRun { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Duration

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

Declaration
[JsonProperty("duration")]
public virtual object Duration { get; set; }
Property Value
Type Description
System.Object

ErrorMessage

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

Declaration
[JsonProperty("errorMessage")]
public virtual string ErrorMessage { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

InstanceDetailsSummary

Summary of instance details.

Declaration
[JsonProperty("instanceDetailsSummary")]
public virtual PatchJobInstanceDetailsSummary InstanceDetailsSummary { get; set; }
Property Value
Type Description
PatchJobInstanceDetailsSummary

InstanceFilter

Instances to patch.

Declaration
[JsonProperty("instanceFilter")]
public virtual PatchInstanceFilter InstanceFilter { get; set; }
Property Value
Type Description
PatchInstanceFilter

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

PatchConfig

Patch configuration being applied.

Declaration
[JsonProperty("patchConfig")]
public virtual PatchConfig PatchConfig { get; set; }
Property Value
Type Description
PatchConfig

PatchDeployment

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

Declaration
[JsonProperty("patchDeployment")]
public virtual string PatchDeployment { get; set; }
Property Value
Type Description
System.String

PercentComplete

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

Declaration
[JsonProperty("percentComplete")]
public virtual double? PercentComplete { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

Rollout

Rollout strategy being applied.

Declaration
[JsonProperty("rollout")]
public virtual PatchRollout Rollout { get; set; }
Property Value
Type Description
PatchRollout

State

The current state of the PatchJob.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
System.String

UpdateTime

Last time this patch job was updated.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top