Geben Sie im Anfragetext Daten mit der folgenden Struktur ein:
{
"permissions": [
string
]
}
Name der Eigenschaft
Wert
Beschreibung
Hinweise
permissions[]
list
Die Reihe an Berechtigungen, die für diese Ressource überprüft werden soll. Berechtigungen mit Platzhaltern (wie '*' oder 'storage.*') sind nicht erlaubt.
Antwort
Bei Erfolg gibt diese Methode einen Antworttext mit der folgenden Struktur zurück:
{
"permissions": [
string
]
}
Name der Eigenschaft
Wert
Beschreibung
Hinweise
permissions[]
list
Ein Teil der `TestPermissionsRequest.permissions`, die dem Aufrufer erlaubt sind.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (UTC)."],[[["This API call tests the permissions a caller has on a specified resource within a given project."],["It requires authorization with either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/ndev.cloudman` scope."],["The request includes a list of specific permissions to check, without any wildcards, and identifies the project and resource with path parameters."],["The API call returns a list of permissions from the request that the caller is allowed to perform."],["You can use the api explorer to test this with live data."]]],[]]