Class: Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#autoscaling_policy ⇒ Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy
Corresponds to the JSON property
autoscalingPolicy
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupsSetAutoscalingPolicyRequest
constructor
A new instance of NodeGroupsSetAutoscalingPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NodeGroupsSetAutoscalingPolicyRequest
Returns a new instance of NodeGroupsSetAutoscalingPolicyRequest
20624 20625 20626 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20624 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autoscaling_policy ⇒ Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy
Corresponds to the JSON property autoscalingPolicy
20622 20623 20624 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20622 def autoscaling_policy @autoscaling_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20629 20630 20631 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20629 def update!(**args) @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy) end |