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



18775
18776
18777
# File 'generated/google/apis/compute_alpha/classes.rb', line 18775

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#autoscaling_policyGoogle::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