Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter.
Defines a parameter structure.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#default_value
def default_value() -> ::Google::Protobuf::Value
Returns
- (::Google::Protobuf::Value) — Sets the value of the parameter in an assignment if no value is given.
#default_value=
def default_value=(value) -> ::Google::Protobuf::Value
Parameter
- value (::Google::Protobuf::Value) — Sets the value of the parameter in an assignment if no value is given.
Returns
- (::Google::Protobuf::Value) — Sets the value of the parameter in an assignment if no value is given.
#item
def item() -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type
Returns
-
(::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Determines the parameter's value structure.
For example,
LIST<STRING>
can be specified by definingtype: LIST
, anditem: STRING
.
#item=
def item=(value) -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type
Parameter
-
value (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Determines the parameter's value structure.
For example,
LIST<STRING>
can be specified by definingtype: LIST
, anditem: STRING
.
Returns
-
(::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Determines the parameter's value structure.
For example,
LIST<STRING>
can be specified by definingtype: LIST
, anditem: STRING
.
#metadata
def metadata() -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Metadata
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Metadata) — Defines subproperties primarily used by the UI to display user-friendly information.
#metadata=
def metadata=(value) -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Metadata
Parameter
- value (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Metadata) — Defines subproperties primarily used by the UI to display user-friendly information.
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Metadata) — Defines subproperties primarily used by the UI to display user-friendly information.
#type
def type() -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Type of the parameter.
#type=
def type=(value) -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type
Parameter
- value (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Type of the parameter.
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition::Parameter::Type) — Type of the parameter.
#valid_values_expr
def valid_values_expr() -> ::String
Returns
- (::String) — Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
#valid_values_expr=
def valid_values_expr=(value) -> ::String
Parameter
- value (::String) — Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
Returns
- (::String) — Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")