GetIamPolicyRequest
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
features.getIamPolicy
方法的请求消息。
字段 |
resource |
string
必需字段:要为其请求政策的资源。如需了解此字段的适当值,请参阅资源名称。
|
options |
object (GetPolicyOptions )
可选:用于指定 features.getIamPolicy 选项的 GetPolicyOptions 对象。
|
GetPolicyOptions
封装提供给 features.getIamPolicy 的设置。
JSON 表示法 |
{
"requestedPolicyVersion": integer
} |
字段 |
requestedPolicyVersion |
integer
可选。将用于设置政策格式的最高政策版本。 有效值包括 0、1 和 3。指定无效值的请求将被拒绝。 对具有任何条件角色绑定的政策的请求必须指定版本 3。没有任何条件角色绑定的政策可以指定任何有效值,也可以不设置该字段。 响应中的政策可能会使用您指定的政策版本,也可能会使用较低的政策版本。例如,如果您指定版本 3,但政策没有任何条件角色绑定,则响应将使用版本 1。 如需了解哪些资源支持在其 IAM 政策中使用条件,请参阅 IAM 文档。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-21。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"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":"其他"
}]