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
-
(::Integer) —
Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of
- For more information see https://cloud.google.com/run/docs/configuring/max-instances
#max_instance_count=
def max_instance_count=(value) -> ::Integer
-
value (::Integer) —
Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of
- For more information see https://cloud.google.com/run/docs/configuring/max-instances
-
(::Integer) —
Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of
- For more information see https://cloud.google.com/run/docs/configuring/max-instances
#min_instance_count
def min_instance_count() -> ::Integer
- (::Integer) — Optional. Minimum number of serving instances that this resource should have.
#min_instance_count=
def min_instance_count=(value) -> ::Integer
- value (::Integer) — Optional. Minimum number of serving instances that this resource should have.
- (::Integer) — Optional. Minimum number of serving instances that this resource should have.