Reference documentation and code samples for the Cloud Spanner V1 Client class 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.
Generated from protobuf message google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ AutoscalingConfig \ AsymmetricAutoscalingOptionMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ autoscaling_limits |
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 |
int
Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas. |
getAutoscalingLimits
Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingLimits|null |
hasAutoscalingLimits
clearAutoscalingLimits
setAutoscalingLimits
Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingLimits
|
Returns | |
---|---|
Type | Description |
$this |
getAutoscalingTargetHighPriorityCpuUtilizationPercent
Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
Returns | |
---|---|
Type | Description |
int |
setAutoscalingTargetHighPriorityCpuUtilizationPercent
Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |