Reference documentation and code samples for the Google Cloud Design Center V1 Client class DisplayVariableToggle.
Display variable toggle.
Generated from protobuf message google.cloud.designcenter.v1.DisplayVariableToggle
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ variable |
string
Output only. The name of the variable used to toggle the display of another variable. |
↳ variable_values |
string[]
Output only. The value of the variable used to toggle the display of another variable. |
↳ variable_type |
int
Output only. The type of the variable used to toggle the display of another variable. |
getVariable
Output only. The name of the variable used to toggle the display of another variable.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVariable
Output only. The name of the variable used to toggle the display of another variable.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVariableValues
Output only. The value of the variable used to toggle the display of another variable.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setVariableValues
Output only. The value of the variable used to toggle the display of another variable.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVariableType
Output only. The type of the variable used to toggle the display of another variable.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ToggleVariableType. |
setVariableType
Output only. The type of the variable used to toggle the display of another variable.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ToggleVariableType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|