File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -336,8 +336,9 @@ message DeployModelRequest {
336
336
337
337
// DeployModelResponse represents a response for a deployed model
338
338
message DeployModelResponse {
339
- // Deploy operation message
340
- google.longrunning.Operation operation = 1 ;
339
+ // Deployed model's id
340
+ // Format: models/{model}
341
+ string model_id = 1 ;
341
342
}
342
343
343
344
// UndeployModelRequest represents a request to undeploy a model to offline
@@ -353,8 +354,9 @@ message UndeployModelRequest {
353
354
354
355
// UndeployModelResponse represents a response for a undeployed model
355
356
message UndeployModelResponse {
356
- // Undeploy operation message
357
- google.longrunning.Operation operation = 1 ;
357
+ // Undeployed model's id
358
+ // Format: models/{model}
359
+ string model_id = 1 ;
358
360
}
359
361
360
362
// GetModelCardRequest represents a request to query a model's README card
Original file line number Diff line number Diff line change @@ -4621,9 +4621,11 @@ definitions:
4621
4621
v1alphaDeployModelResponse :
4622
4622
type : object
4623
4623
properties :
4624
- operation :
4625
- $ref : ' #/definitions/googlelongrunningOperation'
4626
- title : Deploy operation message
4624
+ model_id :
4625
+ type : string
4626
+ title : |-
4627
+ Deployed model's id
4628
+ Format: models/{model}
4627
4629
title : DeployModelResponse represents a response for a deployed model
4628
4630
v1alphaDetectionInput :
4629
4631
type : object
@@ -6994,9 +6996,11 @@ definitions:
6994
6996
v1alphaUndeployModelResponse :
6995
6997
type : object
6996
6998
properties :
6997
- operation :
6998
- $ref : ' #/definitions/googlelongrunningOperation'
6999
- title : Undeploy operation message
6999
+ model_id :
7000
+ type : string
7001
+ title : |-
7002
+ Undeployed model's id
7003
+ Format: models/{model}
7000
7004
title : UndeployModelResponse represents a response for a undeployed model
7001
7005
v1alphaUnpublishModelResponse :
7002
7006
type : object
You can’t perform that action at this time.
0 commit comments