View Source GoogleApi.Redis.V1beta1.Model.MachineConfiguration (google_api_redis v0.50.0)

MachineConfiguration describes the configuration of a machine specific to Database Resource.

Attributes

  • cpuCount (type: integer(), default: nil) - The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
  • memorySizeInBytes (type: String.t, default: nil) - Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
  • shardCount (type: integer(), default: nil) - Optional. Number of shards (if applicable).
  • vcpuCount (type: float(), default: nil) - Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Redis.V1beta1.Model.MachineConfiguration{
  cpuCount: integer() | nil,
  memorySizeInBytes: String.t() | nil,
  shardCount: integer() | nil,
  vcpuCount: float() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.