Class: Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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_policyGoogle::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