Skip to content

Commit f2c6bca

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add labels field for Predict API for Imagen use case (v1beta and v1)
PiperOrigin-RevId: 815869562
1 parent 7f0c1e5 commit f2c6bca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/prediction_service.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ message PredictRequest {
241241
// [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata]
242242
// [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
243243
google.protobuf.Value parameters = 3;
244+
245+
// Optional. The user labels for Imagen billing usage only. Only Imagen
246+
// supports labels. For other use cases, it will be ignored.
247+
map<string, string> labels = 4 [(google.api.field_behavior) = OPTIONAL];
244248
}
245249

246250
// Response message for

0 commit comments

Comments
 (0)