Class: Google::Apis::ComputeAlpha::InstanceGroupManagerActivities

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) ⇒ InstanceGroupManagerActivities

Returns a new instance of InstanceGroupManagerActivities



9475
9476
9477
# File 'generated/google/apis/compute_alpha/classes.rb', line 9475

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

Instance Attribute Details

#autohealingString

Corresponds to the JSON property autohealing

Returns:

  • (String)


9443
9444
9445
# File 'generated/google/apis/compute_alpha/classes.rb', line 9443

def autohealing
  @autohealing
end

#autohealing_health_check_basedString

Corresponds to the JSON property autohealingHealthCheckBased

Returns:

  • (String)


9448
9449
9450
# File 'generated/google/apis/compute_alpha/classes.rb', line 9448

def autohealing_health_check_based
  @autohealing_health_check_based
end

#autoscaling_downString

Corresponds to the JSON property autoscalingDown

Returns:

  • (String)


9453
9454
9455
# File 'generated/google/apis/compute_alpha/classes.rb', line 9453

def autoscaling_down
  @autoscaling_down
end

#autoscaling_upString

Corresponds to the JSON property autoscalingUp

Returns:

  • (String)


9458
9459
9460
# File 'generated/google/apis/compute_alpha/classes.rb', line 9458

def autoscaling_up
  @autoscaling_up
end

#creating_instancesString

Corresponds to the JSON property creatingInstances

Returns:

  • (String)


9463
9464
9465
# File 'generated/google/apis/compute_alpha/classes.rb', line 9463

def creating_instances
  @creating_instances
end

#deleting_instancesString

Corresponds to the JSON property deletingInstances

Returns:

  • (String)


9468
9469
9470
# File 'generated/google/apis/compute_alpha/classes.rb', line 9468

def deleting_instances
  @deleting_instances
end

#recreating_instancesString

Corresponds to the JSON property recreatingInstances

Returns:

  • (String)


9473
9474
9475
# File 'generated/google/apis/compute_alpha/classes.rb', line 9473

def recreating_instances
  @recreating_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9480
9481
9482
9483
9484
9485
9486
9487
9488
# File 'generated/google/apis/compute_alpha/classes.rb', line 9480

def update!(**args)
  @autohealing = args[:autohealing] if args.key?(:autohealing)
  @autohealing_health_check_based = args[:autohealing_health_check_based] if args.key?(:autohealing_health_check_based)
  @autoscaling_down = args[:autoscaling_down] if args.key?(:autoscaling_down)
  @autoscaling_up = args[:autoscaling_up] if args.key?(:autoscaling_up)
  @creating_instances = args[:creating_instances] if args.key?(:creating_instances)
  @deleting_instances = args[:deleting_instances] if args.key?(:deleting_instances)
  @recreating_instances = args[:recreating_instances] if args.key?(:recreating_instances)
end