Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig.
Autoscaling configuration for an instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asymmetric_autoscaling_options
def asymmetric_autoscaling_options() -> ::Array<::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption>
-
(::Array<::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption>) — Optional. Optional asymmetric autoscaling options.
Replicas matching the replica selection criteria will be autoscaled
independently from other replicas. The autoscaler will scale the replicas
based on the utilization of replicas identified by the replica selection.
Replica selections should not overlap with each other.
Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
#asymmetric_autoscaling_options=
def asymmetric_autoscaling_options=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption>
-
value (::Array<::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption>) — Optional. Optional asymmetric autoscaling options.
Replicas matching the replica selection criteria will be autoscaled
independently from other replicas. The autoscaler will scale the replicas
based on the utilization of replicas identified by the replica selection.
Replica selections should not overlap with each other.
Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
-
(::Array<::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption>) — Optional. Optional asymmetric autoscaling options.
Replicas matching the replica selection criteria will be autoscaled
independently from other replicas. The autoscaler will scale the replicas
based on the utilization of replicas identified by the replica selection.
Replica selections should not overlap with each other.
Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
#autoscaling_limits
def autoscaling_limits() -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Required. Autoscaling limits for an instance.
#autoscaling_limits=
def autoscaling_limits=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits
- value (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Required. Autoscaling limits for an instance.
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Required. Autoscaling limits for an instance.
#autoscaling_targets
def autoscaling_targets() -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets) — Required. The autoscaling targets for an instance.
#autoscaling_targets=
def autoscaling_targets=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets
- value (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets) — Required. The autoscaling targets for an instance.
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets) — Required. The autoscaling targets for an instance.