REST Resource: policies
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
方法 |
|
取得資源的存取權控管政策。 |
|
設定指定資源的存取權控管政策。 |
|
傳回呼叫者在指定資源上擁有的權限。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]