GoogleApi.Metastore.V1beta.Model.ScalingConfig (google_api_metastore v0.12.0)

View Source

Represents the scaling configuration of a metastore service.

Attributes

  • autoscalingConfig (type: GoogleApi.Metastore.V1beta.Model.AutoscalingConfig.t, default: nil) - Optional. The autoscaling configuration.
  • instanceSize (type: String.t, default: nil) - An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
  • scalingFactor (type: number(), default: nil) - Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Metastore.V1beta.Model.ScalingConfig{
  autoscalingConfig:
    GoogleApi.Metastore.V1beta.Model.AutoscalingConfig.t() | nil,
  instanceSize: String.t() | nil,
  scalingFactor: number() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.