Dataproc Metastore V1beta API - Class Google::Cloud::Metastore::V1beta::ScalingConfig (v0.15.0)

Reference documentation and code samples for the Dataproc Metastore V1beta API class Google::Cloud::Metastore::V1beta::ScalingConfig.

Represents the scaling configuration of a metastore service.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance_size

def instance_size() -> ::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize
Returns
  • (::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize) — An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

    Note: The following fields are mutually exclusive: instance_size, scaling_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#instance_size=

def instance_size=(value) -> ::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize
Parameter
  • value (::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize) — An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

    Note: The following fields are mutually exclusive: instance_size, scaling_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize) — An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

    Note: The following fields are mutually exclusive: instance_size, scaling_factor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#scaling_factor

def scaling_factor() -> ::Float
Returns
  • (::Float) — Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

    Note: The following fields are mutually exclusive: scaling_factor, instance_size. If a field in that set is populated, all other fields in the set will automatically be cleared.

#scaling_factor=

def scaling_factor=(value) -> ::Float
Parameter
  • value (::Float) — Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

    Note: The following fields are mutually exclusive: scaling_factor, instance_size. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Float) — Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

    Note: The following fields are mutually exclusive: scaling_factor, instance_size. If a field in that set is populated, all other fields in the set will automatically be cleared.