Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::ReplicaComputeCapacity (v1.4.0)

Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::ReplicaComputeCapacity.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#node_count

def node_count() -> ::Integer
Returns
  • (::Integer) — The number of nodes allocated to each replica.

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

#node_count=

def node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of nodes allocated to each replica.

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

Returns
  • (::Integer) — The number of nodes allocated to each replica.

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

#processing_units

def processing_units() -> ::Integer
Returns
  • (::Integer) — 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.

#processing_units=

def processing_units=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.

Returns
  • (::Integer) — 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.

#replica_selection

def replica_selection() -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection
Returns

#replica_selection=

def replica_selection=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection
Parameter
Returns