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
18775 18776 18777 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autoscaling_policy ⇒ Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy
Corresponds to the JSON property autoscalingPolicy
18773 18774 18775 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18773 def autoscaling_policy @autoscaling_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18780 18781 18782 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18780 def update!(**args) @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy) end |