google-cloud-automl-v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +71 -0
  6. data/lib/google-cloud-automl-v1beta1.rb +21 -0
  7. data/lib/google/cloud/automl/v1beta1.rb +36 -0
  8. data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +41 -0
  9. data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +26 -0
  10. data/lib/google/cloud/automl/v1beta1/automl.rb +63 -0
  11. data/lib/google/cloud/automl/v1beta1/automl/client.rb +2368 -0
  12. data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +51 -0
  13. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +564 -0
  14. data/lib/google/cloud/automl/v1beta1/automl/paths.rb +174 -0
  15. data/lib/google/cloud/automl/v1beta1/classification_pb.rb +73 -0
  16. data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +36 -0
  17. data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +95 -0
  18. data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +84 -0
  19. data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +43 -0
  20. data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +46 -0
  21. data/lib/google/cloud/automl/v1beta1/detection_pb.rb +59 -0
  22. data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +28 -0
  23. data/lib/google/cloud/automl/v1beta1/image_pb.rb +57 -0
  24. data/lib/google/cloud/automl/v1beta1/io_pb.rb +87 -0
  25. data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +45 -0
  26. data/lib/google/cloud/automl/v1beta1/model_pb.rb +52 -0
  27. data/lib/google/cloud/automl/v1beta1/operations_pb.rb +97 -0
  28. data/lib/google/cloud/automl/v1beta1/prediction_service.rb +53 -0
  29. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +586 -0
  30. data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +51 -0
  31. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +564 -0
  32. data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +52 -0
  33. data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +50 -0
  34. data/lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb +79 -0
  35. data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +24 -0
  36. data/lib/google/cloud/automl/v1beta1/regression_pb.rb +27 -0
  37. data/lib/google/cloud/automl/v1beta1/service_pb.rb +187 -0
  38. data/lib/google/cloud/automl/v1beta1/service_services_pb.rb +163 -0
  39. data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +31 -0
  40. data/lib/google/cloud/automl/v1beta1/tables_pb.rb +65 -0
  41. data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +25 -0
  42. data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +39 -0
  43. data/lib/google/cloud/automl/v1beta1/text_pb.rb +41 -0
  44. data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +25 -0
  45. data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +36 -0
  46. data/lib/google/cloud/automl/v1beta1/translation_pb.rb +41 -0
  47. data/lib/google/cloud/automl/v1beta1/version.rb +28 -0
  48. data/lib/google/cloud/automl/v1beta1/video_pb.rb +32 -0
  49. data/lib/google/cloud/common_resources_pb.rb +15 -0
  50. data/proto_docs/README.md +4 -0
  51. data/proto_docs/google/api/field_behavior.rb +59 -0
  52. data/proto_docs/google/api/resource.rb +247 -0
  53. data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +70 -0
  54. data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +46 -0
  55. data/proto_docs/google/cloud/automl/v1beta1/classification.rb +234 -0
  56. data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +77 -0
  57. data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +227 -0
  58. data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +227 -0
  59. data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +118 -0
  60. data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +84 -0
  61. data/proto_docs/google/cloud/automl/v1beta1/detection.rb +152 -0
  62. data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +53 -0
  63. data/proto_docs/google/cloud/automl/v1beta1/image.rb +205 -0
  64. data/proto_docs/google/cloud/automl/v1beta1/io.rb +1168 -0
  65. data/proto_docs/google/cloud/automl/v1beta1/model.rb +95 -0
  66. data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +103 -0
  67. data/proto_docs/google/cloud/automl/v1beta1/operations.rb +206 -0
  68. data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +238 -0
  69. data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +38 -0
  70. data/proto_docs/google/cloud/automl/v1beta1/regression.rb +48 -0
  71. data/proto_docs/google/cloud/automl/v1beta1/service.rb +447 -0
  72. data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +75 -0
  73. data/proto_docs/google/cloud/automl/v1beta1/tables.rb +300 -0
  74. data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +40 -0
  75. data/proto_docs/google/cloud/automl/v1beta1/text.rb +76 -0
  76. data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +73 -0
  77. data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +44 -0
  78. data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +86 -0
  79. data/proto_docs/google/cloud/automl/v1beta1/translation.rb +79 -0
  80. data/proto_docs/google/cloud/automl/v1beta1/video.rb +51 -0
  81. data/proto_docs/google/longrunning/operations.rb +150 -0
  82. data/proto_docs/google/protobuf/any.rb +138 -0
  83. data/proto_docs/google/protobuf/duration.rb +98 -0
  84. data/proto_docs/google/protobuf/empty.rb +36 -0
  85. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  86. data/proto_docs/google/protobuf/struct.rb +96 -0
  87. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  88. data/proto_docs/google/rpc/status.rb +46 -0
  89. metadata +245 -0
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # A range between two double numbers.
25
+ # @!attribute [rw] start
26
+ # @return [Float]
27
+ # Start of the range, inclusive.
28
+ # @!attribute [rw] end
29
+ # @return [Float]
30
+ # End of the range, exclusive.
31
+ class DoubleRange
32
+ include Google::Protobuf::MessageExts
33
+ extend Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # Metrics for regression problems.
25
+ # @!attribute [rw] root_mean_squared_error
26
+ # @return [Float]
27
+ # Output only. Root Mean Squared Error (RMSE).
28
+ # @!attribute [rw] mean_absolute_error
29
+ # @return [Float]
30
+ # Output only. Mean Absolute Error (MAE).
31
+ # @!attribute [rw] mean_absolute_percentage_error
32
+ # @return [Float]
33
+ # Output only. Mean absolute percentage error. Only set if all ground truth
34
+ # values are are positive.
35
+ # @!attribute [rw] r_squared
36
+ # @return [Float]
37
+ # Output only. R squared.
38
+ # @!attribute [rw] root_mean_squared_log_error
39
+ # @return [Float]
40
+ # Output only. Root mean squared log error.
41
+ class RegressionEvaluationMetrics
42
+ include Google::Protobuf::MessageExts
43
+ extend Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,447 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#create_dataset AutoMl.CreateDataset}.
25
+ # @!attribute [rw] parent
26
+ # @return [String]
27
+ # Required. The resource name of the project to create the dataset for.
28
+ # @!attribute [rw] dataset
29
+ # @return [Google::Cloud::AutoML::V1beta1::Dataset]
30
+ # Required. The dataset to create.
31
+ class CreateDatasetRequest
32
+ include Google::Protobuf::MessageExts
33
+ extend Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
36
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_dataset AutoMl.GetDataset}.
37
+ # @!attribute [rw] name
38
+ # @return [String]
39
+ # Required. The resource name of the dataset to retrieve.
40
+ class GetDatasetRequest
41
+ include Google::Protobuf::MessageExts
42
+ extend Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+
45
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
46
+ # @!attribute [rw] parent
47
+ # @return [String]
48
+ # Required. The resource name of the project from which to list datasets.
49
+ # @!attribute [rw] filter
50
+ # @return [String]
51
+ # An expression for filtering the results of the request.
52
+ #
53
+ # * `dataset_metadata` - for existence of the case (e.g.
54
+ # image_classification_dataset_metadata:*). Some examples of using the filter are:
55
+ #
56
+ # * `translation_dataset_metadata:*` --> The dataset has
57
+ # translation_dataset_metadata.
58
+ # @!attribute [rw] page_size
59
+ # @return [Integer]
60
+ # Requested page size. Server may return fewer results than requested.
61
+ # If unspecified, server will pick a default size.
62
+ # @!attribute [rw] page_token
63
+ # @return [String]
64
+ # A token identifying a page of results for the server to return
65
+ # Typically obtained via
66
+ # {Google::Cloud::AutoML::V1beta1::ListDatasetsResponse#next_page_token ListDatasetsResponse.next_page_token} of the previous
67
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_datasets AutoMl.ListDatasets} call.
68
+ class ListDatasetsRequest
69
+ include Google::Protobuf::MessageExts
70
+ extend Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # Response message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
74
+ # @!attribute [rw] datasets
75
+ # @return [Array<Google::Cloud::AutoML::V1beta1::Dataset>]
76
+ # The datasets read.
77
+ # @!attribute [rw] next_page_token
78
+ # @return [String]
79
+ # A token to retrieve next page of results.
80
+ # Pass to {Google::Cloud::AutoML::V1beta1::ListDatasetsRequest#page_token ListDatasetsRequest.page_token} to obtain that page.
81
+ class ListDatasetsResponse
82
+ include Google::Protobuf::MessageExts
83
+ extend Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#update_dataset AutoMl.UpdateDataset}
87
+ # @!attribute [rw] dataset
88
+ # @return [Google::Cloud::AutoML::V1beta1::Dataset]
89
+ # Required. The dataset which replaces the resource on the server.
90
+ # @!attribute [rw] update_mask
91
+ # @return [Google::Protobuf::FieldMask]
92
+ # The update mask applies to the resource.
93
+ class UpdateDatasetRequest
94
+ include Google::Protobuf::MessageExts
95
+ extend Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+
98
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#delete_dataset AutoMl.DeleteDataset}.
99
+ # @!attribute [rw] name
100
+ # @return [String]
101
+ # Required. The resource name of the dataset to delete.
102
+ class DeleteDatasetRequest
103
+ include Google::Protobuf::MessageExts
104
+ extend Google::Protobuf::MessageExts::ClassMethods
105
+ end
106
+
107
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#import_data AutoMl.ImportData}.
108
+ # @!attribute [rw] name
109
+ # @return [String]
110
+ # Required. Dataset name. Dataset must already exist. All imported
111
+ # annotations and examples will be added.
112
+ # @!attribute [rw] input_config
113
+ # @return [Google::Cloud::AutoML::V1beta1::InputConfig]
114
+ # Required. The desired input location and its domain specific semantics,
115
+ # if any.
116
+ class ImportDataRequest
117
+ include Google::Protobuf::MessageExts
118
+ extend Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_data AutoMl.ExportData}.
122
+ # @!attribute [rw] name
123
+ # @return [String]
124
+ # Required. The resource name of the dataset.
125
+ # @!attribute [rw] output_config
126
+ # @return [Google::Cloud::AutoML::V1beta1::OutputConfig]
127
+ # Required. The desired output location.
128
+ class ExportDataRequest
129
+ include Google::Protobuf::MessageExts
130
+ extend Google::Protobuf::MessageExts::ClassMethods
131
+ end
132
+
133
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_annotation_spec AutoMl.GetAnnotationSpec}.
134
+ # @!attribute [rw] name
135
+ # @return [String]
136
+ # Required. The resource name of the annotation spec to retrieve.
137
+ class GetAnnotationSpecRequest
138
+ include Google::Protobuf::MessageExts
139
+ extend Google::Protobuf::MessageExts::ClassMethods
140
+ end
141
+
142
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_table_spec AutoMl.GetTableSpec}.
143
+ # @!attribute [rw] name
144
+ # @return [String]
145
+ # Required. The resource name of the table spec to retrieve.
146
+ # @!attribute [rw] field_mask
147
+ # @return [Google::Protobuf::FieldMask]
148
+ # Mask specifying which fields to read.
149
+ class GetTableSpecRequest
150
+ include Google::Protobuf::MessageExts
151
+ extend Google::Protobuf::MessageExts::ClassMethods
152
+ end
153
+
154
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_table_specs AutoMl.ListTableSpecs}.
155
+ # @!attribute [rw] parent
156
+ # @return [String]
157
+ # Required. The resource name of the dataset to list table specs from.
158
+ # @!attribute [rw] field_mask
159
+ # @return [Google::Protobuf::FieldMask]
160
+ # Mask specifying which fields to read.
161
+ # @!attribute [rw] filter
162
+ # @return [String]
163
+ # Filter expression, see go/filtering.
164
+ # @!attribute [rw] page_size
165
+ # @return [Integer]
166
+ # Requested page size. The server can return fewer results than requested.
167
+ # If unspecified, the server will pick a default size.
168
+ # @!attribute [rw] page_token
169
+ # @return [String]
170
+ # A token identifying a page of results for the server to return.
171
+ # Typically obtained from the
172
+ # {Google::Cloud::AutoML::V1beta1::ListTableSpecsResponse#next_page_token ListTableSpecsResponse.next_page_token} field of the previous
173
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_table_specs AutoMl.ListTableSpecs} call.
174
+ class ListTableSpecsRequest
175
+ include Google::Protobuf::MessageExts
176
+ extend Google::Protobuf::MessageExts::ClassMethods
177
+ end
178
+
179
+ # Response message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_table_specs AutoMl.ListTableSpecs}.
180
+ # @!attribute [rw] table_specs
181
+ # @return [Array<Google::Cloud::AutoML::V1beta1::TableSpec>]
182
+ # The table specs read.
183
+ # @!attribute [rw] next_page_token
184
+ # @return [String]
185
+ # A token to retrieve next page of results.
186
+ # Pass to {Google::Cloud::AutoML::V1beta1::ListTableSpecsRequest#page_token ListTableSpecsRequest.page_token} to obtain that page.
187
+ class ListTableSpecsResponse
188
+ include Google::Protobuf::MessageExts
189
+ extend Google::Protobuf::MessageExts::ClassMethods
190
+ end
191
+
192
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#update_table_spec AutoMl.UpdateTableSpec}
193
+ # @!attribute [rw] table_spec
194
+ # @return [Google::Cloud::AutoML::V1beta1::TableSpec]
195
+ # Required. The table spec which replaces the resource on the server.
196
+ # @!attribute [rw] update_mask
197
+ # @return [Google::Protobuf::FieldMask]
198
+ # The update mask applies to the resource.
199
+ class UpdateTableSpecRequest
200
+ include Google::Protobuf::MessageExts
201
+ extend Google::Protobuf::MessageExts::ClassMethods
202
+ end
203
+
204
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_column_spec AutoMl.GetColumnSpec}.
205
+ # @!attribute [rw] name
206
+ # @return [String]
207
+ # Required. The resource name of the column spec to retrieve.
208
+ # @!attribute [rw] field_mask
209
+ # @return [Google::Protobuf::FieldMask]
210
+ # Mask specifying which fields to read.
211
+ class GetColumnSpecRequest
212
+ include Google::Protobuf::MessageExts
213
+ extend Google::Protobuf::MessageExts::ClassMethods
214
+ end
215
+
216
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_column_specs AutoMl.ListColumnSpecs}.
217
+ # @!attribute [rw] parent
218
+ # @return [String]
219
+ # Required. The resource name of the table spec to list column specs from.
220
+ # @!attribute [rw] field_mask
221
+ # @return [Google::Protobuf::FieldMask]
222
+ # Mask specifying which fields to read.
223
+ # @!attribute [rw] filter
224
+ # @return [String]
225
+ # Filter expression, see go/filtering.
226
+ # @!attribute [rw] page_size
227
+ # @return [Integer]
228
+ # Requested page size. The server can return fewer results than requested.
229
+ # If unspecified, the server will pick a default size.
230
+ # @!attribute [rw] page_token
231
+ # @return [String]
232
+ # A token identifying a page of results for the server to return.
233
+ # Typically obtained from the
234
+ # {Google::Cloud::AutoML::V1beta1::ListColumnSpecsResponse#next_page_token ListColumnSpecsResponse.next_page_token} field of the previous
235
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_column_specs AutoMl.ListColumnSpecs} call.
236
+ class ListColumnSpecsRequest
237
+ include Google::Protobuf::MessageExts
238
+ extend Google::Protobuf::MessageExts::ClassMethods
239
+ end
240
+
241
+ # Response message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_column_specs AutoMl.ListColumnSpecs}.
242
+ # @!attribute [rw] column_specs
243
+ # @return [Array<Google::Cloud::AutoML::V1beta1::ColumnSpec>]
244
+ # The column specs read.
245
+ # @!attribute [rw] next_page_token
246
+ # @return [String]
247
+ # A token to retrieve next page of results.
248
+ # Pass to {Google::Cloud::AutoML::V1beta1::ListColumnSpecsRequest#page_token ListColumnSpecsRequest.page_token} to obtain that page.
249
+ class ListColumnSpecsResponse
250
+ include Google::Protobuf::MessageExts
251
+ extend Google::Protobuf::MessageExts::ClassMethods
252
+ end
253
+
254
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#update_column_spec AutoMl.UpdateColumnSpec}
255
+ # @!attribute [rw] column_spec
256
+ # @return [Google::Cloud::AutoML::V1beta1::ColumnSpec]
257
+ # Required. The column spec which replaces the resource on the server.
258
+ # @!attribute [rw] update_mask
259
+ # @return [Google::Protobuf::FieldMask]
260
+ # The update mask applies to the resource.
261
+ class UpdateColumnSpecRequest
262
+ include Google::Protobuf::MessageExts
263
+ extend Google::Protobuf::MessageExts::ClassMethods
264
+ end
265
+
266
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#create_model AutoMl.CreateModel}.
267
+ # @!attribute [rw] parent
268
+ # @return [String]
269
+ # Required. Resource name of the parent project where the model is being created.
270
+ # @!attribute [rw] model
271
+ # @return [Google::Cloud::AutoML::V1beta1::Model]
272
+ # Required. The model to create.
273
+ class CreateModelRequest
274
+ include Google::Protobuf::MessageExts
275
+ extend Google::Protobuf::MessageExts::ClassMethods
276
+ end
277
+
278
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_model AutoMl.GetModel}.
279
+ # @!attribute [rw] name
280
+ # @return [String]
281
+ # Required. Resource name of the model.
282
+ class GetModelRequest
283
+ include Google::Protobuf::MessageExts
284
+ extend Google::Protobuf::MessageExts::ClassMethods
285
+ end
286
+
287
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_models AutoMl.ListModels}.
288
+ # @!attribute [rw] parent
289
+ # @return [String]
290
+ # Required. Resource name of the project, from which to list the models.
291
+ # @!attribute [rw] filter
292
+ # @return [String]
293
+ # An expression for filtering the results of the request.
294
+ #
295
+ # * `model_metadata` - for existence of the case (e.g.
296
+ # video_classification_model_metadata:*).
297
+ # * `dataset_id` - for = or !=. Some examples of using the filter are:
298
+ #
299
+ # * `image_classification_model_metadata:*` --> The model has
300
+ # image_classification_model_metadata.
301
+ # * `dataset_id=5` --> The model was created from a dataset with ID 5.
302
+ # @!attribute [rw] page_size
303
+ # @return [Integer]
304
+ # Requested page size.
305
+ # @!attribute [rw] page_token
306
+ # @return [String]
307
+ # A token identifying a page of results for the server to return
308
+ # Typically obtained via
309
+ # {Google::Cloud::AutoML::V1beta1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token} of the previous
310
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_models AutoMl.ListModels} call.
311
+ class ListModelsRequest
312
+ include Google::Protobuf::MessageExts
313
+ extend Google::Protobuf::MessageExts::ClassMethods
314
+ end
315
+
316
+ # Response message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_models AutoMl.ListModels}.
317
+ # @!attribute [rw] model
318
+ # @return [Array<Google::Cloud::AutoML::V1beta1::Model>]
319
+ # List of models in the requested page.
320
+ # @!attribute [rw] next_page_token
321
+ # @return [String]
322
+ # A token to retrieve next page of results.
323
+ # Pass to {Google::Cloud::AutoML::V1beta1::ListModelsRequest#page_token ListModelsRequest.page_token} to obtain that page.
324
+ class ListModelsResponse
325
+ include Google::Protobuf::MessageExts
326
+ extend Google::Protobuf::MessageExts::ClassMethods
327
+ end
328
+
329
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#delete_model AutoMl.DeleteModel}.
330
+ # @!attribute [rw] name
331
+ # @return [String]
332
+ # Required. Resource name of the model being deleted.
333
+ class DeleteModelRequest
334
+ include Google::Protobuf::MessageExts
335
+ extend Google::Protobuf::MessageExts::ClassMethods
336
+ end
337
+
338
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#deploy_model AutoMl.DeployModel}.
339
+ # @!attribute [rw] image_object_detection_model_deployment_metadata
340
+ # @return [Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelDeploymentMetadata]
341
+ # Model deployment metadata specific to Image Object Detection.
342
+ # @!attribute [rw] image_classification_model_deployment_metadata
343
+ # @return [Google::Cloud::AutoML::V1beta1::ImageClassificationModelDeploymentMetadata]
344
+ # Model deployment metadata specific to Image Classification.
345
+ # @!attribute [rw] name
346
+ # @return [String]
347
+ # Required. Resource name of the model to deploy.
348
+ class DeployModelRequest
349
+ include Google::Protobuf::MessageExts
350
+ extend Google::Protobuf::MessageExts::ClassMethods
351
+ end
352
+
353
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#undeploy_model AutoMl.UndeployModel}.
354
+ # @!attribute [rw] name
355
+ # @return [String]
356
+ # Required. Resource name of the model to undeploy.
357
+ class UndeployModelRequest
358
+ include Google::Protobuf::MessageExts
359
+ extend Google::Protobuf::MessageExts::ClassMethods
360
+ end
361
+
362
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}.
363
+ # Models need to be enabled for exporting, otherwise an error code will be
364
+ # returned.
365
+ # @!attribute [rw] name
366
+ # @return [String]
367
+ # Required. The resource name of the model to export.
368
+ # @!attribute [rw] output_config
369
+ # @return [Google::Cloud::AutoML::V1beta1::ModelExportOutputConfig]
370
+ # Required. The desired output location and configuration.
371
+ class ExportModelRequest
372
+ include Google::Protobuf::MessageExts
373
+ extend Google::Protobuf::MessageExts::ClassMethods
374
+ end
375
+
376
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_evaluated_examples AutoMl.ExportEvaluatedExamples}.
377
+ # @!attribute [rw] name
378
+ # @return [String]
379
+ # Required. The resource name of the model whose evaluated examples are to
380
+ # be exported.
381
+ # @!attribute [rw] output_config
382
+ # @return [Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOutputConfig]
383
+ # Required. The desired output location and configuration.
384
+ class ExportEvaluatedExamplesRequest
385
+ include Google::Protobuf::MessageExts
386
+ extend Google::Protobuf::MessageExts::ClassMethods
387
+ end
388
+
389
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#get_model_evaluation AutoMl.GetModelEvaluation}.
390
+ # @!attribute [rw] name
391
+ # @return [String]
392
+ # Required. Resource name for the model evaluation.
393
+ class GetModelEvaluationRequest
394
+ include Google::Protobuf::MessageExts
395
+ extend Google::Protobuf::MessageExts::ClassMethods
396
+ end
397
+
398
+ # Request message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
399
+ # @!attribute [rw] parent
400
+ # @return [String]
401
+ # Required. Resource name of the model to list the model evaluations for.
402
+ # If modelId is set as "-", this will list model evaluations from across all
403
+ # models of the parent location.
404
+ # @!attribute [rw] filter
405
+ # @return [String]
406
+ # An expression for filtering the results of the request.
407
+ #
408
+ # * `annotation_spec_id` - for =, != or existence. See example below for
409
+ # the last.
410
+ #
411
+ # Some examples of using the filter are:
412
+ #
413
+ # * `annotation_spec_id!=4` --> The model evaluation was done for
414
+ # annotation spec with ID different than 4.
415
+ # * `NOT annotation_spec_id:*` --> The model evaluation was done for
416
+ # aggregate of all annotation specs.
417
+ # @!attribute [rw] page_size
418
+ # @return [Integer]
419
+ # Requested page size.
420
+ # @!attribute [rw] page_token
421
+ # @return [String]
422
+ # A token identifying a page of results for the server to return.
423
+ # Typically obtained via
424
+ # {Google::Cloud::AutoML::V1beta1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token} of the previous
425
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} call.
426
+ class ListModelEvaluationsRequest
427
+ include Google::Protobuf::MessageExts
428
+ extend Google::Protobuf::MessageExts::ClassMethods
429
+ end
430
+
431
+ # Response message for {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
432
+ # @!attribute [rw] model_evaluation
433
+ # @return [Array<Google::Cloud::AutoML::V1beta1::ModelEvaluation>]
434
+ # List of model evaluations in the requested page.
435
+ # @!attribute [rw] next_page_token
436
+ # @return [String]
437
+ # A token to retrieve next page of results.
438
+ # Pass to the {Google::Cloud::AutoML::V1beta1::ListModelEvaluationsRequest#page_token ListModelEvaluationsRequest.page_token} field of a new
439
+ # {Google::Cloud::AutoML::V1beta1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} request to obtain that page.
440
+ class ListModelEvaluationsResponse
441
+ include Google::Protobuf::MessageExts
442
+ extend Google::Protobuf::MessageExts::ClassMethods
443
+ end
444
+ end
445
+ end
446
+ end
447
+ end