Method: deployments.groups.update

  • This operation updates an existing Android Over-the-Air (OTA) deployment group with new information.

  • You will need to provide the group name and details about the group you want to update in the request.

  • To avoid concurrent update conflicts, a version tag is required to ensure data consistency.

  • A successful update will return the details of the updated group.

  • You need appropriate authorization using the https://www.googleapis.com/auth/android_partner_over_the_air OAuth scope.

Updates a group. Returns INVALID_ARGUMENT if the name of the group is non-empty and does not equal the existing name.

HTTP request

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

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
{
  "group": {
    object (Group)
  },
  "versionTag": {
    object (VersionTag)
  }
}
Fields
group

object (Group)

Required. The Group to update.

versionTag

object (VersionTag)

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

Response body

If successful, the response body contains an instance of Group.

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.