Method: deployments.configs.updatePackages

  • This document outlines how to update packages under a specific configuration using a PUT request to the provided URL.

  • The request requires a name parameter in the URL path to identify the target configuration.

  • The request body must contain a packageConfigs array specifying the packages to be updated.

  • A successful update returns an empty response body.

  • Authorization using the https://www.googleapis.com/auth/android_partner_over_the_air scope is required.

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.