Class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Effective settings for the current revision
Instance Attribute Summary collapse
-
#desired_min_instance_count ⇒ Fixnum
The current number of min instances provisioned for this revision.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2RevisionScalingStatus
constructor
A new instance of GoogleCloudRunV2RevisionScalingStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2RevisionScalingStatus
Returns a new instance of GoogleCloudRunV2RevisionScalingStatus.
1921 1922 1923 |
# File 'lib/google/apis/run_v2/classes.rb', line 1921 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desired_min_instance_count ⇒ Fixnum
The current number of min instances provisioned for this revision.
Corresponds to the JSON property desiredMinInstanceCount
1919 1920 1921 |
# File 'lib/google/apis/run_v2/classes.rb', line 1919 def desired_min_instance_count @desired_min_instance_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1926 1927 1928 |
# File 'lib/google/apis/run_v2/classes.rb', line 1926 def update!(**args) @desired_min_instance_count = args[:desired_min_instance_count] if args.key?(:desired_min_instance_count) end |