Method: playAutoInstallsCarriers.list

Lists carriers and country code.

HTTP request

GET https://androidpartner.googleapis.com/v1/playAutoInstallsCarriers

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Play auto install list carrier response message.

JSON representation
{
  "carrier": [
    {
      object (Carrier)
    }
  ]
}
Fields
carrier[]

object (Carrier)

A list of supported wireless carriers.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidPartner

For more information, see the OAuth 2.0 Overview.

Carrier

Contains the mapped carrier name along with the persisted carrier id.

JSON representation
{
  "countryCode": string,
  "id": string,
  "name": string,
  "mccMncTuples": [
    number
  ],
  "deviceAttributes": [
    {
      object (CarrierDeviceAttribute)
    }
  ]
}
Fields
countryCode

string

The 2-letter country code.

id

string (int64 format)

Carrier ID from carriers, client use playAutoInstallsCarriers.list api to retrieve this value. This ID is unique and returned by server.

name

string

The human readable name of the carrier, client use playAutoInstallsCarriers.list to retrieve this value.

mccMncTuples[]

number

A list of the MCC and MNC parts of the IMSI that map to this carrier subsidiary.

deviceAttributes[]

object (CarrierDeviceAttribute)

Attributes identifying device as operated by the carrier. If multiple deviceAttributes are set, a device that matches any of the deviceAttributes maps to the carrier.

CarrierDeviceAttribute

Attributes used to match device to carrier. For each field within this message: - if not set, the attribute is ignored; - if set, the device must have one of the specified values to match.

JSON representation
{
  "mccMncTuples": [
    number
  ],
  "isBlanketAttributesWithoutMccMnc": boolean,
  "imsiPrefixXpatterns": [
    string
  ],
  "imsiRanges": [
    {
      object (ImsiRange)
    }
  ],
  "spns": [
    string
  ],
  "gid1s": [
    string
  ],
  "apns": [
    string
  ]
}
Fields
mccMncTuples[]

number

isBlanketAttributesWithoutMccMnc

boolean

imsiPrefixXpatterns[]

string

imsiRanges[]

object (ImsiRange)

Sample value: { start: "262020000000000", end: "262021913599999"}. Sample value: { start: "26202", end: "2620219135"}. Both sample values are valid and equivalent.

spns[]

string

Sample values: C Spire, LeclercMobile

gid1s[]

string

Sample values: 6D, BAE0000000000000

apns[]

string

Sample values: fast.t-mobile.com, internet

ImsiRange

Range of IMSI-s.

JSON representation
{
  "start": string,
  "end": string
}
Fields
start

string

end

string