Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata

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

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

Returns a new instance of GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata.



5876
5877
5878
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5876

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)


5793
5794
5795
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5793

def annotated_dataset
  @annotated_dataset
end

#create_timeString

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

Returns:

  • (String)


5798
5799
5800
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5798

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)


5803
5804
5805
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5803

def dataset
  @dataset
end

#image_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata

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



5808
5809
5810
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5808

def image_bounding_box_details
  @image_bounding_box_details
end

#image_bounding_poly_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata

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



5813
5814
5815
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5813

def image_bounding_poly_details
  @image_bounding_poly_details
end

#image_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata

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



5818
5819
5820
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5818

def image_classification_details
  @image_classification_details
end

#image_oriented_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata

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



5823
5824
5825
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5823

def image_oriented_bounding_box_details
  @image_oriented_bounding_box_details
end

#image_polyline_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata

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



5828
5829
5830
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5828

def image_polyline_details
  @image_polyline_details
end

#image_segmentation_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata

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



5833
5834
5835
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5833

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



5839
5840
5841
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5839

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)


5844
5845
5846
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5844

def progress_percent
  @progress_percent
end

#text_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata

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



5849
5850
5851
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5849

def text_classification_details
  @text_classification_details
end

#text_entity_extraction_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata

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



5854
5855
5856
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5854

def text_entity_extraction_details
  @text_entity_extraction_details
end

#video_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata

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



5859
5860
5861
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5859

def video_classification_details
  @video_classification_details
end

#video_event_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata

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



5864
5865
5866
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5864

def video_event_details
  @video_event_details
end

#video_object_detection_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata

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



5869
5870
5871
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5869

def video_object_detection_details
  @video_object_detection_details
end

#video_object_tracking_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata

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



5874
5875
5876
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5874

def video_object_tracking_details
  @video_object_tracking_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5881

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