Google Cloud Design Center V1 Client - Class ComponentParameterSchema (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class ComponentParameterSchema.

Component parameter schema, which contains a list of all component parameters.

Generated from protobuf message google.cloud.designcenter.v1.ComponentParameterSchema

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Output only. The key of the parameter.

↳ default_value Google\Protobuf\Value

Output only. The default value of the parameter.

↳ is_required bool

Output only. Whether the parameter is required.

↳ type string

Output only. The type of the parameter.

getKey

Output only. The key of the parameter.

Returns
Type Description
string

setKey

Output only. The key of the parameter.

Parameter
Name Description
var string
Returns
Type Description
$this

getDefaultValue

Output only. The default value of the parameter.

Returns
Type Description
Google\Protobuf\Value|null

hasDefaultValue

clearDefaultValue

setDefaultValue

Output only. The default value of the parameter.

Parameter
Name Description
var Google\Protobuf\Value
Returns
Type Description
$this

getIsRequired

Output only. Whether the parameter is required.

Returns
Type Description
bool

setIsRequired

Output only. Whether the parameter is required.

Parameter
Name Description
var bool
Returns
Type Description
$this

getType

Output only. The type of the parameter.

Returns
Type Description
string

setType

Output only. The type of the parameter.

Parameter
Name Description
var string
Returns
Type Description
$this