Class: Google::Apis::ComputeV1::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

Returns a new instance of InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.



23391
23392
23393
# File 'lib/google/apis/compute_v1/classes.rb', line 23391

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

Instance Attribute Details

#errorGoogle::Apis::ComputeV1::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error

Output only. Encountered errors. Corresponds to the JSON property error



23382
23383
23384
# File 'lib/google/apis/compute_v1/classes.rb', line 23382

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)


23389
23390
23391
# File 'lib/google/apis/compute_v1/classes.rb', line 23389

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23396
23397
23398
23399
# File 'lib/google/apis/compute_v1/classes.rb', line 23396

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