Class: Google::Apis::ComputeAlpha::MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck

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: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck

Returns a new instance of MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck.



35551
35552
35553
# File 'lib/google/apis/compute_alpha/classes.rb', line 35551

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

Instance Attribute Details

#errorGoogle::Apis::ComputeAlpha::MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck::Error

[Output Only] Encountered errors on the last state check. Corresponds to the JSON property error



35543
35544
35545
# File 'lib/google/apis/compute_alpha/classes.rb', line 35543

def error
  @error
end

#timestampString

[Output Only] Timestamp is shown only if there is an error. The field has // RFC3339 // text format. Corresponds to the JSON property timestamp

Returns:

  • (String)


35549
35550
35551
# File 'lib/google/apis/compute_alpha/classes.rb', line 35549

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35556
35557
35558
35559
# File 'lib/google/apis/compute_alpha/classes.rb', line 35556

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