Google Cloud Dataproc Metastore V1alpha Client - Class ScalingConfig (0.11.0)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class ScalingConfig.

Represents the scaling configuration of a metastore service.

Generated from protobuf message google.cloud.metastore.v1alpha.ScalingConfig

Namespace

Google \ Cloud \ Metastore \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_size int

An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

↳ scaling_factor float

Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

getInstanceSize

An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

Returns
TypeDescription
int

hasInstanceSize

setInstanceSize

An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getScalingFactor

Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

Returns
TypeDescription
float

hasScalingFactor

setScalingFactor

Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getScalingModel

Returns
TypeDescription
string