Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperation

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

Overview

Bulk instance operation is the creation of VMs in a MIG when the targetSizePolicy.mode is set to BULK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusBulkInstanceOperation

Returns a new instance of InstanceGroupManagerStatusBulkInstanceOperation.



29597
29598
29599
# File 'lib/google/apis/compute_alpha/classes.rb', line 29597

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

Instance Attribute Details

#in_progressBoolean Also known as: in_progress?

Output only. Informs whether bulk instance operation is in progress. Corresponds to the JSON property inProgress

Returns:

  • (Boolean)


29588
29589
29590
# File 'lib/google/apis/compute_alpha/classes.rb', line 29588

def in_progress
  @in_progress
end

#last_progress_checkGoogle::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck

Output only. Information from the last progress check of bulk instance operation. Corresponds to the JSON property lastProgressCheck



29595
29596
29597
# File 'lib/google/apis/compute_alpha/classes.rb', line 29595

def last_progress_check
  @last_progress_check
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29602
29603
29604
29605
# File 'lib/google/apis/compute_alpha/classes.rb', line 29602

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