google-cloud-data_labeling-v1beta1 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7586f10f2689cd28bbacbee0011e6713c1b3ba3393cb082f9be3984b8feeab03
4
- data.tar.gz: fa31a3485795afd921ab8df4e0e604d22d58322dff8e0f384346760040da0121
3
+ metadata.gz: cc354ed3ae3b97f0714edbe0bb4963323324e01d86458f4584037f4d308c3941
4
+ data.tar.gz: 31a6cefdbfcf1e92864a72a272817175fca601f903a9e9478536ec152007fac1
5
5
  SHA512:
6
- metadata.gz: 0255bb0aa821cddfb8aa98fbdaa710549e528fe8c688ff62a6925aa94c0940f190a791c9a95627c7fecd5a81abeb877743b7af18125e55661d6974eecf9f2702
7
- data.tar.gz: 439d1d21de6c58c1dbd9afef0164c0eb982c7b48395f4e19c632a54671bf5dc74d0f5adbc041dcbda2b3e44a283653cd67ccf52b83b5903582aa1d0134ccd6f4
6
+ metadata.gz: 1a46e2f055829741fa7fcb9cee5aae228c812edab257b32b1161e164b8c71dbf06a7b43498b92889288db4a78560484862b7ed1c9d5c436aeb259692af7e1e98
7
+ data.tar.gz: 2ce4fd619f09d25d6e96a748646c3ba70fb8c7002c3f760e83b1730ef61f1b9b9f1396752be10e6e435c9e7dcbc3c6cabf3a5eee63090d9ef565857cfc5d51f2
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1392,18 +1392,26 @@ module Google
1392
1392
  # Configuration for image classification task.
1393
1393
  # One of image_classification_config, bounding_poly_config,
1394
1394
  # polyline_config and segmentation_config are required.
1395
+ #
1396
+ # Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1395
1397
  # @param bounding_poly_config [::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig, ::Hash]
1396
1398
  # Configuration for bounding box and bounding poly task.
1397
1399
  # One of image_classification_config, bounding_poly_config,
1398
1400
  # polyline_config and segmentation_config are required.
1401
+ #
1402
+ # Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1399
1403
  # @param polyline_config [::Google::Cloud::DataLabeling::V1beta1::PolylineConfig, ::Hash]
1400
1404
  # Configuration for polyline task.
1401
1405
  # One of image_classification_config, bounding_poly_config,
1402
1406
  # polyline_config and segmentation_config are required.
1407
+ #
1408
+ # Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1403
1409
  # @param segmentation_config [::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig, ::Hash]
1404
1410
  # Configuration for segmentation task.
1405
1411
  # One of image_classification_config, bounding_poly_config,
1406
1412
  # polyline_config and segmentation_config are required.
1413
+ #
1414
+ # Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1407
1415
  # @param parent [::String]
1408
1416
  # Required. Name of the dataset to request labeling task, format:
1409
1417
  # projects/\\{project_id}/datasets/\\{dataset_id}
@@ -1508,18 +1516,26 @@ module Google
1508
1516
  # Configuration for video classification task.
1509
1517
  # One of video_classification_config, object_detection_config,
1510
1518
  # object_tracking_config and event_config is required.
1519
+ #
1520
+ # Note: The following fields are mutually exclusive: `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1511
1521
  # @param object_detection_config [::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionConfig, ::Hash]
1512
1522
  # Configuration for video object detection task.
1513
1523
  # One of video_classification_config, object_detection_config,
1514
1524
  # object_tracking_config and event_config is required.
1525
+ #
1526
+ # Note: The following fields are mutually exclusive: `object_detection_config`, `video_classification_config`, `object_tracking_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1515
1527
  # @param object_tracking_config [::Google::Cloud::DataLabeling::V1beta1::ObjectTrackingConfig, ::Hash]
1516
1528
  # Configuration for video object tracking task.
1517
1529
  # One of video_classification_config, object_detection_config,
1518
1530
  # object_tracking_config and event_config is required.
