App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::AutomaticScaling (v1.0.1)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::AutomaticScaling.

Automatic scaling is based on request rate, response latencies, and other application metrics.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cool_down_period

def cool_down_period() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

#cool_down_period=

def cool_down_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
Returns
  • (::Google::Protobuf::Duration) — The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

#cpu_utilization

def cpu_utilization() -> ::Google::Cloud::AppEngine::V1::CpuUtilization
Returns

#cpu_utilization=

def cpu_utilization=(value) -> ::Google::Cloud::AppEngine::V1::CpuUtilization
Parameter
Returns

#disk_utilization

def disk_utilization() -> ::Google::Cloud::AppEngine::V1::DiskUtilization
Returns

#disk_utilization=

def disk_utilization=(value) -> ::Google::Cloud::AppEngine::V1::DiskUtilization
Parameter
Returns

#max_concurrent_requests

def max_concurrent_requests() -> ::Integer
Returns
  • (::Integer) — Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

    Defaults to a runtime-specific value.

#max_concurrent_requests=

def max_concurrent_requests=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

    Defaults to a runtime-specific value.

Returns
  • (::Integer) — Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

    Defaults to a runtime-specific value.

#max_idle_instances

def max_idle_instances() -> ::Integer
Returns
  • (::Integer) — Maximum number of idle instances that should be maintained for this version.

#max_idle_instances=

def max_idle_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of idle instances that should be maintained for this version.
Returns
  • (::Integer) — Maximum number of idle instances that should be maintained for this version.

#max_pending_latency

def max_pending_latency() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

#max_pending_latency=

def max_pending_latency=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
Returns
  • (::Google::Protobuf::Duration) — Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

#max_total_instances

def max_total_instances() -> ::Integer
Returns
  • (::Integer) — Maximum number of instances that should be started to handle requests for this version.

#max_total_instances=

def max_total_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of instances that should be started to handle requests for this version.
Returns
  • (::Integer) — Maximum number of instances that should be started to handle requests for this version.

#min_idle_instances

def min_idle_instances() -> ::Integer
Returns
  • (::Integer) — Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

#min_idle_instances=

def min_idle_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
Returns
  • (::Integer) — Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

#min_pending_latency

def min_pending_latency() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

#min_pending_latency=

def min_pending_latency=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
Returns
  • (::Google::Protobuf::Duration) — Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

#min_total_instances

def min_total_instances() -> ::Integer
Returns
  • (::Integer) — Minimum number of running instances that should be maintained for this version.

#min_total_instances=

def min_total_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of running instances that should be maintained for this version.
Returns
  • (::Integer) — Minimum number of running instances that should be maintained for this version.

#network_utilization

def network_utilization() -> ::Google::Cloud::AppEngine::V1::NetworkUtilization
Returns

#network_utilization=

def network_utilization=(value) -> ::Google::Cloud::AppEngine::V1::NetworkUtilization
Parameter
Returns

#request_utilization

def request_utilization() -> ::Google::Cloud::AppEngine::V1::RequestUtilization
Returns

#request_utilization=

def request_utilization=(value) -> ::Google::Cloud::AppEngine::V1::RequestUtilization
Parameter
Returns

#standard_scheduler_settings

def standard_scheduler_settings() -> ::Google::Cloud::AppEngine::V1::StandardSchedulerSettings
Returns

#standard_scheduler_settings=

def standard_scheduler_settings=(value) -> ::Google::Cloud::AppEngine::V1::StandardSchedulerSettings
Parameter
Returns