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.
1924 1925 1926 |
# File 'lib/google/apis/run_v2/classes.rb', line 1924 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
1922 1923 1924 |
# File 'lib/google/apis/run_v2/classes.rb', line 1922 def desired_min_instance_count @desired_min_instance_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1929 1930 1931 |
# File 'lib/google/apis/run_v2/classes.rb', line 1929 def update!(**args) @desired_min_instance_count = args[:desired_min_instance_count] if args.key?(:desired_min_instance_count) end |