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.

Note: The following fields are mutually exclusive: node_count, processing_units. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: node_count, processing_units. If a field in that set is populated, all other fields in the set will automatically be cleared.



279
280
281
282
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 279

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.

Note: The following fields are mutually exclusive: processing_units, node_count. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: processing_units, node_count. If a field in that set is populated, all other fields in the set will automatically be cleared.



279
280
281
282
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 279

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:



279
280
281
282
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 279

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