Google Cloud Channel V1 Client - Class Parameter (1.0.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

Name of the parameter.

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Value of the parameter.

Generated from protobuf field .google.cloud.channel.v1.Value value = 2;

Returns
TypeDescription
Google\Cloud\Channel\V1\Value|null

hasValue

clearValue

setValue

Value of the parameter.

Generated from protobuf field .google.cloud.channel.v1.Value value = 2;

Parameter
NameDescription
var Google\Cloud\Channel\V1\Value
Returns
TypeDescription
$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.

Generated from protobuf field bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.

Generated from protobuf field bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var bool
Returns
TypeDescription
$this