public sealed class PolicyViolationDetails : IMessage<PolicyViolationDetails>, IEquatable<PolicyViolationDetails>, IDeepCloneable<PolicyViolationDetails>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Deploy v1 API class PolicyViolationDetails.
Policy violation details.
Implements
IMessagePolicyViolationDetails, IEquatablePolicyViolationDetails, IDeepCloneablePolicyViolationDetails, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
Google.Cloud.Deploy.V1.dll
Constructors
PolicyViolationDetails()
public PolicyViolationDetails()PolicyViolationDetails(PolicyViolationDetails)
public PolicyViolationDetails(PolicyViolationDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
PolicyViolationDetails |
Properties
FailureMessage
public string FailureMessage { get; set; }User readable message about why the request violated a policy. This is not intended for machine parsing.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Policy
public string Policy { get; set; }Name of the policy that was violated.
Policy resource will be in the format of
projects/{project}/locations/{location}/policies/{policy}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RuleId
public string RuleId { get; set; }Id of the rule that triggered the policy violation.
| Property Value | |
|---|---|
| Type | Description |
string |
|