diff --git a/api_names_out.yaml b/api_names_out.yaml index 979a3206d..524802380 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -62571,6 +62571,944 @@ "/datafusion:v1beta1/fields": fields "/datafusion:v1beta1/key": key "/datafusion:v1beta1/quotaUser": quota_user +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": google_cloud_datalabeling_v1alpha1_create_instruction_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata": google_cloud_datalabeling_v1alpha1_export_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse": google_cloud_datalabeling_v1alpha1_export_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/exportCount": export_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/labelStats": label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/outputConfig": output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1GcsDestination": google_cloud_datalabeling_v1alpha1_gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1GcsDestination/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1GcsDestination/outputUri": output_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1GcsFolderDestination": google_cloud_datalabeling_v1alpha1_gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1GcsFolderDestination/outputFolderUri": output_folder_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig": google_cloud_datalabeling_v1alpha1_human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/annotatedDatasetDescription": annotated_dataset_description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/annotatedDatasetDisplayName": annotated_dataset_display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/contributorEmails": contributor_emails +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/contributorEmails/contributor_email": contributor_email +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/labelGroup": label_group +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/languageCode": language_code +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/questionDuration": question_duration +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/replicaCount": replica_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata": google_cloud_datalabeling_v1alpha1_import_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse": google_cloud_datalabeling_v1alpha1_import_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse/importCount": import_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_bounding_poly_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_oriented_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_polyline_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata": google_cloud_datalabeling_v1alpha1_label_image_segmentation_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata": google_cloud_datalabeling_v1alpha1_label_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imageBoundingBoxDetails": image_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imageBoundingPolyDetails": image_bounding_poly_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imageClassificationDetails": image_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imageOrientedBoundingBoxDetails": image_oriented_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imagePolylineDetails": image_polyline_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/imageSegmentationDetails": image_segmentation_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/progressPercent": progress_percent +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/textClassificationDetails": text_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/textEntityExtractionDetails": text_entity_extraction_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/videoClassificationDetails": video_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/videoEventDetails": video_event_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/videoObjectDetectionDetails": video_object_detection_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelOperationMetadata/videoObjectTrackingDetails": video_object_tracking_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelStats": google_cloud_datalabeling_v1alpha1_label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelStats/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelStats/exampleCount/example_count": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata": google_cloud_datalabeling_v1alpha1_label_text_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata": google_cloud_datalabeling_v1alpha1_label_text_entity_extraction_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata": google_cloud_datalabeling_v1alpha1_label_video_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata": google_cloud_datalabeling_v1alpha1_label_video_event_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata": google_cloud_datalabeling_v1alpha1_label_video_object_detection_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata": google_cloud_datalabeling_v1alpha1_label_video_object_tracking_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1OutputConfig": google_cloud_datalabeling_v1alpha1_output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1OutputConfig/gcsDestination": gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1alpha1OutputConfig/gcsFolderDestination": gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset": google_cloud_datalabeling_v1beta1_annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/annotationSource": annotation_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/annotationType": annotation_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/blockingResources": blocking_resources +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/blockingResources/blocking_resource": blocking_resource +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/completedExampleCount": completed_example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/displayName": display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/labelStats": label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/metadata": metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDataset/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata": google_cloud_datalabeling_v1beta1_annotated_dataset_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/boundingPolyConfig": bounding_poly_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/eventConfig": event_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/humanAnnotationConfig": human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/imageClassificationConfig": image_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/objectDetectionConfig": object_detection_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/objectTrackingConfig": object_tracking_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/polylineConfig": polyline_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/segmentationConfig": segmentation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/textClassificationConfig": text_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/textEntityExtractionConfig": text_entity_extraction_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata/videoClassificationConfig": video_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation": google_cloud_datalabeling_v1beta1_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation/annotationMetadata": annotation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation/annotationSentiment": annotation_sentiment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation/annotationSource": annotation_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation/annotationValue": annotation_value +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Annotation/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationMetadata": google_cloud_datalabeling_v1beta1_annotation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationMetadata/operatorMetadata": operator_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpec": google_cloud_datalabeling_v1beta1_annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpec/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpec/displayName": display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpec/index": index +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet": google_cloud_datalabeling_v1beta1_annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/annotationSpecs": annotation_specs +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/annotationSpecs/annotation_spec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/blockingResources": blocking_resources +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/blockingResources/blocking_resource": blocking_resource +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/displayName": display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSet/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig": google_cloud_datalabeling_v1beta1_annotation_spec_set_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig/allowMultiLabel": allow_multi_label +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue": google_cloud_datalabeling_v1beta1_annotation_value +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/imageBoundingPolyAnnotation": image_bounding_poly_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/imageClassificationAnnotation": image_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/imagePolylineAnnotation": image_polyline_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/imageSegmentationAnnotation": image_segmentation_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/textClassificationAnnotation": text_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/textEntityExtractionAnnotation": text_entity_extraction_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/videoClassificationAnnotation": video_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/videoEventAnnotation": video_event_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1AnnotationValue/videoObjectTrackingAnnotation": video_object_tracking_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Attempt": google_cloud_datalabeling_v1beta1_attempt +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Attempt/attemptTime": attempt_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Attempt/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Attempt/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BigQuerySource": google_cloud_datalabeling_v1beta1_big_query_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BigQuerySource/inputUri": input_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions": google_cloud_datalabeling_v1beta1_bounding_box_evaluation_options +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions/iouThreshold": iou_threshold +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPoly": google_cloud_datalabeling_v1beta1_bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPoly/vertices": vertices +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPoly/vertices/vertex": vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPolyConfig": google_cloud_datalabeling_v1beta1_bounding_poly_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPolyConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1BoundingPolyConfig/instructionMessage": instruction_message +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ClassificationMetadata": google_cloud_datalabeling_v1beta1_classification_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ClassificationMetadata/isMultiLabel": is_multi_label +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ClassificationMetrics": google_cloud_datalabeling_v1beta1_classification_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ClassificationMetrics/confusionMatrix": confusion_matrix +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ClassificationMetrics/prCurve": pr_curve +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry": google_cloud_datalabeling_v1beta1_confidence_metrics_entry +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/confidenceThreshold": confidence_threshold +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/f1Score": f1_score +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/f1ScoreAt1": f1_score_at1 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/f1ScoreAt5": f1_score_at5 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/precision": precision +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/precisionAt1": precision_at1 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/precisionAt5": precision_at5 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/recall": recall +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/recallAt1": recall_at1 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry/recallAt5": recall_at5 +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrix": google_cloud_datalabeling_v1beta1_confusion_matrix +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrix/row": row +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrix/row/row": row +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry": google_cloud_datalabeling_v1beta1_confusion_matrix_entry +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry/itemCount": item_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest": google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateDatasetRequest": google_cloud_datalabeling_v1beta1_create_dataset_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateDatasetRequest/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest": google_cloud_datalabeling_v1beta1_create_evaluation_job_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest/job": job +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionMetadata": google_cloud_datalabeling_v1beta1_create_instruction_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionMetadata/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionRequest": google_cloud_datalabeling_v1beta1_create_instruction_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CreateInstructionRequest/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CsvInstruction": google_cloud_datalabeling_v1beta1_csv_instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1CsvInstruction/gcsFileUri": gcs_file_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1DataItem": google_cloud_datalabeling_v1beta1_data_item +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1DataItem/imagePayload": image_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1DataItem/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1DataItem/textPayload": text_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1DataItem/videoPayload": video_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset": google_cloud_datalabeling_v1beta1_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/blockingResources": blocking_resources +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/blockingResources/blocking_resource": blocking_resource +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/dataItemCount": data_item_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/displayName": display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/inputConfigs": input_configs +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/inputConfigs/input_config": input_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/lastMigrateTime": last_migrate_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Dataset/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation": google_cloud_datalabeling_v1beta1_evaluation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/annotationType": annotation_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/config": config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/evaluatedItemCount": evaluated_item_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/evaluationJobRunTime": evaluation_job_run_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/evaluationMetrics": evaluation_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Evaluation/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationConfig": google_cloud_datalabeling_v1beta1_evaluation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationConfig/boundingBoxEvaluationOptions": bounding_box_evaluation_options +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob": google_cloud_datalabeling_v1beta1_evaluation_job +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/attempts": attempts +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/attempts/attempt": attempt +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/evaluationJobConfig": evaluation_job_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/labelMissingGroundTruth": label_missing_ground_truth +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/modelVersion": model_version +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/schedule": schedule +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJob/state": state +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig": google_cloud_datalabeling_v1beta1_evaluation_job_alert_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig/email": email +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig/minAcceptableMeanAveragePrecision": min_acceptable_mean_average_precision +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig": google_cloud_datalabeling_v1beta1_evaluation_job_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/bigqueryImportKeys": bigquery_import_keys +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/bigqueryImportKeys/bigquery_import_key": bigquery_import_key +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/boundingPolyConfig": bounding_poly_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/evaluationConfig": evaluation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/evaluationJobAlertConfig": evaluation_job_alert_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/exampleSamplePercentage": example_sample_percentage +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/humanAnnotationConfig": human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/imageClassificationConfig": image_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/inputConfig": input_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationJobConfig/textClassificationConfig": text_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationMetrics": google_cloud_datalabeling_v1beta1_evaluation_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationMetrics/classificationMetrics": classification_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EvaluationMetrics/objectDetectionMetrics": object_detection_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EventConfig": google_cloud_datalabeling_v1beta1_event_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EventConfig/annotationSpecSets": annotation_spec_sets +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EventConfig/annotationSpecSets/annotation_spec_set": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EventConfig/clipLength": clip_length +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1EventConfig/overlapLength": overlap_length +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example": google_cloud_datalabeling_v1beta1_example +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/annotations": annotations +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/annotations/annotation": annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/imagePayload": image_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/textPayload": text_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Example/videoPayload": video_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExampleComparison": google_cloud_datalabeling_v1beta1_example_comparison +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExampleComparison/groundTruthExample": ground_truth_example +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExampleComparison/modelCreatedExamples": model_created_examples +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExampleComparison/modelCreatedExamples/model_created_example": model_created_example +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata": google_cloud_datalabeling_v1beta1_export_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse": google_cloud_datalabeling_v1beta1_export_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/exportCount": export_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/labelStats": label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/outputConfig": output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataRequest": google_cloud_datalabeling_v1beta1_export_data_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataRequest/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataRequest/filter": filter +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataRequest/outputConfig": output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ExportDataRequest/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage": google_cloud_datalabeling_v1beta1_feedback_message +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/body": body +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/image": image +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/operatorFeedbackMetadata": operator_feedback_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackMessage/requesterFeedbackMetadata": requester_feedback_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThread": google_cloud_datalabeling_v1beta1_feedback_thread +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThread/feedbackThreadMetadata": feedback_thread_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThread/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata": google_cloud_datalabeling_v1beta1_feedback_thread_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata/lastUpdateTime": last_update_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata/status": status +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata/thumbnail": thumbnail +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsDestination": google_cloud_datalabeling_v1beta1_gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsDestination/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsDestination/outputUri": output_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsFolderDestination": google_cloud_datalabeling_v1beta1_gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsFolderDestination/outputFolderUri": output_folder_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsSource": google_cloud_datalabeling_v1beta1_gcs_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsSource/inputUri": input_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1GcsSource/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig": google_cloud_datalabeling_v1beta1_human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/annotatedDatasetDescription": annotated_dataset_description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/annotatedDatasetDisplayName": annotated_dataset_display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/contributorEmails": contributor_emails +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/contributorEmails/contributor_email": contributor_email +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/labelGroup": label_group +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/languageCode": language_code +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/questionDuration": question_duration +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/replicaCount": replica_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1HumanAnnotationConfig/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation": google_cloud_datalabeling_v1beta1_image_bounding_poly_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation/boundingPoly": bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation/normalizedBoundingPoly": normalized_bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation": google_cloud_datalabeling_v1beta1_image_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationConfig": google_cloud_datalabeling_v1beta1_image_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationConfig/allowMultiLabel": allow_multi_label +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageClassificationConfig/answerAggregationType": answer_aggregation_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePayload": google_cloud_datalabeling_v1beta1_image_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePayload/imageThumbnail": image_thumbnail +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePayload/imageUri": image_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePayload/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePayload/signedUri": signed_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation": google_cloud_datalabeling_v1beta1_image_polyline_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation/normalizedPolyline": normalized_polyline +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation/polyline": polyline +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation": google_cloud_datalabeling_v1beta1_image_segmentation_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation/annotationColors": annotation_colors +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation/annotationColors/annotation_color": annotation_color +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation/imageBytes": image_bytes +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata": google_cloud_datalabeling_v1beta1_import_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationResponse": google_cloud_datalabeling_v1beta1_import_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationResponse/importCount": import_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataRequest": google_cloud_datalabeling_v1beta1_import_data_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataRequest/inputConfig": input_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ImportDataRequest/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig": google_cloud_datalabeling_v1beta1_input_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/annotationType": annotation_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/bigquerySource": bigquery_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/classificationMetadata": classification_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/dataType": data_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/gcsSource": gcs_source +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1InputConfig/textMetadata": text_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction": google_cloud_datalabeling_v1beta1_instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/blockingResources": blocking_resources +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/blockingResources/blocking_resource": blocking_resource +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/csvInstruction": csv_instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/dataType": data_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/description": description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/displayName": display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/name": name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/pdfInstruction": pdf_instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Instruction/updateTime": update_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_bounding_poly_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_oriented_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_polyline_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest": google_cloud_datalabeling_v1beta1_label_image_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/boundingPolyConfig": bounding_poly_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/feature": feature +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/imageClassificationConfig": image_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/polylineConfig": polyline_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageRequest/segmentationConfig": segmentation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata": google_cloud_datalabeling_v1beta1_label_image_segmentation_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata": google_cloud_datalabeling_v1beta1_label_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imageBoundingBoxDetails": image_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imageBoundingPolyDetails": image_bounding_poly_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imageClassificationDetails": image_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imageOrientedBoundingBoxDetails": image_oriented_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imagePolylineDetails": image_polyline_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/imageSegmentationDetails": image_segmentation_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/progressPercent": progress_percent +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/textClassificationDetails": text_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/textEntityExtractionDetails": text_entity_extraction_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/videoClassificationDetails": video_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/videoEventDetails": video_event_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/videoObjectDetectionDetails": video_object_detection_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelOperationMetadata/videoObjectTrackingDetails": video_object_tracking_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelStats": google_cloud_datalabeling_v1beta1_label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelStats/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelStats/exampleCount/example_count": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata": google_cloud_datalabeling_v1beta1_label_text_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata": google_cloud_datalabeling_v1beta1_label_text_entity_extraction_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextRequest": google_cloud_datalabeling_v1beta1_label_text_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextRequest/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextRequest/feature": feature +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextRequest/textClassificationConfig": text_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelTextRequest/textEntityExtractionConfig": text_entity_extraction_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata": google_cloud_datalabeling_v1beta1_label_video_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata": google_cloud_datalabeling_v1beta1_label_video_event_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata": google_cloud_datalabeling_v1beta1_label_video_object_detection_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata": google_cloud_datalabeling_v1beta1_label_video_object_tracking_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest": google_cloud_datalabeling_v1beta1_label_video_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/eventConfig": event_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/feature": feature +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/objectDetectionConfig": object_detection_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/objectTrackingConfig": object_tracking_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1LabelVideoRequest/videoClassificationConfig": video_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse": google_cloud_datalabeling_v1beta1_list_annotated_datasets_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse/annotatedDatasets": annotated_datasets +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse/annotatedDatasets/annotated_dataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse": google_cloud_datalabeling_v1beta1_list_annotation_spec_sets_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse/annotationSpecSets": annotation_spec_sets +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse/annotationSpecSets/annotation_spec_set": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDataItemsResponse": google_cloud_datalabeling_v1beta1_list_data_items_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDataItemsResponse/dataItems": data_items +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDataItemsResponse/dataItems/data_item": data_item +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDataItemsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDatasetsResponse": google_cloud_datalabeling_v1beta1_list_datasets_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDatasetsResponse/datasets": datasets +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDatasetsResponse/datasets/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListDatasetsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse": google_cloud_datalabeling_v1beta1_list_evaluation_jobs_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse/evaluationJobs": evaluation_jobs +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse/evaluationJobs/evaluation_job": evaluation_job +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListExamplesResponse": google_cloud_datalabeling_v1beta1_list_examples_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListExamplesResponse/examples": examples +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListExamplesResponse/examples/example": example +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListExamplesResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse": google_cloud_datalabeling_v1beta1_list_feedback_messages_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse/feedbackMessages": feedback_messages +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse/feedbackMessages/feedback_message": feedback_message +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse": google_cloud_datalabeling_v1beta1_list_feedback_threads_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse/feedbackThreads": feedback_threads +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse/feedbackThreads/feedback_thread": feedback_thread +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListInstructionsResponse": google_cloud_datalabeling_v1beta1_list_instructions_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListInstructionsResponse/instructions": instructions +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListInstructionsResponse/instructions/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ListInstructionsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly": google_cloud_datalabeling_v1beta1_normalized_bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly/normalizedVertices": normalized_vertices +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly/normalizedVertices/normalized_vertex": normalized_vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedPolyline": google_cloud_datalabeling_v1beta1_normalized_polyline +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedPolyline/normalizedVertices": normalized_vertices +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedPolyline/normalizedVertices/normalized_vertex": normalized_vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedVertex": google_cloud_datalabeling_v1beta1_normalized_vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedVertex/x": x +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1NormalizedVertex/y": y +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectDetectionConfig": google_cloud_datalabeling_v1beta1_object_detection_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectDetectionConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectDetectionConfig/extractionFrameRate": extraction_frame_rate +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics": google_cloud_datalabeling_v1beta1_object_detection_metrics +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics/prCurve": pr_curve +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingConfig": google_cloud_datalabeling_v1beta1_object_tracking_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingConfig/clipLength": clip_length +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingConfig/overlapLength": overlap_length +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingFrame": google_cloud_datalabeling_v1beta1_object_tracking_frame +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingFrame/boundingPoly": bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingFrame/normalizedBoundingPoly": normalized_bounding_poly +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ObjectTrackingFrame/timeOffset": time_offset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata": google_cloud_datalabeling_v1beta1_operator_feedback_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata": google_cloud_datalabeling_v1beta1_operator_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata/comments": comments +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata/comments/comment": comment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata/labelVotes": label_votes +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata/score": score +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OperatorMetadata/totalVotes": total_votes +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OutputConfig": google_cloud_datalabeling_v1beta1_output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OutputConfig/gcsDestination": gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1OutputConfig/gcsFolderDestination": gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest": google_cloud_datalabeling_v1beta1_pause_evaluation_job_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PdfInstruction": google_cloud_datalabeling_v1beta1_pdf_instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PdfInstruction/gcsFileUri": gcs_file_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Polyline": google_cloud_datalabeling_v1beta1_polyline +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Polyline/vertices": vertices +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Polyline/vertices/vertex": vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PolylineConfig": google_cloud_datalabeling_v1beta1_polyline_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PolylineConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PolylineConfig/instructionMessage": instruction_message +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve": google_cloud_datalabeling_v1beta1_pr_curve +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve/areaUnderCurve": area_under_curve +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve/confidenceMetricsEntries": confidence_metrics_entries +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve/confidenceMetricsEntries/confidence_metrics_entry": confidence_metrics_entry +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1PrCurve/meanAveragePrecision": mean_average_precision +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata": google_cloud_datalabeling_v1beta1_requester_feedback_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest": google_cloud_datalabeling_v1beta1_resume_evaluation_job_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Row": google_cloud_datalabeling_v1beta1_row +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Row/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Row/entries": entries +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Row/entries/entry": entry +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse": google_cloud_datalabeling_v1beta1_search_evaluations_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse/evaluations": evaluations +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse/evaluations/evaluation": evaluation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest": google_cloud_datalabeling_v1beta1_search_example_comparisons_request +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest/pageSize": page_size +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest/pageToken": page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse": google_cloud_datalabeling_v1beta1_search_example_comparisons_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse/exampleComparisons": example_comparisons +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse/exampleComparisons/example_comparison": example_comparison +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SegmentationConfig": google_cloud_datalabeling_v1beta1_segmentation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SegmentationConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SegmentationConfig/instructionMessage": instruction_message +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SentimentConfig": google_cloud_datalabeling_v1beta1_sentiment_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SentimentConfig/enableLabelSentimentSelection": enable_label_sentiment_selection +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SequentialSegment": google_cloud_datalabeling_v1beta1_sequential_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SequentialSegment/end": end +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1SequentialSegment/start": start +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationAnnotation": google_cloud_datalabeling_v1beta1_text_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationConfig": google_cloud_datalabeling_v1beta1_text_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationConfig/allowMultiLabel": allow_multi_label +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextClassificationConfig/sentimentConfig": sentiment_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation": google_cloud_datalabeling_v1beta1_text_entity_extraction_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation/sequentialSegment": sequential_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig": google_cloud_datalabeling_v1beta1_text_entity_extraction_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig/annotationSpecSet": annotation_spec_set +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextMetadata": google_cloud_datalabeling_v1beta1_text_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextMetadata/languageCode": language_code +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextPayload": google_cloud_datalabeling_v1beta1_text_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TextPayload/textContent": text_content +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TimeSegment": google_cloud_datalabeling_v1beta1_time_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TimeSegment/endTimeOffset": end_time_offset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1TimeSegment/startTimeOffset": start_time_offset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Vertex": google_cloud_datalabeling_v1beta1_vertex +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Vertex/x": x +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1Vertex/y": y +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation": google_cloud_datalabeling_v1beta1_video_classification_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation/timeSegment": time_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationConfig": google_cloud_datalabeling_v1beta1_video_classification_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationConfig/annotationSpecSetConfigs": annotation_spec_set_configs +? "/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationConfig/annotationSpecSetConfigs/annotation_spec_set_config" +: annotation_spec_set_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoClassificationConfig/applyShotDetection": apply_shot_detection +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoEventAnnotation": google_cloud_datalabeling_v1beta1_video_event_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoEventAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoEventAnnotation/timeSegment": time_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation": google_cloud_datalabeling_v1beta1_video_object_tracking_annotation +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation/annotationSpec": annotation_spec +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation/objectTrackingFrames": object_tracking_frames +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation/objectTrackingFrames/object_tracking_frame": object_tracking_frame +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation/timeSegment": time_segment +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload": google_cloud_datalabeling_v1beta1_video_payload +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/frameRate": frame_rate +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/signedUri": signed_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/videoThumbnails": video_thumbnails +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/videoThumbnails/video_thumbnail": video_thumbnail +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoPayload/videoUri": video_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoThumbnail": google_cloud_datalabeling_v1beta1_video_thumbnail +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoThumbnail/thumbnail": thumbnail +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1beta1VideoThumbnail/timeOffset": time_offset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata": google_cloud_datalabeling_v1p1alpha1_create_instruction_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata": google_cloud_datalabeling_v1p1alpha1_export_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse": google_cloud_datalabeling_v1p1alpha1_export_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/exportCount": export_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/labelStats": label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/outputConfig": output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GcsDestination": google_cloud_datalabeling_v1p1alpha1_gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GcsDestination/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GcsDestination/outputUri": output_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination": google_cloud_datalabeling_v1p1alpha1_gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination/outputFolderUri": output_folder_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata": google_cloud_datalabeling_v1p1alpha1_generate_analysis_report_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig": google_cloud_datalabeling_v1p1alpha1_human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/annotatedDatasetDescription": annotated_dataset_description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/annotatedDatasetDisplayName": annotated_dataset_display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/contributorEmails": contributor_emails +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/contributorEmails/contributor_email": contributor_email +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/labelGroup": label_group +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/languageCode": language_code +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/questionDuration": question_duration +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/replicaCount": replica_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata": google_cloud_datalabeling_v1p1alpha1_import_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse": google_cloud_datalabeling_v1p1alpha1_import_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse/importCount": import_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_bounding_poly_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_oriented_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_polyline_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_image_segmentation_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imageBoundingBoxDetails": image_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imageBoundingPolyDetails": image_bounding_poly_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imageClassificationDetails": image_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imageOrientedBoundingBoxDetails": image_oriented_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imagePolylineDetails": image_polyline_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/imageSegmentationDetails": image_segmentation_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/progressPercent": progress_percent +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/textClassificationDetails": text_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/textEntityExtractionDetails": text_entity_extraction_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/videoClassificationDetails": video_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/videoEventDetails": video_event_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/videoObjectDetectionDetails": video_object_detection_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata/videoObjectTrackingDetails": video_object_tracking_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelStats": google_cloud_datalabeling_v1p1alpha1_label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelStats/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelStats/exampleCount/example_count": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_text_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_text_entity_extraction_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_video_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_video_event_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_video_object_detection_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata": google_cloud_datalabeling_v1p1alpha1_label_video_object_tracking_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1OutputConfig": google_cloud_datalabeling_v1p1alpha1_output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1OutputConfig/gcsDestination": gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p1alpha1OutputConfig/gcsFolderDestination": gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata": google_cloud_datalabeling_v1p2alpha1_create_instruction_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata": google_cloud_datalabeling_v1p2alpha1_export_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse": google_cloud_datalabeling_v1p2alpha1_export_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/exportCount": export_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/labelStats": label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/outputConfig": output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1GcsDestination": google_cloud_datalabeling_v1p2alpha1_gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1GcsDestination/mimeType": mime_type +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1GcsDestination/outputUri": output_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination": google_cloud_datalabeling_v1p2alpha1_gcs_folder_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination/outputFolderUri": output_folder_uri +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig": google_cloud_datalabeling_v1p2alpha1_human_annotation_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/annotatedDatasetDescription": annotated_dataset_description +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/annotatedDatasetDisplayName": annotated_dataset_display_name +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/contributorEmails": contributor_emails +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/contributorEmails/contributor_email": contributor_email +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/instruction": instruction +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/labelGroup": label_group +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/languageCode": language_code +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/questionDuration": question_duration +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/replicaCount": replica_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig/userEmailAddress": user_email_address +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata": google_cloud_datalabeling_v1p2alpha1_import_data_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse": google_cloud_datalabeling_v1p2alpha1_import_data_operation_response +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse/importCount": import_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse/totalCount": total_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_bounding_poly_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_oriented_bounding_box_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_polyline_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_image_segmentation_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/annotatedDataset": annotated_dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/createTime": create_time +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/dataset": dataset +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imageBoundingBoxDetails": image_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imageBoundingPolyDetails": image_bounding_poly_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imageClassificationDetails": image_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imageOrientedBoundingBoxDetails": image_oriented_bounding_box_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imagePolylineDetails": image_polyline_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/imageSegmentationDetails": image_segmentation_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/partialFailures": partial_failures +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/partialFailures/partial_failure": partial_failure +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/progressPercent": progress_percent +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/textClassificationDetails": text_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/textEntityExtractionDetails": text_entity_extraction_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/videoClassificationDetails": video_classification_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/videoEventDetails": video_event_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/videoObjectDetectionDetails": video_object_detection_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata/videoObjectTrackingDetails": video_object_tracking_details +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelStats": google_cloud_datalabeling_v1p2alpha1_label_stats +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelStats/exampleCount": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelStats/exampleCount/example_count": example_count +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_text_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_text_entity_extraction_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_video_classification_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_video_event_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_video_object_detection_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata": google_cloud_datalabeling_v1p2alpha1_label_video_object_tracking_operation_metadata +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata/basicConfig": basic_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1OutputConfig": google_cloud_datalabeling_v1p2alpha1_output_config +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1OutputConfig/gcsDestination": gcs_destination +"/datalabeling:v1beta1/GoogleCloudDatalabelingV1p2alpha1OutputConfig/gcsFolderDestination": gcs_folder_destination +"/datalabeling:v1beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response +"/datalabeling:v1beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token +"/datalabeling:v1beta1/GoogleLongrunningListOperationsResponse/operations": operations +"/datalabeling:v1beta1/GoogleLongrunningListOperationsResponse/operations/operation": operation +"/datalabeling:v1beta1/GoogleLongrunningOperation": google_longrunning_operation +"/datalabeling:v1beta1/GoogleLongrunningOperation/done": done +"/datalabeling:v1beta1/GoogleLongrunningOperation/error": error +"/datalabeling:v1beta1/GoogleLongrunningOperation/metadata": metadata +"/datalabeling:v1beta1/GoogleLongrunningOperation/metadata/metadatum": metadatum +"/datalabeling:v1beta1/GoogleLongrunningOperation/name": name +"/datalabeling:v1beta1/GoogleLongrunningOperation/response": response +"/datalabeling:v1beta1/GoogleLongrunningOperation/response/response": response +"/datalabeling:v1beta1/GoogleProtobufEmpty": google_protobuf_empty +"/datalabeling:v1beta1/GoogleRpcStatus": google_rpc_status +"/datalabeling:v1beta1/GoogleRpcStatus/code": code +"/datalabeling:v1beta1/GoogleRpcStatus/details": details +"/datalabeling:v1beta1/GoogleRpcStatus/details/detail": detail +"/datalabeling:v1beta1/GoogleRpcStatus/details/detail/detail": detail +"/datalabeling:v1beta1/GoogleRpcStatus/message": message +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.create": create_project_annotation_spec_set +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.create/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.delete": delete_project_annotation_spec_set +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.get": get_project_annotation_spec_set +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.list": list_project_annotation_spec_sets +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.annotationSpecSets.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.get": get_project_dataset_annotated_dataset_data_item +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.list": list_project_dataset_annotated_dataset_data_items +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.dataItems.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.delete": delete_project_dataset_annotated_dataset +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.get": get_project_dataset_annotated_dataset_example +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.get/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.list": list_project_dataset_annotated_dataset_examples +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.examples.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.delete": delete_project_dataset_annotated_dataset_feedback_thread +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create": create_project_dataset_annotated_dataset_feedback_thread_feedback_message +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.delete": delete_project_dataset_annotated_dataset_feedback_thread_feedback_message +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.get": get_project_dataset_annotated_dataset_feedback_thread_feedback_message +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list": list_project_dataset_annotated_dataset_feedback_thread_feedback_messages +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.get": get_project_dataset_annotated_dataset_feedback_thread +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list": list_project_dataset_annotated_dataset_feedback_threads +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.get": get_project_dataset_annotated_dataset +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.list": list_project_dataset_annotated_datasets +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.annotatedDatasets.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.create": create_project_dataset +"/datalabeling:v1beta1/datalabeling.projects.datasets.create/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.get": get_project_dataset_data_item +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.list": list_project_dataset_data_items +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.dataItems.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.delete": delete_project_dataset +"/datalabeling:v1beta1/datalabeling.projects.datasets.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.evaluations.exampleComparisons.search": search_project_dataset_evaluation_example_comparisons +"/datalabeling:v1beta1/datalabeling.projects.datasets.evaluations.exampleComparisons.search/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.evaluations.get": get_project_dataset_evaluation +"/datalabeling:v1beta1/datalabeling.projects.datasets.evaluations.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.exportData": export_project_dataset_data +"/datalabeling:v1beta1/datalabeling.projects.datasets.exportData/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.get": get_project_dataset +"/datalabeling:v1beta1/datalabeling.projects.datasets.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.image.label": label_project_dataset_image +"/datalabeling:v1beta1/datalabeling.projects.datasets.image.label/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.importData": import_project_dataset_data +"/datalabeling:v1beta1/datalabeling.projects.datasets.importData/name": name +"/datalabeling:v1beta1/datalabeling.projects.datasets.list": list_project_datasets +"/datalabeling:v1beta1/datalabeling.projects.datasets.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.datasets.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.datasets.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.datasets.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.text.label": label_project_dataset_text +"/datalabeling:v1beta1/datalabeling.projects.datasets.text.label/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.datasets.video.label": label_project_dataset_video +"/datalabeling:v1beta1/datalabeling.projects.datasets.video.label/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.create": create_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.create/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.delete": delete_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.get": get_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.list": list_project_evaluation_jobs +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.patch": patch_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.patch/name": name +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.patch/updateMask": update_mask +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.pause": pause_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.pause/name": name +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.resume": resume_project_evaluation_job +"/datalabeling:v1beta1/datalabeling.projects.evaluationJobs.resume/name": name +"/datalabeling:v1beta1/datalabeling.projects.evaluations.search": search_project_evaluations +"/datalabeling:v1beta1/datalabeling.projects.evaluations.search/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.evaluations.search/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.evaluations.search/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.evaluations.search/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.instructions.create": create_project_instruction +"/datalabeling:v1beta1/datalabeling.projects.instructions.create/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.instructions.delete": delete_project_instruction +"/datalabeling:v1beta1/datalabeling.projects.instructions.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.instructions.get": get_project_instruction +"/datalabeling:v1beta1/datalabeling.projects.instructions.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.instructions.list": list_project_instructions +"/datalabeling:v1beta1/datalabeling.projects.instructions.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.instructions.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.instructions.list/pageToken": page_token +"/datalabeling:v1beta1/datalabeling.projects.instructions.list/parent": parent +"/datalabeling:v1beta1/datalabeling.projects.operations.cancel": cancel_project_operation +"/datalabeling:v1beta1/datalabeling.projects.operations.cancel/name": name +"/datalabeling:v1beta1/datalabeling.projects.operations.delete": delete_project_operation +"/datalabeling:v1beta1/datalabeling.projects.operations.delete/name": name +"/datalabeling:v1beta1/datalabeling.projects.operations.get": get_project_operation +"/datalabeling:v1beta1/datalabeling.projects.operations.get/name": name +"/datalabeling:v1beta1/datalabeling.projects.operations.list": list_project_operations +"/datalabeling:v1beta1/datalabeling.projects.operations.list/filter": filter +"/datalabeling:v1beta1/datalabeling.projects.operations.list/name": name +"/datalabeling:v1beta1/datalabeling.projects.operations.list/pageSize": page_size +"/datalabeling:v1beta1/datalabeling.projects.operations.list/pageToken": page_token +"/datalabeling:v1beta1/fields": fields +"/datalabeling:v1beta1/key": key +"/datalabeling:v1beta1/quotaUser": quota_user "/dataproc:v1/AcceleratorConfig": accelerator_config "/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count "/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri diff --git a/generated/google/apis/datalabeling_v1beta1.rb b/generated/google/apis/datalabeling_v1beta1.rb new file mode 100644 index 000000000..2993e5612 --- /dev/null +++ b/generated/google/apis/datalabeling_v1beta1.rb @@ -0,0 +1,34 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/datalabeling_v1beta1/service.rb' +require 'google/apis/datalabeling_v1beta1/classes.rb' +require 'google/apis/datalabeling_v1beta1/representations.rb' + +module Google + module Apis + # Data Labeling API + # + # Public API for Google Cloud AI Data Labeling Service. + # + # @see https://cloud.google.com/data-labeling/docs/ + module DatalabelingV1beta1 + VERSION = 'V1beta1' + REVISION = '20201020' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/datalabeling_v1beta1/classes.rb b/generated/google/apis/datalabeling_v1beta1/classes.rb new file mode 100644 index 000000000..1e2fb639c --- /dev/null +++ b/generated/google/apis/datalabeling_v1beta1/classes.rb @@ -0,0 +1,6207 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatalabelingV1beta1 + + # Metadata of a CreateInstruction operation. + class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata + include Google::Apis::Core::Hashable + + # Timestamp when create instruction request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The name of the created Instruction. projects/`project_id`/instructions/` + # instruction_id` + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @instruction = args[:instruction] if args.key?(:instruction) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Metadata of an ExportData operation. + class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when export dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be exported. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ExportDataset longrunning operation. + class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Ouptut only. The name of dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples exported successfully. + # Corresponds to the JSON property `exportCount` + # @return [Fixnum] + attr_accessor :export_count + + # Statistics about annotation specs. + # Corresponds to the JSON property `labelStats` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelStats] + attr_accessor :label_stats + + # The configuration of output data. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1OutputConfig] + attr_accessor :output_config + + # Output only. Total number of examples requested to export + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset) + @dataset = args[:dataset] if args.key?(:dataset) + @export_count = args[:export_count] if args.key?(:export_count) + @label_stats = args[:label_stats] if args.key?(:label_stats) + @output_config = args[:output_config] if args.key?(:output_config) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Export destination of the data.Only gcs path is allowed in output_uri. + class GoogleCloudDatalabelingV1alpha1GcsDestination + include Google::Apis::Core::Hashable + + # Required. The format of the gcs destination. Only "text/csv" and "application/ + # json" are supported. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Required. The output uri of destination file. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # Export folder destination of the data. + class GoogleCloudDatalabelingV1alpha1GcsFolderDestination + include Google::Apis::Core::Hashable + + # Required. Cloud Storage directory to export data to. + # Corresponds to the JSON property `outputFolderUri` + # @return [String] + attr_accessor :output_folder_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_folder_uri = args[:output_folder_uri] if args.key?(:output_folder_uri) + end + end + + # Configuration for how human labeling task should be done. + class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig + include Google::Apis::Core::Hashable + + # Optional. A human-readable description for AnnotatedDataset. The description + # can be up to 10000 characters long. + # Corresponds to the JSON property `annotatedDatasetDescription` + # @return [String] + attr_accessor :annotated_dataset_description + + # Required. A human-readable name for AnnotatedDataset defined by users. Maximum + # of 64 characters . + # Corresponds to the JSON property `annotatedDatasetDisplayName` + # @return [String] + attr_accessor :annotated_dataset_display_name + + # Optional. If you want your own labeling contributors to manage and work on + # this labeling request, you can set these contributors here. We will give them + # access to the question types in crowdcompute. Note that these emails must be + # registered in crowdcompute worker UI: https://crowd-compute.appspot.com/ + # Corresponds to the JSON property `contributorEmails` + # @return [Array] + attr_accessor :contributor_emails + + # Required. Instruction resource name. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Optional. A human-readable label used to logically group labeling tasks. This + # string must match the regular expression `[a-zA-Z\\d_-]`0,128``. + # Corresponds to the JSON property `labelGroup` + # @return [String] + attr_accessor :label_group + + # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor. + # org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when + # task is language related. For example, French text classification. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Optional. Maximum duration for contributors to answer a question. Maximum is + # 3600 seconds. Default is 3600 seconds. + # Corresponds to the JSON property `questionDuration` + # @return [String] + attr_accessor :question_duration + + # Optional. Replication of questions. Each question will be sent to up to this + # number of contributors to label. Aggregated answers will be returned. Default + # is set to 1. For image related labeling, valid values are 1, 3, 5. + # Corresponds to the JSON property `replicaCount` + # @return [Fixnum] + attr_accessor :replica_count + + # Email of the user who started the labeling task and should be notified by + # email. If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset_description = args[:annotated_dataset_description] if args.key?(:annotated_dataset_description) + @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name) + @contributor_emails = args[:contributor_emails] if args.key?(:contributor_emails) + @instruction = args[:instruction] if args.key?(:instruction) + @label_group = args[:label_group] if args.key?(:label_group) + @language_code = args[:language_code] if args.key?(:language_code) + @question_duration = args[:question_duration] if args.key?(:question_duration) + @replica_count = args[:replica_count] if args.key?(:replica_count) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # Metadata of an ImportData operation. + class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. Timestamp when import dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of imported dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @dataset = args[:dataset] if args.key?(:dataset) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ImportData longrunning operation. + class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse + include Google::Apis::Core::Hashable + + # Ouptut only. The name of imported dataset. + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples imported successfully. + # Corresponds to the JSON property `importCount` + # @return [Fixnum] + attr_accessor :import_count + + # Output only. Total number of examples requested to import + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + @import_count = args[:import_count] if args.key?(:import_count) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Details of a LabelImageBoundingBox operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImageBoundingPoly operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a LabelImageClassification operation. + class GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageOrientedBoundingBox operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImagePolyline operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageSegmentation operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: + # 23 + class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when labeling request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be labeled. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Details of a LabelImageBoundingBox operation metadata. + # Corresponds to the JSON property `imageBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata] + attr_accessor :image_bounding_box_details + + # Details of LabelImageBoundingPoly operation metadata. + # Corresponds to the JSON property `imageBoundingPolyDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata] + attr_accessor :image_bounding_poly_details + + # Metadata of a LabelImageClassification operation. + # Corresponds to the JSON property `imageClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata] + attr_accessor :image_classification_details + + # Details of a LabelImageOrientedBoundingBox operation metadata. + # Corresponds to the JSON property `imageOrientedBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata] + attr_accessor :image_oriented_bounding_box_details + + # Details of LabelImagePolyline operation metadata. + # Corresponds to the JSON property `imagePolylineDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata] + attr_accessor :image_polyline_details + + # Details of a LabelImageSegmentation operation metadata. + # Corresponds to the JSON property `imageSegmentationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata] + attr_accessor :image_segmentation_details + + # 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` + # @return [Array] + attr_accessor :partial_failures + + # Output only. Progress of label operation. Range: [0, 100]. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Details of a LabelTextClassification operation metadata. + # Corresponds to the JSON property `textClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata] + attr_accessor :text_classification_details + + # Details of a LabelTextEntityExtraction operation metadata. + # Corresponds to the JSON property `textEntityExtractionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata] + attr_accessor :text_entity_extraction_details + + # Details of a LabelVideoClassification operation metadata. + # Corresponds to the JSON property `videoClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata] + attr_accessor :video_classification_details + + # Details of a LabelVideoEvent operation metadata. + # Corresponds to the JSON property `videoEventDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata] + attr_accessor :video_event_details + + # Details of a LabelVideoObjectDetection operation metadata. + # Corresponds to the JSON property `videoObjectDetectionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata] + attr_accessor :video_object_detection_details + + # Details of a LabelVideoObjectTracking operation metadata. + # Corresponds to the JSON property `videoObjectTrackingDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata] + attr_accessor :video_object_tracking_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + + # Statistics about annotation specs. + class GoogleCloudDatalabelingV1alpha1LabelStats + include Google::Apis::Core::Hashable + + # Map of each annotation spec's example count. Key is the annotation spec name + # and value is the number of examples for that annotation spec. If the annotated + # dataset does not have annotation spec, the map will return a pair where the + # key is empty string and value is the total number of annotations. + # Corresponds to the JSON property `exampleCount` + # @return [Hash] + attr_accessor :example_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @example_count = args[:example_count] if args.key?(:example_count) + end + end + + # Details of a LabelTextClassification operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelTextEntityExtraction operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoClassification operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoEvent operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectDetection operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectTracking operation metadata. + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # The configuration of output data. + class GoogleCloudDatalabelingV1alpha1OutputConfig + include Google::Apis::Core::Hashable + + # Export destination of the data.Only gcs path is allowed in output_uri. + # Corresponds to the JSON property `gcsDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsDestination] + attr_accessor :gcs_destination + + # Export folder destination of the data. + # Corresponds to the JSON property `gcsFolderDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsFolderDestination] + attr_accessor :gcs_folder_destination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) + @gcs_folder_destination = args[:gcs_folder_destination] if args.key?(:gcs_folder_destination) + end + end + + # AnnotatedDataset is a set holding annotations for data in a Dataset. Each + # labeling task will generate an AnnotatedDataset under the Dataset that the + # task is requested for. + class GoogleCloudDatalabelingV1beta1AnnotatedDataset + include Google::Apis::Core::Hashable + + # Output only. Source of the annotation. + # Corresponds to the JSON property `annotationSource` + # @return [String] + attr_accessor :annotation_source + + # Output only. Type of the annotation. It is specified when starting labeling + # task. + # Corresponds to the JSON property `annotationType` + # @return [String] + attr_accessor :annotation_type + + # Output only. The names of any related resources that are blocking changes to + # the annotated dataset. + # Corresponds to the JSON property `blockingResources` + # @return [Array] + attr_accessor :blocking_resources + + # Output only. Number of examples that have annotation in the annotated dataset. + # Corresponds to the JSON property `completedExampleCount` + # @return [Fixnum] + attr_accessor :completed_example_count + + # Output only. Time the AnnotatedDataset was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The description of the AnnotatedDataset. It is specified in + # HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 + # characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. The display name of the AnnotatedDataset. It is specified in + # HumanAnnotationConfig when user starts a labeling task. Maximum of 64 + # characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. Number of examples in the annotated dataset. + # Corresponds to the JSON property `exampleCount` + # @return [Fixnum] + attr_accessor :example_count + + # Statistics about annotation specs. + # Corresponds to the JSON property `labelStats` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats] + attr_accessor :label_stats + + # Metadata on AnnotatedDataset. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata] + attr_accessor :metadata + + # Output only. AnnotatedDataset resource name in format of: projects/`project_id` + # /datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_source = args[:annotation_source] if args.key?(:annotation_source) + @annotation_type = args[:annotation_type] if args.key?(:annotation_type) + @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) + @completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @example_count = args[:example_count] if args.key?(:example_count) + @label_stats = args[:label_stats] if args.key?(:label_stats) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + + # Metadata on AnnotatedDataset. + class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata + include Google::Apis::Core::Hashable + + # Config for image bounding poly (and bounding box) human labeling task. + # Corresponds to the JSON property `boundingPolyConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig] + attr_accessor :bounding_poly_config + + # Config for video event human labeling task. + # Corresponds to the JSON property `eventConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig] + attr_accessor :event_config + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `humanAnnotationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :human_annotation_config + + # Config for image classification human labeling task. + # Corresponds to the JSON property `imageClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig] + attr_accessor :image_classification_config + + # Config for video object detection human labeling task. Object detection will + # be conducted on the images extracted from the video, and those objects will be + # labeled with bounding boxes. User need to specify the number of images to be + # extracted per second as the extraction frame rate. + # Corresponds to the JSON property `objectDetectionConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig] + attr_accessor :object_detection_config + + # Config for video object tracking human labeling task. + # Corresponds to the JSON property `objectTrackingConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig] + attr_accessor :object_tracking_config + + # Config for image polyline human labeling task. + # Corresponds to the JSON property `polylineConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig] + attr_accessor :polyline_config + + # Config for image segmentation + # Corresponds to the JSON property `segmentationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig] + attr_accessor :segmentation_config + + # Config for text classification human labeling task. + # Corresponds to the JSON property `textClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig] + attr_accessor :text_classification_config + + # Config for text entity extraction human labeling task. + # Corresponds to the JSON property `textEntityExtractionConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig] + attr_accessor :text_entity_extraction_config + + # Config for video classification human labeling task. Currently two types of + # video classification are supported: 1. Assign labels on the entire video. 2. + # Split the video into multiple video clips based on camera shot, and assign + # labels on each video clip. + # Corresponds to the JSON property `videoClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig] + attr_accessor :video_classification_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_poly_config = args[:bounding_poly_config] if args.key?(:bounding_poly_config) + @event_config = args[:event_config] if args.key?(:event_config) + @human_annotation_config = args[:human_annotation_config] if args.key?(:human_annotation_config) + @image_classification_config = args[:image_classification_config] if args.key?(:image_classification_config) + @object_detection_config = args[:object_detection_config] if args.key?(:object_detection_config) + @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) + @polyline_config = args[:polyline_config] if args.key?(:polyline_config) + @segmentation_config = args[:segmentation_config] if args.key?(:segmentation_config) + @text_classification_config = args[:text_classification_config] if args.key?(:text_classification_config) + @text_entity_extraction_config = args[:text_entity_extraction_config] if args.key?(:text_entity_extraction_config) + @video_classification_config = args[:video_classification_config] if args.key?(:video_classification_config) + end + end + + # Annotation for Example. Each example may have one or more annotations. For + # example in image classification problem, each image might have one or more + # labels. We call labels binded with this image an Annotation. + class GoogleCloudDatalabelingV1beta1Annotation + include Google::Apis::Core::Hashable + + # Additional information associated with the annotation. + # Corresponds to the JSON property `annotationMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationMetadata] + attr_accessor :annotation_metadata + + # Output only. Sentiment for this annotation. + # Corresponds to the JSON property `annotationSentiment` + # @return [String] + attr_accessor :annotation_sentiment + + # Output only. The source of the annotation. + # Corresponds to the JSON property `annotationSource` + # @return [String] + attr_accessor :annotation_source + + # Annotation value for an example. + # Corresponds to the JSON property `annotationValue` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue] + attr_accessor :annotation_value + + # Output only. Unique name of this annotation, format is: projects/`project_id`/ + # datasets/`dataset_id`/annotatedDatasets/`annotated_dataset`/examples/` + # example_id`/annotations/`annotation_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_metadata = args[:annotation_metadata] if args.key?(:annotation_metadata) + @annotation_sentiment = args[:annotation_sentiment] if args.key?(:annotation_sentiment) + @annotation_source = args[:annotation_source] if args.key?(:annotation_source) + @annotation_value = args[:annotation_value] if args.key?(:annotation_value) + @name = args[:name] if args.key?(:name) + end + end + + # Additional information associated with the annotation. + class GoogleCloudDatalabelingV1beta1AnnotationMetadata + include Google::Apis::Core::Hashable + + # General information useful for labels coming from contributors. + # Corresponds to the JSON property `operatorMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorMetadata] + attr_accessor :operator_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operator_metadata = args[:operator_metadata] if args.key?(:operator_metadata) + end + end + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + class GoogleCloudDatalabelingV1beta1AnnotationSpec + include Google::Apis::Core::Hashable + + # Optional. User-provided description of the annotation specification. The + # description can be up to 10,000 characters long. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name of the AnnotationSpec. Maximum of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. This is the integer index of the AnnotationSpec. The index for + # the whole AnnotationSpecSet is sequential starting from 0. For example, an + # AnnotationSpecSet with classes `dog` and `cat`, might contain one + # AnnotationSpec with `` display_name: "dog", index: 0 `` and one AnnotationSpec + # with `` display_name: "cat", index: 1 ``. This is especially useful for model + # training as it encodes the string labels into numeric values. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @index = args[:index] if args.key?(:index) + end + end + + # An AnnotationSpecSet is a collection of label definitions. For example, in + # image classification tasks, you define a set of possible labels for images as + # an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. + class GoogleCloudDatalabelingV1beta1AnnotationSpecSet + include Google::Apis::Core::Hashable + + # Required. The array of AnnotationSpecs that you define when you create the + # AnnotationSpecSet. These are the possible labels for the labeling task. + # Corresponds to the JSON property `annotationSpecs` + # @return [Array] + attr_accessor :annotation_specs + + # Output only. The names of any related resources that are blocking changes to + # the annotation spec set. + # Corresponds to the JSON property `blockingResources` + # @return [Array] + attr_accessor :blocking_resources + + # Optional. User-provided description of the annotation specification set. The + # description can be up to 10,000 characters long. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name for AnnotationSpecSet that you define when you + # create it. Maximum of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. The AnnotationSpecSet resource name in the following format: " + # projects/`project_id`/annotationSpecSets/`annotation_spec_set_id`" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_specs = args[:annotation_specs] if args.key?(:annotation_specs) + @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + end + end + + # Annotation spec set with the setting of allowing multi labels or not. + class GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig + include Google::Apis::Core::Hashable + + # Optional. If allow_multi_label is true, contributors are able to choose + # multiple labels from one annotation spec set. + # Corresponds to the JSON property `allowMultiLabel` + # @return [Boolean] + attr_accessor :allow_multi_label + alias_method :allow_multi_label?, :allow_multi_label + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_multi_label = args[:allow_multi_label] if args.key?(:allow_multi_label) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + end + end + + # Annotation value for an example. + class GoogleCloudDatalabelingV1beta1AnnotationValue + include Google::Apis::Core::Hashable + + # Image bounding poly annotation. It represents a polygon including bounding box + # in the image. + # Corresponds to the JSON property `imageBoundingPolyAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation] + attr_accessor :image_bounding_poly_annotation + + # Image classification annotation definition. + # Corresponds to the JSON property `imageClassificationAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation] + attr_accessor :image_classification_annotation + + # A polyline for the image annotation. + # Corresponds to the JSON property `imagePolylineAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation] + attr_accessor :image_polyline_annotation + + # Image segmentation annotation. + # Corresponds to the JSON property `imageSegmentationAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation] + attr_accessor :image_segmentation_annotation + + # Text classification annotation. + # Corresponds to the JSON property `textClassificationAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation] + attr_accessor :text_classification_annotation + + # Text entity extraction annotation. + # Corresponds to the JSON property `textEntityExtractionAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation] + attr_accessor :text_entity_extraction_annotation + + # Video classification annotation. + # Corresponds to the JSON property `videoClassificationAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation] + attr_accessor :video_classification_annotation + + # Video event annotation. + # Corresponds to the JSON property `videoEventAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation] + attr_accessor :video_event_annotation + + # Video object tracking annotation. + # Corresponds to the JSON property `videoObjectTrackingAnnotation` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation] + attr_accessor :video_object_tracking_annotation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_bounding_poly_annotation = args[:image_bounding_poly_annotation] if args.key?(:image_bounding_poly_annotation) + @image_classification_annotation = args[:image_classification_annotation] if args.key?(:image_classification_annotation) + @image_polyline_annotation = args[:image_polyline_annotation] if args.key?(:image_polyline_annotation) + @image_segmentation_annotation = args[:image_segmentation_annotation] if args.key?(:image_segmentation_annotation) + @text_classification_annotation = args[:text_classification_annotation] if args.key?(:text_classification_annotation) + @text_entity_extraction_annotation = args[:text_entity_extraction_annotation] if args.key?(:text_entity_extraction_annotation) + @video_classification_annotation = args[:video_classification_annotation] if args.key?(:video_classification_annotation) + @video_event_annotation = args[:video_event_annotation] if args.key?(:video_event_annotation) + @video_object_tracking_annotation = args[:video_object_tracking_annotation] if args.key?(:video_object_tracking_annotation) + end + end + + # Records a failed evaluation job run. + class GoogleCloudDatalabelingV1beta1Attempt + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `attemptTime` + # @return [String] + attr_accessor :attempt_time + + # Details of errors that occurred. + # Corresponds to the JSON property `partialFailures` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attempt_time = args[:attempt_time] if args.key?(:attempt_time) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # The BigQuery location for input data. If used in an EvaluationJob, this is + # where the service saves the prediction input and output sampled from the model + # version. + class GoogleCloudDatalabelingV1beta1BigQuerySource + include Google::Apis::Core::Hashable + + # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify + # the URI of a table that does not exist, Data Labeling Service creates a table + # at the URI with the correct schema when you create your EvaluationJob. If you + # specify the URI of a table that already exists, it must have the [correct + # schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). + # Provide the table URI in the following format: "bq://`your_project_id`/ ` + # your_dataset_name`/`your_table_name`" [Learn more](/ml-engine/docs/continuous- + # evaluation/create-job#table-schema). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_uri = args[:input_uri] if args.key?(:input_uri) + end + end + + # Options regarding evaluation between bounding boxes. + class GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions + include Google::Apis::Core::Hashable + + # Minimum [intersection-over-union (IOU)](/vision/automl/object-detection/docs/ + # evaluate#intersection-over-union) required for 2 bounding boxes to be + # considered a match. This must be a number between 0 and 1. + # Corresponds to the JSON property `iouThreshold` + # @return [Float] + attr_accessor :iou_threshold + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iou_threshold = args[:iou_threshold] if args.key?(:iou_threshold) + end + end + + # A bounding polygon in the image. + class GoogleCloudDatalabelingV1beta1BoundingPoly + include Google::Apis::Core::Hashable + + # The bounding polygon vertices. + # Corresponds to the JSON property `vertices` + # @return [Array] + attr_accessor :vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vertices = args[:vertices] if args.key?(:vertices) + end + end + + # Config for image bounding poly (and bounding box) human labeling task. + class GoogleCloudDatalabelingV1beta1BoundingPolyConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Optional. Instruction message showed on contributors UI. + # Corresponds to the JSON property `instructionMessage` + # @return [String] + attr_accessor :instruction_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @instruction_message = args[:instruction_message] if args.key?(:instruction_message) + end + end + + # Metadata for classification annotations. + class GoogleCloudDatalabelingV1beta1ClassificationMetadata + include Google::Apis::Core::Hashable + + # Whether the classification task is multi-label or not. + # Corresponds to the JSON property `isMultiLabel` + # @return [Boolean] + attr_accessor :is_multi_label + alias_method :is_multi_label?, :is_multi_label + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_multi_label = args[:is_multi_label] if args.key?(:is_multi_label) + end + end + + # Metrics calculated for a classification model. + class GoogleCloudDatalabelingV1beta1ClassificationMetrics + include Google::Apis::Core::Hashable + + # Confusion matrix of the model running the classification. Only applicable when + # the metrics entry aggregates multiple labels. Not applicable when the entry is + # for a single label. + # Corresponds to the JSON property `confusionMatrix` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix] + attr_accessor :confusion_matrix + + # Precision-recall curve based on ground truth labels, predicted labels, and + # scores for the predicted labels. + # Corresponds to the JSON property `prCurve` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve] + attr_accessor :pr_curve + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confusion_matrix = args[:confusion_matrix] if args.key?(:confusion_matrix) + @pr_curve = args[:pr_curve] if args.key?(:pr_curve) + end + end + + # + class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry + include Google::Apis::Core::Hashable + + # Threshold used for this entry. For classification tasks, this is a + # classification threshold: a predicted label is categorized as positive or + # negative (in the context of this point on the PR curve) based on whether the + # label's score meets this threshold. For image object detection (bounding box) + # tasks, this is the [intersection-over-union (IOU)](/vision/automl/object- + # detection/docs/evaluate#intersection-over-union) threshold for the context of + # this point on the PR curve. + # Corresponds to the JSON property `confidenceThreshold` + # @return [Float] + attr_accessor :confidence_threshold + + # Harmonic mean of recall and precision. + # Corresponds to the JSON property `f1Score` + # @return [Float] + attr_accessor :f1_score + + # The harmonic mean of recall_at1 and precision_at1. + # Corresponds to the JSON property `f1ScoreAt1` + # @return [Float] + attr_accessor :f1_score_at1 + + # The harmonic mean of recall_at5 and precision_at5. + # Corresponds to the JSON property `f1ScoreAt5` + # @return [Float] + attr_accessor :f1_score_at5 + + # Precision value. + # Corresponds to the JSON property `precision` + # @return [Float] + attr_accessor :precision + + # Precision value for entries with label that has highest score. + # Corresponds to the JSON property `precisionAt1` + # @return [Float] + attr_accessor :precision_at1 + + # Precision value for entries with label that has highest 5 scores. + # Corresponds to the JSON property `precisionAt5` + # @return [Float] + attr_accessor :precision_at5 + + # Recall value. + # Corresponds to the JSON property `recall` + # @return [Float] + attr_accessor :recall + + # Recall value for entries with label that has highest score. + # Corresponds to the JSON property `recallAt1` + # @return [Float] + attr_accessor :recall_at1 + + # Recall value for entries with label that has highest 5 scores. + # Corresponds to the JSON property `recallAt5` + # @return [Float] + attr_accessor :recall_at5 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold) + @f1_score = args[:f1_score] if args.key?(:f1_score) + @f1_score_at1 = args[:f1_score_at1] if args.key?(:f1_score_at1) + @f1_score_at5 = args[:f1_score_at5] if args.key?(:f1_score_at5) + @precision = args[:precision] if args.key?(:precision) + @precision_at1 = args[:precision_at1] if args.key?(:precision_at1) + @precision_at5 = args[:precision_at5] if args.key?(:precision_at5) + @recall = args[:recall] if args.key?(:recall) + @recall_at1 = args[:recall_at1] if args.key?(:recall_at1) + @recall_at5 = args[:recall_at5] if args.key?(:recall_at5) + end + end + + # Confusion matrix of the model running the classification. Only applicable when + # the metrics entry aggregates multiple labels. Not applicable when the entry is + # for a single label. + class GoogleCloudDatalabelingV1beta1ConfusionMatrix + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `row` + # @return [Array] + attr_accessor :row + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row = args[:row] if args.key?(:row) + end + end + + # + class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # Number of items predicted to have this label. (The ground truth label for + # these items is the `Row.annotationSpec` of this entry's parent.) + # Corresponds to the JSON property `itemCount` + # @return [Fixnum] + attr_accessor :item_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @item_count = args[:item_count] if args.key?(:item_count) + end + end + + # Request message for CreateAnnotationSpecSet. + class GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest + include Google::Apis::Core::Hashable + + # An AnnotationSpecSet is a collection of label definitions. For example, in + # image classification tasks, you define a set of possible labels for images as + # an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. + # Corresponds to the JSON property `annotationSpecSet` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] + attr_accessor :annotation_spec_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + end + end + + # Request message for CreateDataset. + class GoogleCloudDatalabelingV1beta1CreateDatasetRequest + include Google::Apis::Core::Hashable + + # Dataset is the resource to hold your data. You can request multiple labeling + # tasks for a dataset while each one will generate an AnnotatedDataset. + # Corresponds to the JSON property `dataset` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] + attr_accessor :dataset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + end + end + + # Request message for CreateEvaluationJob. + class GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest + include Google::Apis::Core::Hashable + + # Defines an evaluation job that runs periodically to generate Evaluations. [ + # Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) + # is the starting point for using continuous evaluation. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + + # Metadata of a CreateInstruction operation. + class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata + include Google::Apis::Core::Hashable + + # Timestamp when create instruction request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The name of the created Instruction. projects/`project_id`/instructions/` + # instruction_id` + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @instruction = args[:instruction] if args.key?(:instruction) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Request message for CreateInstruction. + class GoogleCloudDatalabelingV1beta1CreateInstructionRequest + include Google::Apis::Core::Hashable + + # Instruction of how to perform the labeling task for human operators. Currently + # only PDF instruction is supported. + # Corresponds to the JSON property `instruction` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction] + attr_accessor :instruction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instruction = args[:instruction] if args.key?(:instruction) + end + end + + # Deprecated: this instruction format is not supported any more. Instruction + # from a CSV file. + class GoogleCloudDatalabelingV1beta1CsvInstruction + include Google::Apis::Core::Hashable + + # CSV file for the instruction. Only gcs path is allowed. + # Corresponds to the JSON property `gcsFileUri` + # @return [String] + attr_accessor :gcs_file_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_file_uri = args[:gcs_file_uri] if args.key?(:gcs_file_uri) + end + end + + # DataItem is a piece of data, without annotation. For example, an image. + class GoogleCloudDatalabelingV1beta1DataItem + include Google::Apis::Core::Hashable + + # Container of information about an image. + # Corresponds to the JSON property `imagePayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload] + attr_accessor :image_payload + + # Output only. Name of the data item, in format of: projects/`project_id`/ + # datasets/`dataset_id`/dataItems/`data_item_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Container of information about a piece of text. + # Corresponds to the JSON property `textPayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload] + attr_accessor :text_payload + + # Container of information of a video. + # Corresponds to the JSON property `videoPayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload] + attr_accessor :video_payload + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_payload = args[:image_payload] if args.key?(:image_payload) + @name = args[:name] if args.key?(:name) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @video_payload = args[:video_payload] if args.key?(:video_payload) + end + end + + # Dataset is the resource to hold your data. You can request multiple labeling + # tasks for a dataset while each one will generate an AnnotatedDataset. + class GoogleCloudDatalabelingV1beta1Dataset + include Google::Apis::Core::Hashable + + # Output only. The names of any related resources that are blocking changes to + # the dataset. + # Corresponds to the JSON property `blockingResources` + # @return [Array] + attr_accessor :blocking_resources + + # Output only. Time the dataset is created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The number of data items in the dataset. + # Corresponds to the JSON property `dataItemCount` + # @return [Fixnum] + attr_accessor :data_item_count + + # Optional. User-provided description of the annotation specification set. The + # description can be up to 10000 characters long. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name of the dataset. Maximum of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. This is populated with the original input configs where + # ImportData is called. It is available only after the clients import data to + # this dataset. + # Corresponds to the JSON property `inputConfigs` + # @return [Array] + attr_accessor :input_configs + + # Last time that the Dataset is migrated to AI Platform V2. If any of the + # AnnotatedDataset is migrated, the last_migration_time in Dataset is also + # updated. + # Corresponds to the JSON property `lastMigrateTime` + # @return [String] + attr_accessor :last_migrate_time + + # Output only. Dataset resource name, format is: projects/`project_id`/datasets/` + # dataset_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) + @create_time = args[:create_time] if args.key?(:create_time) + @data_item_count = args[:data_item_count] if args.key?(:data_item_count) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @input_configs = args[:input_configs] if args.key?(:input_configs) + @last_migrate_time = args[:last_migrate_time] if args.key?(:last_migrate_time) + @name = args[:name] if args.key?(:name) + end + end + + # Describes an evaluation between a machine learning model's predictions and + # ground truth labels. Created when an EvaluationJob runs successfully. + class GoogleCloudDatalabelingV1beta1Evaluation + include Google::Apis::Core::Hashable + + # Output only. Type of task that the model version being evaluated performs, as + # defined in the evaluationJobConfig.inputConfig.annotationType field of the + # evaluation job that created this evaluation. + # Corresponds to the JSON property `annotationType` + # @return [String] + attr_accessor :annotation_type + + # Configuration details used for calculating evaluation metrics and creating an + # Evaluation. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig] + attr_accessor :config + + # Output only. Timestamp for when this evaluation was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The number of items in the ground truth dataset that were used + # for this evaluation. Only populated when the evaulation is for certain + # AnnotationTypes. + # Corresponds to the JSON property `evaluatedItemCount` + # @return [Fixnum] + attr_accessor :evaluated_item_count + + # Output only. Timestamp for when the evaluation job that created this + # evaluation ran. + # Corresponds to the JSON property `evaluationJobRunTime` + # @return [String] + attr_accessor :evaluation_job_run_time + + # Output only. Metrics comparing predictions to ground truth labels. + # Corresponds to the JSON property `evaluationMetrics` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationMetrics] + attr_accessor :evaluation_metrics + + # Output only. Resource name of an evaluation. The name has the following format: + # "projects/`project_id`/datasets/`dataset_id`/evaluations/ `evaluation_id`' + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_type = args[:annotation_type] if args.key?(:annotation_type) + @config = args[:config] if args.key?(:config) + @create_time = args[:create_time] if args.key?(:create_time) + @evaluated_item_count = args[:evaluated_item_count] if args.key?(:evaluated_item_count) + @evaluation_job_run_time = args[:evaluation_job_run_time] if args.key?(:evaluation_job_run_time) + @evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics) + @name = args[:name] if args.key?(:name) + end + end + + # Configuration details used for calculating evaluation metrics and creating an + # Evaluation. + class GoogleCloudDatalabelingV1beta1EvaluationConfig + include Google::Apis::Core::Hashable + + # Options regarding evaluation between bounding boxes. + # Corresponds to the JSON property `boundingBoxEvaluationOptions` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions] + attr_accessor :bounding_box_evaluation_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_box_evaluation_options = args[:bounding_box_evaluation_options] if args.key?(:bounding_box_evaluation_options) + end + end + + # Defines an evaluation job that runs periodically to generate Evaluations. [ + # Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) + # is the starting point for using continuous evaluation. + class GoogleCloudDatalabelingV1beta1EvaluationJob + include Google::Apis::Core::Hashable + + # Required. Name of the AnnotationSpecSet describing all the labels that your + # machine learning model outputs. You must create this resource before you + # create an evaluation job and provide its name in the following format: " + # projects/`project_id`/annotationSpecSets/`annotation_spec_set_id`" + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Output only. Every time the evaluation job runs and an error occurs, the + # failed attempt is appended to this array. + # Corresponds to the JSON property `attempts` + # @return [Array] + attr_accessor :attempts + + # Output only. Timestamp of when this evaluation job was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. Description of the job. The description can be up to 25,000 + # characters long. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Configures specific details of how a continuous evaluation job works. Provide + # this configuration when you create an EvaluationJob. + # Corresponds to the JSON property `evaluationJobConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobConfig] + attr_accessor :evaluation_job_config + + # Required. Whether you want Data Labeling Service to provide ground truth + # labels for prediction input. If you want the service to assign human labelers + # to annotate your data, set this to `true`. If you want to provide your own + # ground truth labels in the evaluation job's BigQuery table, set this to `false` + # . + # Corresponds to the JSON property `labelMissingGroundTruth` + # @return [Boolean] + attr_accessor :label_missing_ground_truth + alias_method :label_missing_ground_truth?, :label_missing_ground_truth + + # Required. The [AI Platform Prediction model version](/ml-engine/docs/ + # prediction-overview) to be evaluated. Prediction input and output is sampled + # from this model version. When creating an evaluation job, specify the model + # version in the following format: "projects/`project_id`/models/`model_name`/ + # versions/`version_name`" There can only be one evaluation job per model + # version. + # Corresponds to the JSON property `modelVersion` + # @return [String] + attr_accessor :model_version + + # Output only. After you create a job, Data Labeling Service assigns a name to + # the job with the following format: "projects/`project_id`/evaluationJobs/ ` + # evaluation_job_id`" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. Describes the interval at which the job runs. This interval must be + # at least 1 day, and it is rounded to the nearest day. For example, if you + # specify a 50-hour interval, the job runs every 2 days. You can provide the + # schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) + # or in an [English-like format](/appengine/docs/standard/python/config/cronref# + # schedule_format). Regardless of what you specify, the job will run at 10:00 AM + # UTC. Only the interval from this schedule is used, not the specific time of + # day. + # Corresponds to the JSON property `schedule` + # @return [String] + attr_accessor :schedule + + # Output only. Describes the current state of the job. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @attempts = args[:attempts] if args.key?(:attempts) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @evaluation_job_config = args[:evaluation_job_config] if args.key?(:evaluation_job_config) + @label_missing_ground_truth = args[:label_missing_ground_truth] if args.key?(:label_missing_ground_truth) + @model_version = args[:model_version] if args.key?(:model_version) + @name = args[:name] if args.key?(:name) + @schedule = args[:schedule] if args.key?(:schedule) + @state = args[:state] if args.key?(:state) + end + end + + # Provides details for how an evaluation job sends email alerts based on the + # results of a run. + class GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig + include Google::Apis::Core::Hashable + + # Required. An email address to send alerts to. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Required. A number between 0 and 1 that describes a minimum mean average + # precision threshold. When the evaluation job runs, if it calculates that your + # model version's predictions from the recent interval have meanAveragePrecision + # below this threshold, then it sends an alert to your specified email. + # Corresponds to the JSON property `minAcceptableMeanAveragePrecision` + # @return [Float] + attr_accessor :min_acceptable_mean_average_precision + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @min_acceptable_mean_average_precision = args[:min_acceptable_mean_average_precision] if args.key?(:min_acceptable_mean_average_precision) + end + end + + # Configures specific details of how a continuous evaluation job works. Provide + # this configuration when you create an EvaluationJob. + class GoogleCloudDatalabelingV1beta1EvaluationJobConfig + include Google::Apis::Core::Hashable + + # Required. Prediction keys that tell Data Labeling Service where to find the + # data for evaluation in your BigQuery table. When the service samples + # prediction input and output from your model version and saves it to BigQuery, + # the data gets stored as JSON strings in the BigQuery table. These keys tell + # Data Labeling Service how to parse the JSON. You can provide the following + # entries in this field: * `data_json_key`: the data key for prediction input. + # You must provide either this key or `reference_json_key`. * ` + # reference_json_key`: the data reference key for prediction input. You must + # provide either this key or `data_json_key`. * `label_json_key`: the label key + # for prediction output. Required. * `label_score_json_key`: the score key for + # prediction output. Required. * `bounding_box_json_key`: the bounding box key + # for prediction output. Required if your model version perform image object + # detection. Learn [how to configure prediction keys](/ml-engine/docs/continuous- + # evaluation/create-job#prediction-keys). + # Corresponds to the JSON property `bigqueryImportKeys` + # @return [Hash] + attr_accessor :bigquery_import_keys + + # Config for image bounding poly (and bounding box) human labeling task. + # Corresponds to the JSON property `boundingPolyConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig] + attr_accessor :bounding_poly_config + + # Configuration details used for calculating evaluation metrics and creating an + # Evaluation. + # Corresponds to the JSON property `evaluationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig] + attr_accessor :evaluation_config + + # Provides details for how an evaluation job sends email alerts based on the + # results of a run. + # Corresponds to the JSON property `evaluationJobAlertConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig] + attr_accessor :evaluation_job_alert_config + + # Required. The maximum number of predictions to sample and save to BigQuery + # during each evaluation interval. This limit overrides ` + # example_sample_percentage`: even if the service has not sampled enough + # predictions to fulfill `example_sample_perecentage` during an interval, it + # stops sampling predictions when it meets this limit. + # Corresponds to the JSON property `exampleCount` + # @return [Fixnum] + attr_accessor :example_count + + # Required. Fraction of predictions to sample and save to BigQuery during each + # evaluation interval. For example, 0.1 means 10% of predictions served by your + # model version get saved to BigQuery. + # Corresponds to the JSON property `exampleSamplePercentage` + # @return [Float] + attr_accessor :example_sample_percentage + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `humanAnnotationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :human_annotation_config + + # Config for image classification human labeling task. + # Corresponds to the JSON property `imageClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig] + attr_accessor :image_classification_config + + # The configuration of input data, including data type, location, etc. + # Corresponds to the JSON property `inputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig] + attr_accessor :input_config + + # Config for text classification human labeling task. + # Corresponds to the JSON property `textClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig] + attr_accessor :text_classification_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bigquery_import_keys = args[:bigquery_import_keys] if args.key?(:bigquery_import_keys) + @bounding_poly_config = args[:bounding_poly_config] if args.key?(:bounding_poly_config) + @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config) + @evaluation_job_alert_config = args[:evaluation_job_alert_config] if args.key?(:evaluation_job_alert_config) + @example_count = args[:example_count] if args.key?(:example_count) + @example_sample_percentage = args[:example_sample_percentage] if args.key?(:example_sample_percentage) + @human_annotation_config = args[:human_annotation_config] if args.key?(:human_annotation_config) + @image_classification_config = args[:image_classification_config] if args.key?(:image_classification_config) + @input_config = args[:input_config] if args.key?(:input_config) + @text_classification_config = args[:text_classification_config] if args.key?(:text_classification_config) + end + end + + # + class GoogleCloudDatalabelingV1beta1EvaluationMetrics + include Google::Apis::Core::Hashable + + # Metrics calculated for a classification model. + # Corresponds to the JSON property `classificationMetrics` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetrics] + attr_accessor :classification_metrics + + # Metrics calculated for an image object detection (bounding box) model. + # Corresponds to the JSON property `objectDetectionMetrics` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics] + attr_accessor :object_detection_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @classification_metrics = args[:classification_metrics] if args.key?(:classification_metrics) + @object_detection_metrics = args[:object_detection_metrics] if args.key?(:object_detection_metrics) + end + end + + # Config for video event human labeling task. + class GoogleCloudDatalabelingV1beta1EventConfig + include Google::Apis::Core::Hashable + + # Required. The list of annotation spec set resource name. Similar to video + # classification, we support selecting event from multiple AnnotationSpecSet at + # the same time. + # Corresponds to the JSON property `annotationSpecSets` + # @return [Array] + attr_accessor :annotation_spec_sets + + # Videos will be cut to smaller clips to make it easier for labelers to work on. + # Users can configure is field in seconds, if not set, default value is 60s. + # Corresponds to the JSON property `clipLength` + # @return [Fixnum] + attr_accessor :clip_length + + # The overlap length between different video clips. Users can configure is field + # in seconds, if not set, default value is 1s. + # Corresponds to the JSON property `overlapLength` + # @return [Fixnum] + attr_accessor :overlap_length + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_sets = args[:annotation_spec_sets] if args.key?(:annotation_spec_sets) + @clip_length = args[:clip_length] if args.key?(:clip_length) + @overlap_length = args[:overlap_length] if args.key?(:overlap_length) + end + end + + # An Example is a piece of data and its annotation. For example, an image with + # label "house". + class GoogleCloudDatalabelingV1beta1Example + include Google::Apis::Core::Hashable + + # Output only. Annotations for the piece of data in Example. One piece of data + # can have multiple annotations. + # Corresponds to the JSON property `annotations` + # @return [Array] + attr_accessor :annotations + + # Container of information about an image. + # Corresponds to the JSON property `imagePayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload] + attr_accessor :image_payload + + # Output only. Name of the example, in format of: projects/`project_id`/datasets/ + # `dataset_id`/annotatedDatasets/ `annotated_dataset_id`/examples/`example_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Container of information about a piece of text. + # Corresponds to the JSON property `textPayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload] + attr_accessor :text_payload + + # Container of information of a video. + # Corresponds to the JSON property `videoPayload` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload] + attr_accessor :video_payload + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) + @image_payload = args[:image_payload] if args.key?(:image_payload) + @name = args[:name] if args.key?(:name) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @video_payload = args[:video_payload] if args.key?(:video_payload) + end + end + + # Example comparisons comparing ground truth output and predictions for a + # specific input. + class GoogleCloudDatalabelingV1beta1ExampleComparison + include Google::Apis::Core::Hashable + + # An Example is a piece of data and its annotation. For example, an image with + # label "house". + # Corresponds to the JSON property `groundTruthExample` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example] + attr_accessor :ground_truth_example + + # Predictions by the model for the input. + # Corresponds to the JSON property `modelCreatedExamples` + # @return [Array] + attr_accessor :model_created_examples + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ground_truth_example = args[:ground_truth_example] if args.key?(:ground_truth_example) + @model_created_examples = args[:model_created_examples] if args.key?(:model_created_examples) + end + end + + # Metadata of an ExportData operation. + class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when export dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be exported. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ExportDataset longrunning operation. + class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Ouptut only. The name of dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples exported successfully. + # Corresponds to the JSON property `exportCount` + # @return [Fixnum] + attr_accessor :export_count + + # Statistics about annotation specs. + # Corresponds to the JSON property `labelStats` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats] + attr_accessor :label_stats + + # The configuration of output data. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig] + attr_accessor :output_config + + # Output only. Total number of examples requested to export + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset) + @dataset = args[:dataset] if args.key?(:dataset) + @export_count = args[:export_count] if args.key?(:export_count) + @label_stats = args[:label_stats] if args.key?(:label_stats) + @output_config = args[:output_config] if args.key?(:output_config) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Request message for ExportData API. + class GoogleCloudDatalabelingV1beta1ExportDataRequest + include Google::Apis::Core::Hashable + + # Required. Annotated dataset resource name. DataItem in Dataset and their + # annotations in specified annotated dataset will be exported. It's in format of + # projects/`project_id`/datasets/`dataset_id`/annotatedDatasets/ ` + # annotated_dataset_id` + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Optional. Filter is not supported at this moment. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # The configuration of output data. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig] + attr_accessor :output_config + + # Email of the user who started the export task and should be notified by email. + # If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset) + @filter = args[:filter] if args.key?(:filter) + @output_config = args[:output_config] if args.key?(:output_config) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # A feedback message inside a feedback thread. + class GoogleCloudDatalabelingV1beta1FeedbackMessage + include Google::Apis::Core::Hashable + + # String content of the feedback. Maximum of 10000 characters. + # Corresponds to the JSON property `body` + # @return [String] + attr_accessor :body + + # Create time. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The image storing this feedback if the feedback is an image representing + # operator's comments. + # Corresponds to the JSON property `image` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :image + + # Name of the feedback message in a feedback thread. Format: 'project/` + # project_id`/datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`/ + # feedbackThreads/`feedback_thread_id`/feedbackMessage/`feedback_message_id`' + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Metadata describing the feedback from the operator. + # Corresponds to the JSON property `operatorFeedbackMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata] + attr_accessor :operator_feedback_metadata + + # Metadata describing the feedback from the labeling task requester. + # Corresponds to the JSON property `requesterFeedbackMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata] + attr_accessor :requester_feedback_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @body = args[:body] if args.key?(:body) + @create_time = args[:create_time] if args.key?(:create_time) + @image = args[:image] if args.key?(:image) + @name = args[:name] if args.key?(:name) + @operator_feedback_metadata = args[:operator_feedback_metadata] if args.key?(:operator_feedback_metadata) + @requester_feedback_metadata = args[:requester_feedback_metadata] if args.key?(:requester_feedback_metadata) + end + end + + # A feedback thread of a certain labeling task on a certain annotated dataset. + class GoogleCloudDatalabelingV1beta1FeedbackThread + include Google::Apis::Core::Hashable + + # Metadata regarding the feedback thread. + # Corresponds to the JSON property `feedbackThreadMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata] + attr_accessor :feedback_thread_metadata + + # Name of the feedback thread. Format: 'project/`project_id`/datasets/` + # dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/` + # feedback_thread_id`' + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @feedback_thread_metadata = args[:feedback_thread_metadata] if args.key?(:feedback_thread_metadata) + @name = args[:name] if args.key?(:name) + end + end + + # + class GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata + include Google::Apis::Core::Hashable + + # When the thread is created + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # When the thread is last updated. + # Corresponds to the JSON property `lastUpdateTime` + # @return [String] + attr_accessor :last_update_time + + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # An image thumbnail of this thread. + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @last_update_time = args[:last_update_time] if args.key?(:last_update_time) + @status = args[:status] if args.key?(:status) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + + # Export destination of the data.Only gcs path is allowed in output_uri. + class GoogleCloudDatalabelingV1beta1GcsDestination + include Google::Apis::Core::Hashable + + # Required. The format of the gcs destination. Only "text/csv" and "application/ + # json" are supported. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Required. The output uri of destination file. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # Export folder destination of the data. + class GoogleCloudDatalabelingV1beta1GcsFolderDestination + include Google::Apis::Core::Hashable + + # Required. Cloud Storage directory to export data to. + # Corresponds to the JSON property `outputFolderUri` + # @return [String] + attr_accessor :output_folder_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_folder_uri = args[:output_folder_uri] if args.key?(:output_folder_uri) + end + end + + # Source of the Cloud Storage file to be imported. + class GoogleCloudDatalabelingV1beta1GcsSource + include Google::Apis::Core::Hashable + + # Required. The input URI of source file. This must be a Cloud Storage path (`gs: + # //...`). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Required. The format of the source file. Only "text/csv" is supported. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # Configuration for how human labeling task should be done. + class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig + include Google::Apis::Core::Hashable + + # Optional. A human-readable description for AnnotatedDataset. The description + # can be up to 10000 characters long. + # Corresponds to the JSON property `annotatedDatasetDescription` + # @return [String] + attr_accessor :annotated_dataset_description + + # Required. A human-readable name for AnnotatedDataset defined by users. Maximum + # of 64 characters . + # Corresponds to the JSON property `annotatedDatasetDisplayName` + # @return [String] + attr_accessor :annotated_dataset_display_name + + # Optional. If you want your own labeling contributors to manage and work on + # this labeling request, you can set these contributors here. We will give them + # access to the question types in crowdcompute. Note that these emails must be + # registered in crowdcompute worker UI: https://crowd-compute.appspot.com/ + # Corresponds to the JSON property `contributorEmails` + # @return [Array] + attr_accessor :contributor_emails + + # Required. Instruction resource name. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Optional. A human-readable label used to logically group labeling tasks. This + # string must match the regular expression `[a-zA-Z\\d_-]`0,128``. + # Corresponds to the JSON property `labelGroup` + # @return [String] + attr_accessor :label_group + + # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor. + # org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when + # task is language related. For example, French text classification. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Optional. Maximum duration for contributors to answer a question. Maximum is + # 3600 seconds. Default is 3600 seconds. + # Corresponds to the JSON property `questionDuration` + # @return [String] + attr_accessor :question_duration + + # Optional. Replication of questions. Each question will be sent to up to this + # number of contributors to label. Aggregated answers will be returned. Default + # is set to 1. For image related labeling, valid values are 1, 3, 5. + # Corresponds to the JSON property `replicaCount` + # @return [Fixnum] + attr_accessor :replica_count + + # Email of the user who started the labeling task and should be notified by + # email. If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset_description = args[:annotated_dataset_description] if args.key?(:annotated_dataset_description) + @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name) + @contributor_emails = args[:contributor_emails] if args.key?(:contributor_emails) + @instruction = args[:instruction] if args.key?(:instruction) + @label_group = args[:label_group] if args.key?(:label_group) + @language_code = args[:language_code] if args.key?(:language_code) + @question_duration = args[:question_duration] if args.key?(:question_duration) + @replica_count = args[:replica_count] if args.key?(:replica_count) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # Image bounding poly annotation. It represents a polygon including bounding box + # in the image. + class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # A bounding polygon in the image. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly] + attr_accessor :bounding_poly + + # Normalized bounding polygon. + # Corresponds to the JSON property `normalizedBoundingPoly` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly] + attr_accessor :normalized_bounding_poly + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @normalized_bounding_poly = args[:normalized_bounding_poly] if args.key?(:normalized_bounding_poly) + end + end + + # Image classification annotation definition. + class GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + end + end + + # Config for image classification human labeling task. + class GoogleCloudDatalabelingV1beta1ImageClassificationConfig + include Google::Apis::Core::Hashable + + # Optional. If allow_multi_label is true, contributors are able to choose + # multiple labels for one image. + # Corresponds to the JSON property `allowMultiLabel` + # @return [Boolean] + attr_accessor :allow_multi_label + alias_method :allow_multi_label?, :allow_multi_label + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Optional. The type of how to aggregate answers. + # Corresponds to the JSON property `answerAggregationType` + # @return [String] + attr_accessor :answer_aggregation_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_multi_label = args[:allow_multi_label] if args.key?(:allow_multi_label) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @answer_aggregation_type = args[:answer_aggregation_type] if args.key?(:answer_aggregation_type) + end + end + + # Container of information about an image. + class GoogleCloudDatalabelingV1beta1ImagePayload + include Google::Apis::Core::Hashable + + # A byte string of a thumbnail image. + # Corresponds to the JSON property `imageThumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :image_thumbnail + + # Image uri from the user bucket. + # Corresponds to the JSON property `imageUri` + # @return [String] + attr_accessor :image_uri + + # Image format. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Signed uri of the image file in the service bucket. + # Corresponds to the JSON property `signedUri` + # @return [String] + attr_accessor :signed_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_thumbnail = args[:image_thumbnail] if args.key?(:image_thumbnail) + @image_uri = args[:image_uri] if args.key?(:image_uri) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @signed_uri = args[:signed_uri] if args.key?(:signed_uri) + end + end + + # A polyline for the image annotation. + class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # Normalized polyline. + # Corresponds to the JSON property `normalizedPolyline` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedPolyline] + attr_accessor :normalized_polyline + + # A line with multiple line segments. + # Corresponds to the JSON property `polyline` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline] + attr_accessor :polyline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @normalized_polyline = args[:normalized_polyline] if args.key?(:normalized_polyline) + @polyline = args[:polyline] if args.key?(:polyline) + end + end + + # Image segmentation annotation. + class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation + include Google::Apis::Core::Hashable + + # The mapping between rgb color and annotation spec. The key is the rgb color + # represented in format of rgb(0, 0, 0). The value is the AnnotationSpec. + # Corresponds to the JSON property `annotationColors` + # @return [Hash] + attr_accessor :annotation_colors + + # A byte string of a full image's color map. + # Corresponds to the JSON property `imageBytes` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :image_bytes + + # Image format. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_colors = args[:annotation_colors] if args.key?(:annotation_colors) + @image_bytes = args[:image_bytes] if args.key?(:image_bytes) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # Metadata of an ImportData operation. + class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. Timestamp when import dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of imported dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @dataset = args[:dataset] if args.key?(:dataset) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ImportData longrunning operation. + class GoogleCloudDatalabelingV1beta1ImportDataOperationResponse + include Google::Apis::Core::Hashable + + # Ouptut only. The name of imported dataset. + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples imported successfully. + # Corresponds to the JSON property `importCount` + # @return [Fixnum] + attr_accessor :import_count + + # Output only. Total number of examples requested to import + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + @import_count = args[:import_count] if args.key?(:import_count) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Request message for ImportData API. + class GoogleCloudDatalabelingV1beta1ImportDataRequest + include Google::Apis::Core::Hashable + + # The configuration of input data, including data type, location, etc. + # Corresponds to the JSON property `inputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig] + attr_accessor :input_config + + # Email of the user who started the import task and should be notified by email. + # If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_config = args[:input_config] if args.key?(:input_config) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # The configuration of input data, including data type, location, etc. + class GoogleCloudDatalabelingV1beta1InputConfig + include Google::Apis::Core::Hashable + + # Optional. The type of annotation to be performed on this data. You must + # specify this field if you are using this InputConfig in an EvaluationJob. + # Corresponds to the JSON property `annotationType` + # @return [String] + attr_accessor :annotation_type + + # The BigQuery location for input data. If used in an EvaluationJob, this is + # where the service saves the prediction input and output sampled from the model + # version. + # Corresponds to the JSON property `bigquerySource` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BigQuerySource] + attr_accessor :bigquery_source + + # Metadata for classification annotations. + # Corresponds to the JSON property `classificationMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata] + attr_accessor :classification_metadata + + # Required. Data type must be specifed when user tries to import data. + # Corresponds to the JSON property `dataType` + # @return [String] + attr_accessor :data_type + + # Source of the Cloud Storage file to be imported. + # Corresponds to the JSON property `gcsSource` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsSource] + attr_accessor :gcs_source + + # Metadata for the text. + # Corresponds to the JSON property `textMetadata` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextMetadata] + attr_accessor :text_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_type = args[:annotation_type] if args.key?(:annotation_type) + @bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source) + @classification_metadata = args[:classification_metadata] if args.key?(:classification_metadata) + @data_type = args[:data_type] if args.key?(:data_type) + @gcs_source = args[:gcs_source] if args.key?(:gcs_source) + @text_metadata = args[:text_metadata] if args.key?(:text_metadata) + end + end + + # Instruction of how to perform the labeling task for human operators. Currently + # only PDF instruction is supported. + class GoogleCloudDatalabelingV1beta1Instruction + include Google::Apis::Core::Hashable + + # Output only. The names of any related resources that are blocking changes to + # the instruction. + # Corresponds to the JSON property `blockingResources` + # @return [Array] + attr_accessor :blocking_resources + + # Output only. Creation time of instruction. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Deprecated: this instruction format is not supported any more. Instruction + # from a CSV file. + # Corresponds to the JSON property `csvInstruction` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CsvInstruction] + attr_accessor :csv_instruction + + # Required. The data type of this instruction. + # Corresponds to the JSON property `dataType` + # @return [String] + attr_accessor :data_type + + # Optional. User-provided description of the instruction. The description can be + # up to 10000 characters long. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name of the instruction. Maximum of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. Instruction resource name, format: projects/`project_id`/ + # instructions/`instruction_id` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Instruction from a PDF file. + # Corresponds to the JSON property `pdfInstruction` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction] + attr_accessor :pdf_instruction + + # Output only. Last update time of instruction. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) + @create_time = args[:create_time] if args.key?(:create_time) + @csv_instruction = args[:csv_instruction] if args.key?(:csv_instruction) + @data_type = args[:data_type] if args.key?(:data_type) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @pdf_instruction = args[:pdf_instruction] if args.key?(:pdf_instruction) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Details of a LabelImageBoundingBox operation metadata. + class GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImageBoundingPoly operation metadata. + class GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a LabelImageClassification operation. + class GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageOrientedBoundingBox operation metadata. + class GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImagePolyline operation metadata. + class GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Request message for starting an image labeling task. + class GoogleCloudDatalabelingV1beta1LabelImageRequest + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + # Config for image bounding poly (and bounding box) human labeling task. + # Corresponds to the JSON property `boundingPolyConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig] + attr_accessor :bounding_poly_config + + # Required. The type of image labeling task. + # Corresponds to the JSON property `feature` + # @return [String] + attr_accessor :feature + + # Config for image classification human labeling task. + # Corresponds to the JSON property `imageClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig] + attr_accessor :image_classification_config + + # Config for image polyline human labeling task. + # Corresponds to the JSON property `polylineConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig] + attr_accessor :polyline_config + + # Config for image segmentation + # Corresponds to the JSON property `segmentationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig] + attr_accessor :segmentation_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + @bounding_poly_config = args[:bounding_poly_config] if args.key?(:bounding_poly_config) + @feature = args[:feature] if args.key?(:feature) + @image_classification_config = args[:image_classification_config] if args.key?(:image_classification_config) + @polyline_config = args[:polyline_config] if args.key?(:polyline_config) + @segmentation_config = args[:segmentation_config] if args.key?(:segmentation_config) + end + end + + # Details of a LabelImageSegmentation operation metadata. + class GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: + # 23 + class GoogleCloudDatalabelingV1beta1LabelOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when labeling request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be labeled. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Details of a LabelImageBoundingBox operation metadata. + # Corresponds to the JSON property `imageBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata] + attr_accessor :image_bounding_box_details + + # Details of LabelImageBoundingPoly operation metadata. + # Corresponds to the JSON property `imageBoundingPolyDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata] + attr_accessor :image_bounding_poly_details + + # Metadata of a LabelImageClassification operation. + # Corresponds to the JSON property `imageClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata] + attr_accessor :image_classification_details + + # Details of a LabelImageOrientedBoundingBox operation metadata. + # Corresponds to the JSON property `imageOrientedBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata] + attr_accessor :image_oriented_bounding_box_details + + # Details of LabelImagePolyline operation metadata. + # Corresponds to the JSON property `imagePolylineDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata] + attr_accessor :image_polyline_details + + # Details of a LabelImageSegmentation operation metadata. + # Corresponds to the JSON property `imageSegmentationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata] + attr_accessor :image_segmentation_details + + # 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` + # @return [Array] + attr_accessor :partial_failures + + # Output only. Progress of label operation. Range: [0, 100]. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Details of a LabelTextClassification operation metadata. + # Corresponds to the JSON property `textClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata] + attr_accessor :text_classification_details + + # Details of a LabelTextEntityExtraction operation metadata. + # Corresponds to the JSON property `textEntityExtractionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata] + attr_accessor :text_entity_extraction_details + + # Details of a LabelVideoClassification operation metadata. + # Corresponds to the JSON property `videoClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata] + attr_accessor :video_classification_details + + # Details of a LabelVideoEvent operation metadata. + # Corresponds to the JSON property `videoEventDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata] + attr_accessor :video_event_details + + # Details of a LabelVideoObjectDetection operation metadata. + # Corresponds to the JSON property `videoObjectDetectionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata] + attr_accessor :video_object_detection_details + + # Details of a LabelVideoObjectTracking operation metadata. + # Corresponds to the JSON property `videoObjectTrackingDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata] + attr_accessor :video_object_tracking_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + + # Statistics about annotation specs. + class GoogleCloudDatalabelingV1beta1LabelStats + include Google::Apis::Core::Hashable + + # Map of each annotation spec's example count. Key is the annotation spec name + # and value is the number of examples for that annotation spec. If the annotated + # dataset does not have annotation spec, the map will return a pair where the + # key is empty string and value is the total number of annotations. + # Corresponds to the JSON property `exampleCount` + # @return [Hash] + attr_accessor :example_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @example_count = args[:example_count] if args.key?(:example_count) + end + end + + # Details of a LabelTextClassification operation metadata. + class GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelTextEntityExtraction operation metadata. + class GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Request message for LabelText. + class GoogleCloudDatalabelingV1beta1LabelTextRequest + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + # Required. The type of text labeling task. + # Corresponds to the JSON property `feature` + # @return [String] + attr_accessor :feature + + # Config for text classification human labeling task. + # Corresponds to the JSON property `textClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig] + attr_accessor :text_classification_config + + # Config for text entity extraction human labeling task. + # Corresponds to the JSON property `textEntityExtractionConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig] + attr_accessor :text_entity_extraction_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + @feature = args[:feature] if args.key?(:feature) + @text_classification_config = args[:text_classification_config] if args.key?(:text_classification_config) + @text_entity_extraction_config = args[:text_entity_extraction_config] if args.key?(:text_entity_extraction_config) + end + end + + # Details of a LabelVideoClassification operation metadata. + class GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoEvent operation metadata. + class GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectDetection operation metadata. + class GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectTracking operation metadata. + class GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Request message for LabelVideo. + class GoogleCloudDatalabelingV1beta1LabelVideoRequest + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] + attr_accessor :basic_config + + # Config for video event human labeling task. + # Corresponds to the JSON property `eventConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig] + attr_accessor :event_config + + # Required. The type of video labeling task. + # Corresponds to the JSON property `feature` + # @return [String] + attr_accessor :feature + + # Config for video object detection human labeling task. Object detection will + # be conducted on the images extracted from the video, and those objects will be + # labeled with bounding boxes. User need to specify the number of images to be + # extracted per second as the extraction frame rate. + # Corresponds to the JSON property `objectDetectionConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig] + attr_accessor :object_detection_config + + # Config for video object tracking human labeling task. + # Corresponds to the JSON property `objectTrackingConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig] + attr_accessor :object_tracking_config + + # Config for video classification human labeling task. Currently two types of + # video classification are supported: 1. Assign labels on the entire video. 2. + # Split the video into multiple video clips based on camera shot, and assign + # labels on each video clip. + # Corresponds to the JSON property `videoClassificationConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig] + attr_accessor :video_classification_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + @event_config = args[:event_config] if args.key?(:event_config) + @feature = args[:feature] if args.key?(:feature) + @object_detection_config = args[:object_detection_config] if args.key?(:object_detection_config) + @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) + @video_classification_config = args[:video_classification_config] if args.key?(:video_classification_config) + end + end + + # Results of listing annotated datasets for a dataset. + class GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse + include Google::Apis::Core::Hashable + + # The list of annotated datasets to return. + # Corresponds to the JSON property `annotatedDatasets` + # @return [Array] + attr_accessor :annotated_datasets + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_datasets = args[:annotated_datasets] if args.key?(:annotated_datasets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results of listing annotation spec set under a project. + class GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse + include Google::Apis::Core::Hashable + + # The list of annotation spec sets. + # Corresponds to the JSON property `annotationSpecSets` + # @return [Array] + attr_accessor :annotation_spec_sets + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_sets = args[:annotation_spec_sets] if args.key?(:annotation_spec_sets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results of listing data items in a dataset. + class GoogleCloudDatalabelingV1beta1ListDataItemsResponse + include Google::Apis::Core::Hashable + + # The list of data items to return. + # Corresponds to the JSON property `dataItems` + # @return [Array] + attr_accessor :data_items + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_items = args[:data_items] if args.key?(:data_items) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results of listing datasets within a project. + class GoogleCloudDatalabelingV1beta1ListDatasetsResponse + include Google::Apis::Core::Hashable + + # The list of datasets to return. + # Corresponds to the JSON property `datasets` + # @return [Array] + attr_accessor :datasets + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @datasets = args[:datasets] if args.key?(:datasets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results for listing evaluation jobs. + class GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse + include Google::Apis::Core::Hashable + + # The list of evaluation jobs to return. + # Corresponds to the JSON property `evaluationJobs` + # @return [Array] + attr_accessor :evaluation_jobs + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @evaluation_jobs = args[:evaluation_jobs] if args.key?(:evaluation_jobs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results of listing Examples in and annotated dataset. + class GoogleCloudDatalabelingV1beta1ListExamplesResponse + include Google::Apis::Core::Hashable + + # The list of examples to return. + # Corresponds to the JSON property `examples` + # @return [Array] + attr_accessor :examples + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @examples = args[:examples] if args.key?(:examples) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results for listing FeedbackMessages. + class GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse + include Google::Apis::Core::Hashable + + # The list of feedback messages to return. + # Corresponds to the JSON property `feedbackMessages` + # @return [Array] + attr_accessor :feedback_messages + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @feedback_messages = args[:feedback_messages] if args.key?(:feedback_messages) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results for listing FeedbackThreads. + class GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse + include Google::Apis::Core::Hashable + + # The list of feedback threads to return. + # Corresponds to the JSON property `feedbackThreads` + # @return [Array] + attr_accessor :feedback_threads + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @feedback_threads = args[:feedback_threads] if args.key?(:feedback_threads) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Results of listing instructions under a project. + class GoogleCloudDatalabelingV1beta1ListInstructionsResponse + include Google::Apis::Core::Hashable + + # The list of Instructions to return. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instructions = args[:instructions] if args.key?(:instructions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Normalized bounding polygon. + class GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly + include Google::Apis::Core::Hashable + + # The bounding polygon normalized vertices. + # Corresponds to the JSON property `normalizedVertices` + # @return [Array] + attr_accessor :normalized_vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices) + end + end + + # Normalized polyline. + class GoogleCloudDatalabelingV1beta1NormalizedPolyline + include Google::Apis::Core::Hashable + + # The normalized polyline vertices. + # Corresponds to the JSON property `normalizedVertices` + # @return [Array] + attr_accessor :normalized_vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices) + end + end + + # A vertex represents a 2D point in the image. NOTE: the normalized vertex + # coordinates are relative to the original image and range from 0 to 1. + class GoogleCloudDatalabelingV1beta1NormalizedVertex + include Google::Apis::Core::Hashable + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Float] + attr_accessor :x + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Float] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + + # Config for video object detection human labeling task. Object detection will + # be conducted on the images extracted from the video, and those objects will be + # labeled with bounding boxes. User need to specify the number of images to be + # extracted per second as the extraction frame rate. + class GoogleCloudDatalabelingV1beta1ObjectDetectionConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Required. Number of frames per second to be extracted from the video. + # Corresponds to the JSON property `extractionFrameRate` + # @return [Float] + attr_accessor :extraction_frame_rate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @extraction_frame_rate = args[:extraction_frame_rate] if args.key?(:extraction_frame_rate) + end + end + + # Metrics calculated for an image object detection (bounding box) model. + class GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics + include Google::Apis::Core::Hashable + + # Precision-recall curve. + # Corresponds to the JSON property `prCurve` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve] + attr_accessor :pr_curve + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pr_curve = args[:pr_curve] if args.key?(:pr_curve) + end + end + + # Config for video object tracking human labeling task. + class GoogleCloudDatalabelingV1beta1ObjectTrackingConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Videos will be cut to smaller clips to make it easier for labelers to work on. + # Users can configure is field in seconds, if not set, default value is 20s. + # Corresponds to the JSON property `clipLength` + # @return [Fixnum] + attr_accessor :clip_length + + # The overlap length between different video clips. Users can configure is field + # in seconds, if not set, default value is 0.3s. + # Corresponds to the JSON property `overlapLength` + # @return [Fixnum] + attr_accessor :overlap_length + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @clip_length = args[:clip_length] if args.key?(:clip_length) + @overlap_length = args[:overlap_length] if args.key?(:overlap_length) + end + end + + # Video frame level annotation for object detection and tracking. + class GoogleCloudDatalabelingV1beta1ObjectTrackingFrame + include Google::Apis::Core::Hashable + + # A bounding polygon in the image. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly] + attr_accessor :bounding_poly + + # Normalized bounding polygon. + # Corresponds to the JSON property `normalizedBoundingPoly` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly] + attr_accessor :normalized_bounding_poly + + # The time offset of this frame relative to the beginning of the video. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @normalized_bounding_poly = args[:normalized_bounding_poly] if args.key?(:normalized_bounding_poly) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Metadata describing the feedback from the operator. + class GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # General information useful for labels coming from contributors. + class GoogleCloudDatalabelingV1beta1OperatorMetadata + include Google::Apis::Core::Hashable + + # Comments from contributors. + # Corresponds to the JSON property `comments` + # @return [Array] + attr_accessor :comments + + # The total number of contributors that choose this label. + # Corresponds to the JSON property `labelVotes` + # @return [Fixnum] + attr_accessor :label_votes + + # Confidence score corresponding to a label. For examle, if 3 contributors have + # answered the question and 2 of them agree on the final label, the confidence + # score will be 0.67 (2/3). + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The total number of contributors that answer this question. + # Corresponds to the JSON property `totalVotes` + # @return [Fixnum] + attr_accessor :total_votes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @comments = args[:comments] if args.key?(:comments) + @label_votes = args[:label_votes] if args.key?(:label_votes) + @score = args[:score] if args.key?(:score) + @total_votes = args[:total_votes] if args.key?(:total_votes) + end + end + + # The configuration of output data. + class GoogleCloudDatalabelingV1beta1OutputConfig + include Google::Apis::Core::Hashable + + # Export destination of the data.Only gcs path is allowed in output_uri. + # Corresponds to the JSON property `gcsDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsDestination] + attr_accessor :gcs_destination + + # Export folder destination of the data. + # Corresponds to the JSON property `gcsFolderDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsFolderDestination] + attr_accessor :gcs_folder_destination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) + @gcs_folder_destination = args[:gcs_folder_destination] if args.key?(:gcs_folder_destination) + end + end + + # Request message for PauseEvaluationJob. + class GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Instruction from a PDF file. + class GoogleCloudDatalabelingV1beta1PdfInstruction + include Google::Apis::Core::Hashable + + # PDF file for the instruction. Only gcs path is allowed. + # Corresponds to the JSON property `gcsFileUri` + # @return [String] + attr_accessor :gcs_file_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_file_uri = args[:gcs_file_uri] if args.key?(:gcs_file_uri) + end + end + + # A line with multiple line segments. + class GoogleCloudDatalabelingV1beta1Polyline + include Google::Apis::Core::Hashable + + # The polyline vertices. + # Corresponds to the JSON property `vertices` + # @return [Array] + attr_accessor :vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vertices = args[:vertices] if args.key?(:vertices) + end + end + + # Config for image polyline human labeling task. + class GoogleCloudDatalabelingV1beta1PolylineConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Optional. Instruction message showed on contributors UI. + # Corresponds to the JSON property `instructionMessage` + # @return [String] + attr_accessor :instruction_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @instruction_message = args[:instruction_message] if args.key?(:instruction_message) + end + end + + # + class GoogleCloudDatalabelingV1beta1PrCurve + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # Area under the precision-recall curve. Not to be confused with area under a + # receiver operating characteristic (ROC) curve. + # Corresponds to the JSON property `areaUnderCurve` + # @return [Float] + attr_accessor :area_under_curve + + # Entries that make up the precision-recall graph. Each entry is a "point" on + # the graph drawn for a different `confidence_threshold`. + # Corresponds to the JSON property `confidenceMetricsEntries` + # @return [Array] + attr_accessor :confidence_metrics_entries + + # Mean average prcision of this curve. + # Corresponds to the JSON property `meanAveragePrecision` + # @return [Float] + attr_accessor :mean_average_precision + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @area_under_curve = args[:area_under_curve] if args.key?(:area_under_curve) + @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries) + @mean_average_precision = args[:mean_average_precision] if args.key?(:mean_average_precision) + end + end + + # Metadata describing the feedback from the labeling task requester. + class GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message ResumeEvaluationJob. + class GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A row in the confusion matrix. Each entry in this row has the same ground + # truth label. + class GoogleCloudDatalabelingV1beta1Row + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # A list of the confusion matrix entries. One entry for each possible predicted + # label. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @entries = args[:entries] if args.key?(:entries) + end + end + + # Results of searching evaluations. + class GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse + include Google::Apis::Core::Hashable + + # The list of evaluations matching the search. + # Corresponds to the JSON property `evaluations` + # @return [Array] + attr_accessor :evaluations + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @evaluations = args[:evaluations] if args.key?(:evaluations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request message of SearchExampleComparisons. + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest + include Google::Apis::Core::Hashable + + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by the nextPageToken of the response to a previous search + # rquest. If you don't specify this field, the API call requests the first page + # of the search. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # Results of searching example comparisons. + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse + include Google::Apis::Core::Hashable + + # A list of example comparisons matching the search criteria. + # Corresponds to the JSON property `exampleComparisons` + # @return [Array] + attr_accessor :example_comparisons + + # A token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @example_comparisons = args[:example_comparisons] if args.key?(:example_comparisons) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Config for image segmentation + class GoogleCloudDatalabelingV1beta1SegmentationConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. format: projects/`project_id`/ + # annotationSpecSets/`annotation_spec_set_id` + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Instruction message showed on labelers UI. + # Corresponds to the JSON property `instructionMessage` + # @return [String] + attr_accessor :instruction_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @instruction_message = args[:instruction_message] if args.key?(:instruction_message) + end + end + + # Config for setting up sentiments. + class GoogleCloudDatalabelingV1beta1SentimentConfig + include Google::Apis::Core::Hashable + + # If set to true, contributors will have the option to select sentiment of the + # label they selected, to mark it as negative or positive label. Default is + # false. + # Corresponds to the JSON property `enableLabelSentimentSelection` + # @return [Boolean] + attr_accessor :enable_label_sentiment_selection + alias_method :enable_label_sentiment_selection?, :enable_label_sentiment_selection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable_label_sentiment_selection = args[:enable_label_sentiment_selection] if args.key?(:enable_label_sentiment_selection) + end + end + + # Start and end position in a sequence (e.g. text segment). + class GoogleCloudDatalabelingV1beta1SequentialSegment + include Google::Apis::Core::Hashable + + # End position (exclusive). + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # Start position (inclusive). + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # Text classification annotation. + class GoogleCloudDatalabelingV1beta1TextClassificationAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + end + end + + # Config for text classification human labeling task. + class GoogleCloudDatalabelingV1beta1TextClassificationConfig + include Google::Apis::Core::Hashable + + # Optional. If allow_multi_label is true, contributors are able to choose + # multiple labels for one text segment. + # Corresponds to the JSON property `allowMultiLabel` + # @return [Boolean] + attr_accessor :allow_multi_label + alias_method :allow_multi_label?, :allow_multi_label + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + # Config for setting up sentiments. + # Corresponds to the JSON property `sentimentConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SentimentConfig] + attr_accessor :sentiment_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_multi_label = args[:allow_multi_label] if args.key?(:allow_multi_label) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + @sentiment_config = args[:sentiment_config] if args.key?(:sentiment_config) + end + end + + # Text entity extraction annotation. + class GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # Start and end position in a sequence (e.g. text segment). + # Corresponds to the JSON property `sequentialSegment` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SequentialSegment] + attr_accessor :sequential_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @sequential_segment = args[:sequential_segment] if args.key?(:sequential_segment) + end + end + + # Config for text entity extraction human labeling task. + class GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig + include Google::Apis::Core::Hashable + + # Required. Annotation spec set resource name. + # Corresponds to the JSON property `annotationSpecSet` + # @return [String] + attr_accessor :annotation_spec_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) + end + end + + # Metadata for the text. + class GoogleCloudDatalabelingV1beta1TextMetadata + include Google::Apis::Core::Hashable + + # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/ + # bcp47.txt). Default value is en-US. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # Container of information about a piece of text. + class GoogleCloudDatalabelingV1beta1TextPayload + include Google::Apis::Core::Hashable + + # Text content. + # Corresponds to the JSON property `textContent` + # @return [String] + attr_accessor :text_content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text_content = args[:text_content] if args.key?(:text_content) + end + end + + # A time period inside of an example that has a time dimension (e.g. video). + class GoogleCloudDatalabelingV1beta1TimeSegment + include Google::Apis::Core::Hashable + + # End of the time segment (exclusive), represented as the duration since the + # example start. + # Corresponds to the JSON property `endTimeOffset` + # @return [String] + attr_accessor :end_time_offset + + # Start of the time segment (inclusive), represented as the duration since the + # example start. + # Corresponds to the JSON property `startTimeOffset` + # @return [String] + attr_accessor :start_time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset) + @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) + end + end + + # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are + # in the same scale as the original image. + class GoogleCloudDatalabelingV1beta1Vertex + include Google::Apis::Core::Hashable + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Fixnum] + attr_accessor :x + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Fixnum] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + + # Video classification annotation. + class GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # A time period inside of an example that has a time dimension (e.g. video). + # Corresponds to the JSON property `timeSegment` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment] + attr_accessor :time_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @time_segment = args[:time_segment] if args.key?(:time_segment) + end + end + + # Config for video classification human labeling task. Currently two types of + # video classification are supported: 1. Assign labels on the entire video. 2. + # Split the video into multiple video clips based on camera shot, and assign + # labels on each video clip. + class GoogleCloudDatalabelingV1beta1VideoClassificationConfig + include Google::Apis::Core::Hashable + + # Required. The list of annotation spec set configs. Since watching a video clip + # takes much longer time than an image, we support label with multiple + # AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be + # shown in a group to contributors. Contributors can select one or more ( + # depending on whether to allow multi label) from each group. + # Corresponds to the JSON property `annotationSpecSetConfigs` + # @return [Array] + attr_accessor :annotation_spec_set_configs + + # Optional. Option to apply shot detection on the video. + # Corresponds to the JSON property `applyShotDetection` + # @return [Boolean] + attr_accessor :apply_shot_detection + alias_method :apply_shot_detection?, :apply_shot_detection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec_set_configs = args[:annotation_spec_set_configs] if args.key?(:annotation_spec_set_configs) + @apply_shot_detection = args[:apply_shot_detection] if args.key?(:apply_shot_detection) + end + end + + # Video event annotation. + class GoogleCloudDatalabelingV1beta1VideoEventAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # A time period inside of an example that has a time dimension (e.g. video). + # Corresponds to the JSON property `timeSegment` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment] + attr_accessor :time_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @time_segment = args[:time_segment] if args.key?(:time_segment) + end + end + + # Video object tracking annotation. + class GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation + include Google::Apis::Core::Hashable + + # Container of information related to one possible annotation that can be used + # in a labeling task. For example, an image classification task where images are + # labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an + # AnnotationSpec for `cat`. + # Corresponds to the JSON property `annotationSpec` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec] + attr_accessor :annotation_spec + + # The list of frames where this object track appears. + # Corresponds to the JSON property `objectTrackingFrames` + # @return [Array] + attr_accessor :object_tracking_frames + + # A time period inside of an example that has a time dimension (e.g. video). + # Corresponds to the JSON property `timeSegment` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment] + attr_accessor :time_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) + @object_tracking_frames = args[:object_tracking_frames] if args.key?(:object_tracking_frames) + @time_segment = args[:time_segment] if args.key?(:time_segment) + end + end + + # Container of information of a video. + class GoogleCloudDatalabelingV1beta1VideoPayload + include Google::Apis::Core::Hashable + + # FPS of the video. + # Corresponds to the JSON property `frameRate` + # @return [Float] + attr_accessor :frame_rate + + # Video format. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Signed uri of the video file in the service bucket. + # Corresponds to the JSON property `signedUri` + # @return [String] + attr_accessor :signed_uri + + # The list of video thumbnails. + # Corresponds to the JSON property `videoThumbnails` + # @return [Array] + attr_accessor :video_thumbnails + + # Video uri from the user bucket. + # Corresponds to the JSON property `videoUri` + # @return [String] + attr_accessor :video_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frame_rate = args[:frame_rate] if args.key?(:frame_rate) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @signed_uri = args[:signed_uri] if args.key?(:signed_uri) + @video_thumbnails = args[:video_thumbnails] if args.key?(:video_thumbnails) + @video_uri = args[:video_uri] if args.key?(:video_uri) + end + end + + # Container of information of a video thumbnail. + class GoogleCloudDatalabelingV1beta1VideoThumbnail + include Google::Apis::Core::Hashable + + # A byte string of the video frame. + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + # Time offset relative to the beginning of the video, corresponding to the video + # frame where the thumbnail has been extracted from. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Metadata of a CreateInstruction operation. + class GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata + include Google::Apis::Core::Hashable + + # Timestamp when create instruction request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The name of the created Instruction. projects/`project_id`/instructions/` + # instruction_id` + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @instruction = args[:instruction] if args.key?(:instruction) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Metadata of an ExportData operation. + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when export dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be exported. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ExportDataset longrunning operation. + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Ouptut only. The name of dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples exported successfully. + # Corresponds to the JSON property `exportCount` + # @return [Fixnum] + attr_accessor :export_count + + # Statistics about annotation specs. + # Corresponds to the JSON property `labelStats` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats] + attr_accessor :label_stats + + # The configuration of output data. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1OutputConfig] + attr_accessor :output_config + + # Output only. Total number of examples requested to export + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset) + @dataset = args[:dataset] if args.key?(:dataset) + @export_count = args[:export_count] if args.key?(:export_count) + @label_stats = args[:label_stats] if args.key?(:label_stats) + @output_config = args[:output_config] if args.key?(:output_config) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Export destination of the data.Only gcs path is allowed in output_uri. + class GoogleCloudDatalabelingV1p1alpha1GcsDestination + include Google::Apis::Core::Hashable + + # Required. The format of the gcs destination. Only "text/csv" and "application/ + # json" are supported. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Required. The output uri of destination file. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # Export folder destination of the data. + class GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination + include Google::Apis::Core::Hashable + + # Required. Cloud Storage directory to export data to. + # Corresponds to the JSON property `outputFolderUri` + # @return [String] + attr_accessor :output_folder_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_folder_uri = args[:output_folder_uri] if args.key?(:output_folder_uri) + end + end + + # Metadata of an GenerateAnalysisReport operation. + class GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata + include Google::Apis::Core::Hashable + + # Timestamp when generate report request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The name of the dataset for which the analysis report is generated. Format: " + # projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @dataset = args[:dataset] if args.key?(:dataset) + end + end + + # Configuration for how human labeling task should be done. + class GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig + include Google::Apis::Core::Hashable + + # Optional. A human-readable description for AnnotatedDataset. The description + # can be up to 10000 characters long. + # Corresponds to the JSON property `annotatedDatasetDescription` + # @return [String] + attr_accessor :annotated_dataset_description + + # Required. A human-readable name for AnnotatedDataset defined by users. Maximum + # of 64 characters . + # Corresponds to the JSON property `annotatedDatasetDisplayName` + # @return [String] + attr_accessor :annotated_dataset_display_name + + # Optional. If you want your own labeling contributors to manage and work on + # this labeling request, you can set these contributors here. We will give them + # access to the question types in crowdcompute. Note that these emails must be + # registered in crowdcompute worker UI: https://crowd-compute.appspot.com/ + # Corresponds to the JSON property `contributorEmails` + # @return [Array] + attr_accessor :contributor_emails + + # Required. Instruction resource name. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Optional. A human-readable label used to logically group labeling tasks. This + # string must match the regular expression `[a-zA-Z\\d_-]`0,128``. + # Corresponds to the JSON property `labelGroup` + # @return [String] + attr_accessor :label_group + + # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor. + # org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when + # task is language related. For example, French text classification. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Optional. Maximum duration for contributors to answer a question. Maximum is + # 3600 seconds. Default is 3600 seconds. + # Corresponds to the JSON property `questionDuration` + # @return [String] + attr_accessor :question_duration + + # Optional. Replication of questions. Each question will be sent to up to this + # number of contributors to label. Aggregated answers will be returned. Default + # is set to 1. For image related labeling, valid values are 1, 3, 5. + # Corresponds to the JSON property `replicaCount` + # @return [Fixnum] + attr_accessor :replica_count + + # Email of the user who started the labeling task and should be notified by + # email. If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset_description = args[:annotated_dataset_description] if args.key?(:annotated_dataset_description) + @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name) + @contributor_emails = args[:contributor_emails] if args.key?(:contributor_emails) + @instruction = args[:instruction] if args.key?(:instruction) + @label_group = args[:label_group] if args.key?(:label_group) + @language_code = args[:language_code] if args.key?(:language_code) + @question_duration = args[:question_duration] if args.key?(:question_duration) + @replica_count = args[:replica_count] if args.key?(:replica_count) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # Metadata of an ImportData operation. + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. Timestamp when import dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of imported dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @dataset = args[:dataset] if args.key?(:dataset) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ImportData longrunning operation. + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse + include Google::Apis::Core::Hashable + + # Ouptut only. The name of imported dataset. + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples imported successfully. + # Corresponds to the JSON property `importCount` + # @return [Fixnum] + attr_accessor :import_count + + # Output only. Total number of examples requested to import + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + @import_count = args[:import_count] if args.key?(:import_count) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Details of a LabelImageBoundingBox operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImageBoundingPoly operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a LabelImageClassification operation. + class GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageOrientedBoundingBox operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImagePolyline operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageSegmentation operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: + # 23 + class GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when labeling request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be labeled. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Details of a LabelImageBoundingBox operation metadata. + # Corresponds to the JSON property `imageBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata] + attr_accessor :image_bounding_box_details + + # Details of LabelImageBoundingPoly operation metadata. + # Corresponds to the JSON property `imageBoundingPolyDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata] + attr_accessor :image_bounding_poly_details + + # Metadata of a LabelImageClassification operation. + # Corresponds to the JSON property `imageClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata] + attr_accessor :image_classification_details + + # Details of a LabelImageOrientedBoundingBox operation metadata. + # Corresponds to the JSON property `imageOrientedBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata] + attr_accessor :image_oriented_bounding_box_details + + # Details of LabelImagePolyline operation metadata. + # Corresponds to the JSON property `imagePolylineDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata] + attr_accessor :image_polyline_details + + # Details of a LabelImageSegmentation operation metadata. + # Corresponds to the JSON property `imageSegmentationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata] + attr_accessor :image_segmentation_details + + # 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` + # @return [Array] + attr_accessor :partial_failures + + # Output only. Progress of label operation. Range: [0, 100]. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Details of a LabelTextClassification operation metadata. + # Corresponds to the JSON property `textClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata] + attr_accessor :text_classification_details + + # Details of a LabelTextEntityExtraction operation metadata. + # Corresponds to the JSON property `textEntityExtractionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata] + attr_accessor :text_entity_extraction_details + + # Details of a LabelVideoClassification operation metadata. + # Corresponds to the JSON property `videoClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata] + attr_accessor :video_classification_details + + # Details of a LabelVideoEvent operation metadata. + # Corresponds to the JSON property `videoEventDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata] + attr_accessor :video_event_details + + # Details of a LabelVideoObjectDetection operation metadata. + # Corresponds to the JSON property `videoObjectDetectionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata] + attr_accessor :video_object_detection_details + + # Details of a LabelVideoObjectTracking operation metadata. + # Corresponds to the JSON property `videoObjectTrackingDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata] + attr_accessor :video_object_tracking_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + + # Statistics about annotation specs. + class GoogleCloudDatalabelingV1p1alpha1LabelStats + include Google::Apis::Core::Hashable + + # Map of each annotation spec's example count. Key is the annotation spec name + # and value is the number of examples for that annotation spec. If the annotated + # dataset does not have annotation spec, the map will return a pair where the + # key is empty string and value is the total number of annotations. + # Corresponds to the JSON property `exampleCount` + # @return [Hash] + attr_accessor :example_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @example_count = args[:example_count] if args.key?(:example_count) + end + end + + # Details of a LabelTextClassification operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelTextEntityExtraction operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoClassification operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoEvent operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectDetection operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectTracking operation metadata. + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # The configuration of output data. + class GoogleCloudDatalabelingV1p1alpha1OutputConfig + include Google::Apis::Core::Hashable + + # Export destination of the data.Only gcs path is allowed in output_uri. + # Corresponds to the JSON property `gcsDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsDestination] + attr_accessor :gcs_destination + + # Export folder destination of the data. + # Corresponds to the JSON property `gcsFolderDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination] + attr_accessor :gcs_folder_destination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) + @gcs_folder_destination = args[:gcs_folder_destination] if args.key?(:gcs_folder_destination) + end + end + + # Metadata of a CreateInstruction operation. + class GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata + include Google::Apis::Core::Hashable + + # Timestamp when create instruction request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The name of the created Instruction. projects/`project_id`/instructions/` + # instruction_id` + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @instruction = args[:instruction] if args.key?(:instruction) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Metadata of an ExportData operation. + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when export dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be exported. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ExportDataset longrunning operation. + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Ouptut only. The name of dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples exported successfully. + # Corresponds to the JSON property `exportCount` + # @return [Fixnum] + attr_accessor :export_count + + # Statistics about annotation specs. + # Corresponds to the JSON property `labelStats` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelStats] + attr_accessor :label_stats + + # The configuration of output data. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1OutputConfig] + attr_accessor :output_config + + # Output only. Total number of examples requested to export + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset) + @dataset = args[:dataset] if args.key?(:dataset) + @export_count = args[:export_count] if args.key?(:export_count) + @label_stats = args[:label_stats] if args.key?(:label_stats) + @output_config = args[:output_config] if args.key?(:output_config) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Export destination of the data.Only gcs path is allowed in output_uri. + class GoogleCloudDatalabelingV1p2alpha1GcsDestination + include Google::Apis::Core::Hashable + + # Required. The format of the gcs destination. Only "text/csv" and "application/ + # json" are supported. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Required. The output uri of destination file. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # Export folder destination of the data. + class GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination + include Google::Apis::Core::Hashable + + # Required. Cloud Storage directory to export data to. + # Corresponds to the JSON property `outputFolderUri` + # @return [String] + attr_accessor :output_folder_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_folder_uri = args[:output_folder_uri] if args.key?(:output_folder_uri) + end + end + + # Configuration for how human labeling task should be done. + class GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig + include Google::Apis::Core::Hashable + + # Optional. A human-readable description for AnnotatedDataset. The description + # can be up to 10000 characters long. + # Corresponds to the JSON property `annotatedDatasetDescription` + # @return [String] + attr_accessor :annotated_dataset_description + + # Required. A human-readable name for AnnotatedDataset defined by users. Maximum + # of 64 characters . + # Corresponds to the JSON property `annotatedDatasetDisplayName` + # @return [String] + attr_accessor :annotated_dataset_display_name + + # Optional. If you want your own labeling contributors to manage and work on + # this labeling request, you can set these contributors here. We will give them + # access to the question types in crowdcompute. Note that these emails must be + # registered in crowdcompute worker UI: https://crowd-compute.appspot.com/ + # Corresponds to the JSON property `contributorEmails` + # @return [Array] + attr_accessor :contributor_emails + + # Required. Instruction resource name. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Optional. A human-readable label used to logically group labeling tasks. This + # string must match the regular expression `[a-zA-Z\\d_-]`0,128``. + # Corresponds to the JSON property `labelGroup` + # @return [String] + attr_accessor :label_group + + # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor. + # org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when + # task is language related. For example, French text classification. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Optional. Maximum duration for contributors to answer a question. Maximum is + # 3600 seconds. Default is 3600 seconds. + # Corresponds to the JSON property `questionDuration` + # @return [String] + attr_accessor :question_duration + + # Optional. Replication of questions. Each question will be sent to up to this + # number of contributors to label. Aggregated answers will be returned. Default + # is set to 1. For image related labeling, valid values are 1, 3, 5. + # Corresponds to the JSON property `replicaCount` + # @return [Fixnum] + attr_accessor :replica_count + + # Email of the user who started the labeling task and should be notified by + # email. If empty no notification will be sent. + # Corresponds to the JSON property `userEmailAddress` + # @return [String] + attr_accessor :user_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotated_dataset_description = args[:annotated_dataset_description] if args.key?(:annotated_dataset_description) + @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name) + @contributor_emails = args[:contributor_emails] if args.key?(:contributor_emails) + @instruction = args[:instruction] if args.key?(:instruction) + @label_group = args[:label_group] if args.key?(:label_group) + @language_code = args[:language_code] if args.key?(:language_code) + @question_duration = args[:question_duration] if args.key?(:question_duration) + @replica_count = args[:replica_count] if args.key?(:replica_count) + @user_email_address = args[:user_email_address] if args.key?(:user_email_address) + end + end + + # Metadata of an ImportData operation. + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. Timestamp when import dataset request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of imported dataset. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # 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` + # @return [Array] + attr_accessor :partial_failures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @dataset = args[:dataset] if args.key?(:dataset) + @partial_failures = args[:partial_failures] if args.key?(:partial_failures) + end + end + + # Response used for ImportData longrunning operation. + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse + include Google::Apis::Core::Hashable + + # Ouptut only. The name of imported dataset. + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Output only. Number of examples imported successfully. + # Corresponds to the JSON property `importCount` + # @return [Fixnum] + attr_accessor :import_count + + # Output only. Total number of examples requested to import + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + @import_count = args[:import_count] if args.key?(:import_count) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Details of a LabelImageBoundingBox operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImageBoundingPoly operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a LabelImageClassification operation. + class GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageOrientedBoundingBox operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of LabelImagePolyline operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelImageSegmentation operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: + # 23 + class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata + include Google::Apis::Core::Hashable + + # Output only. The name of annotated dataset in format "projects/*/datasets/*/ + # annotatedDatasets/*". + # Corresponds to the JSON property `annotatedDataset` + # @return [String] + attr_accessor :annotated_dataset + + # Output only. Timestamp when labeling request was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The name of dataset to be labeled. "projects/*/datasets/*" + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # Details of a LabelImageBoundingBox operation metadata. + # Corresponds to the JSON property `imageBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata] + attr_accessor :image_bounding_box_details + + # Details of LabelImageBoundingPoly operation metadata. + # Corresponds to the JSON property `imageBoundingPolyDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata] + attr_accessor :image_bounding_poly_details + + # Metadata of a LabelImageClassification operation. + # Corresponds to the JSON property `imageClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata] + attr_accessor :image_classification_details + + # Details of a LabelImageOrientedBoundingBox operation metadata. + # Corresponds to the JSON property `imageOrientedBoundingBoxDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata] + attr_accessor :image_oriented_bounding_box_details + + # Details of LabelImagePolyline operation metadata. + # Corresponds to the JSON property `imagePolylineDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata] + attr_accessor :image_polyline_details + + # Details of a LabelImageSegmentation operation metadata. + # Corresponds to the JSON property `imageSegmentationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata] + attr_accessor :image_segmentation_details + + # 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` + # @return [Array] + attr_accessor :partial_failures + + # Output only. Progress of label operation. Range: [0, 100]. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Details of a LabelTextClassification operation metadata. + # Corresponds to the JSON property `textClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata] + attr_accessor :text_classification_details + + # Details of a LabelTextEntityExtraction operation metadata. + # Corresponds to the JSON property `textEntityExtractionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata] + attr_accessor :text_entity_extraction_details + + # Details of a LabelVideoClassification operation metadata. + # Corresponds to the JSON property `videoClassificationDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata] + attr_accessor :video_classification_details + + # Details of a LabelVideoEvent operation metadata. + # Corresponds to the JSON property `videoEventDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata] + attr_accessor :video_event_details + + # Details of a LabelVideoObjectDetection operation metadata. + # Corresponds to the JSON property `videoObjectDetectionDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata] + attr_accessor :video_object_detection_details + + # Details of a LabelVideoObjectTracking operation metadata. + # Corresponds to the JSON property `videoObjectTrackingDetails` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata] + attr_accessor :video_object_tracking_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + + # Statistics about annotation specs. + class GoogleCloudDatalabelingV1p2alpha1LabelStats + include Google::Apis::Core::Hashable + + # Map of each annotation spec's example count. Key is the annotation spec name + # and value is the number of examples for that annotation spec. If the annotated + # dataset does not have annotation spec, the map will return a pair where the + # key is empty string and value is the total number of annotations. + # Corresponds to the JSON property `exampleCount` + # @return [Hash] + attr_accessor :example_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @example_count = args[:example_count] if args.key?(:example_count) + end + end + + # Details of a LabelTextClassification operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelTextEntityExtraction operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoClassification operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoEvent operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectDetection operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # Details of a LabelVideoObjectTracking operation metadata. + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata + include Google::Apis::Core::Hashable + + # Configuration for how human labeling task should be done. + # Corresponds to the JSON property `basicConfig` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig] + attr_accessor :basic_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_config = args[:basic_config] if args.key?(:basic_config) + end + end + + # The configuration of output data. + class GoogleCloudDatalabelingV1p2alpha1OutputConfig + include Google::Apis::Core::Hashable + + # Export destination of the data.Only gcs path is allowed in output_uri. + # Corresponds to the JSON property `gcsDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsDestination] + attr_accessor :gcs_destination + + # Export folder destination of the data. + # Corresponds to the JSON property `gcsFolderDestination` + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination] + attr_accessor :gcs_folder_destination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) + @gcs_folder_destination = args[:gcs_folder_destination] if args.key?(:gcs_folder_destination) + end + end + + # The response message for Operations.ListOperations. + class GoogleLongrunningListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. If `true` + # , the operation is completed, and either `error` or `response` is available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `error` + # @return [Google::Apis::DatalabelingV1beta1::GoogleRpcStatus] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the `name` should + # be a resource name ending with `operations/`unique_id``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. + class GoogleProtobufEmpty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + class GoogleRpcStatus + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + end + end +end diff --git a/generated/google/apis/datalabeling_v1beta1/representations.rb b/generated/google/apis/datalabeling_v1beta1/representations.rb new file mode 100644 index 000000000..beb9833a2 --- /dev/null +++ b/generated/google/apis/datalabeling_v1beta1/representations.rb @@ -0,0 +1,3156 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatalabelingV1beta1 + + class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1GcsDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1GcsFolderDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1OutputConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotatedDataset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Annotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpecSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1AnnotationValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Attempt + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1BigQuerySource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1BoundingPoly + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1BoundingPolyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ClassificationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ClassificationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ConfusionMatrix + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CreateDatasetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CreateInstructionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1CsvInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1DataItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Dataset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Evaluation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EvaluationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EvaluationJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EvaluationJobConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EvaluationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1EventConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Example + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ExampleComparison + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ExportDataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1FeedbackMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1FeedbackThread + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1GcsDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1GcsFolderDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1GcsSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImageClassificationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImagePayload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ImportDataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1InputConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Instruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1LabelVideoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListDataItemsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListDatasetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListExamplesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ListInstructionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1NormalizedPolyline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1NormalizedVertex + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ObjectDetectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ObjectTrackingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ObjectTrackingFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1OperatorMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1OutputConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1PdfInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Polyline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1PolylineConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1PrCurve + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Row + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SegmentationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SentimentConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1SequentialSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextClassificationAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextClassificationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TextPayload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1TimeSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1Vertex + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoClassificationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoEventAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoPayload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1beta1VideoThumbnail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1GcsDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p1alpha1OutputConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1GcsDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1p2alpha1OutputConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleProtobufEmpty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :instruction, as: 'instruction' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :dataset, as: 'dataset' + property :export_count, as: 'exportCount' + property :label_stats, as: 'labelStats', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelStats, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelStats::Representation + + property :output_config, as: 'outputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1OutputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1OutputConfig::Representation + + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1alpha1GcsDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mime_type, as: 'mimeType' + property :output_uri, as: 'outputUri' + end + end + + class GoogleCloudDatalabelingV1alpha1GcsFolderDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_folder_uri, as: 'outputFolderUri' + end + end + + class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset_description, as: 'annotatedDatasetDescription' + property :annotated_dataset_display_name, as: 'annotatedDatasetDisplayName' + collection :contributor_emails, as: 'contributorEmails' + property :instruction, as: 'instruction' + property :label_group, as: 'labelGroup' + property :language_code, as: 'languageCode' + property :question_duration, as: 'questionDuration' + property :replica_count, as: 'replicaCount' + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + property :import_count, as: 'importCount' + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + property :image_bounding_box_details, as: 'imageBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata::Representation + + property :image_bounding_poly_details, as: 'imageBoundingPolyDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata::Representation + + property :image_classification_details, as: 'imageClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata::Representation + + property :image_oriented_bounding_box_details, as: 'imageOrientedBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata::Representation + + property :image_polyline_details, as: 'imagePolylineDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata::Representation + + property :image_segmentation_details, as: 'imageSegmentationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata::Representation + + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + property :progress_percent, as: 'progressPercent' + property :text_classification_details, as: 'textClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata::Representation + + property :text_entity_extraction_details, as: 'textEntityExtractionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata::Representation + + property :video_classification_details, as: 'videoClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata::Representation + + property :video_event_details, as: 'videoEventDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata::Representation + + property :video_object_detection_details, as: 'videoObjectDetectionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata::Representation + + property :video_object_tracking_details, as: 'videoObjectTrackingDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :example_count, as: 'exampleCount' + end + end + + class GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1alpha1OutputConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsDestination::Representation + + property :gcs_folder_destination, as: 'gcsFolderDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsFolderDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsFolderDestination::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1AnnotatedDataset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_source, as: 'annotationSource' + property :annotation_type, as: 'annotationType' + collection :blocking_resources, as: 'blockingResources' + property :completed_example_count, :numeric_string => true, as: 'completedExampleCount' + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :example_count, :numeric_string => true, as: 'exampleCount' + property :label_stats, as: 'labelStats', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats::Representation + + property :metadata, as: 'metadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_poly_config, as: 'boundingPolyConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig::Representation + + property :event_config, as: 'eventConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig::Representation + + property :human_annotation_config, as: 'humanAnnotationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + property :image_classification_config, as: 'imageClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig::Representation + + property :object_detection_config, as: 'objectDetectionConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig::Representation + + property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig::Representation + + property :polyline_config, as: 'polylineConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig::Representation + + property :segmentation_config, as: 'segmentationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig::Representation + + property :text_classification_config, as: 'textClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig::Representation + + property :text_entity_extraction_config, as: 'textEntityExtractionConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig::Representation + + property :video_classification_config, as: 'videoClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1Annotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationMetadata::Representation + + property :annotation_sentiment, as: 'annotationSentiment' + property :annotation_source, as: 'annotationSource' + property :annotation_value, as: 'annotationValue', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1AnnotationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operator_metadata, as: 'operatorMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + property :index, as: 'index' + end + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpecSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_specs, as: 'annotationSpecs', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + collection :blocking_resources, as: 'blockingResources' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_multi_label, as: 'allowMultiLabel' + property :annotation_spec_set, as: 'annotationSpecSet' + end + end + + class GoogleCloudDatalabelingV1beta1AnnotationValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_bounding_poly_annotation, as: 'imageBoundingPolyAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation::Representation + + property :image_classification_annotation, as: 'imageClassificationAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation::Representation + + property :image_polyline_annotation, as: 'imagePolylineAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation::Representation + + property :image_segmentation_annotation, as: 'imageSegmentationAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation::Representation + + property :text_classification_annotation, as: 'textClassificationAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation::Representation + + property :text_entity_extraction_annotation, as: 'textEntityExtractionAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation::Representation + + property :video_classification_annotation, as: 'videoClassificationAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation::Representation + + property :video_event_annotation, as: 'videoEventAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation::Representation + + property :video_object_tracking_annotation, as: 'videoObjectTrackingAnnotation', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1Attempt + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attempt_time, as: 'attemptTime' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1BigQuerySource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_uri, as: 'inputUri' + end + end + + class GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iou_threshold, as: 'iouThreshold' + end + end + + class GoogleCloudDatalabelingV1beta1BoundingPoly + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :vertices, as: 'vertices', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1BoundingPolyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + property :instruction_message, as: 'instructionMessage' + end + end + + class GoogleCloudDatalabelingV1beta1ClassificationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_multi_label, as: 'isMultiLabel' + end + end + + class GoogleCloudDatalabelingV1beta1ClassificationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confusion_matrix, as: 'confusionMatrix', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix::Representation + + property :pr_curve, as: 'prCurve', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence_threshold, as: 'confidenceThreshold' + property :f1_score, as: 'f1Score' + property :f1_score_at1, as: 'f1ScoreAt1' + property :f1_score_at5, as: 'f1ScoreAt5' + property :precision, as: 'precision' + property :precision_at1, as: 'precisionAt1' + property :precision_at5, as: 'precisionAt5' + property :recall, as: 'recall' + property :recall_at1, as: 'recallAt1' + property :recall_at5, as: 'recallAt5' + end + end + + class GoogleCloudDatalabelingV1beta1ConfusionMatrix + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :row, as: 'row', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :item_count, as: 'itemCount' + end + end + + class GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1CreateDatasetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :instruction, as: 'instruction' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1CreateInstructionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instruction, as: 'instruction', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1CsvInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_file_uri, as: 'gcsFileUri' + end + end + + class GoogleCloudDatalabelingV1beta1DataItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_payload, as: 'imagePayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload::Representation + + property :name, as: 'name' + property :text_payload, as: 'textPayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload::Representation + + property :video_payload, as: 'videoPayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1Dataset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :blocking_resources, as: 'blockingResources' + property :create_time, as: 'createTime' + property :data_item_count, :numeric_string => true, as: 'dataItemCount' + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :input_configs, as: 'inputConfigs', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig::Representation + + property :last_migrate_time, as: 'lastMigrateTime' + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1Evaluation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_type, as: 'annotationType' + property :config, as: 'config', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig::Representation + + property :create_time, as: 'createTime' + property :evaluated_item_count, :numeric_string => true, as: 'evaluatedItemCount' + property :evaluation_job_run_time, as: 'evaluationJobRunTime' + property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationMetrics, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationMetrics::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1EvaluationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_box_evaluation_options, as: 'boundingBoxEvaluationOptions', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1EvaluationJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + collection :attempts, as: 'attempts', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Attempt, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Attempt::Representation + + property :create_time, as: 'createTime' + property :description, as: 'description' + property :evaluation_job_config, as: 'evaluationJobConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobConfig::Representation + + property :label_missing_ground_truth, as: 'labelMissingGroundTruth' + property :model_version, as: 'modelVersion' + property :name, as: 'name' + property :schedule, as: 'schedule' + property :state, as: 'state' + end + end + + class GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + property :min_acceptable_mean_average_precision, as: 'minAcceptableMeanAveragePrecision' + end + end + + class GoogleCloudDatalabelingV1beta1EvaluationJobConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :bigquery_import_keys, as: 'bigqueryImportKeys' + property :bounding_poly_config, as: 'boundingPolyConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig::Representation + + property :evaluation_config, as: 'evaluationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationConfig::Representation + + property :evaluation_job_alert_config, as: 'evaluationJobAlertConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig::Representation + + property :example_count, as: 'exampleCount' + property :example_sample_percentage, as: 'exampleSamplePercentage' + property :human_annotation_config, as: 'humanAnnotationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + property :image_classification_config, as: 'imageClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig::Representation + + property :input_config, as: 'inputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig::Representation + + property :text_classification_config, as: 'textClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1EvaluationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :classification_metrics, as: 'classificationMetrics', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetrics, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetrics::Representation + + property :object_detection_metrics, as: 'objectDetectionMetrics', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1EventConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_spec_sets, as: 'annotationSpecSets' + property :clip_length, as: 'clipLength' + property :overlap_length, as: 'overlapLength' + end + end + + class GoogleCloudDatalabelingV1beta1Example + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotations, as: 'annotations', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Annotation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Annotation::Representation + + property :image_payload, as: 'imagePayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload::Representation + + property :name, as: 'name' + property :text_payload, as: 'textPayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload::Representation + + property :video_payload, as: 'videoPayload', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ExampleComparison + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ground_truth_example, as: 'groundTruthExample', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example::Representation + + collection :model_created_examples, as: 'modelCreatedExamples', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :dataset, as: 'dataset' + property :export_count, as: 'exportCount' + property :label_stats, as: 'labelStats', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats::Representation + + property :output_config, as: 'outputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig::Representation + + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1beta1ExportDataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :filter, as: 'filter' + property :output_config, as: 'outputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig::Representation + + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1beta1FeedbackMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :body, as: 'body' + property :create_time, as: 'createTime' + property :image, :base64 => true, as: 'image' + property :name, as: 'name' + property :operator_feedback_metadata, as: 'operatorFeedbackMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata::Representation + + property :requester_feedback_metadata, as: 'requesterFeedbackMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1FeedbackThread + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :feedback_thread_metadata, as: 'feedbackThreadMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :last_update_time, as: 'lastUpdateTime' + property :status, as: 'status' + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + + class GoogleCloudDatalabelingV1beta1GcsDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mime_type, as: 'mimeType' + property :output_uri, as: 'outputUri' + end + end + + class GoogleCloudDatalabelingV1beta1GcsFolderDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_folder_uri, as: 'outputFolderUri' + end + end + + class GoogleCloudDatalabelingV1beta1GcsSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_uri, as: 'inputUri' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset_description, as: 'annotatedDatasetDescription' + property :annotated_dataset_display_name, as: 'annotatedDatasetDisplayName' + collection :contributor_emails, as: 'contributorEmails' + property :instruction, as: 'instruction' + property :label_group, as: 'labelGroup' + property :language_code, as: 'languageCode' + property :question_duration, as: 'questionDuration' + property :replica_count, as: 'replicaCount' + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly::Representation + + property :normalized_bounding_poly, as: 'normalizedBoundingPoly', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ImageClassificationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_multi_label, as: 'allowMultiLabel' + property :annotation_spec_set, as: 'annotationSpecSet' + property :answer_aggregation_type, as: 'answerAggregationType' + end + end + + class GoogleCloudDatalabelingV1beta1ImagePayload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_thumbnail, :base64 => true, as: 'imageThumbnail' + property :image_uri, as: 'imageUri' + property :mime_type, as: 'mimeType' + property :signed_uri, as: 'signedUri' + end + end + + class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :normalized_polyline, as: 'normalizedPolyline', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedPolyline, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedPolyline::Representation + + property :polyline, as: 'polyline', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :annotation_colors, as: 'annotationColors', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :image_bytes, :base64 => true, as: 'imageBytes' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ImportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + property :import_count, as: 'importCount' + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1beta1ImportDataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_config, as: 'inputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig::Representation + + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1beta1InputConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_type, as: 'annotationType' + property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BigQuerySource, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BigQuerySource::Representation + + property :classification_metadata, as: 'classificationMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata::Representation + + property :data_type, as: 'dataType' + property :gcs_source, as: 'gcsSource', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsSource, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsSource::Representation + + property :text_metadata, as: 'textMetadata', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1Instruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :blocking_resources, as: 'blockingResources' + property :create_time, as: 'createTime' + property :csv_instruction, as: 'csvInstruction', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CsvInstruction, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CsvInstruction::Representation + + property :data_type, as: 'dataType' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :pdf_instruction, as: 'pdfInstruction', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction::Representation + + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + property :bounding_poly_config, as: 'boundingPolyConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig::Representation + + property :feature, as: 'feature' + property :image_classification_config, as: 'imageClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig::Representation + + property :polyline_config, as: 'polylineConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig::Representation + + property :segmentation_config, as: 'segmentationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + property :image_bounding_box_details, as: 'imageBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata::Representation + + property :image_bounding_poly_details, as: 'imageBoundingPolyDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata::Representation + + property :image_classification_details, as: 'imageClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata::Representation + + property :image_oriented_bounding_box_details, as: 'imageOrientedBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata::Representation + + property :image_polyline_details, as: 'imagePolylineDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata::Representation + + property :image_segmentation_details, as: 'imageSegmentationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata::Representation + + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + property :progress_percent, as: 'progressPercent' + property :text_classification_details, as: 'textClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata::Representation + + property :text_entity_extraction_details, as: 'textEntityExtractionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata::Representation + + property :video_classification_details, as: 'videoClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata::Representation + + property :video_event_details, as: 'videoEventDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata::Representation + + property :video_object_detection_details, as: 'videoObjectDetectionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata::Representation + + property :video_object_tracking_details, as: 'videoObjectTrackingDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :example_count, as: 'exampleCount' + end + end + + class GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + property :feature, as: 'feature' + property :text_classification_config, as: 'textClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig::Representation + + property :text_entity_extraction_config, as: 'textEntityExtractionConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1LabelVideoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::Representation + + property :event_config, as: 'eventConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig::Representation + + property :feature, as: 'feature' + property :object_detection_config, as: 'objectDetectionConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig::Representation + + property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig::Representation + + property :video_classification_config, as: 'videoClassificationConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotated_datasets, as: 'annotatedDatasets', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_spec_sets, as: 'annotationSpecSets', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListDataItemsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_items, as: 'dataItems', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListDatasetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :datasets, as: 'datasets', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :evaluation_jobs, as: 'evaluationJobs', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListExamplesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :examples, as: 'examples', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :feedback_messages, as: 'feedbackMessages', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :feedback_threads, as: 'feedbackThreads', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1ListInstructionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instructions, as: 'instructions', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1NormalizedPolyline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1NormalizedVertex + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :x, as: 'x' + property :y, as: 'y' + end + end + + class GoogleCloudDatalabelingV1beta1ObjectDetectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + property :extraction_frame_rate, as: 'extractionFrameRate' + end + end + + class GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pr_curve, as: 'prCurve', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1ObjectTrackingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + property :clip_length, as: 'clipLength' + property :overlap_length, as: 'overlapLength' + end + end + + class GoogleCloudDatalabelingV1beta1ObjectTrackingFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly::Representation + + property :normalized_bounding_poly, as: 'normalizedBoundingPoly', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDatalabelingV1beta1OperatorMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :comments, as: 'comments' + property :label_votes, as: 'labelVotes' + property :score, as: 'score' + property :total_votes, as: 'totalVotes' + end + end + + class GoogleCloudDatalabelingV1beta1OutputConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsDestination::Representation + + property :gcs_folder_destination, as: 'gcsFolderDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsFolderDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsFolderDestination::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDatalabelingV1beta1PdfInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_file_uri, as: 'gcsFileUri' + end + end + + class GoogleCloudDatalabelingV1beta1Polyline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :vertices, as: 'vertices', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1PolylineConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + property :instruction_message, as: 'instructionMessage' + end + end + + class GoogleCloudDatalabelingV1beta1PrCurve + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :area_under_curve, as: 'areaUnderCurve' + collection :confidence_metrics_entries, as: 'confidenceMetricsEntries', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry::Representation + + property :mean_average_precision, as: 'meanAveragePrecision' + end + end + + class GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDatalabelingV1beta1Row + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + collection :entries, as: 'entries', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :evaluations, as: 'evaluations', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :example_comparisons, as: 'exampleComparisons', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExampleComparison, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExampleComparison::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDatalabelingV1beta1SegmentationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + property :instruction_message, as: 'instructionMessage' + end + end + + class GoogleCloudDatalabelingV1beta1SentimentConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable_label_sentiment_selection, as: 'enableLabelSentimentSelection' + end + end + + class GoogleCloudDatalabelingV1beta1SequentialSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end, as: 'end' + property :start, as: 'start' + end + end + + class GoogleCloudDatalabelingV1beta1TextClassificationAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1TextClassificationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_multi_label, as: 'allowMultiLabel' + property :annotation_spec_set, as: 'annotationSpecSet' + property :sentiment_config, as: 'sentimentConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SentimentConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SentimentConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :sequential_segment, as: 'sequentialSegment', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SequentialSegment, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SequentialSegment::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec_set, as: 'annotationSpecSet' + end + end + + class GoogleCloudDatalabelingV1beta1TextMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language_code, as: 'languageCode' + end + end + + class GoogleCloudDatalabelingV1beta1TextPayload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text_content, as: 'textContent' + end + end + + class GoogleCloudDatalabelingV1beta1TimeSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time_offset, as: 'endTimeOffset' + property :start_time_offset, as: 'startTimeOffset' + end + end + + class GoogleCloudDatalabelingV1beta1Vertex + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :x, as: 'x' + property :y, as: 'y' + end + end + + class GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :time_segment, as: 'timeSegment', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1VideoClassificationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_spec_set_configs, as: 'annotationSpecSetConfigs', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig::Representation + + property :apply_shot_detection, as: 'applyShotDetection' + end + end + + class GoogleCloudDatalabelingV1beta1VideoEventAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + property :time_segment, as: 'timeSegment', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation_spec, as: 'annotationSpec', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec::Representation + + collection :object_tracking_frames, as: 'objectTrackingFrames', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingFrame, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingFrame::Representation + + property :time_segment, as: 'timeSegment', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment::Representation + + end + end + + class GoogleCloudDatalabelingV1beta1VideoPayload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :frame_rate, as: 'frameRate' + property :mime_type, as: 'mimeType' + property :signed_uri, as: 'signedUri' + collection :video_thumbnails, as: 'videoThumbnails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail::Representation + + property :video_uri, as: 'videoUri' + end + end + + class GoogleCloudDatalabelingV1beta1VideoThumbnail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :thumbnail, :base64 => true, as: 'thumbnail' + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :instruction, as: 'instruction' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :dataset, as: 'dataset' + property :export_count, as: 'exportCount' + property :label_stats, as: 'labelStats', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats::Representation + + property :output_config, as: 'outputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1OutputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1OutputConfig::Representation + + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1p1alpha1GcsDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mime_type, as: 'mimeType' + property :output_uri, as: 'outputUri' + end + end + + class GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_folder_uri, as: 'outputFolderUri' + end + end + + class GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + end + end + + class GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset_description, as: 'annotatedDatasetDescription' + property :annotated_dataset_display_name, as: 'annotatedDatasetDisplayName' + collection :contributor_emails, as: 'contributorEmails' + property :instruction, as: 'instruction' + property :label_group, as: 'labelGroup' + property :language_code, as: 'languageCode' + property :question_duration, as: 'questionDuration' + property :replica_count, as: 'replicaCount' + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + property :import_count, as: 'importCount' + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + property :image_bounding_box_details, as: 'imageBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata::Representation + + property :image_bounding_poly_details, as: 'imageBoundingPolyDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata::Representation + + property :image_classification_details, as: 'imageClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata::Representation + + property :image_oriented_bounding_box_details, as: 'imageOrientedBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata::Representation + + property :image_polyline_details, as: 'imagePolylineDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata::Representation + + property :image_segmentation_details, as: 'imageSegmentationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata::Representation + + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + property :progress_percent, as: 'progressPercent' + property :text_classification_details, as: 'textClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata::Representation + + property :text_entity_extraction_details, as: 'textEntityExtractionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata::Representation + + property :video_classification_details, as: 'videoClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata::Representation + + property :video_event_details, as: 'videoEventDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata::Representation + + property :video_object_detection_details, as: 'videoObjectDetectionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata::Representation + + property :video_object_tracking_details, as: 'videoObjectTrackingDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :example_count, as: 'exampleCount' + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p1alpha1OutputConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsDestination::Representation + + property :gcs_folder_destination, as: 'gcsFolderDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :instruction, as: 'instruction' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :dataset, as: 'dataset' + property :export_count, as: 'exportCount' + property :label_stats, as: 'labelStats', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelStats, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelStats::Representation + + property :output_config, as: 'outputConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1OutputConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1OutputConfig::Representation + + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1p2alpha1GcsDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mime_type, as: 'mimeType' + property :output_uri, as: 'outputUri' + end + end + + class GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_folder_uri, as: 'outputFolderUri' + end + end + + class GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset_description, as: 'annotatedDatasetDescription' + property :annotated_dataset_display_name, as: 'annotatedDatasetDisplayName' + collection :contributor_emails, as: 'contributorEmails' + property :instruction, as: 'instruction' + property :label_group, as: 'labelGroup' + property :language_code, as: 'languageCode' + property :question_duration, as: 'questionDuration' + property :replica_count, as: 'replicaCount' + property :user_email_address, as: 'userEmailAddress' + end + end + + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + property :import_count, as: 'importCount' + property :total_count, as: 'totalCount' + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotated_dataset, as: 'annotatedDataset' + property :create_time, as: 'createTime' + property :dataset, as: 'dataset' + property :image_bounding_box_details, as: 'imageBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata::Representation + + property :image_bounding_poly_details, as: 'imageBoundingPolyDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata::Representation + + property :image_classification_details, as: 'imageClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata::Representation + + property :image_oriented_bounding_box_details, as: 'imageOrientedBoundingBoxDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata::Representation + + property :image_polyline_details, as: 'imagePolylineDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata::Representation + + property :image_segmentation_details, as: 'imageSegmentationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata::Representation + + collection :partial_failures, as: 'partialFailures', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + property :progress_percent, as: 'progressPercent' + property :text_classification_details, as: 'textClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata::Representation + + property :text_entity_extraction_details, as: 'textEntityExtractionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata::Representation + + property :video_classification_details, as: 'videoClassificationDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata::Representation + + property :video_event_details, as: 'videoEventDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata::Representation + + property :video_object_detection_details, as: 'videoObjectDetectionDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata::Representation + + property :video_object_tracking_details, as: 'videoObjectTrackingDetails', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :example_count, as: 'exampleCount' + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_config, as: 'basicConfig', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig::Representation + + end + end + + class GoogleCloudDatalabelingV1p2alpha1OutputConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsDestination::Representation + + property :gcs_folder_destination, as: 'gcsFolderDestination', class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination, decorator: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination::Representation + + end + end + + class GoogleLongrunningListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation, decorator: Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + + end + end + + class GoogleLongrunningOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus, decorator: Google::Apis::DatalabelingV1beta1::GoogleRpcStatus::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class GoogleProtobufEmpty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleRpcStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + end + end +end diff --git a/generated/google/apis/datalabeling_v1beta1/service.rb b/generated/google/apis/datalabeling_v1beta1/service.rb new file mode 100644 index 000000000..0f4cf316d --- /dev/null +++ b/generated/google/apis/datalabeling_v1beta1/service.rb @@ -0,0 +1,1762 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatalabelingV1beta1 + # Data Labeling API + # + # Public API for Google Cloud AI Data Labeling Service. + # + # @example + # require 'google/apis/datalabeling_v1beta1' + # + # Datalabeling = Google::Apis::DatalabelingV1beta1 # Alias the module + # service = Datalabeling::DataLabelingService.new + # + # @see https://cloud.google.com/data-labeling/docs/ + class DataLabelingService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + + def initialize + super('https://datalabeling.googleapis.com/', '') + @batch_path = 'batch' + end + + # Creates an annotation spec set by providing a set of labels. + # @param [String] parent + # Required. AnnotationSpecSet resource parent, format: projects/`project_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest] google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_annotation_spec_set(parent, google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/annotationSpecSets', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation spec set by resource name. + # @param [String] name + # Required. AnnotationSpec resource name, format: `projects/`project_id`/ + # annotationSpecSets/`annotation_spec_set_id``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_annotation_spec_set(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an annotation spec set by resource name. + # @param [String] name + # Required. AnnotationSpecSet resource name, format: projects/`project_id`/ + # annotationSpecSets/`annotation_spec_set_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_annotation_spec_set(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists annotation spec sets for a project. Pagination is supported. + # @param [String] parent + # Required. Parent of AnnotationSpecSet resource, format: projects/`project_id` + # @param [String] filter + # Optional. Filter is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListAnnotationSpecSetsResponse.next_page_token of the + # previous [DataLabelingService.ListAnnotationSpecSets] call. Return first page + # if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_annotation_spec_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/annotationSpecSets', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates dataset. If success return a Dataset resource. + # @param [String] parent + # Required. Dataset resource parent, format: projects/`project_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest] google_cloud_datalabeling_v1beta1_create_dataset_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_dataset(parent, google_cloud_datalabeling_v1beta1_create_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/datasets', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_create_dataset_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a dataset by resource name. + # @param [String] name + # Required. Dataset resource name, format: projects/`project_id`/datasets/` + # dataset_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_dataset(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports data and annotations from dataset. + # @param [String] name + # Required. Dataset resource name, format: projects/`project_id`/datasets/` + # dataset_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataRequest] google_cloud_datalabeling_v1beta1_export_data_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def export_project_dataset_data(name, google_cloud_datalabeling_v1beta1_export_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:exportData', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_export_data_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets dataset by resource name. + # @param [String] name + # Required. Dataset resource name, format: projects/`project_id`/datasets/` + # dataset_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Imports data into dataset based on source locations defined in request. It can + # be called multiple times for the same dataset. Each dataset can only have one + # long running operation running on it. For example, no labeling task (also long + # running operation) can be started while importing is still ongoing. Vice versa. + # @param [String] name + # Required. Dataset resource name, format: projects/`project_id`/datasets/` + # dataset_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImportDataRequest] google_cloud_datalabeling_v1beta1_import_data_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_project_dataset_data(name, google_cloud_datalabeling_v1beta1_import_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:importData', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImportDataRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_import_data_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists datasets under a project. Pagination is supported. + # @param [String] parent + # Required. Dataset resource parent, format: projects/`project_id` + # @param [String] filter + # Optional. Filter on dataset is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListDatasetsResponse.next_page_token of the previous [ + # DataLabelingService.ListDatasets] call. Returns the first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_datasets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/datasets', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotated dataset by resource name. + # @param [String] name + # Required. Name of the annotated dataset to delete, format: projects/` + # project_id`/datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_dataset_annotated_dataset(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an annotated dataset by resource name. + # @param [String] name + # Required. Name of the annotated dataset to get, format: projects/`project_id`/ + # datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_annotated_dataset(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists annotated datasets for a dataset. Pagination is supported. + # @param [String] parent + # Required. Name of the dataset to list annotated datasets, format: projects/` + # project_id`/datasets/`dataset_id` + # @param [String] filter + # Optional. Filter is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListAnnotatedDatasetsResponse.next_page_token of the + # previous [DataLabelingService.ListAnnotatedDatasets] call. Return first page + # if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_annotated_datasets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/annotatedDatasets', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a data item in a dataset by resource name. This API can be called after + # data are imported into dataset. + # @param [String] name + # Required. The name of the data item to get, format: projects/`project_id`/ + # datasets/`dataset_id`/dataItems/`data_item_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_annotated_dataset_data_item(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists data items in a dataset. This API can be called after data are imported + # into dataset. Pagination is supported. + # @param [String] parent + # Required. Name of the dataset to list data items, format: projects/`project_id` + # /datasets/`dataset_id` + # @param [String] filter + # Optional. Filter is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListDataItemsResponse.next_page_token of the previous [ + # DataLabelingService.ListDataItems] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_annotated_dataset_data_items(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/dataItems', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an example by resource name, including both data and annotation. + # @param [String] name + # Required. Name of example, format: projects/`project_id`/datasets/`dataset_id`/ + # annotatedDatasets/ `annotated_dataset_id`/examples/`example_id` + # @param [String] filter + # Optional. An expression for filtering Examples. Filter by annotation_spec. + # display_name is supported. Format "annotation_spec.display_name = ` + # display_name`" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_annotated_dataset_example(name, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists examples in an annotated dataset. Pagination is supported. + # @param [String] parent + # Required. Example resource parent. + # @param [String] filter + # Optional. An expression for filtering Examples. For annotated datasets that + # have annotation spec set, filter by annotation_spec.display_name is supported. + # Format "annotation_spec.display_name = `display_name`" + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListExamplesResponse.next_page_token of the previous [ + # DataLabelingService.ListExamples] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_annotated_dataset_examples(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/examples', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a FeedbackThread. + # @param [String] name + # Required. Name of the FeedbackThread that is going to be deleted. Format: ' + # projects/`project_id`/datasets/`dataset_id`/annotatedDatasets/` + # annotated_dataset_id`/feedbackThreads/`feedback_thread_id`'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_dataset_annotated_dataset_feedback_thread(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a FeedbackThread object. + # @param [String] name + # Required. Name of the feedback. Format: 'projects/`project_id`/datasets/` + # dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/` + # feedback_thread_id`'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_annotated_dataset_feedback_thread(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List FeedbackThreads with pagination. + # @param [String] parent + # Required. FeedbackThread resource parent. Format: "projects/`project_id`/ + # datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`" + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListFeedbackThreads.next_page_token of the previous [ + # DataLabelingService.ListFeedbackThreads] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_annotated_dataset_feedback_threads(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/feedbackThreads', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a FeedbackMessage object. + # @param [String] parent + # Required. FeedbackMessage resource parent, format: projects/`project_id`/ + # datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/ + # `feedback_thread_id`. + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage] google_cloud_datalabeling_v1beta1_feedback_message_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_dataset_annotated_dataset_feedback_thread_feedback_message(parent, google_cloud_datalabeling_v1beta1_feedback_message_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/feedbackMessages', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage::Representation + command.request_object = google_cloud_datalabeling_v1beta1_feedback_message_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a FeedbackMessage. + # @param [String] name + # Required. Name of the FeedbackMessage that is going to be deleted. Format: ' + # projects/`project_id`/datasets/`dataset_id`/annotatedDatasets/` + # annotated_dataset_id`/feedbackThreads/`feedback_thread_id`/feedbackMessages/` + # feedback_message_id`'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_dataset_annotated_dataset_feedback_thread_feedback_message(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a FeedbackMessage object. + # @param [String] name + # Required. Name of the feedback. Format: 'projects/`project_id`/datasets/` + # dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/` + # feedback_thread_id`/feedbackMessages/`feedback_message_id`'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_annotated_dataset_feedback_thread_feedback_message(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List FeedbackMessages with pagination. + # @param [String] parent + # Required. FeedbackMessage resource parent. Format: "projects/`project_id`/ + # datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/ + # `feedback_thread_id`" + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListFeedbackMessages.next_page_token of the previous [ + # DataLabelingService.ListFeedbackMessages] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_annotated_dataset_feedback_thread_feedback_messages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/feedbackMessages', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a data item in a dataset by resource name. This API can be called after + # data are imported into dataset. + # @param [String] name + # Required. The name of the data item to get, format: projects/`project_id`/ + # datasets/`dataset_id`/dataItems/`data_item_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_data_item(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists data items in a dataset. This API can be called after data are imported + # into dataset. Pagination is supported. + # @param [String] parent + # Required. Name of the dataset to list data items, format: projects/`project_id` + # /datasets/`dataset_id` + # @param [String] filter + # Optional. Filter is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListDataItemsResponse.next_page_token of the previous [ + # DataLabelingService.ListDataItems] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_dataset_data_items(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/dataItems', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an evaluation by resource name (to search, use projects.evaluations. + # search). + # @param [String] name + # Required. Name of the evaluation. Format: "projects/`project_id`/datasets/ ` + # dataset_id`/evaluations/`evaluation_id`' + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_dataset_evaluation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches example comparisons from an evaluation. The return format is a list + # of example comparisons that show ground truth and prediction(s) for a single + # input. Search by providing an evaluation ID. + # @param [String] parent + # Required. Name of the Evaluation resource to search for example comparisons + # from. Format: "projects/`project_id`/datasets/`dataset_id`/evaluations/ ` + # evaluation_id`" + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest] google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_project_dataset_evaluation_example_comparisons(parent, google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/exampleComparisons:search', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts a labeling task for image. The type of image labeling task is + # configured by feature in the request. + # @param [String] parent + # Required. Name of the dataset to request labeling task, format: projects/` + # project_id`/datasets/`dataset_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest] google_cloud_datalabeling_v1beta1_label_image_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def label_project_dataset_image(parent, google_cloud_datalabeling_v1beta1_label_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/image:label', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_label_image_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts a labeling task for text. The type of text labeling task is configured + # by feature in the request. + # @param [String] parent + # Required. Name of the data set to request labeling task, format: projects/` + # project_id`/datasets/`dataset_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest] google_cloud_datalabeling_v1beta1_label_text_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def label_project_dataset_text(parent, google_cloud_datalabeling_v1beta1_label_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/text:label', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_label_text_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts a labeling task for video. The type of video labeling task is + # configured by feature in the request. + # @param [String] parent + # Required. Name of the dataset to request labeling task, format: projects/` + # project_id`/datasets/`dataset_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoRequest] google_cloud_datalabeling_v1beta1_label_video_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def label_project_dataset_video(parent, google_cloud_datalabeling_v1beta1_label_video_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/video:label', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_label_video_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an evaluation job. + # @param [String] parent + # Required. Evaluation job resource parent. Format: "projects/`project_id`" + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest] google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_evaluation_job(parent, google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationJobs', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Stops and deletes an evaluation job. + # @param [String] name + # Required. Name of the evaluation job that is going to be deleted. Format: " + # projects/`project_id`/evaluationJobs/`evaluation_job_id`" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_evaluation_job(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an evaluation job by resource name. + # @param [String] name + # Required. Name of the evaluation job. Format: "projects/`project_id` / + # evaluationJobs/`evaluation_job_id`" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_evaluation_job(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all evaluation jobs within a project with possible filters. Pagination + # is supported. + # @param [String] parent + # Required. Evaluation job resource parent. Format: "projects/`project_id`" + # @param [String] filter + # Optional. You can filter the jobs to list by model_id (also known as + # model_name, as described in EvaluationJob.modelVersion) or by evaluation job + # state (as described in EvaluationJob.state). To filter by both criteria, use + # the `AND` operator or the `OR` operator. For example, you can use the + # following string for your filter: "evaluation_job.model_id = `model_name` AND + # evaluation_job.state = `evaluation_job_state`" + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by the nextPageToken in the response to the previous + # request. The request returns the first page if this is empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_evaluation_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationJobs', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an evaluation job. You can only update certain fields of the job's + # EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and ` + # exampleSamplePercentage`. If you want to change any other aspect of the + # evaluation job, you must delete the job and create a new one. + # @param [String] name + # Output only. After you create a job, Data Labeling Service assigns a name to + # the job with the following format: "projects/`project_id`/evaluationJobs/ ` + # evaluation_job_id`" + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] google_cloud_datalabeling_v1beta1_evaluation_job_object + # @param [String] update_mask + # Optional. Mask for which fields to update. You can only provide the following + # fields: * `evaluationJobConfig.humanAnnotationConfig.instruction` * ` + # evaluationJobConfig.exampleCount` * `evaluationJobConfig. + # exampleSamplePercentage` You can provide more than one of these fields by + # separating them with commas. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_evaluation_job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + command.request_object = google_cloud_datalabeling_v1beta1_evaluation_job_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Pauses an evaluation job. Pausing an evaluation job that is already in a ` + # PAUSED` state is a no-op. + # @param [String] name + # Required. Name of the evaluation job that is going to be paused. Format: " + # projects/`project_id`/evaluationJobs/`evaluation_job_id`" + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest] google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def pause_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:pause', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Resumes a paused evaluation job. A deleted evaluation job can't be resumed. + # Resuming a running or scheduled evaluation job is a no-op. + # @param [String] name + # Required. Name of the evaluation job that is going to be resumed. Format: " + # projects/`project_id`/evaluationJobs/`evaluation_job_id`" + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest] google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def resume_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:resume', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches evaluations within a project. + # @param [String] parent + # Required. Evaluation search parent (project ID). Format: "projects/ ` + # project_id`" + # @param [String] filter + # Optional. To search evaluations, you can filter by the following: * + # evaluation_job.evaluation_job_id (the last part of EvaluationJob.name) * + # evaluation_job.model_id (the `model_name` portion of EvaluationJob. + # modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum + # threshold for the evaluationJobRunTime that created the evaluation) * + # evaluation_job.evaluation_job_run_time_end (Maximum threshold for the + # evaluationJobRunTime that created the evaluation) * evaluation_job.job_state ( + # EvaluationJob.state) * annotation_spec.display_name (the Evaluation contains a + # metric for the annotation spec with this displayName) To filter by multiple + # critiera, use the `AND` operator or the `OR` operator. The following examples + # shows a string that filters by several critiera: "evaluation_job. + # evaluation_job_id = `evaluation_job_id` AND evaluation_job.model_id = ` + # model_name` AND evaluation_job.evaluation_job_run_time_start = `timestamp_1` + # AND evaluation_job.evaluation_job_run_time_end = `timestamp_2` AND + # annotation_spec.display_name = `display_name`" + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by the nextPageToken of the response to a previous search + # request. If you don't specify this field, the API call requests the first page + # of the search. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_project_evaluations(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/evaluations:search', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an instruction for how data should be labeled. + # @param [String] parent + # Required. Instruction resource parent, format: projects/`project_id` + # @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest] google_cloud_datalabeling_v1beta1_create_instruction_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_instruction(parent, google_cloud_datalabeling_v1beta1_create_instruction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/instructions', options) + command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest::Representation + command.request_object = google_cloud_datalabeling_v1beta1_create_instruction_request_object + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an instruction object by resource name. + # @param [String] name + # Required. Instruction resource name, format: projects/`project_id`/ + # instructions/`instruction_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_instruction(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an instruction by resource name. + # @param [String] name + # Required. Instruction resource name, format: projects/`project_id`/ + # instructions/`instruction_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_instruction(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists instructions for a project. Pagination is supported. + # @param [String] parent + # Required. Instruction resource parent, format: projects/`project_id` + # @param [String] filter + # Optional. Filter is not supported at this moment. + # @param [Fixnum] page_size + # Optional. Requested page size. Server may return fewer results than requested. + # Default value is 100. + # @param [String] page_token + # Optional. A token identifying a page of results for the server to return. + # Typically obtained by ListInstructionsResponse.next_page_token of the previous + # [DataLabelingService.ListInstructions] call. Return first page if empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_instructions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/instructions', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}:cancel', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns `google.rpc.Code. + # UNIMPLEMENTED`. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding allows API services to override the binding to use different resource + # name schemes, such as `users/*/operations`. To override the binding, API + # services can add a binding such as `"/v1/`name=users/*`/operations"` to their + # service configuration. For backwards compatibility, the default name includes + # the operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}/operations', options) + command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/datalabeling_v1beta1/synth.metadata b/generated/google/apis/datalabeling_v1beta1/synth.metadata new file mode 100644 index 000000000..c60478971 --- /dev/null +++ b/generated/google/apis/datalabeling_v1beta1/synth.metadata @@ -0,0 +1,11 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/google-api-ruby-client.git", + "sha": "79a43ec56f0591043ce631e889c3354471f07c7b" + } + } + ] +} \ No newline at end of file