Class ProjectsResource.AppsResource.DebugTokensResource
The "debugTokens" collection of methods.
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1beta
Assembly: Google.Apis.Firebaseappcheck.v1beta.dll
Syntax
public class ProjectsResource.AppsResource.DebugTokensResource
Constructors
DebugTokensResource(IClientService)
Constructs a new resource.
Declaration
public DebugTokensResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleFirebaseAppcheckV1betaDebugToken, string)
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.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource.CreateRequest Create(GoogleFirebaseAppcheckV1betaDebugToken body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaDebugToken | body | The body of the request. |
string | parent | Required. The relative resource name of the parent app in which the specified DebugToken will be created, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource.CreateRequest |
Delete(string)
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.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The relative resource name of the DebugToken to delete, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource.DeleteRequest |
Get(string)
Gets the specified DebugToken. For security reasons, the token
field is never populated in the
response.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The relative resource name of the debug token, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource.GetRequest |
List(string)
Lists all DebugTokens for the specified app. For security reasons, the token
field is never
populated in the response.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The relative resource name of the parent app for which to list each associated DebugToken, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource.ListRequest |
Patch(GoogleFirebaseAppcheckV1betaDebugToken, string)
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.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource.PatchRequest Patch(GoogleFirebaseAppcheckV1betaDebugToken body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaDebugToken | body | The body of the request. |
string | name | Required. The relative resource name of the debug token, in the format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource.PatchRequest |