Class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusBulkInstanceOperation

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



24122
24123
24124
# File 'lib/google/apis/compute_beta/classes.rb', line 24122

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

Instance Attribute Details

#in_progressBoolean Also known as: in_progress?

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

Returns:

  • (Boolean)


24112
24113
24114
# File 'lib/google/apis/compute_beta/classes.rb', line 24112

def in_progress
  @in_progress
end

#last_progress_checkGoogle::Apis::ComputeBeta::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck

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



24120
24121
24122
# File 'lib/google/apis/compute_beta/classes.rb', line 24120

def last_progress_check
  @last_progress_check
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24127
24128
24129
24130
# File 'lib/google/apis/compute_beta/classes.rb', line 24127

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