Class: Google::Apis::ComputeBeta::BulkInsertOperationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BulkInsertOperationStatus
- 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
Instance Attribute Summary collapse
-
#created_vm_count ⇒ Fixnum
[Output Only] Count of VMs successfully created so far.
-
#deleted_vm_count ⇒ Fixnum
[Output Only] Count of VMs that got deleted during rollback.
-
#failed_to_create_vm_count ⇒ Fixnum
[Output Only] Count of VMs that started creating but encountered an error.
-
#status ⇒ String
[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.
-
#target_vm_count ⇒ Fixnum
[Output Only] Count of VMs originally planned to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BulkInsertOperationStatus
constructor
A new instance of BulkInsertOperationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BulkInsertOperationStatus
Returns a new instance of BulkInsertOperationStatus.
5502 5503 5504 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_vm_count ⇒ Fixnum
[Output Only] Count of VMs successfully created so far.
Corresponds to the JSON property createdVmCount
5479 5480 5481 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5479 def created_vm_count @created_vm_count end |
#deleted_vm_count ⇒ Fixnum
[Output Only] Count of VMs that got deleted during rollback.
Corresponds to the JSON property deletedVmCount
5484 5485 5486 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5484 def deleted_vm_count @deleted_vm_count end |
#failed_to_create_vm_count ⇒ Fixnum
[Output Only] Count of VMs that started creating but encountered an error.
Corresponds to the JSON property failedToCreateVmCount
5489 5490 5491 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5489 def failed_to_create_vm_count @failed_to_create_vm_count end |
#status ⇒ String
[Output Only] Creation status of BulkInsert operation - information if the
flow is rolling forward or rolling back.
Corresponds to the JSON property status
5495 5496 5497 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5495 def status @status end |
#target_vm_count ⇒ Fixnum
[Output Only] Count of VMs originally planned to be created.
Corresponds to the JSON property targetVmCount
5500 5501 5502 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5500 def target_vm_count @target_vm_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5507 5508 5509 5510 5511 5512 5513 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5507 def update!(**args) @created_vm_count = args[:created_vm_count] if args.key?(:created_vm_count) @deleted_vm_count = args[:deleted_vm_count] if args.key?(:deleted_vm_count) @failed_to_create_vm_count = args[:failed_to_create_vm_count] if args.key?(:failed_to_create_vm_count) @status = args[:status] if args.key?(:status) @target_vm_count = args[:target_vm_count] if args.key?(:target_vm_count) end |