Class: Google::Apis::ComputeBeta::MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



34500
34501
34502
# File 'lib/google/apis/compute_beta/classes.rb', line 34500

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

Instance Attribute Details

#errorGoogle::Apis::ComputeBeta::MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck::Error

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



34490
34491
34492
# File 'lib/google/apis/compute_beta/classes.rb', line 34490

def error
  @error
end

#timestampString

Output only. [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)


34498
34499
34500
# File 'lib/google/apis/compute_beta/classes.rb', line 34498

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34505
34506
34507
34508
# File 'lib/google/apis/compute_beta/classes.rb', line 34505

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