1 // Copyright 2018 Google LLC
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 package google.cloud.automl.v1beta1;
19 import "google/api/annotations.proto";
20 import "google/cloud/automl/v1beta1/model.proto";
21 import "google/cloud/automl/v1beta1/model_evaluation.proto";
22 import "google/protobuf/empty.proto";
23 import "google/protobuf/timestamp.proto";
24 import "google/rpc/status.proto";
26 option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl";
27 option java_multiple_files = true;
28 option java_package = "com.google.cloud.automl.v1beta1";
29 option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1";
31 // Metadata used across all long running operations returned by AutoML API.
32 message OperationMetadata {
33 // Ouptut only. Details of specific operation. Even if this field is empty,
34 // the presence allows to distinguish different types of operations.
36 // Details of CreateModel operation.
37 CreateModelOperationMetadata create_model_details = 10;
40 // Output only. Progress of operation. Range: [0, 100].
41 int32 progress_percent = 13;
43 // Output only. Partial failures encountered.
44 // E.g. single files that couldn't be read.
45 // This field should never exceed 20 entries.
46 // Status details field will contain standard GCP error details.
47 repeated google.rpc.Status partial_failures = 2;
49 // Output only. Time when the operation was created.
50 google.protobuf.Timestamp create_time = 3;
52 // Output only. Time when the operation was updated for the last time.
53 google.protobuf.Timestamp update_time = 4;
56 // Details of CreateModel operation.
57 message CreateModelOperationMetadata {}