REST Resource: projects.locations.userStores

資源:UserStore

設定用於 End User 實體的中繼資料。

JSON 表示法
{
  "name": string,
  "displayName": string,
  "defaultLicenseConfig": string,
  "enableLicenseAutoRegister": boolean,
  "enableExpiredLicenseAutoUpdate": boolean
}
欄位
name

string

不可變更。使用者商店的完整資源名稱,格式為 projects/{project}/locations/{location}/userStores/{userStore}

這個欄位必須是 UTF-8 編碼的字串,長度上限為 1024 個字元。

displayName

string

使用者商店的顯示名稱。

defaultLicenseConfig

string

(選用步驟) 如果 UserStore.enable_license_auto_register 為 true,新使用者會自動在預設訂閱方案下註冊。LicenseConfig

如果預設 LicenseConfig 的授權名額已用完,系統就不會為新使用者指派授權,且他們無法使用 Vertex AI Search 功能。如果未設定 licenseAssignmentTierRules,系統會使用這個值。

enableLicenseAutoRegister

boolean

(選用步驟) 是否要為這個使用者商店中的使用者啟用授權自動註冊功能。如果設為 true,只要預設授權設定還有名額,新使用者就會自動註冊預設授權設定。

enableExpiredLicenseAutoUpdate

boolean

(選用步驟) 是否為這個使用者商店中的使用者啟用授權自動更新功能。如果設為 true,只要預設授權設定還有名額,授權到期的使用者就會自動更新為使用預設授權設定。

方法

batchUpdateUserLicenses

更新使用者授權。

create

建立新的使用者商店。

delete

刪除使用者商店。

get

取得使用者商店。

patch

更新使用者商店。