mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 04:58:26 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -11,8 +11,7 @@ EXAMPLES
|
|||
To create an endpoint under project example in region us-central1, run:
|
||||
|
||||
$ gcloud beta ai endpoints create --project=example \
|
||||
--region=us-central1
|
||||
--display-name=my_endpoint
|
||||
--region=us-central1 --display-name=my_endpoint
|
||||
|
||||
REQUIRED FLAGS
|
||||
--display-name=DISPLAY_NAME
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ EXAMPLES
|
|||
us-central1, run:
|
||||
|
||||
$ gcloud beta ai endpoints deploy-model 123 --project=example \
|
||||
--region=us-central1 --model=456
|
||||
--display-name=my_deployed_model
|
||||
--region=us-central1 --model=456 \
|
||||
--display-name=my_deployed_model
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Endpoint resource - The endpoint to deploy a model to. The arguments in
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ EXAMPLES
|
|||
us-central1, run:
|
||||
|
||||
$ gcloud beta ai endpoints predict 123 --project=example \
|
||||
--region=us-central1
|
||||
--json-request=input.json
|
||||
--region=us-central1 --json-request=input.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Endpoint resource - The endpoint to do online prediction. The arguments in
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ EXAMPLES
|
|||
To send the image file image.jpeg and set the content type, run:
|
||||
|
||||
$ gcloud beta ai endpoints raw-predict 123 --project=example \
|
||||
--region=us-central1
|
||||
--http-headers=Content-Type=image/jpeg --request=@image.jpeg
|
||||
--region=us-central1 --http-headers=Content-Type=image/jpeg \
|
||||
--request=@image.jpeg
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Endpoint resource - The endpoint to do online raw prediction. The
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ EXAMPLES
|
|||
region us-central1, run:
|
||||
|
||||
$ gcloud beta ai endpoints undeploy-model 123 --project=example \
|
||||
--region=us-central1
|
||||
--deployed-model-id=456
|
||||
--region=us-central1 --deployed-model-id=456
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Endpoint resource - The endpoint to undeploy a model from. The arguments
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ EXAMPLES
|
|||
To update an endpoint 123 under project example in region us-central1, run:
|
||||
|
||||
$ gcloud beta ai endpoints update 123 --project=example \
|
||||
--region=us-central1
|
||||
--display-name=new_name
|
||||
--region=us-central1 --display-name=new_name
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Endpoint resource - The endpoint to update. The arguments in this group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue