Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata

Inherits:
Object
  • Object
show all
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

Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata

Returns a new instance of GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata.



5174
5175
5176
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5174

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

Instance Attribute Details

#annotated_datasetString

Output only. The name of annotated dataset in format "projects//datasets// annotatedDatasets/*". Corresponds to the JSON property annotatedDataset

Returns:

  • (String)


5091
5092
5093
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5091

def annotated_dataset
  @annotated_dataset
end

#create_timeString

Output only. Timestamp when labeling request was created. Corresponds to the JSON property createTime

Returns:

  • (String)


5096
5097
5098
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5096

def create_time
  @create_time
end

#datasetString

Output only. The name of dataset to be labeled. "projects//datasets/" Corresponds to the JSON property dataset

Returns:

  • (String)


5101
5102
5103
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5101

def dataset
  @dataset
end

#image_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata

Details of a LabelImageBoundingBox operation metadata. Corresponds to the JSON property imageBoundingBoxDetails



5106
5107
5108
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5106

def image_bounding_box_details
  @image_bounding_box_details
end

#image_bounding_poly_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata

Details of LabelImageBoundingPoly operation metadata. Corresponds to the JSON property imageBoundingPolyDetails



5111
5112
5113
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5111

def image_bounding_poly_details
  @image_bounding_poly_details
end

#image_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata

Metadata of a LabelImageClassification operation. Corresponds to the JSON property imageClassificationDetails



5116
5117
5118
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5116

def image_classification_details
  @image_classification_details
end

#image_oriented_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata

Details of a LabelImageOrientedBoundingBox operation metadata. Corresponds to the JSON property imageOrientedBoundingBoxDetails



5121
5122
5123
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5121

def image_oriented_bounding_box_details
  @image_oriented_bounding_box_details
end

#image_polyline_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata

Details of LabelImagePolyline operation metadata. Corresponds to the JSON property imagePolylineDetails



5126
5127
5128
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5126

def image_polyline_details
  @image_polyline_details
end

#image_segmentation_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata

Details of a LabelImageSegmentation operation metadata. Corresponds to the JSON property imageSegmentationDetails



5131
5132
5133
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5131

def image_segmentation_details
  @image_segmentation_details
end

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

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details. Corresponds to the JSON property partialFailures



5137
5138
5139
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5137

def partial_failures
  @partial_failures
end

#progress_percentFixnum

Output only. Progress of label operation. Range: [0, 100]. Corresponds to the JSON property progressPercent

Returns:

  • (Fixnum)


5142
5143
5144
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5142

def progress_percent
  @progress_percent
end

#text_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata

Details of a LabelTextClassification operation metadata. Corresponds to the JSON property textClassificationDetails



5147
5148
5149
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5147

def text_classification_details
  @text_classification_details
end

#text_entity_extraction_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata

Details of a LabelTextEntityExtraction operation metadata. Corresponds to the JSON property textEntityExtractionDetails



5152
5153
5154
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5152

def text_entity_extraction_details
  @text_entity_extraction_details
end

#video_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata

Details of a LabelVideoClassification operation metadata. Corresponds to the JSON property videoClassificationDetails



5157
5158
5159
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5157

def video_classification_details
  @video_classification_details
end

#video_event_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata

Details of a LabelVideoEvent operation metadata. Corresponds to the JSON property videoEventDetails



5162
5163
5164
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5162

def video_event_details
  @video_event_details
end

#video_object_detection_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata

Details of a LabelVideoObjectDetection operation metadata. Corresponds to the JSON property videoObjectDetectionDetails



5167
5168
5169
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5167

def video_object_detection_details
  @video_object_detection_details
end

#video_object_tracking_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata

Details of a LabelVideoObjectTracking operation metadata. Corresponds to the JSON property videoObjectTrackingDetails



5172
5173
5174
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5172

def video_object_tracking_details
  @video_object_tracking_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5179

def update!(**args)
  @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset)
  @create_time = args[:create_time] if args.key?(:create_time)
  @dataset = args[:dataset] if args.key?(:dataset)
  @image_bounding_box_details = args[:image_bounding_box_details] if args.key?(:image_bounding_box_details)
  @image_bounding_poly_details = args[:image_bounding_poly_details] if args.key?(:image_bounding_poly_details)
  @image_classification_details = args[:image_classification_details] if args.key?(:image_classification_details)
  @image_oriented_bounding_box_details = args[:image_oriented_bounding_box_details] if args.key?(:image_oriented_bounding_box_details)
  @image_polyline_details = args[:image_polyline_details] if args.key?(:image_polyline_details)
  @image_segmentation_details = args[:image_segmentation_details] if args.key?(:image_segmentation_details)
  @partial_failures = args[:partial_failures] if args.key?(:partial_failures)
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
  @text_classification_details = args[:text_classification_details] if args.key?(:text_classification_details)
  @text_entity_extraction_details = args[:text_entity_extraction_details] if args.key?(:text_entity_extraction_details)
  @video_classification_details = args[:video_classification_details] if args.key?(:video_classification_details)
  @video_event_details = args[:video_event_details] if args.key?(:video_event_details)
  @video_object_detection_details = args[:video_object_detection_details] if args.key?(:video_object_detection_details)
  @video_object_tracking_details = args[:video_object_tracking_details] if args.key?(:video_object_tracking_details)
end