google-cloud-automl-v1 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,8 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1
24
- # Input configuration for {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData} action.
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
- # <h4>AutoML Vision</h4>
41
+ # #### AutoML Vision
41
42
  #
42
43
  #
43
- # <div class="ds-selector-tabs"><section><h5>Classification</h5>
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
- # </section><section><h5>Object Detection</h5>
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
- # <h4>AutoML Video Intelligence</h4>
123
+ # #### AutoML Video Intelligence
123
124
  #
124
125
  #
125
- # <div class="ds-selector-tabs"><section><h5>Classification</h5>
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
- # </section><section><h5>Object Tracking</h5>
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
- # <h4>AutoML Natural Language</h4>
222
+ # #### AutoML Natural Language
224
223
  #
225
224
  #
226
- # <div class="ds-selector-tabs"><section><h5>Entity Extraction</h5>
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
- # </section><section><h5>Classification</h5>
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
- # </section><section><h5>Sentiment Analysis</h5>
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
- # <h4>AutoML Tables</h4><div class="ui-datasection-main"><section
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}, `gcs_source` points to a CSV file with
639
- # a structure described in {::Google::Cloud::AutoML::V1::InputConfig InputConfig}.
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
- # <h4>AutoML Tables</h4>
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
- # <h4>AutoML Vision</h4>
679
- # <div class="ds-selector-tabs"><section><h5>Classification</h5>
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
- # </section><section><h5>Object Detection</h5>
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
- # <h4>AutoML Video Intelligence</h4>
714
- # <div class="ds-selector-tabs"><section><h5>Classification</h5>
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
- # </section><section><h5>Object Tracking</h5>
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
- # <h4>AutoML Natural Language</h4>
755
- # <div class="ds-selector-tabs"><section><h5>Classification</h5>
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
- # </section><section><h5>Sentiment Analysis</h5>
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
- # </section><section><h5>Entity Extraction</h5>
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
- # <h4>AutoML Tables</h4><div class="ui-datasection-main"><section
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 written to.
994
- # For Image Object Detection, Text Extraction, Video Classification and
995
- # Tables, in the given directory a new directory will be created with name:
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 output is to
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 written to.
1266
- # This location may only be set for the following model formats:
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
@@ -42,7 +42,7 @@ module Google
42
42
  # The error result of the operation in case of failure or cancellation.
43
43
  # @!attribute [rw] response
44
44
  # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
45
+ # The normal, successful response of the operation. If the original
46
46
  # method returns no data on success, such as `Delete`, the response is
47
47
  # `google.protobuf.Empty`. If the original method is standard
48
48
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -55,7 +55,8 @@ module Google
55
55
  extend ::Google::Protobuf::MessageExts::ClassMethods
56
56
  end
57
57
 
58
- # The request message for Operations.GetOperation.
58
+ # The request message for
59
+ # Operations.GetOperation.
59
60
  # @!attribute [rw] name
60
61
  # @return [::String]
61
62
  # The name of the operation resource.
@@ -64,7 +65,8 @@ module Google
64
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
66
  end
66
67
 
67
- # The request message for Operations.ListOperations.
68
+ # The request message for
69
+ # Operations.ListOperations.
68
70
  # @!attribute [rw] name
69
71
  # @return [::String]
70
72
  # The name of the operation's parent resource.
@@ -82,7 +84,8 @@ module Google
82
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
85
  end
84
86
 
85
- # The response message for Operations.ListOperations.
87
+ # The response message for
88
+ # Operations.ListOperations.
86
89
  # @!attribute [rw] operations
87
90
  # @return [::Array<::Google::Longrunning::Operation>]
88
91
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +97,8 @@ module Google
94
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
98
  end
96
99
 
97
- # The request message for Operations.CancelOperation.
100
+ # The request message for
101
+ # Operations.CancelOperation.
98
102
  # @!attribute [rw] name
99
103
  # @return [::String]
100
104
  # The name of the operation resource to be cancelled.
@@ -103,7 +107,8 @@ module Google
103
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
108
  end
105
109
 
106
- # The request message for Operations.DeleteOperation.
110
+ # The request message for
111
+ # Operations.DeleteOperation.
107
112
  # @!attribute [rw] name
108
113
  # @return [::String]
109
114
  # The name of the operation resource to be deleted.
@@ -112,7 +117,8 @@ module Google
112
117
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
118
  end
114
119
 
115
- # The request message for Operations.WaitOperation.
120
+ # The request message for
121
+ # Operations.WaitOperation.
116
122
  # @!attribute [rw] name
117
123
  # @return [::String]
118
124
  # The name of the operation resource to wait on.
@@ -130,13 +136,12 @@ module Google
130
136
  #
131
137
  # Example:
132
138
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
139
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
140
+ # option (google.longrunning.operation_info) = {
141
+ # response_type: "ExportResponse"
142
+ # metadata_type: "ExportMetadata"
143
+ # };
144
+ # }
140
145
  # @!attribute [rw] response_type
141
146
  # @return [::String]
142
147
  # Required. The message name of the primary return type for this
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.21.1
19
+ version: 0.24.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.21.1
29
+ version: 0.24.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.5.6
157
+ rubygems_version: 3.5.23
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Train high-quality custom machine learning models with minimum effort and