Class: Google::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError

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

Contains details of the last failed operation.

Defined Under Namespace

Classes: Errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HaControllerStatusZoneStatusLastError

Returns a new instance of HaControllerStatusZoneStatusLastError.



20156
20157
20158
# File 'lib/google/apis/compute_alpha/classes.rb', line 20156

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

Instance Attribute Details

#errorsGoogle::Apis::ComputeAlpha::HaControllerStatusZoneStatusLastError::Errors

Output only. [Output Only] Encountered errors. Corresponds to the JSON property errors



20148
20149
20150
# File 'lib/google/apis/compute_alpha/classes.rb', line 20148

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)


20154
20155
20156
# File 'lib/google/apis/compute_alpha/classes.rb', line 20154

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20161
20162
20163
20164
# File 'lib/google/apis/compute_alpha/classes.rb', line 20161

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