Show / Hide Table of Contents

Class PatchDeployment

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.

Inheritance
object
PatchDeployment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1.Data
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class PatchDeployment : 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

Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Description

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

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

Duration

Optional. Duration of the patch. After the duration ends, the patch 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

InstanceFilter

Required. VM instances to patch.

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

LastExecuteTime

object representation of LastExecuteTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastExecuteTimeDateTimeOffset instead.")]
public virtual object LastExecuteTime { get; set; }
Property Value
Type Description
object

LastExecuteTimeDateTimeOffset

DateTimeOffset representation of LastExecuteTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastExecuteTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastExecuteTimeRaw

Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.

Declaration
[JsonProperty("lastExecuteTime")]
public virtual string LastExecuteTimeRaw { get; set; }
Property Value
Type Description
string

Name

Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.

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

OneTimeSchedule

Required. Schedule a one-time execution.

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

PatchConfig

Optional. Patch configuration that is applied.

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

RecurringSchedule

Required. Schedule recurring executions.

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

Rollout

Optional. Rollout strategy of the patch job.

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

State

Output only. Current state of the patch deployment.

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

Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX