Class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails

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

Returns a new instance of InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.



25904
25905
25906
# File 'lib/google/apis/compute_beta/classes.rb', line 25904

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

Instance Attribute Details

#errorGoogle::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error

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



25895
25896
25897
# File 'lib/google/apis/compute_beta/classes.rb', line 25895

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)


25902
25903
25904
# File 'lib/google/apis/compute_beta/classes.rb', line 25902

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25909
25910
25911
25912
# File 'lib/google/apis/compute_beta/classes.rb', line 25909

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