google-cloud-automl-v1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/automl/v1/automl/client.rb +373 -373
- data/lib/google/cloud/automl/v1/automl/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1/automl/operations.rb +100 -100
- data/lib/google/cloud/automl/v1/automl/paths.rb +16 -16
- data/lib/google/cloud/automl/v1/automl.rb +1 -1
- data/lib/google/cloud/automl/v1/prediction_service/client.rb +116 -120
- data/lib/google/cloud/automl/v1/prediction_service/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1/prediction_service/operations.rb +100 -100
- data/lib/google/cloud/automl/v1/prediction_service/paths.rb +3 -3
- data/lib/google/cloud/automl/v1/prediction_service.rb +1 -1
- data/lib/google/cloud/automl/v1/prediction_service_services_pb.rb +30 -34
- data/lib/google/cloud/automl/v1/version.rb +1 -1
- data/lib/google/cloud/automl/v1.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/automl/v1/annotation_payload.rb +10 -10
- data/proto_docs/google/cloud/automl/v1/annotation_spec.rb +5 -5
- data/proto_docs/google/cloud/automl/v1/classification.rb +37 -37
- data/proto_docs/google/cloud/automl/v1/data_items.rb +38 -38
- data/proto_docs/google/cloud/automl/v1/dataset.rb +19 -19
- data/proto_docs/google/cloud/automl/v1/detection.rb +20 -20
- data/proto_docs/google/cloud/automl/v1/geometry.rb +7 -7
- data/proto_docs/google/cloud/automl/v1/image.rb +38 -38
- data/proto_docs/google/cloud/automl/v1/io.rb +46 -46
- data/proto_docs/google/cloud/automl/v1/model.rb +20 -20
- data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +15 -15
- data/proto_docs/google/cloud/automl/v1/operations.rb +49 -49
- data/proto_docs/google/cloud/automl/v1/prediction_service.rb +53 -53
- data/proto_docs/google/cloud/automl/v1/service.rb +115 -115
- data/proto_docs/google/cloud/automl/v1/text.rb +15 -15
- data/proto_docs/google/cloud/automl/v1/text_extraction.rb +14 -14
- data/proto_docs/google/cloud/automl/v1/text_segment.rb +5 -5
- data/proto_docs/google/cloud/automl/v1/text_sentiment.rb +14 -14
- data/proto_docs/google/cloud/automl/v1/translation.rb +16 -16
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -21,33 +21,33 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AutoML
|
23
23
|
module V1
|
24
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#create_dataset AutoMl.CreateDataset}.
|
24
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#create_dataset AutoMl.CreateDataset}.
|
25
25
|
# @!attribute [rw] parent
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. The resource name of the project to create the dataset for.
|
28
28
|
# @!attribute [rw] dataset
|
29
|
-
# @return [Google::Cloud::AutoML::V1::Dataset]
|
29
|
+
# @return [::Google::Cloud::AutoML::V1::Dataset]
|
30
30
|
# Required. The dataset to create.
|
31
31
|
class CreateDatasetRequest
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
|
36
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#get_dataset AutoMl.GetDataset}.
|
36
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#get_dataset AutoMl.GetDataset}.
|
37
37
|
# @!attribute [rw] name
|
38
|
-
# @return [String]
|
38
|
+
# @return [::String]
|
39
39
|
# Required. The resource name of the dataset to retrieve.
|
40
40
|
class GetDatasetRequest
|
41
|
-
include Google::Protobuf::MessageExts
|
42
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
43
|
end
|
44
44
|
|
45
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
|
45
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
|
46
46
|
# @!attribute [rw] parent
|
47
|
-
# @return [String]
|
47
|
+
# @return [::String]
|
48
48
|
# Required. The resource name of the project from which to list datasets.
|
49
49
|
# @!attribute [rw] filter
|
50
|
-
# @return [String]
|
50
|
+
# @return [::String]
|
51
51
|
# An expression for filtering the results of the request.
|
52
52
|
#
|
53
53
|
# * `dataset_metadata` - for existence of the case (e.g.
|
@@ -56,116 +56,116 @@ module Google
|
|
56
56
|
# * `translation_dataset_metadata:*` --> The dataset has
|
57
57
|
# translation_dataset_metadata.
|
58
58
|
# @!attribute [rw] page_size
|
59
|
-
# @return [Integer]
|
59
|
+
# @return [::Integer]
|
60
60
|
# Requested page size. Server may return fewer results than requested.
|
61
61
|
# If unspecified, server will pick a default size.
|
62
62
|
# @!attribute [rw] page_token
|
63
|
-
# @return [String]
|
63
|
+
# @return [::String]
|
64
64
|
# A token identifying a page of results for the server to return
|
65
65
|
# Typically obtained via
|
66
|
-
# {Google::Cloud::AutoML::V1::ListDatasetsResponse#next_page_token ListDatasetsResponse.next_page_token} of the previous
|
67
|
-
# {Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets} call.
|
66
|
+
# {::Google::Cloud::AutoML::V1::ListDatasetsResponse#next_page_token ListDatasetsResponse.next_page_token} of the previous
|
67
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets} call.
|
68
68
|
class ListDatasetsRequest
|
69
|
-
include Google::Protobuf::MessageExts
|
70
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
71
|
end
|
72
72
|
|
73
|
-
# Response message for {Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
|
73
|
+
# Response message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_datasets AutoMl.ListDatasets}.
|
74
74
|
# @!attribute [rw] datasets
|
75
|
-
# @return [Array
|
75
|
+
# @return [::Array<::Google::Cloud::AutoML::V1::Dataset>]
|
76
76
|
# The datasets read.
|
77
77
|
# @!attribute [rw] next_page_token
|
78
|
-
# @return [String]
|
78
|
+
# @return [::String]
|
79
79
|
# A token to retrieve next page of results.
|
80
|
-
# Pass to {Google::Cloud::AutoML::V1::ListDatasetsRequest#page_token ListDatasetsRequest.page_token} to obtain that page.
|
80
|
+
# Pass to {::Google::Cloud::AutoML::V1::ListDatasetsRequest#page_token ListDatasetsRequest.page_token} to obtain that page.
|
81
81
|
class ListDatasetsResponse
|
82
|
-
include Google::Protobuf::MessageExts
|
83
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
84
|
end
|
85
85
|
|
86
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#update_dataset AutoMl.UpdateDataset}
|
86
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#update_dataset AutoMl.UpdateDataset}
|
87
87
|
# @!attribute [rw] dataset
|
88
|
-
# @return [Google::Cloud::AutoML::V1::Dataset]
|
88
|
+
# @return [::Google::Cloud::AutoML::V1::Dataset]
|
89
89
|
# Required. The dataset which replaces the resource on the server.
|
90
90
|
# @!attribute [rw] update_mask
|
91
|
-
# @return [Google::Protobuf::FieldMask]
|
91
|
+
# @return [::Google::Protobuf::FieldMask]
|
92
92
|
# Required. The update mask applies to the resource.
|
93
93
|
class UpdateDatasetRequest
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
|
98
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#delete_dataset AutoMl.DeleteDataset}.
|
98
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#delete_dataset AutoMl.DeleteDataset}.
|
99
99
|
# @!attribute [rw] name
|
100
|
-
# @return [String]
|
100
|
+
# @return [::String]
|
101
101
|
# Required. The resource name of the dataset to delete.
|
102
102
|
class DeleteDatasetRequest
|
103
|
-
include Google::Protobuf::MessageExts
|
104
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
103
|
+
include ::Google::Protobuf::MessageExts
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
105
105
|
end
|
106
106
|
|
107
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData}.
|
107
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData}.
|
108
108
|
# @!attribute [rw] name
|
109
|
-
# @return [String]
|
109
|
+
# @return [::String]
|
110
110
|
# Required. Dataset name. Dataset must already exist. All imported
|
111
111
|
# annotations and examples will be added.
|
112
112
|
# @!attribute [rw] input_config
|
113
|
-
# @return [Google::Cloud::AutoML::V1::InputConfig]
|
113
|
+
# @return [::Google::Cloud::AutoML::V1::InputConfig]
|
114
114
|
# Required. The desired input location and its domain specific semantics,
|
115
115
|
# if any.
|
116
116
|
class ImportDataRequest
|
117
|
-
include Google::Protobuf::MessageExts
|
118
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
include ::Google::Protobuf::MessageExts
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
119
|
end
|
120
120
|
|
121
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#export_data AutoMl.ExportData}.
|
121
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#export_data AutoMl.ExportData}.
|
122
122
|
# @!attribute [rw] name
|
123
|
-
# @return [String]
|
123
|
+
# @return [::String]
|
124
124
|
# Required. The resource name of the dataset.
|
125
125
|
# @!attribute [rw] output_config
|
126
|
-
# @return [Google::Cloud::AutoML::V1::OutputConfig]
|
126
|
+
# @return [::Google::Cloud::AutoML::V1::OutputConfig]
|
127
127
|
# Required. The desired output location.
|
128
128
|
class ExportDataRequest
|
129
|
-
include Google::Protobuf::MessageExts
|
130
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
131
|
end
|
132
132
|
|
133
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#get_annotation_spec AutoMl.GetAnnotationSpec}.
|
133
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#get_annotation_spec AutoMl.GetAnnotationSpec}.
|
134
134
|
# @!attribute [rw] name
|
135
|
-
# @return [String]
|
135
|
+
# @return [::String]
|
136
136
|
# Required. The resource name of the annotation spec to retrieve.
|
137
137
|
class GetAnnotationSpecRequest
|
138
|
-
include Google::Protobuf::MessageExts
|
139
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
138
|
+
include ::Google::Protobuf::MessageExts
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
140
140
|
end
|
141
141
|
|
142
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#create_model AutoMl.CreateModel}.
|
142
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#create_model AutoMl.CreateModel}.
|
143
143
|
# @!attribute [rw] parent
|
144
|
-
# @return [String]
|
144
|
+
# @return [::String]
|
145
145
|
# Required. Resource name of the parent project where the model is being created.
|
146
146
|
# @!attribute [rw] model
|
147
|
-
# @return [Google::Cloud::AutoML::V1::Model]
|
147
|
+
# @return [::Google::Cloud::AutoML::V1::Model]
|
148
148
|
# Required. The model to create.
|
149
149
|
class CreateModelRequest
|
150
|
-
include Google::Protobuf::MessageExts
|
151
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
152
|
end
|
153
153
|
|
154
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#get_model AutoMl.GetModel}.
|
154
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#get_model AutoMl.GetModel}.
|
155
155
|
# @!attribute [rw] name
|
156
|
-
# @return [String]
|
156
|
+
# @return [::String]
|
157
157
|
# Required. Resource name of the model.
|
158
158
|
class GetModelRequest
|
159
|
-
include Google::Protobuf::MessageExts
|
160
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
161
|
end
|
162
162
|
|
163
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels}.
|
163
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels}.
|
164
164
|
# @!attribute [rw] parent
|
165
|
-
# @return [String]
|
165
|
+
# @return [::String]
|
166
166
|
# Required. Resource name of the project, from which to list the models.
|
167
167
|
# @!attribute [rw] filter
|
168
|
-
# @return [String]
|
168
|
+
# @return [::String]
|
169
169
|
# An expression for filtering the results of the request.
|
170
170
|
#
|
171
171
|
# * `model_metadata` - for existence of the case (e.g.
|
@@ -176,108 +176,108 @@ module Google
|
|
176
176
|
# image_classification_model_metadata.
|
177
177
|
# * `dataset_id=5` --> The model was created from a dataset with ID 5.
|
178
178
|
# @!attribute [rw] page_size
|
179
|
-
# @return [Integer]
|
179
|
+
# @return [::Integer]
|
180
180
|
# Requested page size.
|
181
181
|
# @!attribute [rw] page_token
|
182
|
-
# @return [String]
|
182
|
+
# @return [::String]
|
183
183
|
# A token identifying a page of results for the server to return
|
184
184
|
# Typically obtained via
|
185
|
-
# {Google::Cloud::AutoML::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token} of the previous
|
186
|
-
# {Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels} call.
|
185
|
+
# {::Google::Cloud::AutoML::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token} of the previous
|
186
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels} call.
|
187
187
|
class ListModelsRequest
|
188
|
-
include Google::Protobuf::MessageExts
|
189
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
include ::Google::Protobuf::MessageExts
|
189
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
190
|
end
|
191
191
|
|
192
|
-
# Response message for {Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels}.
|
192
|
+
# Response message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_models AutoMl.ListModels}.
|
193
193
|
# @!attribute [rw] model
|
194
|
-
# @return [Array
|
194
|
+
# @return [::Array<::Google::Cloud::AutoML::V1::Model>]
|
195
195
|
# List of models in the requested page.
|
196
196
|
# @!attribute [rw] next_page_token
|
197
|
-
# @return [String]
|
197
|
+
# @return [::String]
|
198
198
|
# A token to retrieve next page of results.
|
199
|
-
# Pass to {Google::Cloud::AutoML::V1::ListModelsRequest#page_token ListModelsRequest.page_token} to obtain that page.
|
199
|
+
# Pass to {::Google::Cloud::AutoML::V1::ListModelsRequest#page_token ListModelsRequest.page_token} to obtain that page.
|
200
200
|
class ListModelsResponse
|
201
|
-
include Google::Protobuf::MessageExts
|
202
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
201
|
+
include ::Google::Protobuf::MessageExts
|
202
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
203
203
|
end
|
204
204
|
|
205
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#delete_model AutoMl.DeleteModel}.
|
205
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#delete_model AutoMl.DeleteModel}.
|
206
206
|
# @!attribute [rw] name
|
207
|
-
# @return [String]
|
207
|
+
# @return [::String]
|
208
208
|
# Required. Resource name of the model being deleted.
|
209
209
|
class DeleteModelRequest
|
210
|
-
include Google::Protobuf::MessageExts
|
211
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
210
|
+
include ::Google::Protobuf::MessageExts
|
211
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
212
212
|
end
|
213
213
|
|
214
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#update_model AutoMl.UpdateModel}
|
214
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#update_model AutoMl.UpdateModel}
|
215
215
|
# @!attribute [rw] model
|
216
|
-
# @return [Google::Cloud::AutoML::V1::Model]
|
216
|
+
# @return [::Google::Cloud::AutoML::V1::Model]
|
217
217
|
# Required. The model which replaces the resource on the server.
|
218
218
|
# @!attribute [rw] update_mask
|
219
|
-
# @return [Google::Protobuf::FieldMask]
|
219
|
+
# @return [::Google::Protobuf::FieldMask]
|
220
220
|
# Required. The update mask applies to the resource.
|
221
221
|
class UpdateModelRequest
|
222
|
-
include Google::Protobuf::MessageExts
|
223
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
222
|
+
include ::Google::Protobuf::MessageExts
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
224
224
|
end
|
225
225
|
|
226
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#deploy_model AutoMl.DeployModel}.
|
226
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#deploy_model AutoMl.DeployModel}.
|
227
227
|
# @!attribute [rw] image_object_detection_model_deployment_metadata
|
228
|
-
# @return [Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata]
|
228
|
+
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata]
|
229
229
|
# Model deployment metadata specific to Image Object Detection.
|
230
230
|
# @!attribute [rw] image_classification_model_deployment_metadata
|
231
|
-
# @return [Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata]
|
231
|
+
# @return [::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata]
|
232
232
|
# Model deployment metadata specific to Image Classification.
|
233
233
|
# @!attribute [rw] name
|
234
|
-
# @return [String]
|
234
|
+
# @return [::String]
|
235
235
|
# Required. Resource name of the model to deploy.
|
236
236
|
class DeployModelRequest
|
237
|
-
include Google::Protobuf::MessageExts
|
238
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
237
|
+
include ::Google::Protobuf::MessageExts
|
238
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
239
239
|
end
|
240
240
|
|
241
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#undeploy_model AutoMl.UndeployModel}.
|
241
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#undeploy_model AutoMl.UndeployModel}.
|
242
242
|
# @!attribute [rw] name
|
243
|
-
# @return [String]
|
243
|
+
# @return [::String]
|
244
244
|
# Required. Resource name of the model to undeploy.
|
245
245
|
class UndeployModelRequest
|
246
|
-
include Google::Protobuf::MessageExts
|
247
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
include ::Google::Protobuf::MessageExts
|
247
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
248
248
|
end
|
249
249
|
|
250
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#export_model AutoMl.ExportModel}.
|
250
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#export_model AutoMl.ExportModel}.
|
251
251
|
# Models need to be enabled for exporting, otherwise an error code will be
|
252
252
|
# returned.
|
253
253
|
# @!attribute [rw] name
|
254
|
-
# @return [String]
|
254
|
+
# @return [::String]
|
255
255
|
# Required. The resource name of the model to export.
|
256
256
|
# @!attribute [rw] output_config
|
257
|
-
# @return [Google::Cloud::AutoML::V1::ModelExportOutputConfig]
|
257
|
+
# @return [::Google::Cloud::AutoML::V1::ModelExportOutputConfig]
|
258
258
|
# Required. The desired output location and configuration.
|
259
259
|
class ExportModelRequest
|
260
|
-
include Google::Protobuf::MessageExts
|
261
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
262
|
end
|
263
263
|
|
264
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#get_model_evaluation AutoMl.GetModelEvaluation}.
|
264
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#get_model_evaluation AutoMl.GetModelEvaluation}.
|
265
265
|
# @!attribute [rw] name
|
266
|
-
# @return [String]
|
266
|
+
# @return [::String]
|
267
267
|
# Required. Resource name for the model evaluation.
|
268
268
|
class GetModelEvaluationRequest
|
269
|
-
include Google::Protobuf::MessageExts
|
270
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
269
|
+
include ::Google::Protobuf::MessageExts
|
270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
271
|
end
|
272
272
|
|
273
|
-
# Request message for {Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
|
273
|
+
# Request message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
|
274
274
|
# @!attribute [rw] parent
|
275
|
-
# @return [String]
|
275
|
+
# @return [::String]
|
276
276
|
# Required. Resource name of the model to list the model evaluations for.
|
277
277
|
# If modelId is set as "-", this will list model evaluations from across all
|
278
278
|
# models of the parent location.
|
279
279
|
# @!attribute [rw] filter
|
280
|
-
# @return [String]
|
280
|
+
# @return [::String]
|
281
281
|
# Required. An expression for filtering the results of the request.
|
282
282
|
#
|
283
283
|
# * `annotation_spec_id` - for =, != or existence. See example below for
|
@@ -290,31 +290,31 @@ module Google
|
|
290
290
|
# * `NOT annotation_spec_id:*` --> The model evaluation was done for
|
291
291
|
# aggregate of all annotation specs.
|
292
292
|
# @!attribute [rw] page_size
|
293
|
-
# @return [Integer]
|
293
|
+
# @return [::Integer]
|
294
294
|
# Requested page size.
|
295
295
|
# @!attribute [rw] page_token
|
296
|
-
# @return [String]
|
296
|
+
# @return [::String]
|
297
297
|
# A token identifying a page of results for the server to return.
|
298
298
|
# Typically obtained via
|
299
|
-
# {Google::Cloud::AutoML::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token} of the previous
|
300
|
-
# {Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} call.
|
299
|
+
# {::Google::Cloud::AutoML::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token} of the previous
|
300
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} call.
|
301
301
|
class ListModelEvaluationsRequest
|
302
|
-
include Google::Protobuf::MessageExts
|
303
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
302
|
+
include ::Google::Protobuf::MessageExts
|
303
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
304
304
|
end
|
305
305
|
|
306
|
-
# Response message for {Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
|
306
|
+
# Response message for {::Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations}.
|
307
307
|
# @!attribute [rw] model_evaluation
|
308
|
-
# @return [Array
|
308
|
+
# @return [::Array<::Google::Cloud::AutoML::V1::ModelEvaluation>]
|
309
309
|
# List of model evaluations in the requested page.
|
310
310
|
# @!attribute [rw] next_page_token
|
311
|
-
# @return [String]
|
311
|
+
# @return [::String]
|
312
312
|
# A token to retrieve next page of results.
|
313
|
-
# Pass to the {Google::Cloud::AutoML::V1::ListModelEvaluationsRequest#page_token ListModelEvaluationsRequest.page_token} field of a new
|
314
|
-
# {Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} request to obtain that page.
|
313
|
+
# Pass to the {::Google::Cloud::AutoML::V1::ListModelEvaluationsRequest#page_token ListModelEvaluationsRequest.page_token} field of a new
|
314
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#list_model_evaluations AutoMl.ListModelEvaluations} request to obtain that page.
|
315
315
|
class ListModelEvaluationsResponse
|
316
|
-
include Google::Protobuf::MessageExts
|
317
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
316
|
+
include ::Google::Protobuf::MessageExts
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
318
318
|
end
|
319
319
|
end
|
320
320
|
end
|
@@ -23,37 +23,37 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# Dataset metadata for classification.
|
25
25
|
# @!attribute [rw] classification_type
|
26
|
-
# @return [Google::Cloud::AutoML::V1::ClassificationType]
|
26
|
+
# @return [::Google::Cloud::AutoML::V1::ClassificationType]
|
27
27
|
# Required. Type of the classification problem.
|
28
28
|
class TextClassificationDatasetMetadata
|
29
|
-
include Google::Protobuf::MessageExts
|
30
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
31
|
end
|
32
32
|
|
33
33
|
# Model metadata that is specific to text classification.
|
34
34
|
# @!attribute [rw] classification_type
|
35
|
-
# @return [Google::Cloud::AutoML::V1::ClassificationType]
|
35
|
+
# @return [::Google::Cloud::AutoML::V1::ClassificationType]
|
36
36
|
# Output only. Classification type of the dataset used to train this model.
|
37
37
|
class TextClassificationModelMetadata
|
38
|
-
include Google::Protobuf::MessageExts
|
39
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
40
|
end
|
41
41
|
|
42
42
|
# Dataset metadata that is specific to text extraction
|
43
43
|
class TextExtractionDatasetMetadata
|
44
|
-
include Google::Protobuf::MessageExts
|
45
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
46
|
end
|
47
47
|
|
48
48
|
# Model metadata that is specific to text extraction.
|
49
49
|
class TextExtractionModelMetadata
|
50
|
-
include Google::Protobuf::MessageExts
|
51
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
52
|
end
|
53
53
|
|
54
54
|
# Dataset metadata for text sentiment.
|
55
55
|
# @!attribute [rw] sentiment_max
|
56
|
-
# @return [Integer]
|
56
|
+
# @return [::Integer]
|
57
57
|
# Required. A sentiment is expressed as an integer ordinal, where higher value
|
58
58
|
# means a more positive sentiment. The range of sentiments that will be used
|
59
59
|
# is between 0 and sentiment_max (inclusive on both ends), and all the values
|
@@ -61,14 +61,14 @@ module Google
|
|
61
61
|
# created.
|
62
62
|
# sentiment_max value must be between 1 and 10 (inclusive).
|
63
63
|
class TextSentimentDatasetMetadata
|
64
|
-
include Google::Protobuf::MessageExts
|
65
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
66
|
end
|
67
67
|
|
68
68
|
# Model metadata that is specific to text sentiment.
|
69
69
|
class TextSentimentModelMetadata
|
70
|
-
include Google::Protobuf::MessageExts
|
71
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
include ::Google::Protobuf::MessageExts
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
@@ -23,48 +23,48 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# Annotation for identifying spans of text.
|
25
25
|
# @!attribute [rw] text_segment
|
26
|
-
# @return [Google::Cloud::AutoML::V1::TextSegment]
|
26
|
+
# @return [::Google::Cloud::AutoML::V1::TextSegment]
|
27
27
|
# An entity annotation will set this, which is the part of the original
|
28
28
|
# text to which the annotation pertains.
|
29
29
|
# @!attribute [rw] score
|
30
|
-
# @return [Float]
|
30
|
+
# @return [::Float]
|
31
31
|
# Output only. A confidence estimate between 0.0 and 1.0. A higher value
|
32
32
|
# means greater confidence in correctness of the annotation.
|
33
33
|
class TextExtractionAnnotation
|
34
|
-
include Google::Protobuf::MessageExts
|
35
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
36
|
end
|
37
37
|
|
38
38
|
# Model evaluation metrics for text extraction problems.
|
39
39
|
# @!attribute [rw] au_prc
|
40
|
-
# @return [Float]
|
40
|
+
# @return [::Float]
|
41
41
|
# Output only. The Area under precision recall curve metric.
|
42
42
|
# @!attribute [rw] confidence_metrics_entries
|
43
|
-
# @return [Array
|
43
|
+
# @return [::Array<::Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry>]
|
44
44
|
# Output only. Metrics that have confidence thresholds.
|
45
45
|
# Precision-recall curve can be derived from it.
|
46
46
|
class TextExtractionEvaluationMetrics
|
47
|
-
include Google::Protobuf::MessageExts
|
48
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
49
|
|
50
50
|
# Metrics for a single confidence threshold.
|
51
51
|
# @!attribute [rw] confidence_threshold
|
52
|
-
# @return [Float]
|
52
|
+
# @return [::Float]
|
53
53
|
# Output only. The confidence threshold value used to compute the metrics.
|
54
54
|
# Only annotations with score of at least this threshold are considered to
|
55
55
|
# be ones the model would return.
|
56
56
|
# @!attribute [rw] recall
|
57
|
-
# @return [Float]
|
57
|
+
# @return [::Float]
|
58
58
|
# Output only. Recall under the given confidence threshold.
|
59
59
|
# @!attribute [rw] precision
|
60
|
-
# @return [Float]
|
60
|
+
# @return [::Float]
|
61
61
|
# Output only. Precision under the given confidence threshold.
|
62
62
|
# @!attribute [rw] f1_score
|
63
|
-
# @return [Float]
|
63
|
+
# @return [::Float]
|
64
64
|
# Output only. The harmonic mean of recall and precision.
|
65
65
|
class ConfidenceMetricsEntry
|
66
|
-
include Google::Protobuf::MessageExts
|
67
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
@@ -23,20 +23,20 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding.
|
25
25
|
# @!attribute [rw] content
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Output only. The content of the TextSegment.
|
28
28
|
# @!attribute [rw] start_offset
|
29
|
-
# @return [Integer]
|
29
|
+
# @return [::Integer]
|
30
30
|
# Required. Zero-based character index of the first character of the text
|
31
31
|
# segment (counting characters from the beginning of the text).
|
32
32
|
# @!attribute [rw] end_offset
|
33
|
-
# @return [Integer]
|
33
|
+
# @return [::Integer]
|
34
34
|
# Required. Zero-based character index of the first character past the end of
|
35
35
|
# the text segment (counting character from the beginning of the text).
|
36
36
|
# The character at the end_offset is NOT included in the text segment.
|
37
37
|
class TextSegment
|
38
|
-
include Google::Protobuf::MessageExts
|
39
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# Contains annotation details specific to text sentiment.
|
25
25
|
# @!attribute [rw] sentiment
|
26
|
-
# @return [Integer]
|
26
|
+
# @return [::Integer]
|
27
27
|
# Output only. The sentiment with the semantic, as given to the
|
28
|
-
# {Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData} when populating the dataset from which the model used
|
28
|
+
# {::Google::Cloud::AutoML::V1::AutoML::Client#import_data AutoMl.ImportData} when populating the dataset from which the model used
|
29
29
|
# for the prediction had been trained.
|
30
30
|
# The sentiment values are between 0 and
|
31
31
|
# Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
|
@@ -37,44 +37,44 @@ module Google
|
|
37
37
|
# The sentiment shouldn't be confused with "score" or "magnitude"
|
38
38
|
# from the previous Natural Language Sentiment Analysis API.
|
39
39
|
class TextSentimentAnnotation
|
40
|
-
include Google::Protobuf::MessageExts
|
41
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
42
|
end
|
43
43
|
|
44
44
|
# Model evaluation metrics for text sentiment problems.
|
45
45
|
# @!attribute [rw] precision
|
46
|
-
# @return [Float]
|
46
|
+
# @return [::Float]
|
47
47
|
# Output only. Precision.
|
48
48
|
# @!attribute [rw] recall
|
49
|
-
# @return [Float]
|
49
|
+
# @return [::Float]
|
50
50
|
# Output only. Recall.
|
51
51
|
# @!attribute [rw] f1_score
|
52
|
-
# @return [Float]
|
52
|
+
# @return [::Float]
|
53
53
|
# Output only. The harmonic mean of recall and precision.
|
54
54
|
# @!attribute [rw] mean_absolute_error
|
55
|
-
# @return [Float]
|
55
|
+
# @return [::Float]
|
56
56
|
# Output only. Mean absolute error. Only set for the overall model
|
57
57
|
# evaluation, not for evaluation of a single annotation spec.
|
58
58
|
# @!attribute [rw] mean_squared_error
|
59
|
-
# @return [Float]
|
59
|
+
# @return [::Float]
|
60
60
|
# Output only. Mean squared error. Only set for the overall model
|
61
61
|
# evaluation, not for evaluation of a single annotation spec.
|
62
62
|
# @!attribute [rw] linear_kappa
|
63
|
-
# @return [Float]
|
63
|
+
# @return [::Float]
|
64
64
|
# Output only. Linear weighted kappa. Only set for the overall model
|
65
65
|
# evaluation, not for evaluation of a single annotation spec.
|
66
66
|
# @!attribute [rw] quadratic_kappa
|
67
|
-
# @return [Float]
|
67
|
+
# @return [::Float]
|
68
68
|
# Output only. Quadratic weighted kappa. Only set for the overall model
|
69
69
|
# evaluation, not for evaluation of a single annotation spec.
|
70
70
|
# @!attribute [rw] confusion_matrix
|
71
|
-
# @return [Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix]
|
71
|
+
# @return [::Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix]
|
72
72
|
# Output only. Confusion matrix of the evaluation.
|
73
73
|
# Only set for the overall model evaluation, not for evaluation of a single
|
74
74
|
# annotation spec.
|
75
75
|
class TextSentimentEvaluationMetrics
|
76
|
-
include Google::Protobuf::MessageExts
|
77
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
78
|
end
|
79
79
|
end
|
80
80
|
end
|