REST Resource: policies
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Ресурс
С этим ресурсом не связаны постоянные данные.
Методы |
---|
| Получает политику управления доступом для ресурса. |
| Устанавливает политику контроля доступа для указанного ресурса. |
| Возвращает разрешения, которые вызывающий объект имеет на указанный ресурс. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\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. |"]]