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

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

Input variable of a root module.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ variable string

Name of the input variable.

↳ variable_type string

Type of the input variable.

↳ value Google\Protobuf\Value

Value for the input variable.

↳ default_value Google\Protobuf\Value

Default value of the input variable.

↳ alias string

Alias for the variable name.

getVariable

Name of the input variable.

Returns
Type Description
string

setVariable

Name of the input variable.

Parameter
Name Description
var string
Returns
Type Description
$this

getVariableType

Type of the input variable.

Returns
Type Description
string

setVariableType

Type of the input variable.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Value for the input variable.

Returns
Type Description
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Value for the input variable.

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

getDefaultValue

Default value of the input variable.

Returns
Type Description
Google\Protobuf\Value|null

hasDefaultValue

clearDefaultValue

setDefaultValue

Default value of the input variable.

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

getAlias

Alias for the variable name.

Returns
Type Description
string

setAlias

Alias for the variable name.

Parameter
Name Description
var string
Returns
Type Description
$this