AI-generated Key Takeaways
-
Updates the configuration settings for a specific group of devices within an Android over-the-air deployment.
-
Requires providing the group name, a list of configuration names, a version tag for concurrency control, and a list of disabled configurations.
-
Uses a PUT request to the specified endpoint with necessary authorization scopes.
-
The order of configuration names is crucial for device matching and deployment behavior.
-
Successful updates result in an empty response body.
Updates the config
s 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 |
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 ( |
Fields | |
---|---|
configNames[] |
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 |
Required. The group to be updated should match this version. If another client updates the existing group concurrently, the update operation will fail. |
disabledConfigNames[] |
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.