REST Resource: deployments.groups.members

Resource: GroupMember

A group member that is assigned to a group.

JSON representation
{
  "name": string,
  "details": {
    object (GroupMemberDetails)
  }
}
Fields
name

string

Required. The name of the member.

details

object (GroupMemberDetails)

Output only. More details of the group member, such as check-in history.

GroupMemberDetails

Details about a group member, such as the hardware ID and the registration time. All of this information is read only.

JSON representation
{
  "hardwareId": [
    {
      object (HardwareID)
    }
  ],
  "registerTime": string,
  "hardwareName": string,
  "currentOta": {
    object (OtaProperties)
  },
  "checkins": [
    {
      object (Checkin)
    }
  ],
  "lastCheckin": {
    object (LastCheckin)
  }
}
Fields
hardwareId[]

object (HardwareID)

List of hardware IDs (imei, meid, serial, etc.) associated with the device.

registerTime

string (Timestamp format)

The timestamp when the device first registered.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

hardwareName

string

Hardware name, for example, shamu.

currentOta

object (OtaProperties)

Current OTA name.

checkins[]

object (Checkin)

Check-in history.

lastCheckin

object (LastCheckin)

Last check-in.

HardwareID

A hardware ID belonging to the device.

JSON representation
{
  "id": string
}
Fields
id

string

The formatted ID, for example, imei:XYZ.

OtaProperties

Message for properties of the current device OTA.

JSON representation
{
  "name": string,
  "url": string
}
Fields
name

string

Name of the OTA.

url

string

URL of the OTA.

Checkin

A single device check-in.

JSON representation
{
  "checkinTime": string,
  "buildProperties": {
    object (AndroidBuildProperties)
  },
  "roOemKey1": string
}
Fields
checkinTime

string (Timestamp format)

The timestamp when a check-in happened. Only populated if the device is in a group.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

buildProperties

object (AndroidBuildProperties)

Build properties.

roOemKey1

string

The value of ro.oem.key1 when present.

AndroidBuildProperties

Device's build properties sent with check-in.

JSON representation
{
  "id": string,
  "product": string,
  "radio": string,
  "bootloader": string
}
Fields
id

string

Full build ID.

product

string

Product = ro.build.product, for example, shamu.

radio

string

Radio.

bootloader

string

Bootloader.

LastCheckin

Last check-in information. Contains more information than the corresponding item in the checkin_history field.

JSON representation
{
  "checkin": {
    object (Checkin)
  },
  "digest": string,
  "locale": string,
  "extraBuildProperties": [
    {
      object (KeyValue)
    }
  ],
  "timeWindow": enum (TimeWindow)
}
Fields
checkin

object (Checkin)

Base check-in properties.

digest

string

Hash of the result sent back to the device, if any.

locale

string

Locale.

extraBuildProperties[]

object (KeyValue)

Extra build properties such as ro.build.[device|client]

timeWindow

enum (TimeWindow)

Time window of the last Checkin

KeyValue

KeyValue message for OTA API protos.

JSON representation
{
  "key": string,
  "value": string
}
Fields
key

string

Key.

value

string

Value.

TimeWindow

The last window the device checked in.

Enums
TIME_WINDOW_UNSPECIFIED Unknown
TIME_WINDOW_WITHIN_ONE_DAY Within one day
TIME_WINDOW_WITHIN_ONE_WEEK Within the last week
TIME_WINDOW_WITHIN_TWO_WEEKS Within the last two weeks
TIME_WINDOW_MORE_THAN_TWO_WEEKS More than the last two weeks

Methods

batchCreate

Creates group members in a specific group.

batchDelete

Deletes group members in a group.

create

Creates a group member and returns the new GroupMember.

delete

Deletes a group member.

get

Gets a group member.

list

Lists group members.