ParameterSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)The specification of a parameter that can be configured on a cloud control or a framework.
Attributes |
|
|---|---|
| Name | Description |
key |
str
Required. The key of the parameter, matching Parameter.key of the value supplied for it. |
display_name |
str
Optional. The parameter display name, which is a user friendly name used for UI. |
description |
str
Optional. The parameter description. |
required |
bool
Optional. Whether a value must be provided for the parameter. |
value_type |
google.cloud.designcenter_v1.types.ParameterSpec.ValueType
Optional. The type of value that the parameter accepts. |
default_value |
google.protobuf.struct_pb2.Value
Optional. The default value of the parameter, used when the user does not provide one. |
sub_parameter_specs |
MutableSequence[google.cloud.designcenter_v1.types.ParameterSpec]
Optional. The specifications of the sub-parameters. Only set when value_type is ONEOF.
|
Classes
ValueType
ValueType(value)The type of value that the parameter accepts.