Method: deployments.update

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 one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.

Try it!