列出與專案相關聯的所有 LicenseConfigUsageStats。
HTTP 要求
GET https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/userStores/*}/licenseConfigsUsageStats
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
這是必要旗標,父項分支資源名稱,例如 |
要求主體
要求主體必須為空白。
回應主體
[UserLicenseService.ListLicenseConfigUsageStats][] 方法的回應訊息。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 |
|---|
{
"licenseConfigUsageStats": [
{
object ( |
| 欄位 | |
|---|---|
licenseConfigUsageStats[] |
客戶的所有 |
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwrite
詳情請參閱Authentication Overview。
IAM 權限
需要 parent 資源的下列 IAM 權限:
discoveryengine.userStores.listUserLicenses
詳情請參閱 IAM 說明文件。
LicenseConfigUsageStats
使用者授權的統計資料。
| JSON 表示法 |
|---|
{ "licenseConfig": string, "usedLicenseCount": string } |
| 欄位 | |
|---|---|
licenseConfig |
這是必要旗標,LicenseConfig 名稱。 |
usedLicenseCount |
這是必要旗標,已使用的授權數量。 |