Google Cloud Channel V1 Client - Class Parameter (2.1.0)

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

Definition for extended entitlement parameters.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the parameter.

↳ value Google\Cloud\Channel\V1\Value

Value of the parameter.

↳ editable bool

Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.

getName

Name of the parameter.

Returns
Type Description
string

setName

Name of the parameter.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Value of the parameter.

Returns
Type Description
Google\Cloud\Channel\V1\Value|null

hasValue

clearValue

setValue

Value of the parameter.

Parameter
Name Description
var Google\Cloud\Channel\V1\Value
Returns
Type Description
$this

getEditable

Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.

Returns
Type Description
bool

setEditable

Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.

Parameter
Name Description
var bool
Returns
Type Description
$this