Method: deployments.groups.updateConfigs

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.