Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelOperationMetadata

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

Returns a new instance of GoogleCloudDatalabelingV1alpha1LabelOperationMetadata.



540
541
542
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 540

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)


457
458
459
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 457

def annotated_dataset
  @annotated_dataset
end

#create_timeString

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

Returns:

  • (String)


462
463
464
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 462

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)


467
468
469
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 467

def dataset
  @dataset
end

#image_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata

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



472
473
474
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 472

def image_bounding_box_details
  @image_bounding_box_details
end

#image_bounding_poly_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata

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



477
478
479
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 477

def image_bounding_poly_details
  @image_bounding_poly_details
end

#image_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata

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



482
483
484
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 482

def image_classification_details
  @image_classification_details
end

#image_oriented_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata

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



487
488
489
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 487

def image_oriented_bounding_box_details
  @image_oriented_bounding_box_details
end

#image_polyline_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata

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



492
493
494
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 492

def image_polyline_details
  @image_polyline_details
end

#image_segmentation_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata

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



497
498
499
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 497

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



503
504
505
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 503

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)


508
509
510
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 508

def progress_percent
  @progress_percent
end

#text_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata

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



513
514
515
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 513

def text_classification_details
  @text_classification_details
end

#text_entity_extraction_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata

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



518
519
520
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 518

def text_entity_extraction_details
  @text_entity_extraction_details
end

#video_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata

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



523
524
525
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 523

def video_classification_details
  @video_classification_details
end

#video_event_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata

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



528
529
530
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 528

def video_event_details
  @video_event_details
end

#video_object_detection_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata

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



533
534
535
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 533

def video_object_detection_details
  @video_object_detection_details
end

#video_object_tracking_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata

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



538
539
540
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 538

def video_object_tracking_details
  @video_object_tracking_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 545

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