Reference documentation and code samples for the Cloud Spanner V1 Client class AutoscalingConfig.
Autoscaling config for an instance.
Generated from protobuf message google.spanner.admin.instance.v1.AutoscalingConfig
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ autoscaling_limits |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingLimits
Required. Autoscaling limits for an instance. |
↳ autoscaling_targets |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingTargets
Required. The autoscaling targets for an instance. |
getAutoscalingLimits
Required. Autoscaling limits for an instance.
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingLimits|null |
hasAutoscalingLimits
clearAutoscalingLimits
setAutoscalingLimits
Required. Autoscaling limits for an instance.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingLimits
|
Returns | |
---|---|
Type | Description |
$this |
getAutoscalingTargets
Required. The autoscaling targets for an instance.
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingTargets|null |
hasAutoscalingTargets
clearAutoscalingTargets
setAutoscalingTargets
Required. The autoscaling targets for an instance.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig\AutoscalingTargets
|
Returns | |
---|---|
Type | Description |
$this |