Class Posture
The details of a posture.
Implements
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class Posture : IDirectResponseSchema
Properties
Annotations
Optional. The user-specified annotations for the posture. 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 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 was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. A description of the posture.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Optional. An opaque identifier for the current version of the posture at the specified revision_id
. To
prevent concurrent updates from overwriting each other, always provide the etag
when you update a posture.
You can also provide the etag
when you delete a posture, to help ensure that you're deleting the intended
version of the posture.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Identifier. The name of the posture, in the format
organizations/{organization}/locations/global/postures/{posture_id}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PolicySets
Required. The PolicySet resources that the posture includes.
Declaration
[JsonProperty("policySets")]
public virtual IList<PolicySet> PolicySets { get; set; }
Property Value
Type | Description |
---|---|
IList<PolicySet> |
Reconciling
Output only. Whether the posture is in the process of being updated.
Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RevisionId
Output only. Immutable. An opaque eight-character string that identifies the revision of the posture. A posture can have multiple revisions; when you deploy a posture, you deploy a specific revision of the posture.
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Required. The state of the posture at the specified revision_id
.
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. The time at which the posture was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |