daftarPelanggan
company
(disebut sebagai pelanggan) mewakili organisasi unik dengan akun zero-touch. Metode ini mencantumkan
pelanggan yang terkait dengan akun reseller Anda.
Tanda tangan metode
public ListCustomersResponse listCustomers(ListCustomersRequest request) throws CommonException;
ListCustomersRequest
Nama properti |
Nilai |
Wajib |
Deskripsi |
pageSize |
int |
Tidak |
Ukuran halaman, hingga 100 . Jika lebih besar dari 100 atau null , 100 akan digunakan. |
pageToken |
string |
Tidak |
Token halaman. Jika kosong, halaman pertama akan ditampilkan. |
vendorParams |
map |
Tidak |
Kolom tambahan, key-value pair yang ditentukan vendor. |
ListCustomersResponse
Nama properti |
Nilai |
Deskripsi |
customers |
Daftar object( Company ) |
Daftar pelanggan yang terkait dengan reseller. |
totalCount |
int |
Jumlah total perangkat yang cocok dengan permintaan. |
nextPageToken |
strong |
Token halaman berikutnya. Kosong untuk halaman terakhir. |
vendorParams |
map |
Kolom tambahan, key-value pair yang ditentukan vendor. |
Perilaku error
Jika terjadi error, library akan menampilkan CommonException
yang berisi salah satu kode error berikut:
Kode error |
INTERNAL_SERVER_ERROR |
INVALID_PAGE_TOKEN |
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-11-09 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-09 UTC."],[[["A company, referred to as a customer, represents an organization with a zero-touch account."],["This method `listCustomers` is used to list customers associated with a reseller account."],["The request for the list of customers can be customized using `pageSize`, `pageToken`, and `vendorParams`."],["The `ListCustomersResponse` provides a list of customers, total customer count, the next page token, and extra vendor parameters."],["The `listCustomers` method can throw a `CommonException` with `INTERNAL_SERVER_ERROR` or `INVALID_PAGE_TOKEN` error codes."]]],["The `listCustomers` method retrieves a list of customer organizations associated with a reseller account. It accepts a `ListCustomersRequest` with optional `pageSize` (up to 100), `pageToken`, and `vendorParams`. The response, `ListCustomersResponse`, includes a list of `customers`, `totalCount`, `nextPageToken` for pagination, and `vendorParams`. Errors are returned as `CommonException` with codes like `INTERNAL_SERVER_ERROR` or `INVALID_PAGE_TOKEN`.\n"]]