Google Cloud Optimization V1 Client - Class CapacityQuantity (0.1.9)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ type string
↳ value int|string

getType

Generated from protobuf field string type = 1;

Returns
TypeDescription
string

setType

Generated from protobuf field string type = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Generated from protobuf field int64 value = 2;

Returns
TypeDescription
int|string

setValue

Generated from protobuf field int64 value = 2;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this