public sealed class 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
IMessage<AnalyzerOrgPolicyConstraint.Types.Constraint>, IEquatable<AnalyzerOrgPolicyConstraint.Types.Constraint>, IDeepCloneable<AnalyzerOrgPolicyConstraint.Types.Constraint>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
Constraint()
public Constraint()
Constraint(AnalyzerOrgPolicyConstraint.Types.Constraint)
public Constraint(AnalyzerOrgPolicyConstraint.Types.Constraint other)
Parameter | |
---|---|
Name | Description |
other | AnalyzerOrgPolicyConstraint.Types.Constraint |
Properties
BooleanConstraint
public AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint BooleanConstraint { get; set; }
Defines this constraint as being a BooleanConstraint.
Property Value | |
---|---|
Type | Description |
AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint |
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 |
AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ConstraintDefault |
ConstraintTypeCase
public AnalyzerOrgPolicyConstraint.Types.Constraint.ConstraintTypeOneofCase ConstraintTypeCase { get; }
Property Value | |
---|---|
Type | Description |
AnalyzerOrgPolicyConstraint.Types.Constraint.ConstraintTypeOneofCase |
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 |
AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint |
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 |