Google Cloud Asset Inventory v1 API - Class AnalyzerOrgPolicyConstraint.Types.Constraint (3.7.0)

public sealed class AnalyzerOrgPolicyConstraint.Types.Constraint : IMessage<AnalyzerOrgPolicyConstraint.Types.Constraint>, IEquatable<AnalyzerOrgPolicyConstraint.Types.Constraint>, IDeepCloneable<AnalyzerOrgPolicyConstraint.Types.Constraint>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzerOrgPolicyConstraint.Types.Constraint.

The definition of a constraint.

Inheritance

object > AnalyzerOrgPolicyConstraint.Types.Constraint

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

Constraint()

public Constraint()

Constraint(Constraint)

public Constraint(AnalyzerOrgPolicyConstraint.Types.Constraint other)
Parameter
NameDescription
otherAnalyzerOrgPolicyConstraintTypesConstraint

Properties

BooleanConstraint

public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint BooleanConstraint { get; set; }

Defines this constraint as being a BooleanConstraint.

Property Value
TypeDescription
AnalyzerOrgPolicyConstraintTypesConstraintTypesBooleanConstraint

ConstraintDefault

public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ConstraintDefault ConstraintDefault { get; set; }

The evaluation behavior of this constraint in the absence of 'Policy'.

Property Value
TypeDescription
AnalyzerOrgPolicyConstraintTypesConstraintTypesConstraintDefault

ConstraintTypeCase

public AnalyzerOrgPolicyConstraint.Types.Constraint.ConstraintTypeOneofCase ConstraintTypeCase { get; }
Property Value
TypeDescription
AnalyzerOrgPolicyConstraintTypesConstraintConstraintTypeOneofCase

Description

public string Description { get; set; }

Detailed description of what this Constraint controls as well as how and where it is enforced.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

The human readable name of the constraint.

Property Value
TypeDescription
string

ListConstraint

public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint ListConstraint { get; set; }

Defines this constraint as being a ListConstraint.

Property Value
TypeDescription
AnalyzerOrgPolicyConstraintTypesConstraintTypesListConstraint

Name

public string Name { get; set; }

The unique name of the constraint. Format of the name should be

  • constraints/{constraint_name}

For example, constraints/compute.disableSerialPortAccess.

Property Value
TypeDescription
string