Method: deployments.update

  • This documentation outlines how to update a deployment using a PUT request to a specific endpoint.

  • The request body must include the deployment details and a version tag for concurrency control.

  • A successful update will return the updated deployment object in the response.

  • Authorization requires the https://www.googleapis.com/auth/android_partner_over_the_air 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.