google-cloud-automl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +11 -0
- data/AUTHENTICATION.md +199 -0
- data/LICENSE +201 -0
- data/README.md +69 -0
- data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +34 -0
- data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +18 -0
- data/lib/google/cloud/automl/v1beta1/automl_client.rb +1914 -0
- data/lib/google/cloud/automl/v1beta1/automl_client_config.json +146 -0
- data/lib/google/cloud/automl/v1beta1/classification_pb.rb +65 -0
- data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +28 -0
- data/lib/google/cloud/automl/v1beta1/credentials.rb +41 -0
- data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +48 -0
- data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +77 -0
- data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +36 -0
- data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +38 -0
- data/lib/google/cloud/automl/v1beta1/detection_pb.rb +52 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_payload.rb +63 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_spec.rb +41 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb +203 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/column_spec.rb +72 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb +94 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb +160 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb +107 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/dataset.rb +77 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb +134 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/geometry.rb +43 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/image.rb +141 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/io.rb +975 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/model.rb +92 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/model_evaluation.rb +100 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/prediction_service.rb +136 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/ranges.rb +31 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/regression.rb +41 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/service.rb +368 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/table_spec.rb +64 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/tables.rb +261 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/temporal.rb +33 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text.rb +53 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_extraction.rb +60 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_segment.rb +37 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb +76 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/translation.rb +63 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/video.rb +35 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/longrunning/operations.rb +51 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/protobuf/duration.rb +91 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/protobuf/field_mask.rb +222 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/protobuf/struct.rb +74 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/protobuf/timestamp.rb +111 -0
- data/lib/google/cloud/automl/v1beta1/doc/google/rpc/status.rb +87 -0
- data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +21 -0
- data/lib/google/cloud/automl/v1beta1/image_pb.rb +43 -0
- data/lib/google/cloud/automl/v1beta1/io_pb.rb +80 -0
- data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +37 -0
- data/lib/google/cloud/automl/v1beta1/model_pb.rb +44 -0
- data/lib/google/cloud/automl/v1beta1/operations_pb.rb +90 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_client.rb +442 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_client_config.json +36 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +39 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb +72 -0
- data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +17 -0
- data/lib/google/cloud/automl/v1beta1/regression_pb.rb +20 -0
- data/lib/google/cloud/automl/v1beta1/service_pb.rb +177 -0
- data/lib/google/cloud/automl/v1beta1/service_services_pb.rb +159 -0
- data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +22 -0
- data/lib/google/cloud/automl/v1beta1/tables_pb.rb +56 -0
- data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +18 -0
- data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +32 -0
- data/lib/google/cloud/automl/v1beta1/text_pb.rb +33 -0
- data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +18 -0
- data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +29 -0
- data/lib/google/cloud/automl/v1beta1/translation_pb.rb +33 -0
- data/lib/google/cloud/automl/v1beta1/video_pb.rb +25 -0
- data/lib/google/cloud/automl/v1beta1.rb +231 -0
- data/lib/google/cloud/automl/version.rb +22 -0
- data/lib/google/cloud/automl.rb +219 -0
- data/lib/google-cloud-automl.rb +15 -0
- metadata +203 -0
@@ -0,0 +1,368 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module AutoML
|
19
|
+
module V1beta1
|
20
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::CreateDataset AutoML::CreateDataset}.
|
21
|
+
# @!attribute [rw] parent
|
22
|
+
# @return [String]
|
23
|
+
# The resource name of the project to create the dataset for.
|
24
|
+
# @!attribute [rw] dataset
|
25
|
+
# @return [Google::Cloud::AutoML::V1beta1::Dataset]
|
26
|
+
# The dataset to create.
|
27
|
+
class CreateDatasetRequest; end
|
28
|
+
|
29
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetDataset AutoML::GetDataset}.
|
30
|
+
# @!attribute [rw] name
|
31
|
+
# @return [String]
|
32
|
+
# The resource name of the dataset to retrieve.
|
33
|
+
class GetDatasetRequest; end
|
34
|
+
|
35
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ListDatasets AutoML::ListDatasets}.
|
36
|
+
# @!attribute [rw] parent
|
37
|
+
# @return [String]
|
38
|
+
# The resource name of the project from which to list datasets.
|
39
|
+
# @!attribute [rw] filter
|
40
|
+
# @return [String]
|
41
|
+
# An expression for filtering the results of the request.
|
42
|
+
#
|
43
|
+
# * `dataset_metadata` - for existence of the case (e.g.
|
44
|
+
# image_classification_dataset_metadata:*). Some examples of using the filter are:
|
45
|
+
#
|
46
|
+
# * `translation_dataset_metadata:*` --> The dataset has
|
47
|
+
# translation_dataset_metadata.
|
48
|
+
# @!attribute [rw] page_size
|
49
|
+
# @return [Integer]
|
50
|
+
# Requested page size. Server may return fewer results than requested.
|
51
|
+
# If unspecified, server will pick a default size.
|
52
|
+
# @!attribute [rw] page_token
|
53
|
+
# @return [String]
|
54
|
+
# A token identifying a page of results for the server to return
|
55
|
+
# Typically obtained via
|
56
|
+
# {Google::Cloud::AutoML::V1beta1::ListDatasetsResponse#next_page_token ListDatasetsResponse#next_page_token} of the previous
|
57
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListDatasets AutoML::ListDatasets} call.
|
58
|
+
class ListDatasetsRequest; end
|
59
|
+
|
60
|
+
# Response message for {Google::Cloud::AutoML::V1beta1::AutoML::ListDatasets AutoML::ListDatasets}.
|
61
|
+
# @!attribute [rw] datasets
|
62
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::Dataset>]
|
63
|
+
# The datasets read.
|
64
|
+
# @!attribute [rw] next_page_token
|
65
|
+
# @return [String]
|
66
|
+
# A token to retrieve next page of results.
|
67
|
+
# Pass to {Google::Cloud::AutoML::V1beta1::ListDatasetsRequest#page_token ListDatasetsRequest#page_token} to obtain that page.
|
68
|
+
class ListDatasetsResponse; end
|
69
|
+
|
70
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::UpdateDataset AutoML::UpdateDataset}
|
71
|
+
# @!attribute [rw] dataset
|
72
|
+
# @return [Google::Cloud::AutoML::V1beta1::Dataset]
|
73
|
+
# The dataset which replaces the resource on the server.
|
74
|
+
# @!attribute [rw] update_mask
|
75
|
+
# @return [Google::Protobuf::FieldMask]
|
76
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
77
|
+
# see
|
78
|
+
#
|
79
|
+
# https:
|
80
|
+
# //developers.google.com/protocol-buffers
|
81
|
+
# // /docs/reference/google.protobuf#fieldmask
|
82
|
+
class UpdateDatasetRequest; end
|
83
|
+
|
84
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::DeleteDataset AutoML::DeleteDataset}.
|
85
|
+
# @!attribute [rw] name
|
86
|
+
# @return [String]
|
87
|
+
# The resource name of the dataset to delete.
|
88
|
+
class DeleteDatasetRequest; end
|
89
|
+
|
90
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ImportData AutoML::ImportData}.
|
91
|
+
# @!attribute [rw] name
|
92
|
+
# @return [String]
|
93
|
+
# Required. Dataset name. Dataset must already exist. All imported
|
94
|
+
# annotations and examples will be added.
|
95
|
+
# @!attribute [rw] input_config
|
96
|
+
# @return [Google::Cloud::AutoML::V1beta1::InputConfig]
|
97
|
+
# Required. The desired input location and its domain specific semantics,
|
98
|
+
# if any.
|
99
|
+
class ImportDataRequest; end
|
100
|
+
|
101
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ExportData AutoML::ExportData}.
|
102
|
+
# @!attribute [rw] name
|
103
|
+
# @return [String]
|
104
|
+
# Required. The resource name of the dataset.
|
105
|
+
# @!attribute [rw] output_config
|
106
|
+
# @return [Google::Cloud::AutoML::V1beta1::OutputConfig]
|
107
|
+
# Required. The desired output location.
|
108
|
+
class ExportDataRequest; end
|
109
|
+
|
110
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetAnnotationSpec AutoML::GetAnnotationSpec}.
|
111
|
+
# @!attribute [rw] name
|
112
|
+
# @return [String]
|
113
|
+
# The resource name of the annotation spec to retrieve.
|
114
|
+
class GetAnnotationSpecRequest; end
|
115
|
+
|
116
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetTableSpec AutoML::GetTableSpec}.
|
117
|
+
# @!attribute [rw] name
|
118
|
+
# @return [String]
|
119
|
+
# The resource name of the table spec to retrieve.
|
120
|
+
# @!attribute [rw] field_mask
|
121
|
+
# @return [Google::Protobuf::FieldMask]
|
122
|
+
# Mask specifying which fields to read.
|
123
|
+
class GetTableSpecRequest; end
|
124
|
+
|
125
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ListTableSpecs AutoML::ListTableSpecs}.
|
126
|
+
# @!attribute [rw] parent
|
127
|
+
# @return [String]
|
128
|
+
# The resource name of the dataset to list table specs from.
|
129
|
+
# @!attribute [rw] field_mask
|
130
|
+
# @return [Google::Protobuf::FieldMask]
|
131
|
+
# Mask specifying which fields to read.
|
132
|
+
# @!attribute [rw] filter
|
133
|
+
# @return [String]
|
134
|
+
# Filter expression, see go/filtering.
|
135
|
+
# @!attribute [rw] page_size
|
136
|
+
# @return [Integer]
|
137
|
+
# Requested page size. The server can return fewer results than requested.
|
138
|
+
# If unspecified, the server will pick a default size.
|
139
|
+
# @!attribute [rw] page_token
|
140
|
+
# @return [String]
|
141
|
+
# A token identifying a page of results for the server to return.
|
142
|
+
# Typically obtained from the
|
143
|
+
# {Google::Cloud::AutoML::V1beta1::ListTableSpecsResponse#next_page_token ListTableSpecsResponse#next_page_token} field of the previous
|
144
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListTableSpecs AutoML::ListTableSpecs} call.
|
145
|
+
class ListTableSpecsRequest; end
|
146
|
+
|
147
|
+
# Response message for {Google::Cloud::AutoML::V1beta1::AutoML::ListTableSpecs AutoML::ListTableSpecs}.
|
148
|
+
# @!attribute [rw] table_specs
|
149
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::TableSpec>]
|
150
|
+
# The table specs read.
|
151
|
+
# @!attribute [rw] next_page_token
|
152
|
+
# @return [String]
|
153
|
+
# A token to retrieve next page of results.
|
154
|
+
# Pass to {Google::Cloud::AutoML::V1beta1::ListTableSpecsRequest#page_token ListTableSpecsRequest#page_token} to obtain that page.
|
155
|
+
class ListTableSpecsResponse; end
|
156
|
+
|
157
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::UpdateTableSpec AutoML::UpdateTableSpec}
|
158
|
+
# @!attribute [rw] table_spec
|
159
|
+
# @return [Google::Cloud::AutoML::V1beta1::TableSpec]
|
160
|
+
# The table spec which replaces the resource on the server.
|
161
|
+
# @!attribute [rw] update_mask
|
162
|
+
# @return [Google::Protobuf::FieldMask]
|
163
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
164
|
+
# see
|
165
|
+
#
|
166
|
+
# https:
|
167
|
+
# //developers.google.com/protocol-buffers
|
168
|
+
# // /docs/reference/google.protobuf#fieldmask
|
169
|
+
class UpdateTableSpecRequest; end
|
170
|
+
|
171
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetColumnSpec AutoML::GetColumnSpec}.
|
172
|
+
# @!attribute [rw] name
|
173
|
+
# @return [String]
|
174
|
+
# The resource name of the column spec to retrieve.
|
175
|
+
# @!attribute [rw] field_mask
|
176
|
+
# @return [Google::Protobuf::FieldMask]
|
177
|
+
# Mask specifying which fields to read.
|
178
|
+
class GetColumnSpecRequest; end
|
179
|
+
|
180
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ListColumnSpecs AutoML::ListColumnSpecs}.
|
181
|
+
# @!attribute [rw] parent
|
182
|
+
# @return [String]
|
183
|
+
# The resource name of the table spec to list column specs from.
|
184
|
+
# @!attribute [rw] field_mask
|
185
|
+
# @return [Google::Protobuf::FieldMask]
|
186
|
+
# Mask specifying which fields to read.
|
187
|
+
# @!attribute [rw] filter
|
188
|
+
# @return [String]
|
189
|
+
# Filter expression, see go/filtering.
|
190
|
+
# @!attribute [rw] page_size
|
191
|
+
# @return [Integer]
|
192
|
+
# Requested page size. The server can return fewer results than requested.
|
193
|
+
# If unspecified, the server will pick a default size.
|
194
|
+
# @!attribute [rw] page_token
|
195
|
+
# @return [String]
|
196
|
+
# A token identifying a page of results for the server to return.
|
197
|
+
# Typically obtained from the
|
198
|
+
# {Google::Cloud::AutoML::V1beta1::ListColumnSpecsResponse#next_page_token ListColumnSpecsResponse#next_page_token} field of the previous
|
199
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListColumnSpecs AutoML::ListColumnSpecs} call.
|
200
|
+
class ListColumnSpecsRequest; end
|
201
|
+
|
202
|
+
# Response message for {Google::Cloud::AutoML::V1beta1::AutoML::ListColumnSpecs AutoML::ListColumnSpecs}.
|
203
|
+
# @!attribute [rw] column_specs
|
204
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::ColumnSpec>]
|
205
|
+
# The column specs read.
|
206
|
+
# @!attribute [rw] next_page_token
|
207
|
+
# @return [String]
|
208
|
+
# A token to retrieve next page of results.
|
209
|
+
# Pass to {Google::Cloud::AutoML::V1beta1::ListColumnSpecsRequest#page_token ListColumnSpecsRequest#page_token} to obtain that page.
|
210
|
+
class ListColumnSpecsResponse; end
|
211
|
+
|
212
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::UpdateColumnSpec AutoML::UpdateColumnSpec}
|
213
|
+
# @!attribute [rw] column_spec
|
214
|
+
# @return [Google::Cloud::AutoML::V1beta1::ColumnSpec]
|
215
|
+
# The column spec which replaces the resource on the server.
|
216
|
+
# @!attribute [rw] update_mask
|
217
|
+
# @return [Google::Protobuf::FieldMask]
|
218
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
219
|
+
# see
|
220
|
+
#
|
221
|
+
# https:
|
222
|
+
# //developers.google.com/protocol-buffers
|
223
|
+
# // /docs/reference/google.protobuf#fieldmask
|
224
|
+
class UpdateColumnSpecRequest; end
|
225
|
+
|
226
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::CreateModel AutoML::CreateModel}.
|
227
|
+
# @!attribute [rw] parent
|
228
|
+
# @return [String]
|
229
|
+
# Resource name of the parent project where the model is being created.
|
230
|
+
# @!attribute [rw] model
|
231
|
+
# @return [Google::Cloud::AutoML::V1beta1::Model]
|
232
|
+
# The model to create.
|
233
|
+
class CreateModelRequest; end
|
234
|
+
|
235
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetModel AutoML::GetModel}.
|
236
|
+
# @!attribute [rw] name
|
237
|
+
# @return [String]
|
238
|
+
# Resource name of the model.
|
239
|
+
class GetModelRequest; end
|
240
|
+
|
241
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ListModels AutoML::ListModels}.
|
242
|
+
# @!attribute [rw] parent
|
243
|
+
# @return [String]
|
244
|
+
# Resource name of the project, from which to list the models.
|
245
|
+
# @!attribute [rw] filter
|
246
|
+
# @return [String]
|
247
|
+
# An expression for filtering the results of the request.
|
248
|
+
#
|
249
|
+
# * `model_metadata` - for existence of the case (e.g.
|
250
|
+
# video_classification_model_metadata:*).
|
251
|
+
# * `dataset_id` - for = or !=. Some examples of using the filter are:
|
252
|
+
#
|
253
|
+
# * `image_classification_model_metadata:*` --> The model has
|
254
|
+
# image_classification_model_metadata.
|
255
|
+
# * `dataset_id=5` --> The model was created from a dataset with ID 5.
|
256
|
+
# @!attribute [rw] page_size
|
257
|
+
# @return [Integer]
|
258
|
+
# Requested page size.
|
259
|
+
# @!attribute [rw] page_token
|
260
|
+
# @return [String]
|
261
|
+
# A token identifying a page of results for the server to return
|
262
|
+
# Typically obtained via
|
263
|
+
# {Google::Cloud::AutoML::V1beta1::ListModelsResponse#next_page_token ListModelsResponse#next_page_token} of the previous
|
264
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListModels AutoML::ListModels} call.
|
265
|
+
class ListModelsRequest; end
|
266
|
+
|
267
|
+
# Response message for {Google::Cloud::AutoML::V1beta1::AutoML::ListModels AutoML::ListModels}.
|
268
|
+
# @!attribute [rw] model
|
269
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::Model>]
|
270
|
+
# List of models in the requested page.
|
271
|
+
# @!attribute [rw] next_page_token
|
272
|
+
# @return [String]
|
273
|
+
# A token to retrieve next page of results.
|
274
|
+
# Pass to {Google::Cloud::AutoML::V1beta1::ListModelsRequest#page_token ListModelsRequest#page_token} to obtain that page.
|
275
|
+
class ListModelsResponse; end
|
276
|
+
|
277
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::DeleteModel AutoML::DeleteModel}.
|
278
|
+
# @!attribute [rw] name
|
279
|
+
# @return [String]
|
280
|
+
# Resource name of the model being deleted.
|
281
|
+
class DeleteModelRequest; end
|
282
|
+
|
283
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::DeployModel AutoML::DeployModel}.
|
284
|
+
# @!attribute [rw] image_object_detection_model_deployment_metadata
|
285
|
+
# @return [Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelDeploymentMetadata]
|
286
|
+
# Model deployment metadata specific to Image Object Detection.
|
287
|
+
# @!attribute [rw] name
|
288
|
+
# @return [String]
|
289
|
+
# Resource name of the model to deploy.
|
290
|
+
class DeployModelRequest; end
|
291
|
+
|
292
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::UndeployModel AutoML::UndeployModel}.
|
293
|
+
# @!attribute [rw] name
|
294
|
+
# @return [String]
|
295
|
+
# Resource name of the model to undeploy.
|
296
|
+
class UndeployModelRequest; end
|
297
|
+
|
298
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ExportModel AutoML::ExportModel}.
|
299
|
+
# Models need to be enabled for exporting, otherwise an error code will be
|
300
|
+
# returned.
|
301
|
+
# @!attribute [rw] name
|
302
|
+
# @return [String]
|
303
|
+
# Required. The resource name of the model to export.
|
304
|
+
# @!attribute [rw] output_config
|
305
|
+
# @return [Google::Cloud::AutoML::V1beta1::ModelExportOutputConfig]
|
306
|
+
# Required. The desired output location and configuration.
|
307
|
+
class ExportModelRequest; end
|
308
|
+
|
309
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ExportEvaluatedExamples AutoML::ExportEvaluatedExamples}.
|
310
|
+
# @!attribute [rw] name
|
311
|
+
# @return [String]
|
312
|
+
# Required. The resource name of the model whose evaluated examples are to
|
313
|
+
# be exported.
|
314
|
+
# @!attribute [rw] output_config
|
315
|
+
# @return [Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOutputConfig]
|
316
|
+
# Required. The desired output location and configuration.
|
317
|
+
class ExportEvaluatedExamplesRequest; end
|
318
|
+
|
319
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::GetModelEvaluation AutoML::GetModelEvaluation}.
|
320
|
+
# @!attribute [rw] name
|
321
|
+
# @return [String]
|
322
|
+
# Resource name for the model evaluation.
|
323
|
+
class GetModelEvaluationRequest; end
|
324
|
+
|
325
|
+
# Request message for {Google::Cloud::AutoML::V1beta1::AutoML::ListModelEvaluations AutoML::ListModelEvaluations}.
|
326
|
+
# @!attribute [rw] parent
|
327
|
+
# @return [String]
|
328
|
+
# Resource name of the model to list the model evaluations for.
|
329
|
+
# If modelId is set as "-", this will list model evaluations from across all
|
330
|
+
# models of the parent location.
|
331
|
+
# @!attribute [rw] filter
|
332
|
+
# @return [String]
|
333
|
+
# An expression for filtering the results of the request.
|
334
|
+
#
|
335
|
+
# * `annotation_spec_id` - for =, != or existence. See example below for
|
336
|
+
# the last.
|
337
|
+
#
|
338
|
+
# Some examples of using the filter are:
|
339
|
+
#
|
340
|
+
# * `annotation_spec_id!=4` --> The model evaluation was done for
|
341
|
+
# annotation spec with ID different than 4.
|
342
|
+
# * `NOT annotation_spec_id:*` --> The model evaluation was done for
|
343
|
+
# aggregate of all annotation specs.
|
344
|
+
# @!attribute [rw] page_size
|
345
|
+
# @return [Integer]
|
346
|
+
# Requested page size.
|
347
|
+
# @!attribute [rw] page_token
|
348
|
+
# @return [String]
|
349
|
+
# A token identifying a page of results for the server to return.
|
350
|
+
# Typically obtained via
|
351
|
+
# {Google::Cloud::AutoML::V1beta1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse#next_page_token} of the previous
|
352
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListModelEvaluations AutoML::ListModelEvaluations} call.
|
353
|
+
class ListModelEvaluationsRequest; end
|
354
|
+
|
355
|
+
# Response message for {Google::Cloud::AutoML::V1beta1::AutoML::ListModelEvaluations AutoML::ListModelEvaluations}.
|
356
|
+
# @!attribute [rw] model_evaluation
|
357
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::ModelEvaluation>]
|
358
|
+
# List of model evaluations in the requested page.
|
359
|
+
# @!attribute [rw] next_page_token
|
360
|
+
# @return [String]
|
361
|
+
# A token to retrieve next page of results.
|
362
|
+
# Pass to the {Google::Cloud::AutoML::V1beta1::ListModelEvaluationsRequest#page_token ListModelEvaluationsRequest#page_token} field of a new
|
363
|
+
# {Google::Cloud::AutoML::V1beta1::AutoML::ListModelEvaluations AutoML::ListModelEvaluations} request to obtain that page.
|
364
|
+
class ListModelEvaluationsResponse; end
|
365
|
+
end
|
366
|
+
end
|
367
|
+
end
|
368
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module AutoML
|
19
|
+
module V1beta1
|
20
|
+
# A specification of a relational table.
|
21
|
+
# The table's schema is represented via its child column specs. It is
|
22
|
+
# pre-populated as part of ImportData by schema inference algorithm, the
|
23
|
+
# version of which is a required parameter of ImportData InputConfig.
|
24
|
+
# Note: While working with a table, at times the schema may be
|
25
|
+
# inconsistent with the data in the table (e.g. string in a FLOAT64 column).
|
26
|
+
# The consistency validation is done upon creation of a model.
|
27
|
+
# Used by:
|
28
|
+
# * Tables
|
29
|
+
# @!attribute [rw] name
|
30
|
+
# @return [String]
|
31
|
+
# Output only. The resource name of the table spec.
|
32
|
+
# Form:
|
33
|
+
#
|
34
|
+
# `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}`
|
35
|
+
# @!attribute [rw] time_column_spec_id
|
36
|
+
# @return [String]
|
37
|
+
# column_spec_id of the time column. Only used if the parent dataset's
|
38
|
+
# ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE
|
39
|
+
# and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and
|
40
|
+
# those in between to VALIDATE.
|
41
|
+
# Required type: TIMESTAMP.
|
42
|
+
# If both this column and ml_use_column are not set, then ML use of all rows
|
43
|
+
# will be assigned by AutoML. NOTE: Updates of this field will instantly
|
44
|
+
# affect any other users concurrently working with the dataset.
|
45
|
+
# @!attribute [rw] row_count
|
46
|
+
# @return [Integer]
|
47
|
+
# Output only. The number of rows (i.e. examples) in the table.
|
48
|
+
# @!attribute [rw] column_count
|
49
|
+
# @return [Integer]
|
50
|
+
# Output only. The number of columns of the table. That is, the number of
|
51
|
+
# child ColumnSpec-s.
|
52
|
+
# @!attribute [rw] input_configs
|
53
|
+
# @return [Array<Google::Cloud::AutoML::V1beta1::InputConfig>]
|
54
|
+
# Output only. Input configs via which data currently residing in the table
|
55
|
+
# had been imported.
|
56
|
+
# @!attribute [rw] etag
|
57
|
+
# @return [String]
|
58
|
+
# Used to perform consistent read-modify-write updates. If not set, a blind
|
59
|
+
# "overwrite" update happens.
|
60
|
+
class TableSpec; end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|