Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ResourceValue.
Generated from protobuf message google.cloud.capacityplanner.v1beta.ResourceValue
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unit |
int
|
↳ value |
Value
|
getUnit
Generated from protobuf field .google.cloud.capacityplanner.v1beta.Unit unit = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
setUnit
Generated from protobuf field .google.cloud.capacityplanner.v1beta.Unit unit = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Generated from protobuf field .google.cloud.capacityplanner.v1beta.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
Value|null |
|
hasValue
clearValue
setValue
Generated from protobuf field .google.cloud.capacityplanner.v1beta.Value value = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
Value
|
| Returns | |
|---|---|
| Type | Description |
$this |
|