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.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta.Data
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class PatchJob : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Time this patch job was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
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 |
---|---|
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 |
---|---|
bool? |
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 |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Last time this patch job was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |