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.
Implements
IMessageAnalyzerOrgPolicyConstraintTypesConstraint, IEquatableAnalyzerOrgPolicyConstraintTypesConstraint, IDeepCloneableAnalyzerOrgPolicyConstraintTypesConstraint, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
Constraint()
public Constraint()
Constraint(Constraint)
public Constraint(AnalyzerOrgPolicyConstraint.Types.Constraint other)
Parameter | |
---|---|
Name | Description |
other | AnalyzerOrgPolicyConstraintTypesConstraint |
Properties
BooleanConstraint
public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint BooleanConstraint { get; set; }
Defines this constraint as being a BooleanConstraint.
Property Value | |
---|---|
Type | Description |
AnalyzerOrgPolicyConstraintTypesConstraintTypesBooleanConstraint |
ConstraintDefault
public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ConstraintDefault ConstraintDefault { get; set; }
The evaluation behavior of this constraint in the absence of 'Policy'.
Property Value | |
---|---|
Type | Description |
AnalyzerOrgPolicyConstraintTypesConstraintTypesConstraintDefault |
ConstraintTypeCase
public AnalyzerOrgPolicyConstraint.Types.Constraint.ConstraintTypeOneofCase ConstraintTypeCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
The human readable name of the constraint.
Property Value | |
---|---|
Type | Description |
string |
ListConstraint
public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint ListConstraint { get; set; }
Defines this constraint as being a ListConstraint.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |