public sealed class PolicyViolation : IMessage<PolicyViolation>, IEquatable<PolicyViolation>, IDeepCloneable<PolicyViolation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class PolicyViolation.
Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.
Implements
IMessagePolicyViolation, IEquatablePolicyViolation, IDeepCloneablePolicyViolation, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
Google.Cloud.Deploy.V1.dll
Constructors
PolicyViolation()
public PolicyViolation()
PolicyViolation(PolicyViolation)
public PolicyViolation(PolicyViolation other)
Parameter | |
---|---|
Name | Description |
other |
PolicyViolation |
Properties
PolicyViolationDetails
public RepeatedField<PolicyViolationDetails> PolicyViolationDetails { get; }
Policy violation details.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPolicyViolationDetails |