Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Attempt

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

Records a failed evaluation job run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Attempt

Returns a new instance of GoogleCloudDatalabelingV1beta1Attempt.



1165
1166
1167
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1165

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

Instance Attribute Details

#attempt_timeString

Corresponds to the JSON property attemptTime

Returns:

  • (String)


1158
1159
1160
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1158

def attempt_time
  @attempt_time
end

#partial_failuresArray<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>

Details of errors that occurred. Corresponds to the JSON property partialFailures



1163
1164
1165
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1163

def partial_failures
  @partial_failures
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1170
1171
1172
1173
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1170

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