Reference documentation and code samples for the Google Cloud App Topology V1 Client class DoubleValue.
DoubleValue represents a property that has a double value type.
Generated from protobuf message google.cloud.apptopology.v1.DoubleValue
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 |
float[]
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<float> |
|
setAllowedValues
OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
| Parameter | |
|---|---|
| Name | Description |
var |
float[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|