Class: Google::Apis::ContainerV1beta1::PodAutoscaling
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::PodAutoscaling
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
PodAutoscaling is used for configuration of parameters for workload autoscaling.
Instance Attribute Summary collapse
-
#hpa_profile ⇒ String
Selected Horizontal Pod Autoscaling profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PodAutoscaling
constructor
A new instance of PodAutoscaling.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PodAutoscaling
Returns a new instance of PodAutoscaling.
7674 7675 7676 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hpa_profile ⇒ String
Selected Horizontal Pod Autoscaling profile.
Corresponds to the JSON property hpaProfile
7672 7673 7674 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7672 def hpa_profile @hpa_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7679 7680 7681 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7679 def update!(**args) @hpa_profile = args[:hpa_profile] if args.key?(:hpa_profile) end |