Class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData

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

Additional status detail for the FAILED state.

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueuedResourceStatusFailedData

Returns a new instance of QueuedResourceStatusFailedData.



33258
33259
33260
# File 'lib/google/apis/compute_alpha/classes.rb', line 33258

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

Instance Attribute Details

#errorGoogle::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error

The error(s) that caused the QueuedResource to enter the FAILED state. Corresponds to the JSON property error



33256
33257
33258
# File 'lib/google/apis/compute_alpha/classes.rb', line 33256

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33263
33264
33265
# File 'lib/google/apis/compute_alpha/classes.rb', line 33263

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