Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides.
Overrides the top-level autoscaling configuration for the replicas
identified by replica_selection. All fields in this message are
optional. Any unspecified fields will use the corresponding values from
the top-level autoscaling configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#autoscaling_limits
def autoscaling_limits() -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
#autoscaling_limits=
def autoscaling_limits=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits- value (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
- (::Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingLimits) — Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
#autoscaling_target_high_priority_cpu_utilization_percent
def autoscaling_target_high_priority_cpu_utilization_percent() -> ::Integer- (::Integer) — Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
#autoscaling_target_high_priority_cpu_utilization_percent=
def autoscaling_target_high_priority_cpu_utilization_percent=(value) -> ::Integer- value (::Integer) — Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
- (::Integer) — Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
#autoscaling_target_total_cpu_utilization_percent
def autoscaling_target_total_cpu_utilization_percent() -> ::Integer-
(::Integer) — Optional. If specified, overrides the
autoscaling target
total_cpu_utilization_percentin the top-level autoscaling configuration for the selected replicas.
#autoscaling_target_total_cpu_utilization_percent=
def autoscaling_target_total_cpu_utilization_percent=(value) -> ::Integer-
value (::Integer) — Optional. If specified, overrides the
autoscaling target
total_cpu_utilization_percentin the top-level autoscaling configuration for the selected replicas.
-
(::Integer) — Optional. If specified, overrides the
autoscaling target
total_cpu_utilization_percentin the top-level autoscaling configuration for the selected replicas.
#disable_high_priority_cpu_autoscaling
def disable_high_priority_cpu_autoscaling() -> ::Boolean-
(::Boolean) — Optional. If true, disables high priority CPU autoscaling for the
selected replicas and ignores
high_priority_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.
#disable_high_priority_cpu_autoscaling=
def disable_high_priority_cpu_autoscaling=(value) -> ::Boolean-
value (::Boolean) — Optional. If true, disables high priority CPU autoscaling for the
selected replicas and ignores
high_priority_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.
-
(::Boolean) — Optional. If true, disables high priority CPU autoscaling for the
selected replicas and ignores
high_priority_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.
#disable_total_cpu_autoscaling
def disable_total_cpu_autoscaling() -> ::Boolean-
(::Boolean) — Optional. If true, disables total CPU autoscaling for the selected
replicas and ignores
total_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.
#disable_total_cpu_autoscaling=
def disable_total_cpu_autoscaling=(value) -> ::Boolean-
value (::Boolean) — Optional. If true, disables total CPU autoscaling for the selected
replicas and ignores
total_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.
-
(::Boolean) — Optional. If true, disables total CPU autoscaling for the selected
replicas and ignores
total_cpu_utilization_percent
in the top-level autoscaling configuration.
When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported.
If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used.
Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.