Cloud Run V2 API - Class Google::Cloud::Run::V2::RevisionScaling (v0.7.0)

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

Settings for revision-level scaling settings.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_instance_count

def max_instance_count() -> ::Integer
Returns
  • (::Integer) — Maximum number of serving instances that this resource should have.

#max_instance_count=

def max_instance_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of serving instances that this resource should have.
Returns
  • (::Integer) — Maximum number of serving instances that this resource should have.

#min_instance_count

def min_instance_count() -> ::Integer
Returns
  • (::Integer) — Minimum number of serving instances that this resource should have.

#min_instance_count=

def min_instance_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of serving instances that this resource should have.
Returns
  • (::Integer) — Minimum number of serving instances that this resource should have.