google-cloud-automl-v1 1.0.1 → 1.2.0
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 +31 -21
- data/lib/google/cloud/automl/v1/automl/client.rb +50 -19
- data/lib/google/cloud/automl/v1/automl/operations.rb +19 -15
- data/lib/google/cloud/automl/v1/automl/rest/client.rb +50 -19
- data/lib/google/cloud/automl/v1/automl/rest/operations.rb +59 -45
- data/lib/google/cloud/automl/v1/automl/rest/service_stub.rb +158 -110
- data/lib/google/cloud/automl/v1/prediction_service/client.rb +35 -3
- data/lib/google/cloud/automl/v1/prediction_service/operations.rb +19 -15
- data/lib/google/cloud/automl/v1/prediction_service/rest/client.rb +35 -3
- data/lib/google/cloud/automl/v1/prediction_service/rest/operations.rb +59 -45
- data/lib/google/cloud/automl/v1/prediction_service/rest/service_stub.rb +30 -14
- data/lib/google/cloud/automl/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/automl/v1/annotation_payload.rb +10 -0
- data/proto_docs/google/cloud/automl/v1/data_items.rb +6 -0
- data/proto_docs/google/cloud/automl/v1/dataset.rb +12 -0
- data/proto_docs/google/cloud/automl/v1/io.rb +37 -49
- data/proto_docs/google/cloud/automl/v1/model.rb +12 -0
- data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +10 -0
- data/proto_docs/google/cloud/automl/v1/operations.rb +18 -0
- data/proto_docs/google/cloud/automl/v1/service.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- metadata +6 -9
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AutoML
|
23
23
|
module V1
|
24
|
-
# Input configuration for
|
24
|
+
# Input configuration for
|
25
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData} action.
|
25
26
|
#
|
26
27
|
# The format of input depends on dataset_metadata the Dataset into which
|
27
28
|
# the import is happening has. As input source the
|
@@ -37,10 +38,10 @@ module Google
|
|
37
38
|
# The formats are represented in EBNF with commas being literal and with
|
38
39
|
# non-terminal symbols defined near the end of this comment. The formats are:
|
39
40
|
#
|
40
|
-
#
|
41
|
+
# #### AutoML Vision
|
41
42
|
#
|
42
43
|
#
|
43
|
-
#
|
44
|
+
# ##### Classification
|
44
45
|
#
|
45
46
|
# See [Preparing your training
|
46
47
|
# data](https://cloud.google.com/vision/automl/docs/prepare) for more
|
@@ -77,7 +78,7 @@ module Google
|
|
77
78
|
# UNASSIGNED,gs://folder/image4.jpg
|
78
79
|
#
|
79
80
|
#
|
80
|
-
#
|
81
|
+
# ##### Object Detection
|
81
82
|
# See [Preparing your training
|
82
83
|
# data](https://cloud.google.com/vision/automl/object-detection/docs/prepare)
|
83
84
|
# for more information.
|
@@ -119,10 +120,10 @@ module Google
|
|
119
120
|
# </div>
|
120
121
|
#
|
121
122
|
#
|
122
|
-
#
|
123
|
+
# #### AutoML Video Intelligence
|
123
124
|
#
|
124
125
|
#
|
125
|
-
#
|
126
|
+
# ##### Classification
|
126
127
|
#
|
127
128
|
# See [Preparing your training
|
128
129
|
# data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for
|
@@ -165,7 +166,7 @@ module Google
|
|
165
166
|
#
|
166
167
|
#
|
167
168
|
#
|
168
|
-
#
|
169
|
+
# ##### Object Tracking
|
169
170
|
#
|
170
171
|
# See [Preparing your training
|
171
172
|
# data](/video-intelligence/automl/object-tracking/docs/prepare) for more
|
@@ -216,14 +217,12 @@ module Google
|
|
216
217
|
# gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,,
|
217
218
|
# gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
|
218
219
|
# gs://folder/video2.avi,,,,,,,,,,,
|
219
|
-
# </section>
|
220
|
-
# </div>
|
221
220
|
#
|
222
221
|
#
|
223
|
-
#
|
222
|
+
# #### AutoML Natural Language
|
224
223
|
#
|
225
224
|
#
|
226
|
-
#
|
225
|
+
# ##### Entity Extraction
|
227
226
|
#
|
228
227
|
# See [Preparing your training
|
229
228
|
# data](/natural-language/automl/entity-analysis/docs/prepare) for more
|
@@ -406,7 +405,7 @@ module Google
|
|
406
405
|
#
|
407
406
|
#
|
408
407
|
#
|
409
|
-
#
|
408
|
+
# ##### Classification
|
410
409
|
#
|
411
410
|
# See [Preparing your training
|
412
411
|
# data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
|
@@ -453,7 +452,7 @@ module Google
|
|
453
452
|
#
|
454
453
|
#
|
455
454
|
#
|
456
|
-
#
|
455
|
+
# ##### Sentiment Analysis
|
457
456
|
#
|
458
457
|
# See [Preparing your training
|
459
458
|
# data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
|
@@ -510,13 +509,10 @@ module Google
|
|
510
509
|
# gs://folder/content.txt,3
|
511
510
|
# TEST,gs://folder/document.pdf
|
512
511
|
# VALIDATE,gs://folder/text_files.zip,2
|
513
|
-
# </section>
|
514
|
-
# </div>
|
515
512
|
#
|
516
513
|
#
|
517
514
|
#
|
518
|
-
#
|
519
|
-
# class="selected">
|
515
|
+
# #### AutoML Tables
|
520
516
|
#
|
521
517
|
# See [Preparing your training
|
522
518
|
# data](https://cloud.google.com/automl-tables/docs/prepare) for more
|
@@ -555,8 +551,6 @@ module Google
|
|
555
551
|
# and between 1000 and 100,000,000 rows, inclusive. There are at most 5
|
556
552
|
# import data running in parallel.
|
557
553
|
#
|
558
|
-
# </section>
|
559
|
-
# </div>
|
560
554
|
#
|
561
555
|
#
|
562
556
|
# **Input field definitions:**
|
@@ -635,15 +629,16 @@ module Google
|
|
635
629
|
# @!attribute [rw] gcs_source
|
636
630
|
# @return [::Google::Cloud::AutoML::V1::GcsSource]
|
637
631
|
# The Google Cloud Storage location for the input content.
|
638
|
-
# For {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData},
|
639
|
-
# a structure described in
|
632
|
+
# For {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData},
|
633
|
+
# `gcs_source` points to a CSV file with a structure described in
|
634
|
+
# {::Google::Cloud::AutoML::V1::InputConfig InputConfig}.
|
640
635
|
# @!attribute [rw] params
|
641
636
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
642
637
|
# Additional domain-specific parameters describing the semantic of the
|
643
638
|
# imported data, any string must be up to 25000
|
644
639
|
# characters long.
|
645
640
|
#
|
646
|
-
#
|
641
|
+
# #### AutoML Tables
|
647
642
|
#
|
648
643
|
# `schema_inference_version`
|
649
644
|
# : (integer) This value must be supplied.
|
@@ -675,8 +670,8 @@ module Google
|
|
675
670
|
# non-terminal symbols defined near the end of this comment. The formats
|
676
671
|
# are:
|
677
672
|
#
|
678
|
-
#
|
679
|
-
#
|
673
|
+
# #### AutoML Vision
|
674
|
+
# ##### Classification
|
680
675
|
#
|
681
676
|
# One or more CSV files where each line is a single column:
|
682
677
|
#
|
@@ -692,7 +687,7 @@ module Google
|
|
692
687
|
# gs://folder/image2.gif
|
693
688
|
# gs://folder/image3.png
|
694
689
|
#
|
695
|
-
#
|
690
|
+
# ##### Object Detection
|
696
691
|
#
|
697
692
|
# One or more CSV files where each line is a single column:
|
698
693
|
#
|
@@ -707,11 +702,9 @@ module Google
|
|
707
702
|
# gs://folder/image1.jpeg
|
708
703
|
# gs://folder/image2.gif
|
709
704
|
# gs://folder/image3.png
|
710
|
-
# </section>
|
711
|
-
# </div>
|
712
705
|
#
|
713
|
-
#
|
714
|
-
#
|
706
|
+
# #### AutoML Video Intelligence
|
707
|
+
# ##### Classification
|
715
708
|
#
|
716
709
|
# One or more CSV files where each line is a single column:
|
717
710
|
#
|
@@ -730,7 +723,7 @@ module Google
|
|
730
723
|
# gs://folder/video1.mp4,20,60
|
731
724
|
# gs://folder/vid2.mov,0,inf
|
732
725
|
#
|
733
|
-
#
|
726
|
+
# ##### Object Tracking
|
734
727
|
#
|
735
728
|
# One or more CSV files where each line is a single column:
|
736
729
|
#
|
@@ -748,11 +741,9 @@ module Google
|
|
748
741
|
# gs://folder/video1.mp4,10,40
|
749
742
|
# gs://folder/video1.mp4,20,60
|
750
743
|
# gs://folder/vid2.mov,0,inf
|
751
|
-
# </section>
|
752
|
-
# </div>
|
753
744
|
#
|
754
|
-
#
|
755
|
-
#
|
745
|
+
# #### AutoML Natural Language
|
746
|
+
# ##### Classification
|
756
747
|
#
|
757
748
|
# One or more CSV files where each line is a single column:
|
758
749
|
#
|
@@ -769,7 +760,7 @@ module Google
|
|
769
760
|
# gs://folder/text2.pdf
|
770
761
|
# gs://folder/text3.tif
|
771
762
|
#
|
772
|
-
#
|
763
|
+
# ##### Sentiment Analysis
|
773
764
|
# One or more CSV files where each line is a single column:
|
774
765
|
#
|
775
766
|
# GCS_FILE_PATH
|
@@ -785,7 +776,7 @@ module Google
|
|
785
776
|
# gs://folder/text2.pdf
|
786
777
|
# gs://folder/text3.tif
|
787
778
|
#
|
788
|
-
#
|
779
|
+
# ##### Entity Extraction
|
789
780
|
#
|
790
781
|
# One or more JSONL (JSON Lines) files that either provide inline text or
|
791
782
|
# documents. You can only use one format, either inline text or documents,
|
@@ -855,11 +846,8 @@ module Google
|
|
855
846
|
# }
|
856
847
|
# }
|
857
848
|
# }
|
858
|
-
# </section>
|
859
|
-
# </div>
|
860
849
|
#
|
861
|
-
#
|
862
|
-
# class="selected">
|
850
|
+
# #### AutoML Tables
|
863
851
|
#
|
864
852
|
# See [Preparing your training
|
865
853
|
# data](https://cloud.google.com/automl-tables/docs/predict-batch) for more
|
@@ -905,8 +893,6 @@ module Google
|
|
905
893
|
# input feature column specs must contain values compatible with the
|
906
894
|
# column spec's data types. Prediction on all the rows of the table
|
907
895
|
# will be attempted.
|
908
|
-
# </section>
|
909
|
-
# </div>
|
910
896
|
#
|
911
897
|
# **Input field definitions:**
|
912
898
|
#
|
@@ -990,9 +976,10 @@ module Google
|
|
990
976
|
# filled with precisely the same data as this obtained on import.
|
991
977
|
# @!attribute [rw] gcs_destination
|
992
978
|
# @return [::Google::Cloud::AutoML::V1::GcsDestination]
|
993
|
-
# Required. The Google Cloud Storage location where the output is to be
|
994
|
-
# For Image Object Detection, Text Extraction, Video
|
995
|
-
# Tables, in the given directory a new directory will be
|
979
|
+
# Required. The Google Cloud Storage location where the output is to be
|
980
|
+
# written to. For Image Object Detection, Text Extraction, Video
|
981
|
+
# Classification and Tables, in the given directory a new directory will be
|
982
|
+
# created with name:
|
996
983
|
# export_data-<dataset-display-name>-<timestamp-of-export-call> where
|
997
984
|
# timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
|
998
985
|
# output will be written into that directory.
|
@@ -1252,8 +1239,8 @@ module Google
|
|
1252
1239
|
# represented as a STRUCT, and containing only `code` and `message`.
|
1253
1240
|
# @!attribute [rw] gcs_destination
|
1254
1241
|
# @return [::Google::Cloud::AutoML::V1::GcsDestination]
|
1255
|
-
# Required. The Google Cloud Storage location of the directory where the
|
1256
|
-
# be written to.
|
1242
|
+
# Required. The Google Cloud Storage location of the directory where the
|
1243
|
+
# output is to be written to.
|
1257
1244
|
class BatchPredictOutputConfig
|
1258
1245
|
include ::Google::Protobuf::MessageExts
|
1259
1246
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1262,8 +1249,9 @@ module Google
|
|
1262
1249
|
# Output configuration for ModelExport Action.
|
1263
1250
|
# @!attribute [rw] gcs_destination
|
1264
1251
|
# @return [::Google::Cloud::AutoML::V1::GcsDestination]
|
1265
|
-
# Required. The Google Cloud Storage location where the model is to be
|
1266
|
-
# This location may only be set for the following model
|
1252
|
+
# Required. The Google Cloud Storage location where the model is to be
|
1253
|
+
# written to. This location may only be set for the following model
|
1254
|
+
# formats:
|
1267
1255
|
# "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
|
1268
1256
|
#
|
1269
1257
|
# Under the directory given as the destination a new one with name
|
@@ -25,21 +25,33 @@ module Google
|
|
25
25
|
# @!attribute [rw] translation_model_metadata
|
26
26
|
# @return [::Google::Cloud::AutoML::V1::TranslationModelMetadata]
|
27
27
|
# Metadata for translation models.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] image_classification_model_metadata
|
29
31
|
# @return [::Google::Cloud::AutoML::V1::ImageClassificationModelMetadata]
|
30
32
|
# Metadata for image classification models.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_metadata`, `translation_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] text_classification_model_metadata
|
32
36
|
# @return [::Google::Cloud::AutoML::V1::TextClassificationModelMetadata]
|
33
37
|
# Metadata for text classification models.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `text_classification_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] image_object_detection_model_metadata
|
35
41
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelMetadata]
|
36
42
|
# Metadata for image object detection models.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] text_extraction_model_metadata
|
38
46
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionModelMetadata]
|
39
47
|
# Metadata for text extraction models.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `text_extraction_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
50
|
# @!attribute [rw] text_sentiment_model_metadata
|
41
51
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentModelMetadata]
|
42
52
|
# Metadata for text sentiment models.
|
53
|
+
#
|
54
|
+
# Note: The following fields are mutually exclusive: `text_sentiment_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
55
|
# @!attribute [rw] name
|
44
56
|
# @return [::String]
|
45
57
|
# Output only. Resource name of the model.
|
@@ -28,18 +28,28 @@ module Google
|
|
28
28
|
# classification.
|
29
29
|
# Tables problem is considered a classification when the target column
|
30
30
|
# is CATEGORY DataType.
|
31
|
+
#
|
32
|
+
# Note: The following fields are mutually exclusive: `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
33
|
# @!attribute [rw] translation_evaluation_metrics
|
32
34
|
# @return [::Google::Cloud::AutoML::V1::TranslationEvaluationMetrics]
|
33
35
|
# Model evaluation metrics for translation.
|
36
|
+
#
|
37
|
+
# Note: The following fields are mutually exclusive: `translation_evaluation_metrics`, `classification_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
38
|
# @!attribute [rw] image_object_detection_evaluation_metrics
|
35
39
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionEvaluationMetrics]
|
36
40
|
# Model evaluation metrics for image object detection.
|
41
|
+
#
|
42
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
43
|
# @!attribute [rw] text_sentiment_evaluation_metrics
|
38
44
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentEvaluationMetrics]
|
39
45
|
# Evaluation metrics for text sentiment models.
|
46
|
+
#
|
47
|
+
# Note: The following fields are mutually exclusive: `text_sentiment_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
48
|
# @!attribute [rw] text_extraction_evaluation_metrics
|
41
49
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics]
|
42
50
|
# Evaluation metrics for text extraction models.
|
51
|
+
#
|
52
|
+
# Note: The following fields are mutually exclusive: `text_extraction_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
53
|
# @!attribute [rw] name
|
44
54
|
# @return [::String]
|
45
55
|
# Output only. Resource name of the model evaluation.
|
@@ -25,30 +25,48 @@ module Google
|
|
25
25
|
# @!attribute [rw] delete_details
|
26
26
|
# @return [::Google::Cloud::AutoML::V1::DeleteOperationMetadata]
|
27
27
|
# Details of a Delete operation.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] deploy_model_details
|
29
31
|
# @return [::Google::Cloud::AutoML::V1::DeployModelOperationMetadata]
|
30
32
|
# Details of a DeployModel operation.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] undeploy_model_details
|
32
36
|
# @return [::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata]
|
33
37
|
# Details of an UndeployModel operation.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] create_model_details
|
35
41
|
# @return [::Google::Cloud::AutoML::V1::CreateModelOperationMetadata]
|
36
42
|
# Details of CreateModel operation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] create_dataset_details
|
38
46
|
# @return [::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata]
|
39
47
|
# Details of CreateDataset operation.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `create_dataset_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
50
|
# @!attribute [rw] import_data_details
|
41
51
|
# @return [::Google::Cloud::AutoML::V1::ImportDataOperationMetadata]
|
42
52
|
# Details of ImportData operation.
|
53
|
+
#
|
54
|
+
# Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
55
|
# @!attribute [rw] batch_predict_details
|
44
56
|
# @return [::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata]
|
45
57
|
# Details of BatchPredict operation.
|
58
|
+
#
|
59
|
+
# Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
46
60
|
# @!attribute [rw] export_data_details
|
47
61
|
# @return [::Google::Cloud::AutoML::V1::ExportDataOperationMetadata]
|
48
62
|
# Details of ExportData operation.
|
63
|
+
#
|
64
|
+
# Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
49
65
|
# @!attribute [rw] export_model_details
|
50
66
|
# @return [::Google::Cloud::AutoML::V1::ExportModelOperationMetadata]
|
51
67
|
# Details of ExportModel operation.
|
68
|
+
#
|
69
|
+
# Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
70
|
# @!attribute [rw] progress_percent
|
53
71
|
# @return [::Integer]
|
54
72
|
# Output only. Progress of operation. Range: [0, 100].
|
@@ -227,9 +227,13 @@ module Google
|
|
227
227
|
# @!attribute [rw] image_object_detection_model_deployment_metadata
|
228
228
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata]
|
229
229
|
# Model deployment metadata specific to Image Object Detection.
|
230
|
+
#
|
231
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
230
232
|
# @!attribute [rw] image_classification_model_deployment_metadata
|
231
233
|
# @return [::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata]
|
232
234
|
# Model deployment metadata specific to Image Classification.
|
235
|
+
#
|
236
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
233
237
|
# @!attribute [rw] name
|
234
238
|
# @return [::String]
|
235
239
|
# Required. Resource name of the model to deploy.
|
@@ -40,9 +40,11 @@ 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
|
-
# The normal response of the operation
|
47
|
+
# The normal, successful response of the operation. If the original
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -50,12 +52,15 @@ 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
|
56
60
|
end
|
57
61
|
|
58
|
-
# The request message for
|
62
|
+
# The request message for
|
63
|
+
# Operations.GetOperation.
|
59
64
|
# @!attribute [rw] name
|
60
65
|
# @return [::String]
|
61
66
|
# The name of the operation resource.
|
@@ -64,7 +69,8 @@ module Google
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
70
|
end
|
66
71
|
|
67
|
-
# The request message for
|
72
|
+
# The request message for
|
73
|
+
# Operations.ListOperations.
|
68
74
|
# @!attribute [rw] name
|
69
75
|
# @return [::String]
|
70
76
|
# The name of the operation's parent resource.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-automl-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
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: 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.
|
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
|
@@ -139,7 +138,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
139
138
|
licenses:
|
140
139
|
- Apache-2.0
|
141
140
|
metadata: {}
|
142
|
-
post_install_message:
|
143
141
|
rdoc_options: []
|
144
142
|
require_paths:
|
145
143
|
- lib
|
@@ -147,15 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
145
|
requirements:
|
148
146
|
- - ">="
|
149
147
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
148
|
+
version: '3.0'
|
151
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
150
|
requirements:
|
153
151
|
- - ">="
|
154
152
|
- !ruby/object:Gem::Version
|
155
153
|
version: '0'
|
156
154
|
requirements: []
|
157
|
-
rubygems_version: 3.
|
158
|
-
signing_key:
|
155
|
+
rubygems_version: 3.6.2
|
159
156
|
specification_version: 4
|
160
157
|
summary: Train high-quality custom machine learning models with minimum effort and
|
161
158
|
machine learning expertise.
|