1531
+ #
1532
+ # Note: The following fields are mutually exclusive: `object_tracking_config`, `video_classification_config`, `object_detection_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1519
1533
  # @param event_config [::Google::Cloud::DataLabeling::V1beta1::EventConfig, ::Hash]
1520
1534
  # Configuration for video event task.
1521
1535
  # One of video_classification_config, object_detection_config,
1522
1536
  # object_tracking_config and event_config is required.
1537
+ #
1538
+ # Note: The following fields are mutually exclusive: `event_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1523
1539
  # @param parent [::String]
1524
1540
  # Required. Name of the dataset to request labeling task, format:
1525
1541
  # projects/\\{project_id}/datasets/\\{dataset_id}
@@ -1624,10 +1640,14 @@ module Google
1624
1640
  # Configuration for text classification task.
1625
1641
  # One of text_classification_config and text_entity_extraction_config
1626
1642
  # is required.
1643
+ #
1644
+ # Note: The following fields are mutually exclusive: `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1627
1645
  # @param text_entity_extraction_config [::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig, ::Hash]
1628
1646
  # Configuration for entity extraction task.
1629
1647
  # One of text_classification_config and text_entity_extraction_config
1630
1648
  # is required.
1649
+ #
1650
+ # Note: The following fields are mutually exclusive: `text_entity_extraction_config`, `text_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1631
1651
  # @param parent [::String]
1632
1652
  # Required. Name of the data set to request labeling task, format:
1633
1653
  # projects/\\{project_id}/datasets/\\{dataset_id}
@@ -3665,6 +3685,13 @@ module Google
3665
3685
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3666
3686
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3667
3687
  # * (`nil`) indicating no credentials
3688
+ #
3689
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3690
+ # external source for authentication to Google Cloud, you must validate it before
3691
+ # providing it to a Google API client library. Providing an unvalidated credential
3692
+ # configuration to Google APIs can compromise the security of your systems and data.
3693
+ # For more information, refer to [Validate credential configurations from external
3694
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3668
3695
  # @return [::Object]
3669
3696
  # @!attribute [rw] scope
3670
3697
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataLabeling
23
23
  module V1beta1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -52,34 +52,52 @@ module Google
52
52
  # @!attribute [rw] image_classification_annotation
53
53
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation]
54
54
  # Annotation value for image classification case.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
57
  # @!attribute [rw] image_bounding_poly_annotation
56
58
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation]
57
59
  # Annotation value for image bounding box, oriented bounding box
58
60
  # and polygon cases.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `image_bounding_poly_annotation`, `image_classification_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] image_polyline_annotation
60
64
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation]
61
65
  # Annotation value for image polyline cases.
62
66
  # Polyline here is different from BoundingPoly. It is formed by
63
67
  # line segments connected to each other but not closed form(Bounding Poly).
64
68
  # The line segments can cross each other.
69
+ #
70
+ # Note: The following fields are mutually exclusive: `image_polyline_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
71
  # @!attribute [rw] image_segmentation_annotation
66
72
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation]
67
73
  # Annotation value for image segmentation.
74
+ #
75
+ # Note: The following fields are mutually exclusive: `image_segmentation_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
76
  # @!attribute [rw] text_classification_annotation
69
77
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation]
70
78
  # Annotation value for text classification case.
79
+ #
80
+ # Note: The following fields are mutually exclusive: `text_classification_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
81
  # @!attribute [rw] text_entity_extraction_annotation
72
82
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation]
73
83
  # Annotation value for text entity extraction case.
84
+ #
85
+ # Note: The following fields are mutually exclusive: `text_entity_extraction_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
74
86
  # @!attribute [rw] video_classification_annotation
75
87
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation]
76
88
  # Annotation value for video classification case.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `video_classification_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_object_tracking_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
77
91
  # @!attribute [rw] video_object_tracking_annotation
