Method: deployments.groups.updateConfigs

  • This document outlines how to update configurations under a group using a PUT HTTP request.

  • The request requires specific path parameters, including the resource name of the group.

  • The request body is a JSON object containing arrays of config names, disabled config names, and a version tag for concurrent update control.

  • A successful update results in an empty response body and requires a specific OAuth scope for authorization.

Updates the configs under a group. Returns NOT_FOUND if the matching group or config does not exist.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Relative resource name. For example: "deployments/deployment_x/groups/group_g"

Request body

The request body contains data with the following structure:

JSON representation
{
  "configNames": [
    string
  ],
  "versionTag": {
    object (VersionTag)
  },
  "disabledConfigNames": [
    string
  ]
}
Fields
configNames[]

string

Required. The names of all the configs under the group. Important: the order of configs is important. If a device matches multiple sets of packages across configs, the last matching config that is not disabled wins and will be used. Disabled configs will be skipped.

versionTag

object (VersionTag)

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

disabledConfigNames[]

string

Required. The names of the disabled configs under the group.

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.