Deploy and undeploy an application

After you create an app you must deploy the app to be able to stream and analyze data.

Deploy an application

After you have built an end-to-end application with all the necessary components, you must deploy the app to start using it.

Console

  1. Open the Applications tab of the Gemini Enterprise Agent Platform Vision dashboard.

    Go to the Applications tab

  2. Select View app next to the name of your application from the list.

  3. From the application graph builder page click the Deploy button.

  4. In the Deploy application menu that opens, select any options and click Deploy.

    After deployment completes there will be green check marks next to the nodes.

REST & CMD LINE

To deploy your application for use, send a POST request using the projects.locations.applications.deploy method.

Before using any of the request data, make the following replacements:

HTTP method and URL:

POST https://visionai.googleapis.com/v1/projects/PROJECT_NUMBER/locations/LOCATION_ID/applications/APPLICATION_ID:deploy

To send your request, choose one of these options:

curl

Execute the following command:

curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json; charset=utf-8" \
-d "" \
"https://visionai.googleapis.com/v1/projects/PROJECT_NUMBER/locations/LOCATION_ID/applications/APPLICATION_ID:deploy"

PowerShell

Execute the following command:

$cred = gcloud auth print-access-token