mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-20 13:27:47 +02:00
fix!: An existing google.api.http annotation http_uri is changed for method DeployPublisherModel in service ModelGardenService
docs: A comment for field `model` in message `.google.cloud.aiplatform.v1beta1.DeployPublisherModelRequest` is changed feat: A new field `include_equivalent_model_garden_model_deployment_configs` is added to message `.google.cloud.aiplatform.v1beta1.GetPublisherModelRequest` PiperOrigin-RevId: 732302115
This commit is contained in:
parent
fcd9d6582e
commit
abfda69aa3
1 changed files with 19 additions and 5 deletions
|
|
@ -72,8 +72,9 @@ service ModelGardenService {
|
|||
// Deploys publisher models.
|
||||
rpc DeployPublisherModel(DeployPublisherModelRequest)
|
||||
returns (google.longrunning.Operation) {
|
||||
option deprecated = true;
|
||||
option (google.api.http) = {
|
||||
post: "/v1beta1/{destination=projects/*/locations/*}:deploy"
|
||||
post: "/v1beta1/{destination=projects/*/locations/*}:deployPublisherModel"
|
||||
body: "*"
|
||||
};
|
||||
option (google.longrunning.operation_info) = {
|
||||
|
|
@ -125,6 +126,11 @@ message GetPublisherModelRequest {
|
|||
|
||||
// Optional. Token used to access Hugging Face gated models.
|
||||
string hugging_face_token = 6 [(google.api.field_behavior) = OPTIONAL];
|
||||
|
||||
// Optional. Whether to cnclude the deployment configs from the equivalent
|
||||
// Model Garden model if the requested model is a Hugging Face model.
|
||||
bool include_equivalent_model_garden_model_deployment_configs = 7
|
||||
[(google.api.field_behavior) = OPTIONAL];
|
||||
}
|
||||
|
||||
// Request message for
|
||||
|
|
@ -273,11 +279,15 @@ message DeployRequest {
|
|||
// Request message for
|
||||
// [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
|
||||
message DeployPublisherModelRequest {
|
||||
// Required. The name of the PublisherModel resource.
|
||||
option deprecated = true;
|
||||
|
||||
// Required. The model to deploy.
|
||||
// Format:
|
||||
// `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
|
||||
// `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
|
||||
// or Hugging Face model ID like `google/gemma-2-2b-it`.
|
||||
// 1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
|
||||
// `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
|
||||
// 2. Hugging Face model ID like `google/gemma-2-2b-it`.
|
||||
// 3. Custom model Google Cloud Storage URI like `gs://bucket`.
|
||||
// 4. Custom model zip file like `https://example.com/a.zip`.
|
||||
string model = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Required. The resource name of the Location to deploy the model in.
|
||||
|
|
@ -347,6 +357,8 @@ message DeployResponse {
|
|||
// Response message for
|
||||
// [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
|
||||
message DeployPublisherModelResponse {
|
||||
option deprecated = true;
|
||||
|
||||
// Output only. The name of the PublisherModel resource.
|
||||
// Format:
|
||||
// `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
|
||||
|
|
@ -407,6 +419,8 @@ message DeployOperationMetadata {
|
|||
// Runtime operation information for
|
||||
// [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
|
||||
message DeployPublisherModelOperationMetadata {
|
||||
option deprecated = true;
|
||||
|
||||
// The operation generic information.
|
||||
GenericOperationMetadata generic_metadata = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue