Class: Google::Apis::ComputeAlpha::InstanceGroupManagerTargetSizePolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerTargetSizePolicy

Returns a new instance of InstanceGroupManagerTargetSizePolicy.



20273
20274
20275
# File 'lib/google/apis/compute_alpha/classes.rb', line 20273

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

Instance Attribute Details

#modeString

Mode in which operations on size are processed. Corresponds to the JSON property mode

Returns:

  • (String)


20271
20272
20273
# File 'lib/google/apis/compute_alpha/classes.rb', line 20271

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20278
20279
20280
# File 'lib/google/apis/compute_alpha/classes.rb', line 20278

def update!(**args)
  @mode = args[:mode] if args.key?(:mode)
end