listCustomers
company
(고객이라고 함)는 제로터치 계정이 있는 고유한 조직을 나타냅니다. 이 메서드는 리셀러 계정과 연결된 고객을 나열합니다.
메서드 서명
public ListCustomersResponse listCustomers(ListCustomersRequest request) throws CommonException;
ListCustomersRequest
속성 이름 |
값 |
필수 |
설명 |
pageSize |
int |
아니요 |
페이지 크기(최대 100 )입니다. 100 또는 null 보다 크면 100 가 사용됩니다. |
pageToken |
string |
아니요 |
페이지 토큰입니다. 비어 있으면 첫 번째 페이지가 표시됩니다. |
vendorParams |
map |
아니요 |
추가 필드, 공급업체가 지정한 키-값 쌍입니다. |
ListCustomersResponse
속성 이름 |
값 |
설명 |
customers |
object( Company ) 목록 |
리셀러와 연결된 고객 목록입니다. |
totalCount |
int |
요청과 일치하는 기기의 총 개수입니다. |
nextPageToken |
strong |
다음 페이지 토큰입니다. 마지막 페이지는 비어 있습니다. |
vendorParams |
map |
추가 필드, 공급업체 지정 키-값 쌍입니다. |
오류 동작
오류가 발생하면 라이브러리는 다음 오류 코드 중 하나가 포함된 CommonException
를 발생시킵니다.
오류 코드 |
INTERNAL_SERVER_ERROR |
INVALID_PAGE_TOKEN |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-09(UTC)
[null,null,["최종 업데이트: 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."]]],[]]