@@ -18,11 +18,12 @@ syntax = "proto3";
1818package google.cloud.automl.v1 ;
1919
2020import "google/api/annotations.proto" ;
21+ import "google/api/client.proto" ;
2122import "google/cloud/automl/v1/annotation_payload.proto" ;
2223import "google/cloud/automl/v1/data_items.proto" ;
2324import "google/cloud/automl/v1/io.proto" ;
25+ import "google/cloud/automl/v1/operations.proto" ;
2426import "google/longrunning/operations.proto" ;
25- import "google/api/client.proto" ;
2627
2728option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl" ;
2829option csharp_namespace = "Google.Cloud.AutoML.V1" ;
@@ -38,7 +39,8 @@ option ruby_package = "Google::Cloud::AutoML::V1";
3839// snake_case or kebab-case, either of those cases is accepted.
3940service PredictionService {
4041 option (google.api.default_host ) = "automl.googleapis.com" ;
41- option (google.api.oauth_scopes ) = "https://www.googleapis.com/auth/cloud-platform" ;
42+ option (google.api.oauth_scopes ) =
43+ "https://www.googleapis.com/auth/cloud-platform" ;
4244
4345 // Perform an online prediction. The prediction result will be directly
4446 // returned in the response.
@@ -53,7 +55,8 @@ service PredictionService {
5355 }
5456}
5557
56- // Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
58+ // Request message for
59+ // [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
5760message PredictRequest {
5861 // Name of the model requested to serve the prediction.
5962 string name = 1 ;
@@ -67,7 +70,8 @@ message PredictRequest {
6770 map <string , string > params = 3 ;
6871}
6972
70- // Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
73+ // Response message for
74+ // [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
7175message PredictResponse {
7276 // Prediction result.
7377 // Translation and Text Sentiment will return precisely one payload.
0 commit comments