target.apidocs.com.google.api.services.firebaseappcheck.v1.Firebaseappcheck.Projects.Apps.DebugTokens.html Maven / Gradle / Ivy
The newest version!
Firebaseappcheck.Projects.Apps.DebugTokens (Firebase App Check API v1-rev20240930-2.0.0)
com.google.api.services.firebaseappcheck.v1
Class Firebaseappcheck.Projects.Apps.DebugTokens
- java.lang.Object
-
- com.google.api.services.firebaseappcheck.v1.Firebaseappcheck.Projects.Apps.DebugTokens
-
- Enclosing class:
- Firebaseappcheck.Projects.Apps
public class Firebaseappcheck.Projects.Apps.DebugTokens
extends Object
The "debugTokens" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Firebaseappcheck.Projects.Apps.DebugTokens.Create
class
Firebaseappcheck.Projects.Apps.DebugTokens.Delete
class
Firebaseappcheck.Projects.Apps.DebugTokens.Get
class
Firebaseappcheck.Projects.Apps.DebugTokens.List
class
Firebaseappcheck.Projects.Apps.DebugTokens.Patch
-
Constructor Summary
Constructors
Constructor and Description
DebugTokens()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Firebaseappcheck.Projects.Apps.DebugTokens.Create
create(String parent,
GoogleFirebaseAppcheckV1DebugToken content)
Creates a new DebugToken for the specified app.
Firebaseappcheck.Projects.Apps.DebugTokens.Delete
delete(String name)
Deletes the specified DebugToken.
Firebaseappcheck.Projects.Apps.DebugTokens.Get
get(String name)
Gets the specified DebugToken.
Firebaseappcheck.Projects.Apps.DebugTokens.List
list(String parent)
Lists all DebugTokens for the specified app.
Firebaseappcheck.Projects.Apps.DebugTokens.Patch
patch(String name,
GoogleFirebaseAppcheckV1DebugToken content)
Updates the specified DebugToken.
-
-
Method Detail
-
create
public Firebaseappcheck.Projects.Apps.DebugTokens.Create create(String parent,
GoogleFirebaseAppcheckV1DebugToken content)
throws IOException
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.
Create a request for the method "debugTokens.create".
This request holds the parameters needed by the firebaseappcheck server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The relative resource name of the parent app in which the specified DebugToken will be
created, in the format: ``` projects/{project_number}/apps/{app_id} ```
content
- the GoogleFirebaseAppcheckV1DebugToken
- Returns:
- the request
- Throws:
IOException
-
delete
public Firebaseappcheck.Projects.Apps.DebugTokens.Delete delete(String name)
throws IOException
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.
Create a request for the method "debugTokens.delete".
This request holds the parameters needed by the firebaseappcheck server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The relative resource name of the DebugToken to delete, in the format: ```
projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
- Returns:
- the request
- Throws:
IOException
-
get
public Firebaseappcheck.Projects.Apps.DebugTokens.Get get(String name)
throws IOException
Gets the specified DebugToken. For security reasons, the `token` field is never populated in the
response.
Create a request for the method "debugTokens.get".
This request holds the parameters needed by the firebaseappcheck server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The relative resource name of the debug token, in the format: ```
projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
- Returns:
- the request
- Throws:
IOException
-
list
public Firebaseappcheck.Projects.Apps.DebugTokens.List list(String parent)
throws IOException
Lists all DebugTokens for the specified app. For security reasons, the `token` field is never
populated in the response.
Create a request for the method "debugTokens.list".
This request holds the parameters needed by the firebaseappcheck server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The relative resource name of the parent app for which to list each associated DebugToken,
in the format: ``` projects/{project_number}/apps/{app_id} ```
- Returns:
- the request
- Throws:
IOException
-
patch
public Firebaseappcheck.Projects.Apps.DebugTokens.Patch patch(String name,
GoogleFirebaseAppcheckV1DebugToken content)
throws IOException
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.
Create a request for the method "debugTokens.patch".
This request holds the parameters needed by the firebaseappcheck server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The relative resource name of the debug token, in the format: ```
projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
content
- the GoogleFirebaseAppcheckV1DebugToken
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy