Class: Google::Cloud::Metastore::V1beta::ScalingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/metastore/v1beta/metastore.rb

Overview

Represents the scaling configuration of a metastore service.

Defined Under Namespace

Modules: InstanceSize

Instance Attribute Summary collapse

Instance Attribute Details

#instance_size::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize

Returns 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:



719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 719

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metastore instance sizes.
  module InstanceSize
    # Unspecified instance size
    INSTANCE_SIZE_UNSPECIFIED = 0

    # Extra small instance size, maps to a scaling factor of 0.1.
    EXTRA_SMALL = 1

    # Small instance size, maps to a scaling factor of 0.5.
    SMALL = 2

    # Medium instance size, maps to a scaling factor of 1.0.
    MEDIUM = 3

    # Large instance size, maps to a scaling factor of 3.0.
    LARGE = 4

    # Extra large instance size, maps to a scaling factor of 6.0.
    EXTRA_LARGE = 5
  end
end

#scaling_factor::Float

Returns 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.



719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 719

class ScalingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metastore instance sizes.
  module InstanceSize
    # Unspecified instance size
    INSTANCE_SIZE_UNSPECIFIED = 0

    # Extra small instance size, maps to a scaling factor of 0.1.
    EXTRA_SMALL = 1

    # Small instance size, maps to a scaling factor of 0.5.
    SMALL = 2

    # Medium instance size, maps to a scaling factor of 1.0.
    MEDIUM = 3

    # Large instance size, maps to a scaling factor of 3.0.
    LARGE = 4

    # Extra large instance size, maps to a scaling factor of 6.0.
    EXTRA_LARGE = 5
  end
end