Class AutoscalingConfig (3.46.0)

AutoscalingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Autoscaling config for an instance.

Attributes

NameDescription
autoscaling_limits google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig.AutoscalingLimits
Required. Autoscaling limits for an instance.
autoscaling_targets google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig.AutoscalingTargets
Required. The autoscaling targets for an instance.

Classes

AutoscalingLimits

AutoscalingLimits(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

AutoscalingTargets

AutoscalingTargets(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The autoscaling targets for an instance.