REST Resource: policies
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób
Z tym zasobem nie są powiązane żadne dane trwałe.
Metody |
|
Pobiera zasady kontroli dostępu do zasobu. |
|
Ustawia zasady kontroli dostępu w przypadku określonego zasobu. |
|
Zwraca uprawnienia, które wywołujący ma w odniesieniu do określonego zasobu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]