REST Resource: properties.accessBindings
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:AccessBinding
JSON 表示法 |
{
"name": string,
"roles": [
string
],
// Union field access_target can be only one of the following:
"user": string
// End of list of possible types for union field access_target .
} |
欄位 |
name |
string
僅供輸出。這個繫結的資源名稱。 格式:accounts/{account}/accessBindings/{accessBinding} 或 properties/{property}/accessBindings/{accessBinding} 例如:「accounts/100/accessBindings/200」
|
roles[] |
string
指定要授予父項資源的角色清單。 有效值:預先定義角色/viewer 預先定義角色/analyst 預先定義的角色/editor 預先定義的角色/admin 預先定義的 Role/no-cost-data 已預先定義角色/no-revenue-data 如果使用者設定空白的角色清單,系統就會刪除這個 AccessBinding。
|
聯集欄位 access_target 。要為哪個目標設定角色。access_target 只能是下列其中一項: |
user |
string
如有設定,即可設定角色的使用者電子郵件地址。格式:「[email protected]」
|
方法 |
|
建立帳戶或資源多個存取權繫結的相關資訊。 |
|
這會刪除多位使用者的帳戶或資源連結資訊。 |
|
取得帳戶或資源多個存取權繫結的相關資訊。 |
|
更新帳戶或資源多個存取權繫結的相關資訊。 |
|
為帳戶或資源建立存取權繫結。 |
|
刪除帳戶或資源的存取繫結。 |
|
取得存取權繫結的相關資訊。 |
|
列出帳戶或資源的所有存取權繫結。 |
|
更新帳戶或資源的存取權繫結。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-05-06 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]