Google Cloud Optimization V1 Client - Class CapacityQuantityInterval (0.1.9)

Reference documentation and code samples for the Google Cloud Optimization V1 Client class CapacityQuantityInterval.

Deprecated: Use Vehicle.LoadLimit.Interval instead.

Generated from protobuf message google.cloud.optimization.v1.CapacityQuantityInterval

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type string
↳ min_value int|string
↳ max_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

getMinValue

Generated from protobuf field optional int64 min_value = 2;

Returns
TypeDescription
int|string

hasMinValue

clearMinValue

setMinValue

Generated from protobuf field optional int64 min_value = 2;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMaxValue

Generated from protobuf field optional int64 max_value = 3;

Returns
TypeDescription
int|string

hasMaxValue

clearMaxValue

setMaxValue

Generated from protobuf field optional int64 max_value = 3;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this