REST Resource: policies
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
方法 |
|
获取资源的访问权限控制政策。 |
|
针对指定资源设置访问权限控制政策。 |
|
返回调用者对指定资源拥有的权限。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis resource has no persistent data associated with it.\u003c/p\u003e\n"],["\u003cp\u003eYou can get, set, and test access control policies for resources using the available methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eget\u003c/code\u003e method retrieves a resource's access control policy, the \u003ccode\u003eset\u003c/code\u003e method applies a policy to a specific resource, and the \u003ccode\u003etest\u003c/code\u003e method determines a caller's permissions on a resource.\u003c/p\u003e\n"]]],["This resource lacks persistent data. It offers three methods for managing access control: `get`, which retrieves the access control policy; `set`, which establishes the access control policy; and `test`, which determines the permissions a caller has on the resource. These methods operate on a resource but do not store any inherent data.\n"],null,["# REST Resource: policies\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|---------------------------------------------------------------------------|------------------------------------------------------------------|\n| ### [get](/spectrum-access-system/reference/rest/v1alpha1/policies/get) | Gets the access control policy for a resource. |\n| ### [set](/spectrum-access-system/reference/rest/v1alpha1/policies/set) | Sets the access control policy on the specified resource. |\n| ### [test](/spectrum-access-system/reference/rest/v1alpha1/policies/test) | Returns permissions that a caller has on the specified resource. |"]]