Class GoogleCloudAssuredworkloadsV1beta1Violation
Workload monitoring Violation.
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1.Data
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class GoogleCloudAssuredworkloadsV1beta1Violation : IDirectResponseSchema
Properties
Acknowledged
A boolean that indicates if the violation is acknowledged
Declaration
[JsonProperty("acknowledged")]
public virtual bool? Acknowledged { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AcknowledgementTime
object representation of AcknowledgementTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use AcknowledgementTimeDateTimeOffset instead.")]
public virtual object AcknowledgementTime { get; set; }
Property Value
Type | Description |
---|---|
object |
AcknowledgementTimeDateTimeOffset
DateTimeOffset representation of AcknowledgementTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? AcknowledgementTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
AcknowledgementTimeRaw
Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.
Declaration
[JsonProperty("acknowledgementTime")]
public virtual string AcknowledgementTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
AssociatedOrgPolicyViolationId
Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.
Declaration
[JsonProperty("associatedOrgPolicyViolationId")]
public virtual string AssociatedOrgPolicyViolationId { get; set; }
Property Value
Type | Description |
---|---|
string |
AuditLogLink
Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
Declaration
[JsonProperty("auditLogLink")]
public virtual string AuditLogLink { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
ExceptionAuditLogLink
Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
Declaration
[JsonProperty("exceptionAuditLogLink")]
public virtual string ExceptionAuditLogLink { get; set; }
Property Value
Type | Description |
---|---|
string |
ExceptionContexts
Output only. List of all the exception detail added for the violation.
Declaration
[JsonProperty("exceptionContexts")]
public virtual IList<GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext> ExceptionContexts { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext> |
Name
Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
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 |
OrgPolicyConstraint
Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
Declaration
[JsonProperty("orgPolicyConstraint")]
public virtual string OrgPolicyConstraint { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentProjectNumber
Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.
Declaration
[JsonProperty("parentProjectNumber")]
public virtual string ParentProjectNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
Remediation
Output only. Compliance violation remediation
Declaration
[JsonProperty("remediation")]
public virtual GoogleCloudAssuredworkloadsV1beta1ViolationRemediation Remediation { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1beta1ViolationRemediation |
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 |
ResourceName
Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.
Declaration
[JsonProperty("resourceName")]
public virtual string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceType
Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { 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 |
ViolationType
Output only. Type of the violation
Declaration
[JsonProperty("violationType")]
public virtual string ViolationType { get; set; }
Property Value
Type | Description |
---|---|
string |