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))
#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))
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))
#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.
#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.
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.