GoogleApi.Spanner.V1.Model.ReplicaComputeCapacity (google_api_spanner v0.48.0)

View Source

ReplicaComputeCapacity describes the amount of server resources that are allocated to each replica identified by the replica selection.

Attributes

  • nodeCount (type: integer(), default: nil) - The number of nodes allocated to each replica. This may be zero in API responses for instances that are not yet in state READY.
  • processingUnits (type: integer(), default: nil) - The number of processing units allocated to each replica. This may be zero in API responses for instances that are not yet in state READY.
  • replicaSelection (type: GoogleApi.Spanner.V1.Model.InstanceReplicaSelection.t, default: nil) - Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.ReplicaComputeCapacity{
  nodeCount: integer() | nil,
  processingUnits: integer() | nil,
  replicaSelection:
    GoogleApi.Spanner.V1.Model.InstanceReplicaSelection.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.