Class: Google::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError
- 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
Contains details of the last failed operation.
Defined Under Namespace
Classes: Errors
Instance Attribute Summary collapse
-
#errors ⇒ Google::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError::Errors
[Output Only] Encountered errors.
-
#timestamp ⇒ String
[Output Only] Show timestamp only if there is an error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HaControllerStatusZoneStatusLastError
constructor
A new instance of HaControllerStatusZoneStatusLastError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HaControllerStatusZoneStatusLastError
Returns a new instance of HaControllerStatusZoneStatusLastError.
16911 16912 16913 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Google::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError::Errors
[Output Only] Encountered errors.
Corresponds to the JSON property errors
16904 16905 16906 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16904 def errors @errors end |
#timestamp ⇒ String
[Output Only] Show timestamp only if there is an error. RFC3339 text format.
Corresponds to the JSON property timestamp
16909 16910 16911 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16909 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16916 16917 16918 16919 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16916 def update!(**args) @errors = args[:errors] if args.key?(:errors) @timestamp = args[:timestamp] if args.key?(:timestamp) end |