Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets (v0.12.0)

Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets.

The autoscaling targets for an instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#high_priority_cpu_utilization_percent

def high_priority_cpu_utilization_percent() -> ::Integer
Returns
  • (::Integer) — Required. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.

#high_priority_cpu_utilization_percent=

def high_priority_cpu_utilization_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
Returns
  • (::Integer) — Required. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.

#storage_utilization_percent

def storage_utilization_percent() -> ::Integer
Returns
  • (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.

#storage_utilization_percent=

def storage_utilization_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
Returns
  • (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.