Cloud Run V2 API - Class Google::Cloud::Run::V2::ServiceScaling (v0.15.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::ServiceScaling.

Scaling settings applied at the service level rather than at the revision level.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#min_instance_count

def min_instance_count() -> ::Integer
Returns
  • (::Integer) — total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (BETA)

#min_instance_count=

def min_instance_count=(value) -> ::Integer
Parameter
  • value (::Integer) — total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (BETA)
Returns
  • (::Integer) — total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (BETA)