Show / Hide Table of Contents

Class GoogleCloudPolicysimulatorV1OrgPolicyViolation

OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.

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

Properties

CustomConstraint

The custom constraint being violated.

Declaration
[JsonProperty("customConstraint")]
public virtual GoogleCloudOrgpolicyV2CustomConstraint CustomConstraint { get; set; }
Property Value
Type Description
GoogleCloudOrgpolicyV2CustomConstraint

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Error

Any error encountered during the evaluation.

Declaration
[JsonProperty("error")]
public virtual GoogleRpcStatus Error { get; set; }
Property Value
Type Description
GoogleRpcStatus

Name

The name of the OrgPolicyViolation. Example: organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`

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

Resource

The resource violating the constraint.

Declaration
[JsonProperty("resource")]
public virtual GoogleCloudPolicysimulatorV1ResourceContext Resource { get; set; }
Property Value
Type Description
GoogleCloudPolicysimulatorV1ResourceContext

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX