Skip to content

Commit 7f0c1e5

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

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/prediction_service.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ message PredictRequest {
273273
// [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata]
274274
// [parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri].
275275
google.protobuf.Value parameters = 3;
276+
277+
// Optional. The user labels for Imagen billing usage only. Only Imagen
278+
// supports labels. For other use cases, it will be ignored.
279+
map<string, string> labels = 4 [(google.api.field_behavior) = OPTIONAL];
276280
}
277281

278282
// Response message for

0 commit comments

Comments
 (0)