78
92
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation]
79
93
  # Annotation value for video object detection and tracking case.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `video_object_tracking_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_event_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
80
96
  # @!attribute [rw] video_event_annotation
81
97
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation]
82
98
  # Annotation value for video event case.
99
+ #
100
+ # Note: The following fields are mutually exclusive: `video_event_annotation`, `image_classification_annotation`, `image_bounding_poly_annotation`, `image_polyline_annotation`, `image_segmentation_annotation`, `text_classification_annotation`, `text_entity_extraction_annotation`, `video_classification_annotation`, `video_object_tracking_annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
83
101
  class AnnotationValue
84
102
  include ::Google::Protobuf::MessageExts
85
103
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -143,8 +161,10 @@ module Google
143
161
  # bounding box in the image.
144
162
  # @!attribute [rw] bounding_poly
145
163
  # @return [::Google::Cloud::DataLabeling::V1beta1::BoundingPoly]
164
+ # Note: The following fields are mutually exclusive: `bounding_poly`, `normalized_bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
146
165
  # @!attribute [rw] normalized_bounding_poly
147
166
  # @return [::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly]
167
+ # Note: The following fields are mutually exclusive: `normalized_bounding_poly`, `bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
148
168
  # @!attribute [rw] annotation_spec
149
169
  # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec]
150
170
  # Label of object in this bounding polygon.
@@ -174,8 +194,10 @@ module Google
174
194
  # A polyline for the image annotation.
175
195
  # @!attribute [rw] polyline
176
196
  # @return [::Google::Cloud::DataLabeling::V1beta1::Polyline]
197
+ # Note: The following fields are mutually exclusive: `polyline`, `normalized_polyline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
177
198
  # @!attribute [rw] normalized_polyline
178
199
  # @return [::Google::Cloud::DataLabeling::V1beta1::NormalizedPolyline]
200
+ # Note: The following fields are mutually exclusive: `normalized_polyline`, `polyline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
179
201
  # @!attribute [rw] annotation_spec
180
202
  # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec]
181
203
  # Label of this polyline.
@@ -272,8 +294,10 @@ module Google
272
294
  # Video frame level annotation for object detection and tracking.
273
295
  # @!attribute [rw] bounding_poly
274
296
  # @return [::Google::Cloud::DataLabeling::V1beta1::BoundingPoly]
297
+ # Note: The following fields are mutually exclusive: `bounding_poly`, `normalized_bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
275
298
  # @!attribute [rw] normalized_bounding_poly
276
299
  # @return [::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly]
300
+ # Note: The following fields are mutually exclusive: `normalized_bounding_poly`, `bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
277
301
  # @!attribute [rw] time_offset
278
302
  # @return [::Google::Protobuf::Duration]
279
303
  # The time offset of this frame relative to the beginning of the video.
@@ -244,21 +244,29 @@ module Google
244
244
  # Configuration for image classification task.
245
245
  # One of image_classification_config, bounding_poly_config,
246
246
  # polyline_config and segmentation_config are required.
247
+ #
248
+ # Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
247
249
  # @!attribute [rw] bounding_poly_config
248
250
  # @return [::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig]
249
251
  # Configuration for bounding box and bounding poly task.
250
252
  # One of image_classification_config, bounding_poly_config,
251
253
  # polyline_config and segmentation_config are required.
254
+ #
255
+ # Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
252
256
  # @!attribute [rw] polyline_config
253
257
  # @return [::Google::Cloud::DataLabeling::V1beta1::PolylineConfig]
254
258
  # Configuration for polyline task.
255
259
  # One of image_classification_config, bounding_poly_config,
256
260
  # polyline_config and segmentation_config are required.
261
+ #
262
+ # Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
257
263
  # @!attribute [rw] segmentation_config
258
264
  # @return [::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig]
259
265
  # Configuration for segmentation task.
260
266
  # One of image_classification_config, bounding_poly_config,
261
267
  # polyline_config and segmentation_config are required.
268
+ #
269
+ # Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
262
270
  # @!attribute [rw] parent
263
271
  # @return [::String]
264
272
  # Required. Name of the dataset to request labeling task, format:
@@ -307,21 +315,29 @@ module Google
307
315
  # Configuration for video classification task.
308
316
  # One of video_classification_config, object_detection_config,
309
317
  # object_tracking_config and event_config is required.
318
+ #
319
+ # Note: The following fields are mutually exclusive: `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
310
320
  # @!attribute [rw] object_detection_config
311
321
  # @return [::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionConfig]
312
322
  # Configuration for video object detection task.
313
323
  # One of video_classification_config, object_detection_config,
314
324
  # object_tracking_config and event_config is required.
325
+ #
326
+ # Note: The following fields are mutually exclusive: `object_detection_config`, `video_classification_config`, `object_tracking_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
315
327
  # @!attribute [rw] object_tracking_config
316
328
  # @return [::Google::Cloud::DataLabeling::V1beta1::ObjectTrackingConfig]
317
329
  # Configuration for video object tracking task.
318
330
  # One of video_classification_config, object_detection_config,
319
331
  # object_tracking_config and event_config is required.
332
+ #
333
+ # Note: The following fields are mutually exclusive: `object_tracking_config`, `video_classification_config`, `object_detection_config`, `event_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
320
334
  # @!attribute [rw] event_config
321
335
  # @return [::Google::Cloud::DataLabeling::V1beta1::EventConfig]
322
336
  # Configuration for video event task.
323
337
  # One of video_classification_config, object_detection_config,
324
338
  # object_tracking_config and event_config is required.
339
+ #
340
+ # Note: The following fields are mutually exclusive: `event_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
325
341
  # @!attribute [rw] parent
326
342
  # @return [::String]
327
343
  # Required. Name of the dataset to request labeling task, format:
@@ -360,11 +376,15 @@ module Google
360
376
  # Configuration for text classification task.
361
377
  # One of text_classification_config and text_entity_extraction_config
362
378
  # is required.
379
+ #
380
+ # Note: The following fields are mutually exclusive: `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
363
381
  # @!attribute [rw] text_entity_extraction_config
364
382
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig]
365
383
  # Configuration for entity extraction task.
366
384
  # One of text_classification_config and text_entity_extraction_config
367
385
  # is required.
386
+ #
387
+ # Note: The following fields are mutually exclusive: `text_entity_extraction_config`, `text_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
368
388
  # @!attribute [rw] parent
369
389
  # @return [::String]
370
390
  # Required. Name of the data set to request labeling task, format:
@@ -61,10 +61,14 @@ module Google
61
61
  # @!attribute [rw] gcs_source
62
62
  # @return [::Google::Cloud::DataLabeling::V1beta1::GcsSource]
63
63
  # Source located in Cloud Storage.
64
+ #
65
+ # Note: The following fields are mutually exclusive: `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
64
66
  # @!attribute [rw] bigquery_source
65
67
  # @return [::Google::Cloud::DataLabeling::V1beta1::BigQuerySource]
66
68
  # Source located in BigQuery. You must specify this field if you are using
67
69
  # this InputConfig in an {::Google::Cloud::DataLabeling::V1beta1::EvaluationJob EvaluationJob}.
70
+ #
71
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
72
  # @!attribute [rw] data_type
69
73
  # @return [::Google::Cloud::DataLabeling::V1beta1::DataType]
70
74
  # Required. Data type must be specifed when user tries to import data.
@@ -145,10 +149,14 @@ module Google
145
149
  # @return [::Google::Cloud::DataLabeling::V1beta1::GcsDestination]
146
150
  # Output to a file in Cloud Storage. Should be used for labeling output
147
151
  # other than image segmentation.
152
+ #
153
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `gcs_folder_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
148
154
  # @!attribute [rw] gcs_folder_destination
149
155
  # @return [::Google::Cloud::DataLabeling::V1beta1::GcsFolderDestination]
150
156
  # Output to a folder in Cloud Storage. Should be used for image
151
157
  # segmentation labeling output.
158
+ #
159
+ # Note: The following fields are mutually exclusive: `gcs_folder_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
152
160
  class OutputConfig
153
161
  include ::Google::Protobuf::MessageExts
154
162
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -182,12 +190,18 @@ module Google
182
190
  # @!attribute [rw] image_payload
183
191
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImagePayload]
184
192
  # The image payload, a container of the image bytes/uri.
193
+ #
194
+ # Note: The following fields are mutually exclusive: `image_payload`, `text_payload`, `video_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
185
195
  # @!attribute [rw] text_payload
186
196
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextPayload]
187
197
  # The text payload, a container of text content.
198
+ #
199
+ # Note: The following fields are mutually exclusive: `text_payload`, `image_payload`, `video_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
188
200
  # @!attribute [rw] video_payload
189
201
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoPayload]
190
202
  # The video payload, a container of the video uri.
203
+ #
204
+ # Note: The following fields are mutually exclusive: `video_payload`, `image_payload`, `text_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
191
205
  # @!attribute [rw] name
192
206
  # @return [::String]
193
207
  # Output only. Name of the data item, in format of:
@@ -273,33 +287,53 @@ module Google
273
287
  # @!attribute [rw] image_classification_config
274
288
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig]
275
289
  # Configuration for image classification task.
290
+ #
291
+ # Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
276
292
  # @!attribute [rw] bounding_poly_config
277
293
  # @return [::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig]
278
294
  # Configuration for image bounding box and bounding poly task.
295
+ #
296
+ # Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
279
297
  # @!attribute [rw] polyline_config
280
298
  # @return [::Google::Cloud::DataLabeling::V1beta1::PolylineConfig]
281
299
  # Configuration for image polyline task.
300
+ #
301
+ # Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
282
302
  # @!attribute [rw] segmentation_config
283
303
  # @return [::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig]
284
304
  # Configuration for image segmentation task.
305
+ #
306
+ # Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
285
307
  # @!attribute [rw] video_classification_config
286
308
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig]
287
309
  # Configuration for video classification task.
310
+ #
311
+ # Note: The following fields are mutually exclusive: `video_classification_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
288
312
  # @!attribute [rw] object_detection_config
289
313
  # @return [::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionConfig]
290
314
  # Configuration for video object detection task.
315
+ #
316
+ # Note: The following fields are mutually exclusive: `object_detection_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_tracking_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
291
317
  # @!attribute [rw] object_tracking_config
292
318
  # @return [::Google::Cloud::DataLabeling::V1beta1::ObjectTrackingConfig]
293
319
  # Configuration for video object tracking task.
320
+ #
321
+ # Note: The following fields are mutually exclusive: `object_tracking_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `event_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
294
322
  # @!attribute [rw] event_config
295
323
  # @return [::Google::Cloud::DataLabeling::V1beta1::EventConfig]
296
324
  # Configuration for video event labeling task.
325
+ #
326
+ # Note: The following fields are mutually exclusive: `event_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `text_classification_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
297
327
  # @!attribute [rw] text_classification_config
298
328
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig]
299
329
  # Configuration for text classification task.
330
+ #
331
+ # Note: The following fields are mutually exclusive: `text_classification_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_entity_extraction_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
300
332
  # @!attribute [rw] text_entity_extraction_config
301
333
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig]
302
334
  # Configuration for text entity extraction task.
335
+ #
336
+ # Note: The following fields are mutually exclusive: `text_entity_extraction_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`, `video_classification_config`, `object_detection_config`, `object_tracking_config`, `event_config`, `text_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
303
337
  # @!attribute [rw] human_annotation_config
304
338
  # @return [::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig]
305
339
  # HumanAnnotationConfig used when requesting the human labeling task for this
@@ -314,12 +348,18 @@ module Google
314
348
  # @!attribute [rw] image_payload
