Class ProjectsResource.AppsResource.GeneratePlayIntegrityChallengeRequest
Generates a challenge that protects the integrity of an immediately following integrity verdict request to the Play Integrity API. The next call to ExchangePlayIntegrityToken using the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1
Assembly: Google.Apis.Firebaseappcheck.v1.dll
Syntax
public class ProjectsResource.AppsResource.GeneratePlayIntegrityChallengeRequest : FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse>, IClientServiceRequest<GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse>, IClientServiceRequest
Constructors
GeneratePlayIntegrityChallengeRequest(IClientService, GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest, string)
Constructs a new GeneratePlayIntegrityChallenge request.
Declaration
public GeneratePlayIntegrityChallengeRequest(IClientService service, GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest | body | |
string | app |
Properties
App
Required. The relative resource name of the app, in the format:
projects/{project_number}/apps/{app_id}
If necessary, the project_number
element can be
replaced with the project ID of the Firebase project. Learn more about using project identifiers in
Google's AIP 2510 standard.
Declaration
[RequestParameter("app", RequestParameterType.Path)]
public virtual string App { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes GeneratePlayIntegrityChallenge parameter list.
Declaration
protected override void InitParameters()