google-cloud-data_labeling-v1beta1 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/data_labeling/v1beta1/data_labeling_service/client.rb +29 -2
- data/lib/google/cloud/data_labeling/v1beta1/data_labeling_service/operations.rb +9 -2
- data/lib/google/cloud/data_labeling/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb +24 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb +20 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb +40 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/evaluation.rb +2 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/evaluation_job.rb +6 -0
- data/proto_docs/google/cloud/datalabeling/v1beta1/operations.rb +24 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8daa492e39738012fac102e5aab90c9e01821a7a5f7e8451767ea5ca857a19a9
|
4
|
+
data.tar.gz: 34583426d62fe6651f1cfc98760c8a8c0923ea11a8fafd07cf5c0d910727551e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb88f59fa0c6284274854ee61a0f10766a7448ace24cbe519876f9f64c991b0350c5e4ebe5819423cdbcab7259a24a648243343837ddf69c327378045c5199e0
|
7
|
+
data.tar.gz: bb44a925f44547f73a48c5665e6de3cc94af019a28def3cfafdbb076d1aaa2549c58ccb40d8d7c44e13c99c8ec14b07d2d1005ad46dc30a2752440edce543044
|
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
|
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
|
@@ -3719,8 +3746,8 @@ module Google
|
|
3719
3746
|
|
3720
3747
|
config_attr :endpoint, nil, ::String, nil
|
3721
3748
|
config_attr :credentials, nil do |value|
|
3722
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3723
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
3749
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3750
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
3724
3751
|
allowed.any? { |klass| klass === value }
|
3725
3752
|
end
|
3726
3753
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -694,8 +701,8 @@ module Google
|
|
694
701
|
|
695
702
|
config_attr :endpoint, nil, ::String, nil
|
696
703
|
config_attr :credentials, nil do |value|
|
697
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
698
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
699
706
|
allowed.any? { |klass| klass === value }
|
700
707
|
end
|
701
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
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.
|
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: '
|
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.
|
122
|
-
signing_key:
|
119
|
+
rubygems_version: 3.6.8
|
123
120
|
specification_version: 4
|
124
121
|
summary: Public API for Google Cloud AI Data Labeling Service.
|
125
122
|
test_files: []
|