Class ViolationInfo
Provides information about the Policy violation info for this request.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class ViolationInfo : IDirectResponseSchema
Properties
CheckedValue
Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types
Declaration
[JsonProperty("checkedValue")]
public virtual string CheckedValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Constraint
Optional. Constraint name
Declaration
[JsonProperty("constraint")]
public virtual string Constraint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ConstraintViolationInfo
Optional. Provides extra information for the specific violated constraint. See the constraint's documentation to determine if this field is populated and what the structure of the message should be.
Declaration
[JsonProperty("constraintViolationInfo")]
public virtual IDictionary<string, object> ConstraintViolationInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorMessage
Optional. Error message that policy is indicating.
Declaration
[JsonProperty("errorMessage")]
public virtual string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PolicyType
Optional. Indicates the type of the policy.
Declaration
[JsonProperty("policyType")]
public virtual string PolicyType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |