Google Cloud Spanner Instance Administration v1 API - Class ReplicaComputeCapacity (5.0.0-beta05)

public sealed class ReplicaComputeCapacity : IMessage<ReplicaComputeCapacity>, IEquatable<ReplicaComputeCapacity>, IDeepCloneable<ReplicaComputeCapacity>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class ReplicaComputeCapacity.

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

Inheritance

object > ReplicaComputeCapacity

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

Google.Cloud.Spanner.Admin.Instance.V1.dll

Constructors

ReplicaComputeCapacity()

public ReplicaComputeCapacity()

ReplicaComputeCapacity(ReplicaComputeCapacity)

public ReplicaComputeCapacity(ReplicaComputeCapacity other)
Parameter
Name Description
other ReplicaComputeCapacity

Properties

ComputeCapacityCase

public ReplicaComputeCapacity.ComputeCapacityOneofCase ComputeCapacityCase { get; }
Property Value
Type Description
ReplicaComputeCapacityComputeCapacityOneofCase

HasNodeCount

public bool HasNodeCount { get; }

Gets whether the "node_count" field is set

Property Value
Type Description
bool

HasProcessingUnits

public bool HasProcessingUnits { get; }

Gets whether the "processing_units" field is set

Property Value
Type Description
bool

NodeCount

public int NodeCount { get; set; }

The number of nodes allocated to each replica.

This may be zero in API responses for instances that are not yet in state READY.

Property Value
Type Description
int

ProcessingUnits

public int ProcessingUnits { get; set; }

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.

Property Value
Type Description
int

ReplicaSelection

public ReplicaSelection ReplicaSelection { get; set; }

Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.

Property Value
Type Description
ReplicaSelection