Method: partners.devices.get
Permintaan HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama resource API perangkat dalam format partners/[PARTNER_ID]/devices/[DEVICE_ID] .
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance Device
.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidworkprovisioning
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-07 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-07 UTC."],[[["This endpoint retrieves device information using a GET request to a specific URL format."],["The request URL requires a `name` path parameter, which specifies the device's resource name, including the partner and device ID."],["The request body for this operation must be empty, without any data."],["A successful response returns a `Device` object containing the details of the requested device."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],[]]