Class: Google::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt

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

Defined Under Namespace

Classes: Errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HaControllerStatusFailoverProgressLastFailoverAttempt

Returns a new instance of HaControllerStatusFailoverProgressLastFailoverAttempt.



20705
20706
20707
# File 'lib/google/apis/compute_alpha/classes.rb', line 20705

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

Instance Attribute Details

#errorsGoogle::Apis::ComputeAlpha::HaControllerStatusFailoverProgressLastFailoverAttempt::Errors

Output only. [Output Only] Encountered errors during the last attempt to process failover. Corresponds to the JSON property errors



20697
20698
20699
# File 'lib/google/apis/compute_alpha/classes.rb', line 20697

def errors
  @errors
end

#timestampString

Output only. [Output Only] Show timestamp only if there is an error.RFC3339 text format. Corresponds to the JSON property timestamp

Returns:

  • (String)


20703
20704
20705
# File 'lib/google/apis/compute_alpha/classes.rb', line 20703

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20710
20711
20712
20713
# File 'lib/google/apis/compute_alpha/classes.rb', line 20710

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