Method: deployments.configs.update

  • This page details how to update a deployment config using a PUT request to a specified URL with path parameters.

  • The request body requires both a config object and a versionTag object to ensure concurrent updates do not interfere.

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

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

Updates a config. Returns INVALID_ARGUMENT if the name of the config is non-empty and does not equal the existing name.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "config": {
    object (Config)
  },
  "versionTag": {
    object (VersionTag)
  }
}
Fields
config

object (Config)

The Config to update.

versionTag

object (VersionTag)

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

Response body

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

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.