315
349
  # @return [::Google::Cloud::DataLabeling::V1beta1::ImagePayload]
316
350
  # The image payload, a container of the image bytes/uri.
351
+ #
352
+ # Note: The following fields are mutually exclusive: `image_payload`, `text_payload`, `video_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
317
353
  # @!attribute [rw] text_payload
318
354
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextPayload]
319
355
  # The text payload, a container of the text content.
356
+ #
357
+ # Note: The following fields are mutually exclusive: `text_payload`, `image_payload`, `video_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
320
358
  # @!attribute [rw] video_payload
321
359
  # @return [::Google::Cloud::DataLabeling::V1beta1::VideoPayload]
322
360
  # The video payload, a container of the video uri.
361
+ #
362
+ # Note: The following fields are mutually exclusive: `video_payload`, `image_payload`, `text_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
323
363
  # @!attribute [rw] name
324
364
  # @return [::String]
325
365
  # Output only. Name of the example, in format of:
@@ -88,8 +88,10 @@ module Google
88
88
 
89
89
  # @!attribute [rw] classification_metrics
90
90
  # @return [::Google::Cloud::DataLabeling::V1beta1::ClassificationMetrics]
91
+ # Note: The following fields are mutually exclusive: `classification_metrics`, `object_detection_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
91
92
  # @!attribute [rw] object_detection_metrics
92
93
  # @return [::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionMetrics]
94
+ # Note: The following fields are mutually exclusive: `object_detection_metrics`, `classification_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
95
  class EvaluationMetrics
94
96
  include ::Google::Protobuf::MessageExts
95
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -151,6 +151,8 @@ module Google
151
151
  # {::Google::Cloud::DataLabeling::V1beta1::EvaluationJob#annotation_spec_set EvaluationJob.annotationSpecSet}.
152
152
  # `allowMultiLabel` in this configuration must match
153
153
  # `classificationMetadata.isMultiLabel` in {::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig#input_config input_config}.
154
+ #
155
+ # Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `text_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
154
156
  # @!attribute [rw] bounding_poly_config
155
157
  # @return [::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig]
156
158
  # Specify this field if your model version performs image object detection
@@ -158,6 +160,8 @@ module Google
158
160
  #
159
161
  # `annotationSpecSet` in this configuration must match
160
162
  # {::Google::Cloud::DataLabeling::V1beta1::EvaluationJob#annotation_spec_set EvaluationJob.annotationSpecSet}.
163
+ #
164
+ # Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `text_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
161
165
  # @!attribute [rw] text_classification_config
162
166
  # @return [::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig]
163
167
  # Specify this field if your model version performs text classification.
@@ -166,6 +170,8 @@ module Google
166
170
  # {::Google::Cloud::DataLabeling::V1beta1::EvaluationJob#annotation_spec_set EvaluationJob.annotationSpecSet}.
167
171
  # `allowMultiLabel` in this configuration must match
168
172
  # `classificationMetadata.isMultiLabel` in {::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig#input_config input_config}.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `text_classification_config`, `image_classification_config`, `bounding_poly_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
169
175
  # @!attribute [rw] input_config
170
176
  # @return [::Google::Cloud::DataLabeling::V1beta1::InputConfig]
171
177
  # Rquired. Details for the sampled prediction input. Within this
@@ -99,39 +99,63 @@ module Google
99
99
  # @!attribute [rw] image_classification_details
100
100
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImageClassificationOperationMetadata]
101
101
  # Details of label image classification operation.
102
+ #
103
+ # Note: The following fields are mutually exclusive: `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
102
104
  # @!attribute [rw] image_bounding_box_details
103
105
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImageBoundingBoxOperationMetadata]
104
106
  # Details of label image bounding box operation.
107
+ #
108
+ # Note: The following fields are mutually exclusive: `image_bounding_box_details`, `image_classification_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
105
109
  # @!attribute [rw] image_bounding_poly_details
106
110
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImageBoundingPolyOperationMetadata]
107
111
  # Details of label image bounding poly operation.
