Class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

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) ⇒ InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

Returns a new instance of InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.



28338
28339
28340
# File 'lib/google/apis/compute_alpha/classes.rb', line 28338

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

Instance Attribute Details

#errorGoogle::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error

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



28329
28330
28331
# File 'lib/google/apis/compute_alpha/classes.rb', line 28329

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)


28336
28337
28338
# File 'lib/google/apis/compute_alpha/classes.rb', line 28336

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28343
28344
28345
28346
# File 'lib/google/apis/compute_alpha/classes.rb', line 28343

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