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
-
(::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
-
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
.
-
(::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
-
(::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
-
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
.
-
(::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
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.
#replica_selection=
def replica_selection=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection
- value (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.