ProjectsAppsDebugTokens
class ProjectsAppsDebugTokens extends Resource (View source)
The "debugTokens" collection of methods.
Typical usage is:
$firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
$debugTokens = $firebaseappcheckService->projects_apps_debugTokens;
Methods
Creates a new DebugToken for the specified app. For security reasons, after
the creation operation completes, the token
field cannot be updated or
retrieved, but you can revoke the debug token using DeleteDebugToken. Each
app can have a maximum of 20 debug tokens. (debugTokens.create)
Deletes the specified DebugToken. A deleted debug token cannot be used to
exchange for an App Check token. Use this method when you suspect the secret
token
has been compromised or when you no longer need the debug token.
Gets the specified DebugToken. For security reasons, the token
field is
never populated in the response. (debugTokens.get)
Lists all DebugTokens for the specified app. For security reasons, the
token
field is never populated in the response.
Updates the specified DebugToken. For security reasons, the token
field
cannot be updated, nor will it be populated in the response, but you can
revoke the debug token using DeleteDebugToken. (debugTokens.patch)
Details
GoogleFirebaseAppcheckV1DebugToken
create(string $parent, GoogleFirebaseAppcheckV1DebugToken $postBody, array $optParams = [])
Creates a new DebugToken for the specified app. For security reasons, after
the creation operation completes, the token
field cannot be updated or
retrieved, but you can revoke the debug token using DeleteDebugToken. Each
app can have a maximum of 20 debug tokens. (debugTokens.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes the specified DebugToken. A deleted debug token cannot be used to
exchange for an App Check token. Use this method when you suspect the secret
token
has been compromised or when you no longer need the debug token.
(debugTokens.delete)
GoogleFirebaseAppcheckV1DebugToken
get(string $name, array $optParams = [])
Gets the specified DebugToken. For security reasons, the token
field is
never populated in the response. (debugTokens.get)
GoogleFirebaseAppcheckV1ListDebugTokensResponse
listProjectsAppsDebugTokens(string $parent, array $optParams = [])
Lists all DebugTokens for the specified app. For security reasons, the
token
field is never populated in the response.
(debugTokens.listProjectsAppsDebugTokens)
GoogleFirebaseAppcheckV1DebugToken
patch(string $name, GoogleFirebaseAppcheckV1DebugToken $postBody, array $optParams = [])
Updates the specified DebugToken. For security reasons, the token
field
cannot be updated, nor will it be populated in the response, but you can
revoke the debug token using DeleteDebugToken. (debugTokens.patch)