Organization Policy v2 API - Class Constraint.Types.CustomConstraintDefinition.Types.Parameter (2.8.0)

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

Reference documentation and code samples for the Organization Policy v2 API class Constraint.Types.CustomConstraintDefinition.Types.Parameter.

Defines a parameter structure.

Inheritance

object > Constraint.Types.CustomConstraintDefinition.Types.Parameter

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

Parameter()

public Parameter()

Parameter(Parameter)

public Parameter(Constraint.Types.CustomConstraintDefinition.Types.Parameter other)
Parameter
Name Description
other ConstraintTypesCustomConstraintDefinitionTypesParameter

Properties

DefaultValue

public Value DefaultValue { get; set; }

Sets the value of the parameter in an assignment if no value is given.

Property Value
Type Description
Value

Item

public Constraint.Types.CustomConstraintDefinition.Types.Parameter.Types.Type Item { get; set; }

Determines the parameter's value structure. For example, LIST<STRING> can be specified by defining type: LIST, and item: STRING.

Property Value
Type Description
ConstraintTypesCustomConstraintDefinitionTypesParameterTypesType

Metadata

public Constraint.Types.CustomConstraintDefinition.Types.Parameter.Types.Metadata Metadata { get; set; }

Defines subproperties primarily used by the UI to display user-friendly information.

Property Value
Type Description
ConstraintTypesCustomConstraintDefinitionTypesParameterTypesMetadata

Type

public Constraint.Types.CustomConstraintDefinition.Types.Parameter.Types.Type Type { get; set; }

Type of the parameter.

Property Value
Type Description
ConstraintTypesCustomConstraintDefinitionTypesParameterTypesType

ValidValuesExpr

public string ValidValuesExpr { get; set; }

Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")

Property Value
Type Description
string