Cloud Spanner V1 Client - Class AllowedProcessingUnits (2.12.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class AllowedProcessingUnits.

Defines a range of processing units supported by an instance configuration.

Generated from protobuf message google.spanner.admin.instance.v1.InstanceConfig.AllowedProcessingUnits

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ InstanceConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ min_processing_units int

The minimum value of processing units applicable to this interval, inclusive.

↳ max_processing_units int

The maximum value of processing units applicable to this interval, inclusive. If unset, there is no predefined limit to the supported number of processing units, although project quota limits still apply.

↳ processing_unit_increment int

Allowed increments of processing units between “min” and “max”.

getMinProcessingUnits

The minimum value of processing units applicable to this interval, inclusive.

Returns
Type Description
int

setMinProcessingUnits

The minimum value of processing units applicable to this interval, inclusive.

Parameter
Name Description
var int
Returns
Type Description
$this

getMaxProcessingUnits

The maximum value of processing units applicable to this interval, inclusive. If unset, there is no predefined limit to the supported number of processing units, although project quota limits still apply.

Returns
Type Description
int

setMaxProcessingUnits

The maximum value of processing units applicable to this interval, inclusive. If unset, there is no predefined limit to the supported number of processing units, although project quota limits still apply.

Parameter
Name Description
var int
Returns
Type Description
$this

getProcessingUnitIncrement

Allowed increments of processing units between “min” and “max”.

Returns
Type Description
int

setProcessingUnitIncrement

Allowed increments of processing units between “min” and “max”.

Parameter
Name Description
var int
Returns
Type Description
$this