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

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

Parameter resource.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Required. The key of the parameter.

↳ value Google\Protobuf\Value

Optional. The value of the parameter.

↳ read_only bool

Output only. Indicates if the parameter is read-only (driven by expression).

getKey

Required. The key of the parameter.

Returns
Type Description
string

setKey

Required. The key of the parameter.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Optional. The value of the parameter.

Returns
Type Description
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Optional. The value of the parameter.

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

getReadOnly

Output only. Indicates if the parameter is read-only (driven by expression).

Returns
Type Description
bool

setReadOnly

Output only. Indicates if the parameter is read-only (driven by expression).

Parameter
Name Description
var bool
Returns
Type Description
$this