112
+ #
113
+ # Note: The following fields are mutually exclusive: `image_bounding_poly_details`, `image_classification_details`, `image_bounding_box_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
108
114
  # @!attribute [rw] image_oriented_bounding_box_details
109
115
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImageOrientedBoundingBoxOperationMetadata]
110
116
  # Details of label image oriented bounding box operation.
117
+ #
118
+ # Note: The following fields are mutually exclusive: `image_oriented_bounding_box_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
111
119
  # @!attribute [rw] image_polyline_details
112
120
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImagePolylineOperationMetadata]
113
121
  # Details of label image polyline operation.
122
+ #
123
+ # Note: The following fields are mutually exclusive: `image_polyline_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
114
124
  # @!attribute [rw] image_segmentation_details
115
125
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelImageSegmentationOperationMetadata]
116
126
  # Details of label image segmentation operation.
127
+ #
128
+ # Note: The following fields are mutually exclusive: `image_segmentation_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
117
129
  # @!attribute [rw] video_classification_details
118
130
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelVideoClassificationOperationMetadata]
119
131
  # Details of label video classification operation.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `video_classification_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
120
134
  # @!attribute [rw] video_object_detection_details
121
135
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelVideoObjectDetectionOperationMetadata]
122
136
  # Details of label video object detection operation.
137
+ #
138
+ # Note: The following fields are mutually exclusive: `video_object_detection_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
123
139
  # @!attribute [rw] video_object_tracking_details
124
140
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelVideoObjectTrackingOperationMetadata]
125
141
  # Details of label video object tracking operation.
142
+ #
143
+ # Note: The following fields are mutually exclusive: `video_object_tracking_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_event_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
126
144
  # @!attribute [rw] video_event_details
127
145
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelVideoEventOperationMetadata]
128
146
  # Details of label video event operation.
147
+ #
148
+ # Note: The following fields are mutually exclusive: `video_event_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `text_classification_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
129
149
  # @!attribute [rw] text_classification_details
130
150
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelTextClassificationOperationMetadata]
131
151
  # Details of label text classification operation.
152
+ #
153
+ # Note: The following fields are mutually exclusive: `text_classification_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_entity_extraction_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
132
154
  # @!attribute [rw] text_entity_extraction_details
133
155
  # @return [::Google::Cloud::DataLabeling::V1beta1::LabelTextEntityExtractionOperationMetadata]
134
156
  # Details of label text entity extraction operation.
157
+ #
158
+ # Note: The following fields are mutually exclusive: `text_entity_extraction_details`, `image_classification_details`, `image_bounding_box_details`, `image_bounding_poly_details`, `image_oriented_bounding_box_details`, `image_polyline_details`, `image_segmentation_details`, `video_classification_details`, `video_object_detection_details`, `video_object_tracking_details`, `video_event_details`, `text_classification_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
135
159
  # @!attribute [rw] progress_percent
136
160
  # @return [::Integer]
137
161
  # Output only. Progress of label operation. Range: [0, 100].
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_labeling-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -103,7 +102,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
103
102
  licenses:
104
103
  - Apache-2.0
105
104
  metadata: {}
106
- post_install_message:
107
105
  rdoc_options: []
108
106
  require_paths:
109
107
  - lib
@@ -111,15 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
109
  requirements:
112
110
  - - ">="
113
111
  - !ruby/object:Gem::Version
114
- version: '2.7'
112
+ version: '3.0'
115
113
  required_rubygems_version: !ruby/object:Gem::Requirement
116
114
  requirements:
117
115
  - - ">="
118
116
  - !ruby/object:Gem::Version
119
117
  version: '0'
120
118
  requirements: []
121
- rubygems_version: 3.5.23
122
- signing_key:
119
+ rubygems_version: 3.6.2
123
120
  specification_version: 4
124
121
  summary: Public API for Google Cloud AI Data Labeling Service.
125
122
  test_files: []