Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Attempt
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Attempt
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Records a failed evaluation job run.
Instance Attribute Summary collapse
-
#attempt_time ⇒ String
Corresponds to the JSON property
attemptTime
. -
#partial_failures ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>
Details of errors that occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Attempt
constructor
A new instance of GoogleCloudDatalabelingV1beta1Attempt.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Attempt
Returns a new instance of GoogleCloudDatalabelingV1beta1Attempt.
1165 1166 1167 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1165 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attempt_time ⇒ String
Corresponds to the JSON property attemptTime
1158 1159 1160 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1158 def attempt_time @attempt_time end |
#partial_failures ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>
Details of errors that occurred.
Corresponds to the JSON property partialFailures
1163 1164 1165 |
# File 'lib/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 'lib/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 |