三亩地 三亩地SAN MU DI · CODE DIARY
ARTICLE DETAIL

日记详情

真实记录编程学习的某一天,欢迎挑你感兴趣的翻一翻。

AI Google

AI Google

為項目賦予角色

gcloud projects add-iam-policy-binding inlaid-reach-334009 \ --member="serviceAccount:ai-google@inlaid-reach-334009.iam.gserviceaccount.com" \ --role="roles/language.user"

查詢項目是否有該角色

gcloud projects get-iam-policy inlaid-reach-334009 --format=json | grep roles/editor

Windows Credential

set GOOGLE_APPLICATION_CREDENTIALS=D:\keys\vertex-ai-key.json
echo %GOOGLE_APPLICATION_CREDENTIALS%

OR

← 返回列表