Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelOperationMetadata

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

Returns a new instance of GoogleCloudDatalabelingV1beta1LabelOperationMetadata.



3189
3190
3191
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3189

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)


3106
3107
3108
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3106

def annotated_dataset
  @annotated_dataset
end

#create_timeString

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

Returns:

  • (String)


3111
3112
3113
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3111

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)


3116
3117
3118
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3116

def dataset
  @dataset
end

#image_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata

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



3121
3122
3123
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3121

def image_bounding_box_details
  @image_bounding_box_details
end

#image_bounding_poly_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata

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



3126
3127
3128
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3126

def image_bounding_poly_details
  @image_bounding_poly_details
end

#image_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata

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



3131
3132
3133
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3131

def image_classification_details
  @image_classification_details
end

#image_oriented_bounding_box_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata

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



3136
3137
3138
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3136

def image_oriented_bounding_box_details
  @image_oriented_bounding_box_details
end

#image_polyline_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata

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



3141
3142
3143
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3141

def image_polyline_details
  @image_polyline_details
end

#image_segmentation_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata

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



3146
3147
3148
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3146

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



3152
3153
3154
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3152

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)


3157
3158
3159
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3157

def progress_percent
  @progress_percent
end

#text_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata

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



3162
3163
3164
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3162

def text_classification_details
  @text_classification_details
end

#text_entity_extraction_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata

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



3167
3168
3169
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3167

def text_entity_extraction_details
  @text_entity_extraction_details
end

#video_classification_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata

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



3172
3173
3174
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3172

def video_classification_details
  @video_classification_details
end

#video_event_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata

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



3177
3178
3179
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3177

def video_event_details
  @video_event_details
end

#video_object_detection_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata

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



3182
3183
3184
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3182

def video_object_detection_details
  @video_object_detection_details
end

#video_object_tracking_detailsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata

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



3187
3188
3189
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3187

def video_object_tracking_details
  @video_object_tracking_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3194

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