Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption.
AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#overrides
def overrides() -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides) — Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.
#overrides=
def overrides=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides
Parameter
- value (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides) — Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides) — Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.
#replica_selection
def replica_selection() -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.
#replica_selection=
def replica_selection=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection
Parameter
- value (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaSelection) — Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.