초기 설정
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
개발자를 위한 설정
클라우드 프로젝트에 API 제품군 사용 설정
- Cloud 콘솔(https://console.cloud.google.com/)로 이동합니다.
- 기존 클라우드 프로젝트를 선택하거나 새 프로젝트를 만듭니다.
APIs & Services > Enable APIs and Services
페이지로 이동합니다.
- 'Chrome'을 검색합니다.
- 'Chrome Device Token API'를 선택합니다.
- 서비스 약관을 숙지하세요.
Enable
아이콘을 클릭합니다.
사용자 인증 정보 만들기
서비스 계정 만들기
APIs & Services > Credentials > Create Credentials > Service account
페이지로 이동합니다.
- 서비스 계정 이름을 입력하고
Create
를 클릭합니다.
- 서비스 계정의 키를 만듭니다.
Add Key
를 클릭하고 'json' 키를 만듭니다. 안전한 위치에서 파일을 추적합니다.
- 고객에게 적절한 관리자 권한이 있는 서비스 계정을 사용합니다.
- 고객은 도메인 전체 위임을 설정할 수 있으며, 그러면 서비스 계정이 적절한 권한이 있는 사용자/관리자를 가장할 수 있습니다 (방법 참고).
고객용 설정
도메인 전체 위임 사용 설정
- 고객 관리자로서 관리 콘솔 (https://admin.google.com/)으로 이동합니다.
Security > Access and data control > API Controls > Domain-wide delegation
로 이동합니다.
Add new
아이콘을 클릭합니다.
- 클라이언트 ID ('서비스 계정 고유 ID')를 입력합니다.
- 필요한 모든 OAuth 범위를 입력하세요.
https://www.googleapis.com/auth/chromeosdevicetoken
.
Authorize
아이콘을 클릭합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-12-01(UTC)"],[[["Developers need to enable the Chrome Device Token API and create a service account with a JSON key for authentication."],["Customers, as admin, need to enable domain-wide delegation in their Google Admin console, authorizing the developer's service account with the necessary OAuth scope."],["Developers should familiarize themselves with the API's Terms of Service and customers should ensure the service account has proper admin privileges, potentially through Domain-Wide Delegation for user/admin impersonation."]]],[]]