Class: Google::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt
- 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
Defined Under Namespace
Classes: Errors
Instance Attribute Summary collapse
-
#errors ⇒ Google::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt::Errors
[Output Only] Encountered errors during the last attempt to process failover.
-
#timestamp ⇒ String
[Output Only] Show timestamp only if there is an error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HaControllerStatusFailoverProgressLastFailoverAttempt
constructor
A new instance of HaControllerStatusFailoverProgressLastFailoverAttempt.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HaControllerStatusFailoverProgressLastFailoverAttempt
Returns a new instance of HaControllerStatusFailoverProgressLastFailoverAttempt.
16745 16746 16747 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Google::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt::Errors
[Output Only] Encountered errors during the last attempt to process failover.
Corresponds to the JSON property errors
16738 16739 16740 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16738 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
16743 16744 16745 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16743 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16750 16751 16752 16753 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16750 def update!(**args) @errors = args[:errors] if args.key?(:errors) @timestamp = args[:timestamp] if args.key?(:timestamp) end |