Reference documentation and code samples for the Google Cloud Optimization V1 Client class CapacityQuantity.
Deprecated: Use Vehicle.LoadLimit.Interval instead.
Generated from protobuf message google.cloud.optimization.v1.CapacityQuantity
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
|
↳ value |
int|string
|
getType
Generated from protobuf field string type = 1;
Returns | |
---|---|
Type | Description |
string |
setType
Generated from protobuf field string type = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Generated from protobuf field int64 value = 2;
Returns | |
---|---|
Type | Description |
int|string |
setValue
Generated from protobuf field int64 value = 2;
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |