5 分でよろしいですか?
簡単なオンライン アンケートにご回答いただき、Google Workspace Marketplace のドキュメントの改善にご協力ください。
Method: customerLicense.get
顧客のライセンスのステータスを取得して、特定のアプリにアクセスできるかどうかを判断します。
HTTP リクエスト
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
applicationId |
string
アプリケーション ID
|
customerId |
string
お客様 ID
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には CustomerLicense
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/appsmarketplace.license
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[null,null,["最終更新日 2023-12-01 UTC。"],[[["Retrieves the license status for a specific customer to check if they have access to a particular application."],["The request is made using an HTTP GET method to a designated URL with parameters for application ID and customer ID."],["The response provides details regarding the customer's license through the `CustomerLicense` object if the request is successful."],["Authorization is needed using the `https://www.googleapis.com/auth/appsmarketplace.license` scope."]]],[]]