Class: Google::Cloud::Spanner::Admin::Instance::V1::ReplicaComputeCapacity

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#node_count::Integer

Returns 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.



213
214
215
216
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 213

class ReplicaComputeCapacity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#processing_units::Integer

Returns 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.



213
214
215
216
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 213

class ReplicaComputeCapacity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replica_selection::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection

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

Returns:



213
214
215
216
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 213

class ReplicaComputeCapacity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end