Show / Hide Table of Contents

Class PostureDeployment

Details for a Posture deployment on an organization, folder, or project. You can deploy at most one posture to each organization, folder, or project. The parent resource for a posture deployment is always the organization, even if the deployment applies to a folder or project.

Inheritance
object
PostureDeployment
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.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class PostureDeployment : IDirectResponseSchema

Properties

Annotations

Optional. The user-specified annotations for the posture deployment. For details about the values you can use in an annotation, see AIP-148: Standard fields.

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

Categories

Output only. The categories that the posture deployment belongs to, as determined by the Security Posture API.

Declaration
[JsonProperty("categories")]
public virtual IList<string> Categories { get; set; }
Property Value
Type Description
IList<string>

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. The time at which the posture deployment was created.

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

Description

Optional. A description of the posture deployment.

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

DesiredPostureId

Output only. The posture ID that was specified for the deployment. Present only if the posture deployment is in a failed state.

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

DesiredPostureRevisionId

Output only. The revision ID of the posture that was specified for the deployment. Present only if the deployment is in a failed state.

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

ETag

Optional. An opaque identifier for the current version of the posture deployment. To prevent concurrent updates from overwriting each other, always provide the etag when you update a posture deployment. You can also provide the etag when you delete a posture deployment, to help ensure that you're deleting the intended posture deployment.

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

FailureMessage

Output only. A description of why the posture deployment failed. Present only if the deployment is in a failed state.

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

Name

Required. Identifier. The name of the posture deployment, in the format organizations/{organization}/locations/global/postureDeployments/{deployment_id}.

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

PostureId

Required. The posture used in the deployment, in the format organizations/{organization}/locations/global/postures/{posture_id}.

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

PostureRevisionId

Required. The revision ID of the posture used in the deployment.

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

Reconciling

Output only. Whether the posture deployment is in the process of being updated.

Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type Description
bool?

State

Output only. The state of the posture deployment.

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

TargetResource

Required. The organization, folder, or project where the posture is deployed. Uses one of the following formats: * organizations/{organization_number} * folders/{folder_number} * projects/{project_number}

Declaration
[JsonProperty("targetResource")]
public virtual string TargetResource { 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. The time at which the posture deployment was last updated.

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