Method: deployments.configs.updatePackages

  • Updates the specified packages for a given deployment configuration using a PUT request.

  • Requires a request body containing a list of package configurations (packageConfigs).

  • Utilizes path parameters to identify the target deployment and configuration.

  • Upon successful execution, returns an empty response body.

  • Needs authorization with the https://www.googleapis.com/auth/android_partner_over_the_air scope.

Update the packages under the config. Returns NOT_FOUND if the matching path does not exist.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "packageConfigs": [
    {
      object (PackageConfig)
    }
  ]
}
Fields
packageConfigs[]

object (PackageConfig)

Required. The names of the packages under the config.

Response body

If successful, the response body is empty.

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.