Reference documentation and code samples for the Google Cloud App Topology V1 Client class BoolValue.
BoolValue represents a property that has a boolean value type.
Generated from protobuf message google.cloud.apptopology.v1.BoolValue
Namespace
Google \ Cloud \ AppTopology \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ repeated |
bool
OPTIONAL Whether the property is repeated. |
↳ allowed_values |
bool[]
OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values. |
getRepeated
OPTIONAL Whether the property is repeated.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setRepeated
OPTIONAL Whether the property is repeated.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAllowedValues
OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<bool> |
|
setAllowedValues
OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
| Parameter | |
|---|---|
| Name | Description |
var |
bool[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|