Method: deployments.update

  • This page provides documentation for updating a deployment using the Android Over-the-Air API.

  • The update is performed via an HTTP PUT request to a specific URL containing the deployment name as a path parameter.

  • The request body requires a JSON object containing the updated deployment details and a version tag to ensure concurrent updates are handled.

  • A successful response body will contain an instance of the updated Deployment object.

  • The request requires authorization using the https://www.googleapis.com/auth/android_partner_over_the_air OAuth scope.

Updates a deployment.

HTTP request

PUT https://androidovertheair.googleapis.com/v1/{name=deployments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Relative resource name. For example: "deployments/deployment_x"

Request body

The request body contains data with the following structure:

JSON representation
{
  "deployment": {
    object (Deployment)
  },
  "versionTag": {
    object (VersionTag)
  }
}
Fields
deployment

object (Deployment)

Required. Only the deployment description can be updated.

versionTag

object (VersionTag)

Required. The deployment to be updated should match this version. If another client updates the existing instance concurrently, this update operation will fail.

Response body

If successful, the response body contains an instance of Deployment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/android_partner_over_the_air

For more information, see the OAuth 2.0 Overview.