Class Violation
Details of resource Violation
Implements
Inherited Members
Namespace: Google.Apis.CloudControlsPartnerService.v1.Data
Assembly: Google.Apis.CloudControlsPartnerService.v1.dll
Syntax
public class Violation : IDirectResponseSchema
Properties
BeginTime
object representation of BeginTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use BeginTimeDateTimeOffset instead.")]
public virtual object BeginTime { get; set; }
Property Value
Type | Description |
---|---|
object |
BeginTimeDateTimeOffset
DateTimeOffset representation of BeginTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? BeginTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
BeginTimeRaw
Output only. Time of the event which triggered the Violation.
Declaration
[JsonProperty("beginTime")]
public virtual string BeginTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Category
Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
Declaration
[JsonProperty("category")]
public virtual string Category { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FolderId
The folder_id of the violation
Declaration
[JsonProperty("folderId")]
public virtual long? FolderId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NonCompliantOrgPolicy
Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this
violation. Format: projects/{project_number}/policies/{constraint_name}
folders/{folder_id}/policies/{constraint_name}
organizations/{organization_id}/policies/{constraint_name}
Declaration
[JsonProperty("nonCompliantOrgPolicy")]
public virtual string NonCompliantOrgPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
Remediation
Output only. Compliance violation remediation
Declaration
[JsonProperty("remediation")]
public virtual Remediation Remediation { get; set; }
Property Value
Type | Description |
---|---|
Remediation |
ResolveTime
object representation of ResolveTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ResolveTimeDateTimeOffset instead.")]
public virtual object ResolveTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ResolveTimeDateTimeOffset
DateTimeOffset representation of ResolveTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ResolveTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ResolveTimeRaw
Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
Declaration
[JsonProperty("resolveTime")]
public virtual string ResolveTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. State of the violation
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 last time when the Violation record was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |