Google Cloud Deploy v1 API - Class PolicyViolationDetails (2.19.0)

public sealed class PolicyViolationDetails : IMessage<PolicyViolationDetails>, IEquatable<PolicyViolationDetails>, IDeepCloneable<PolicyViolationDetails>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class PolicyViolationDetails.

Policy violation details.

Inheritance

object > PolicyViolationDetails

Namespace

Google.Cloud.Deploy.V1

Assembly

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