Class: Google::Apis::ComputeAlpha::InstanceGroupManagerTargetSizePolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerTargetSizePolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#mode ⇒ String
Mode in which operations on size are processed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerTargetSizePolicy
constructor
A new instance of InstanceGroupManagerTargetSizePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerTargetSizePolicy
Returns a new instance of InstanceGroupManagerTargetSizePolicy.
19768 19769 19770 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Mode in which operations on size are processed.
Corresponds to the JSON property mode
19766 19767 19768 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19766 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19773 19774 19775 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19773 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |