Google Cloud Deploy v1 API - Class PolicyViolation (3.2.0)

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.

Inheritance

object > PolicyViolation

Namespace

Google.Cloud.Deploy.V1

Assembly

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