@maxim_mazurok/gapi.client.firebaseappcheck-v1 0.0.20220806
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2225 -0
- package/package.json +20 -0
- package/readme.md +76 -0
- package/tests.ts +315 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,2225 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Firebase App Check API v1 0.0 */
|
|
2
|
+
// Project: https://firebase.google.com/docs/app-check
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220806
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Firebase App Check API v1 */
|
|
19
|
+
function load(urlOrObject: "https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "firebaseappcheck", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "firebaseappcheck", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace firebaseappcheck {
|
|
26
|
+
interface GoogleFirebaseAppcheckV1AppAttestConfig {
|
|
27
|
+
/** Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` */
|
|
28
|
+
name?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7
|
|
31
|
+
* days, inclusive.
|
|
32
|
+
*/
|
|
33
|
+
tokenTtl?: string;
|
|
34
|
+
}
|
|
35
|
+
interface GoogleFirebaseAppcheckV1AppCheckToken {
|
|
36
|
+
/**
|
|
37
|
+
* The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and Firebase project. This token is
|
|
38
|
+
* used to access Firebase services protected by App Check. These tokens can also be [verified by your own custom
|
|
39
|
+
* backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK.
|
|
40
|
+
*/
|
|
41
|
+
token?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still
|
|
44
|
+
* able to accurately measure a duration.
|
|
45
|
+
*/
|
|
46
|
+
ttl?: string;
|
|
47
|
+
}
|
|
48
|
+
interface GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse {
|
|
49
|
+
/** AppAttestConfigs retrieved. */
|
|
50
|
+
configs?: GoogleFirebaseAppcheckV1AppAttestConfig[];
|
|
51
|
+
}
|
|
52
|
+
interface GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse {
|
|
53
|
+
/** DeviceCheckConfigs retrieved. */
|
|
54
|
+
configs?: GoogleFirebaseAppcheckV1DeviceCheckConfig[];
|
|
55
|
+
}
|
|
56
|
+
interface GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse {
|
|
57
|
+
/** PlayIntegrityConfigs retrieved. */
|
|
58
|
+
configs?: GoogleFirebaseAppcheckV1PlayIntegrityConfig[];
|
|
59
|
+
}
|
|
60
|
+
interface GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse {
|
|
61
|
+
/** RecaptchaEnterpriseConfigs retrieved. */
|
|
62
|
+
configs?: GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig[];
|
|
63
|
+
}
|
|
64
|
+
interface GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse {
|
|
65
|
+
/** RecaptchaV3Configs retrieved. */
|
|
66
|
+
configs?: GoogleFirebaseAppcheckV1RecaptchaV3Config[];
|
|
67
|
+
}
|
|
68
|
+
interface GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse {
|
|
69
|
+
/** SafetyNetConfigs retrieved. */
|
|
70
|
+
configs?: GoogleFirebaseAppcheckV1SafetyNetConfig[];
|
|
71
|
+
}
|
|
72
|
+
interface GoogleFirebaseAppcheckV1BatchUpdateServicesRequest {
|
|
73
|
+
/** Required. The request messages specifying the Services to update. A maximum of 100 objects can be updated in a batch. */
|
|
74
|
+
requests?: GoogleFirebaseAppcheckV1UpdateServiceRequest[];
|
|
75
|
+
/**
|
|
76
|
+
* Optional. A comma-separated list of names of fields in the Services to update. Example: `display_name`. If the `update_mask` field is set in both this request and any of the
|
|
77
|
+
* UpdateServiceRequest messages, they must match or the entire batch fails and no updates will be committed.
|
|
78
|
+
*/
|
|
79
|
+
updateMask?: string;
|
|
80
|
+
}
|
|
81
|
+
interface GoogleFirebaseAppcheckV1BatchUpdateServicesResponse {
|
|
82
|
+
/** Service objects after the updates have been applied. */
|
|
83
|
+
services?: GoogleFirebaseAppcheckV1Service[];
|
|
84
|
+
}
|
|
85
|
+
interface GoogleFirebaseAppcheckV1DebugToken {
|
|
86
|
+
/** Required. A human readable display name used to identify this debug token. */
|
|
87
|
+
displayName?: string;
|
|
88
|
+
/** Required. The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */
|
|
89
|
+
name?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be
|
|
92
|
+
* provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated
|
|
93
|
+
* in any response.
|
|
94
|
+
*/
|
|
95
|
+
token?: string;
|
|
96
|
+
}
|
|
97
|
+
interface GoogleFirebaseAppcheckV1DeviceCheckConfig {
|
|
98
|
+
/** Required. The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account. */
|
|
99
|
+
keyId?: string;
|
|
100
|
+
/** Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` */
|
|
101
|
+
name?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Required. Input only. The contents of the private key (`.p8`) file associated with the key specified by `key_id`. For security reasons, this field will never be populated in any
|
|
104
|
+
* response.
|
|
105
|
+
*/
|
|
106
|
+
privateKey?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Output only. Whether the `private_key` field was previously set. Since we will never return the `private_key` field, this field is the only way to find out whether it was previously
|
|
109
|
+
* set.
|
|
110
|
+
*/
|
|
111
|
+
privateKeySet?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7
|
|
114
|
+
* days, inclusive.
|
|
115
|
+
*/
|
|
116
|
+
tokenTtl?: string;
|
|
117
|
+
}
|
|
118
|
+
interface GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest {
|
|
119
|
+
/** Required. The artifact returned by a previous call to ExchangeAppAttestAttestation. */
|
|
120
|
+
artifact?: string;
|
|
121
|
+
/** Required. The CBOR-encoded assertion returned by the client-side App Attest API. */
|
|
122
|
+
assertion?: string;
|
|
123
|
+
/** Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge. */
|
|
124
|
+
challenge?: string;
|
|
125
|
+
}
|
|
126
|
+
interface GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest {
|
|
127
|
+
/** Required. The App Attest statement returned by the client-side App Attest API. This is a base64url encoded CBOR object in the JSON response. */
|
|
128
|
+
attestationStatement?: string;
|
|
129
|
+
/** Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge. */
|
|
130
|
+
challenge?: string;
|
|
131
|
+
/** Required. The key ID generated by App Attest for the client app. */
|
|
132
|
+
keyId?: string;
|
|
133
|
+
}
|
|
134
|
+
interface GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse {
|
|
135
|
+
/** Encapsulates an App Check token. */
|
|
136
|
+
appCheckToken?: GoogleFirebaseAppcheckV1AppCheckToken;
|
|
137
|
+
/** An artifact that can be used in future calls to ExchangeAppAttestAssertion. */
|
|
138
|
+
artifact?: string;
|
|
139
|
+
}
|
|
140
|
+
interface GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest {
|
|
141
|
+
/** Required. A custom token signed using your project's Admin SDK service account credentials. */
|
|
142
|
+
customToken?: string;
|
|
143
|
+
}
|
|
144
|
+
interface GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest {
|
|
145
|
+
/** Required. A debug token secret. This string must match a debug token secret previously created using CreateDebugToken. */
|
|
146
|
+
debugToken?: string;
|
|
147
|
+
}
|
|
148
|
+
interface GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest {
|
|
149
|
+
/**
|
|
150
|
+
* Required. The `device_token` as returned by Apple's client-side [DeviceCheck API](https://developer.apple.com/documentation/devicecheck/dcdevice). This is the base64 encoded `Data`
|
|
151
|
+
* (Swift) or `NSData` (ObjC) object.
|
|
152
|
+
*/
|
|
153
|
+
deviceToken?: string;
|
|
154
|
+
}
|
|
155
|
+
interface GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest {
|
|
156
|
+
/** Required. The [integrity verdict response token from Play Integrity](https://developer.android.com/google/play/integrity/verdict#decrypt-verify) issued to your app. */
|
|
157
|
+
playIntegrityToken?: string;
|
|
158
|
+
}
|
|
159
|
+
interface GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest {
|
|
160
|
+
/** Required. The reCAPTCHA token as returned by the [reCAPTCHA Enterprise JavaScript API](https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages). */
|
|
161
|
+
recaptchaEnterpriseToken?: string;
|
|
162
|
+
}
|
|
163
|
+
interface GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest {
|
|
164
|
+
/** Required. The reCAPTCHA token as returned by the [reCAPTCHA v3 JavaScript API](https://developers.google.com/recaptcha/docs/v3). */
|
|
165
|
+
recaptchaV3Token?: string;
|
|
166
|
+
}
|
|
167
|
+
interface GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest {
|
|
168
|
+
/** Required. The [SafetyNet attestation response](https://developer.android.com/training/safetynet/attestation#request-attestation-step) issued to your app. */
|
|
169
|
+
safetyNetToken?: string;
|
|
170
|
+
}
|
|
171
|
+
// tslint:disable-next-line:no-empty-interface
|
|
172
|
+
interface GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest {
|
|
173
|
+
}
|
|
174
|
+
interface GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse {
|
|
175
|
+
/** A one-time use challenge for the client to pass to the App Attest API. */
|
|
176
|
+
challenge?: string;
|
|
177
|
+
/**
|
|
178
|
+
* The duration from the time this challenge is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is
|
|
179
|
+
* still able to accurately measure a duration.
|
|
180
|
+
*/
|
|
181
|
+
ttl?: string;
|
|
182
|
+
}
|
|
183
|
+
// tslint:disable-next-line:no-empty-interface
|
|
184
|
+
interface GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest {
|
|
185
|
+
}
|
|
186
|
+
interface GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse {
|
|
187
|
+
/** A one-time use [challenge](https://developer.android.com/google/play/integrity/verdict#protect-against-replay-attacks) for the client to pass to the Play Integrity API. */
|
|
188
|
+
challenge?: string;
|
|
189
|
+
/**
|
|
190
|
+
* The duration from the time this challenge is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is
|
|
191
|
+
* still able to accurately measure a duration.
|
|
192
|
+
*/
|
|
193
|
+
ttl?: string;
|
|
194
|
+
}
|
|
195
|
+
interface GoogleFirebaseAppcheckV1ListDebugTokensResponse {
|
|
196
|
+
/** The DebugTokens retrieved. */
|
|
197
|
+
debugTokens?: GoogleFirebaseAppcheckV1DebugToken[];
|
|
198
|
+
/**
|
|
199
|
+
* If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token
|
|
200
|
+
* can be used in a subsequent call to ListDebugTokens to find the next group of DebugTokens. Page tokens are short-lived and should not be persisted.
|
|
201
|
+
*/
|
|
202
|
+
nextPageToken?: string;
|
|
203
|
+
}
|
|
204
|
+
interface GoogleFirebaseAppcheckV1ListServicesResponse {
|
|
205
|
+
/**
|
|
206
|
+
* If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token
|
|
207
|
+
* can be used in a subsequent call to ListServices to find the next group of Services. Page tokens are short-lived and should not be persisted.
|
|
208
|
+
*/
|
|
209
|
+
nextPageToken?: string;
|
|
210
|
+
/** The Services retrieved. */
|
|
211
|
+
services?: GoogleFirebaseAppcheckV1Service[];
|
|
212
|
+
}
|
|
213
|
+
interface GoogleFirebaseAppcheckV1PlayIntegrityConfig {
|
|
214
|
+
/** Required. The relative resource name of the Play Integrity configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` */
|
|
215
|
+
name?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Specifies the duration for which App Check tokens exchanged from Play Integrity tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and
|
|
218
|
+
* 7 days, inclusive.
|
|
219
|
+
*/
|
|
220
|
+
tokenTtl?: string;
|
|
221
|
+
}
|
|
222
|
+
interface GoogleFirebaseAppcheckV1PublicJwk {
|
|
223
|
+
/** See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4). */
|
|
224
|
+
alg?: string;
|
|
225
|
+
/** See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2). */
|
|
226
|
+
e?: string;
|
|
227
|
+
/** See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5). */
|
|
228
|
+
kid?: string;
|
|
229
|
+
/** See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1). */
|
|
230
|
+
kty?: string;
|
|
231
|
+
/** See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1). */
|
|
232
|
+
n?: string;
|
|
233
|
+
/** See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2). */
|
|
234
|
+
use?: string;
|
|
235
|
+
}
|
|
236
|
+
interface GoogleFirebaseAppcheckV1PublicJwkSet {
|
|
237
|
+
/** The set of public keys. See [section 5.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-5). */
|
|
238
|
+
keys?: GoogleFirebaseAppcheckV1PublicJwk[];
|
|
239
|
+
}
|
|
240
|
+
interface GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig {
|
|
241
|
+
/** Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` */
|
|
242
|
+
name?: string;
|
|
243
|
+
/**
|
|
244
|
+
* The score-based site key [created in reCAPTCHA Enterprise](https://cloud.google.com/recaptcha-enterprise/docs/create-key#creating_a_site_key) used to [invoke reCAPTCHA and generate
|
|
245
|
+
* the reCAPTCHA tokens](https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages) for your application. Important: This is *not* the `site_secret` (as it is in
|
|
246
|
+
* reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
|
|
247
|
+
*/
|
|
248
|
+
siteKey?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30
|
|
251
|
+
* minutes and 7 days, inclusive.
|
|
252
|
+
*/
|
|
253
|
+
tokenTtl?: string;
|
|
254
|
+
}
|
|
255
|
+
interface GoogleFirebaseAppcheckV1RecaptchaV3Config {
|
|
256
|
+
/** Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` */
|
|
257
|
+
name?: string;
|
|
258
|
+
/** Required. Input only. The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response. */
|
|
259
|
+
siteSecret?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Output only. Whether the `site_secret` field was previously set. Since we will never return the `site_secret` field, this field is the only way to find out whether it was previously
|
|
262
|
+
* set.
|
|
263
|
+
*/
|
|
264
|
+
siteSecretSet?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Specifies the duration for which App Check tokens exchanged from reCAPTCHA tokens will be valid. If unset, a default value of 1 day is assumed. Must be between 30 minutes and 7
|
|
267
|
+
* days, inclusive.
|
|
268
|
+
*/
|
|
269
|
+
tokenTtl?: string;
|
|
270
|
+
}
|
|
271
|
+
interface GoogleFirebaseAppcheckV1SafetyNetConfig {
|
|
272
|
+
/** Required. The relative resource name of the SafetyNet configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` */
|
|
273
|
+
name?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Specifies the duration for which App Check tokens exchanged from SafetyNet tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7
|
|
276
|
+
* days, inclusive.
|
|
277
|
+
*/
|
|
278
|
+
tokenTtl?: string;
|
|
279
|
+
}
|
|
280
|
+
interface GoogleFirebaseAppcheckV1Service {
|
|
281
|
+
/** Required. The App Check enforcement mode for this service. */
|
|
282
|
+
enforcementMode?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element
|
|
285
|
+
* must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
|
|
286
|
+
* `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)
|
|
287
|
+
*/
|
|
288
|
+
name?: string;
|
|
289
|
+
}
|
|
290
|
+
interface GoogleFirebaseAppcheckV1UpdateServiceRequest {
|
|
291
|
+
/**
|
|
292
|
+
* Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ```
|
|
293
|
+
* Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for
|
|
294
|
+
* Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)
|
|
295
|
+
*/
|
|
296
|
+
service?: GoogleFirebaseAppcheckV1Service;
|
|
297
|
+
/** Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`. */
|
|
298
|
+
updateMask?: string;
|
|
299
|
+
}
|
|
300
|
+
// tslint:disable-next-line:no-empty-interface
|
|
301
|
+
interface GoogleProtobufEmpty {
|
|
302
|
+
}
|
|
303
|
+
interface JwksResource {
|
|
304
|
+
/**
|
|
305
|
+
* Returns a public JWK set as specified by [RFC 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. Exactly one of the public keys in the returned
|
|
306
|
+
* set will successfully validate any App Check token that is currently valid.
|
|
307
|
+
*/
|
|
308
|
+
get(request?: {
|
|
309
|
+
/** V1 error format. */
|
|
310
|
+
"$.xgafv"?: string;
|
|
311
|
+
/** OAuth access token. */
|
|
312
|
+
access_token?: string;
|
|
313
|
+
/** Data format for response. */
|
|
314
|
+
alt?: string;
|
|
315
|
+
/** JSONP */
|
|
316
|
+
callback?: string;
|
|
317
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
318
|
+
fields?: string;
|
|
319
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
320
|
+
key?: string;
|
|
321
|
+
/** Required. The relative resource name to the public JWK set. Must always be exactly the string `jwks`. */
|
|
322
|
+
name: string;
|
|
323
|
+
/** OAuth 2.0 token for the current user. */
|
|
324
|
+
oauth_token?: string;
|
|
325
|
+
/** Returns response with indentations and line breaks. */
|
|
326
|
+
prettyPrint?: boolean;
|
|
327
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
328
|
+
quotaUser?: string;
|
|
329
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
330
|
+
upload_protocol?: string;
|
|
331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
332
|
+
uploadType?: string;
|
|
333
|
+
}): Request<GoogleFirebaseAppcheckV1PublicJwkSet>;
|
|
334
|
+
}
|
|
335
|
+
interface AppAttestConfigResource {
|
|
336
|
+
/** Atomically gets the AppAttestConfigs for the specified list of apps. */
|
|
337
|
+
batchGet(request?: {
|
|
338
|
+
/** V1 error format. */
|
|
339
|
+
"$.xgafv"?: string;
|
|
340
|
+
/** OAuth access token. */
|
|
341
|
+
access_token?: string;
|
|
342
|
+
/** Data format for response. */
|
|
343
|
+
alt?: string;
|
|
344
|
+
/** JSONP */
|
|
345
|
+
callback?: string;
|
|
346
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
347
|
+
fields?: string;
|
|
348
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
349
|
+
key?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Required. The relative resource names of the AppAttestConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` A maximum of 100 objects
|
|
352
|
+
* can be retrieved in a batch.
|
|
353
|
+
*/
|
|
354
|
+
names?: string | string[];
|
|
355
|
+
/** OAuth 2.0 token for the current user. */
|
|
356
|
+
oauth_token?: string;
|
|
357
|
+
/**
|
|
358
|
+
* Required. The parent project name shared by all AppAttestConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of
|
|
359
|
+
* any resource being retrieved must match this field, or the entire batch fails.
|
|
360
|
+
*/
|
|
361
|
+
parent: string;
|
|
362
|
+
/** Returns response with indentations and line breaks. */
|
|
363
|
+
prettyPrint?: boolean;
|
|
364
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
365
|
+
quotaUser?: string;
|
|
366
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
367
|
+
upload_protocol?: string;
|
|
368
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
369
|
+
uploadType?: string;
|
|
370
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse>;
|
|
371
|
+
/** Gets the AppAttestConfig for the specified app. */
|
|
372
|
+
get(request?: {
|
|
373
|
+
/** V1 error format. */
|
|
374
|
+
"$.xgafv"?: string;
|
|
375
|
+
/** OAuth access token. */
|
|
376
|
+
access_token?: string;
|
|
377
|
+
/** Data format for response. */
|
|
378
|
+
alt?: string;
|
|
379
|
+
/** JSONP */
|
|
380
|
+
callback?: string;
|
|
381
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
382
|
+
fields?: string;
|
|
383
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
384
|
+
key?: string;
|
|
385
|
+
/** Required. The relative resource name of the AppAttestConfig, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` */
|
|
386
|
+
name: string;
|
|
387
|
+
/** OAuth 2.0 token for the current user. */
|
|
388
|
+
oauth_token?: string;
|
|
389
|
+
/** Returns response with indentations and line breaks. */
|
|
390
|
+
prettyPrint?: boolean;
|
|
391
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
392
|
+
quotaUser?: string;
|
|
393
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
394
|
+
upload_protocol?: string;
|
|
395
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
396
|
+
uploadType?: string;
|
|
397
|
+
}): Request<GoogleFirebaseAppcheckV1AppAttestConfig>;
|
|
398
|
+
/** Updates the AppAttestConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange AppAttest tokens for App Check tokens. */
|
|
399
|
+
patch(request: {
|
|
400
|
+
/** V1 error format. */
|
|
401
|
+
"$.xgafv"?: string;
|
|
402
|
+
/** OAuth access token. */
|
|
403
|
+
access_token?: string;
|
|
404
|
+
/** Data format for response. */
|
|
405
|
+
alt?: string;
|
|
406
|
+
/** JSONP */
|
|
407
|
+
callback?: string;
|
|
408
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
409
|
+
fields?: string;
|
|
410
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
411
|
+
key?: string;
|
|
412
|
+
/** Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` */
|
|
413
|
+
name: string;
|
|
414
|
+
/** OAuth 2.0 token for the current user. */
|
|
415
|
+
oauth_token?: string;
|
|
416
|
+
/** Returns response with indentations and line breaks. */
|
|
417
|
+
prettyPrint?: boolean;
|
|
418
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
419
|
+
quotaUser?: string;
|
|
420
|
+
/** Required. A comma-separated list of names of fields in the AppAttestConfig Gets to update. Example: `token_ttl`. */
|
|
421
|
+
updateMask?: string;
|
|
422
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
423
|
+
upload_protocol?: string;
|
|
424
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
425
|
+
uploadType?: string;
|
|
426
|
+
/** Request body */
|
|
427
|
+
resource: GoogleFirebaseAppcheckV1AppAttestConfig;
|
|
428
|
+
}): Request<GoogleFirebaseAppcheckV1AppAttestConfig>;
|
|
429
|
+
patch(request: {
|
|
430
|
+
/** V1 error format. */
|
|
431
|
+
"$.xgafv"?: string;
|
|
432
|
+
/** OAuth access token. */
|
|
433
|
+
access_token?: string;
|
|
434
|
+
/** Data format for response. */
|
|
435
|
+
alt?: string;
|
|
436
|
+
/** JSONP */
|
|
437
|
+
callback?: string;
|
|
438
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
439
|
+
fields?: string;
|
|
440
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
441
|
+
key?: string;
|
|
442
|
+
/** Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` */
|
|
443
|
+
name: string;
|
|
444
|
+
/** OAuth 2.0 token for the current user. */
|
|
445
|
+
oauth_token?: string;
|
|
446
|
+
/** Returns response with indentations and line breaks. */
|
|
447
|
+
prettyPrint?: boolean;
|
|
448
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
449
|
+
quotaUser?: string;
|
|
450
|
+
/** Required. A comma-separated list of names of fields in the AppAttestConfig Gets to update. Example: `token_ttl`. */
|
|
451
|
+
updateMask?: string;
|
|
452
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
453
|
+
upload_protocol?: string;
|
|
454
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
455
|
+
uploadType?: string;
|
|
456
|
+
},
|
|
457
|
+
body: GoogleFirebaseAppcheckV1AppAttestConfig): Request<GoogleFirebaseAppcheckV1AppAttestConfig>;
|
|
458
|
+
}
|
|
459
|
+
interface DebugTokensResource {
|
|
460
|
+
/**
|
|
461
|
+
* 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
|
|
462
|
+
* the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.
|
|
463
|
+
*/
|
|
464
|
+
create(request: {
|
|
465
|
+
/** V1 error format. */
|
|
466
|
+
"$.xgafv"?: string;
|
|
467
|
+
/** OAuth access token. */
|
|
468
|
+
access_token?: string;
|
|
469
|
+
/** Data format for response. */
|
|
470
|
+
alt?: string;
|
|
471
|
+
/** JSONP */
|
|
472
|
+
callback?: string;
|
|
473
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
474
|
+
fields?: string;
|
|
475
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
476
|
+
key?: string;
|
|
477
|
+
/** OAuth 2.0 token for the current user. */
|
|
478
|
+
oauth_token?: string;
|
|
479
|
+
/** 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} ``` */
|
|
480
|
+
parent: string;
|
|
481
|
+
/** Returns response with indentations and line breaks. */
|
|
482
|
+
prettyPrint?: boolean;
|
|
483
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
484
|
+
quotaUser?: string;
|
|
485
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
486
|
+
upload_protocol?: string;
|
|
487
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
488
|
+
uploadType?: string;
|
|
489
|
+
/** Request body */
|
|
490
|
+
resource: GoogleFirebaseAppcheckV1DebugToken;
|
|
491
|
+
}): Request<GoogleFirebaseAppcheckV1DebugToken>;
|
|
492
|
+
create(request: {
|
|
493
|
+
/** V1 error format. */
|
|
494
|
+
"$.xgafv"?: string;
|
|
495
|
+
/** OAuth access token. */
|
|
496
|
+
access_token?: string;
|
|
497
|
+
/** Data format for response. */
|
|
498
|
+
alt?: string;
|
|
499
|
+
/** JSONP */
|
|
500
|
+
callback?: string;
|
|
501
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
502
|
+
fields?: string;
|
|
503
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
504
|
+
key?: string;
|
|
505
|
+
/** OAuth 2.0 token for the current user. */
|
|
506
|
+
oauth_token?: string;
|
|
507
|
+
/** 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} ``` */
|
|
508
|
+
parent: string;
|
|
509
|
+
/** Returns response with indentations and line breaks. */
|
|
510
|
+
prettyPrint?: boolean;
|
|
511
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
512
|
+
quotaUser?: string;
|
|
513
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
514
|
+
upload_protocol?: string;
|
|
515
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
516
|
+
uploadType?: string;
|
|
517
|
+
},
|
|
518
|
+
body: GoogleFirebaseAppcheckV1DebugToken): Request<GoogleFirebaseAppcheckV1DebugToken>;
|
|
519
|
+
/**
|
|
520
|
+
* 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
|
|
521
|
+
* or when you no longer need the debug token.
|
|
522
|
+
*/
|
|
523
|
+
delete(request?: {
|
|
524
|
+
/** V1 error format. */
|
|
525
|
+
"$.xgafv"?: string;
|
|
526
|
+
/** OAuth access token. */
|
|
527
|
+
access_token?: string;
|
|
528
|
+
/** Data format for response. */
|
|
529
|
+
alt?: string;
|
|
530
|
+
/** JSONP */
|
|
531
|
+
callback?: string;
|
|
532
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
533
|
+
fields?: string;
|
|
534
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
535
|
+
key?: string;
|
|
536
|
+
/** Required. The relative resource name of the DebugToken to delete, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */
|
|
537
|
+
name: string;
|
|
538
|
+
/** OAuth 2.0 token for the current user. */
|
|
539
|
+
oauth_token?: string;
|
|
540
|
+
/** Returns response with indentations and line breaks. */
|
|
541
|
+
prettyPrint?: boolean;
|
|
542
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
543
|
+
quotaUser?: string;
|
|
544
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
545
|
+
upload_protocol?: string;
|
|
546
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
547
|
+
uploadType?: string;
|
|
548
|
+
}): Request<{}>;
|
|
549
|
+
/** Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response. */
|
|
550
|
+
get(request?: {
|
|
551
|
+
/** V1 error format. */
|
|
552
|
+
"$.xgafv"?: string;
|
|
553
|
+
/** OAuth access token. */
|
|
554
|
+
access_token?: string;
|
|
555
|
+
/** Data format for response. */
|
|
556
|
+
alt?: string;
|
|
557
|
+
/** JSONP */
|
|
558
|
+
callback?: string;
|
|
559
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
560
|
+
fields?: string;
|
|
561
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
562
|
+
key?: string;
|
|
563
|
+
/** Required. The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */
|
|
564
|
+
name: string;
|
|
565
|
+
/** OAuth 2.0 token for the current user. */
|
|
566
|
+
oauth_token?: string;
|
|
567
|
+
/** Returns response with indentations and line breaks. */
|
|
568
|
+
prettyPrint?: boolean;
|
|
569
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
570
|
+
quotaUser?: string;
|
|
571
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
572
|
+
upload_protocol?: string;
|
|
573
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
574
|
+
uploadType?: string;
|
|
575
|
+
}): Request<GoogleFirebaseAppcheckV1DebugToken>;
|
|
576
|
+
/** Lists all DebugTokens for the specified app. For security reasons, the `token` field is never populated in the response. */
|
|
577
|
+
list(request?: {
|
|
578
|
+
/** V1 error format. */
|
|
579
|
+
"$.xgafv"?: string;
|
|
580
|
+
/** OAuth access token. */
|
|
581
|
+
access_token?: string;
|
|
582
|
+
/** Data format for response. */
|
|
583
|
+
alt?: string;
|
|
584
|
+
/** JSONP */
|
|
585
|
+
callback?: string;
|
|
586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
587
|
+
fields?: string;
|
|
588
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
589
|
+
key?: string;
|
|
590
|
+
/** OAuth 2.0 token for the current user. */
|
|
591
|
+
oauth_token?: string;
|
|
592
|
+
/**
|
|
593
|
+
* The maximum number of DebugTokens to return in the response. Note that an app can have at most 20 debug tokens. The server may return fewer than this at its own discretion. If
|
|
594
|
+
* no value is specified (or too large a value is specified), the server will impose its own limit.
|
|
595
|
+
*/
|
|
596
|
+
pageSize?: number;
|
|
597
|
+
/**
|
|
598
|
+
* Token returned from a previous call to ListDebugTokens indicating where in the set of DebugTokens to resume listing. Provide this to retrieve the subsequent page. When
|
|
599
|
+
* paginating, all other parameters provided to ListDebugTokens must match the call that provided the page token; if they do not match, the result is undefined.
|
|
600
|
+
*/
|
|
601
|
+
pageToken?: string;
|
|
602
|
+
/** 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} ``` */
|
|
603
|
+
parent: string;
|
|
604
|
+
/** Returns response with indentations and line breaks. */
|
|
605
|
+
prettyPrint?: boolean;
|
|
606
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
607
|
+
quotaUser?: string;
|
|
608
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
609
|
+
upload_protocol?: string;
|
|
610
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
611
|
+
uploadType?: string;
|
|
612
|
+
}): Request<GoogleFirebaseAppcheckV1ListDebugTokensResponse>;
|
|
613
|
+
/**
|
|
614
|
+
* 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
|
|
615
|
+
* DeleteDebugToken.
|
|
616
|
+
*/
|
|
617
|
+
patch(request: {
|
|
618
|
+
/** V1 error format. */
|
|
619
|
+
"$.xgafv"?: string;
|
|
620
|
+
/** OAuth access token. */
|
|
621
|
+
access_token?: string;
|
|
622
|
+
/** Data format for response. */
|
|
623
|
+
alt?: string;
|
|
624
|
+
/** JSONP */
|
|
625
|
+
callback?: string;
|
|
626
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
627
|
+
fields?: string;
|
|
628
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
629
|
+
key?: string;
|
|
630
|
+
/** Required. The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */
|
|
631
|
+
name: string;
|
|
632
|
+
/** OAuth 2.0 token for the current user. */
|
|
633
|
+
oauth_token?: string;
|
|
634
|
+
/** Returns response with indentations and line breaks. */
|
|
635
|
+
prettyPrint?: boolean;
|
|
636
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
637
|
+
quotaUser?: string;
|
|
638
|
+
/** Required. A comma-separated list of names of fields in the DebugToken to update. Example: `display_name`. */
|
|
639
|
+
updateMask?: string;
|
|
640
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
641
|
+
upload_protocol?: string;
|
|
642
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
643
|
+
uploadType?: string;
|
|
644
|
+
/** Request body */
|
|
645
|
+
resource: GoogleFirebaseAppcheckV1DebugToken;
|
|
646
|
+
}): Request<GoogleFirebaseAppcheckV1DebugToken>;
|
|
647
|
+
patch(request: {
|
|
648
|
+
/** V1 error format. */
|
|
649
|
+
"$.xgafv"?: string;
|
|
650
|
+
/** OAuth access token. */
|
|
651
|
+
access_token?: string;
|
|
652
|
+
/** Data format for response. */
|
|
653
|
+
alt?: string;
|
|
654
|
+
/** JSONP */
|
|
655
|
+
callback?: string;
|
|
656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
657
|
+
fields?: string;
|
|
658
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
659
|
+
key?: string;
|
|
660
|
+
/** Required. The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ``` */
|
|
661
|
+
name: string;
|
|
662
|
+
/** OAuth 2.0 token for the current user. */
|
|
663
|
+
oauth_token?: string;
|
|
664
|
+
/** Returns response with indentations and line breaks. */
|
|
665
|
+
prettyPrint?: boolean;
|
|
666
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
667
|
+
quotaUser?: string;
|
|
668
|
+
/** Required. A comma-separated list of names of fields in the DebugToken to update. Example: `display_name`. */
|
|
669
|
+
updateMask?: string;
|
|
670
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
671
|
+
upload_protocol?: string;
|
|
672
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
673
|
+
uploadType?: string;
|
|
674
|
+
},
|
|
675
|
+
body: GoogleFirebaseAppcheckV1DebugToken): Request<GoogleFirebaseAppcheckV1DebugToken>;
|
|
676
|
+
}
|
|
677
|
+
interface DeviceCheckConfigResource {
|
|
678
|
+
/** Atomically gets the DeviceCheckConfigs for the specified list of apps. For security reasons, the `private_key` field is never populated in the response. */
|
|
679
|
+
batchGet(request?: {
|
|
680
|
+
/** V1 error format. */
|
|
681
|
+
"$.xgafv"?: string;
|
|
682
|
+
/** OAuth access token. */
|
|
683
|
+
access_token?: string;
|
|
684
|
+
/** Data format for response. */
|
|
685
|
+
alt?: string;
|
|
686
|
+
/** JSONP */
|
|
687
|
+
callback?: string;
|
|
688
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
689
|
+
fields?: string;
|
|
690
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
691
|
+
key?: string;
|
|
692
|
+
/**
|
|
693
|
+
* Required. The relative resource names of the DeviceCheckConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` A maximum of 100
|
|
694
|
+
* objects can be retrieved in a batch.
|
|
695
|
+
*/
|
|
696
|
+
names?: string | string[];
|
|
697
|
+
/** OAuth 2.0 token for the current user. */
|
|
698
|
+
oauth_token?: string;
|
|
699
|
+
/**
|
|
700
|
+
* Required. The parent project name shared by all DeviceCheckConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of
|
|
701
|
+
* any resource being retrieved must match this field, or the entire batch fails.
|
|
702
|
+
*/
|
|
703
|
+
parent: string;
|
|
704
|
+
/** Returns response with indentations and line breaks. */
|
|
705
|
+
prettyPrint?: boolean;
|
|
706
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
707
|
+
quotaUser?: string;
|
|
708
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
709
|
+
upload_protocol?: string;
|
|
710
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
711
|
+
uploadType?: string;
|
|
712
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse>;
|
|
713
|
+
/** Gets the DeviceCheckConfig for the specified app. For security reasons, the `private_key` field is never populated in the response. */
|
|
714
|
+
get(request?: {
|
|
715
|
+
/** V1 error format. */
|
|
716
|
+
"$.xgafv"?: string;
|
|
717
|
+
/** OAuth access token. */
|
|
718
|
+
access_token?: string;
|
|
719
|
+
/** Data format for response. */
|
|
720
|
+
alt?: string;
|
|
721
|
+
/** JSONP */
|
|
722
|
+
callback?: string;
|
|
723
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
724
|
+
fields?: string;
|
|
725
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
726
|
+
key?: string;
|
|
727
|
+
/** Required. The relative resource name of the DeviceCheckConfig, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` */
|
|
728
|
+
name: string;
|
|
729
|
+
/** OAuth 2.0 token for the current user. */
|
|
730
|
+
oauth_token?: string;
|
|
731
|
+
/** Returns response with indentations and line breaks. */
|
|
732
|
+
prettyPrint?: boolean;
|
|
733
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
734
|
+
quotaUser?: string;
|
|
735
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
736
|
+
upload_protocol?: string;
|
|
737
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
738
|
+
uploadType?: string;
|
|
739
|
+
}): Request<GoogleFirebaseAppcheckV1DeviceCheckConfig>;
|
|
740
|
+
/**
|
|
741
|
+
* Updates the DeviceCheckConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange DeviceCheck tokens for App Check tokens.
|
|
742
|
+
* For security reasons, the `private_key` field is never populated in the response.
|
|
743
|
+
*/
|
|
744
|
+
patch(request: {
|
|
745
|
+
/** V1 error format. */
|
|
746
|
+
"$.xgafv"?: string;
|
|
747
|
+
/** OAuth access token. */
|
|
748
|
+
access_token?: string;
|
|
749
|
+
/** Data format for response. */
|
|
750
|
+
alt?: string;
|
|
751
|
+
/** JSONP */
|
|
752
|
+
callback?: string;
|
|
753
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
754
|
+
fields?: string;
|
|
755
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
756
|
+
key?: string;
|
|
757
|
+
/** Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` */
|
|
758
|
+
name: string;
|
|
759
|
+
/** OAuth 2.0 token for the current user. */
|
|
760
|
+
oauth_token?: string;
|
|
761
|
+
/** Returns response with indentations and line breaks. */
|
|
762
|
+
prettyPrint?: boolean;
|
|
763
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
764
|
+
quotaUser?: string;
|
|
765
|
+
/** Required. A comma-separated list of names of fields in the DeviceCheckConfig Gets to update. Example: `key_id,private_key`. */
|
|
766
|
+
updateMask?: string;
|
|
767
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
768
|
+
upload_protocol?: string;
|
|
769
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
770
|
+
uploadType?: string;
|
|
771
|
+
/** Request body */
|
|
772
|
+
resource: GoogleFirebaseAppcheckV1DeviceCheckConfig;
|
|
773
|
+
}): Request<GoogleFirebaseAppcheckV1DeviceCheckConfig>;
|
|
774
|
+
patch(request: {
|
|
775
|
+
/** V1 error format. */
|
|
776
|
+
"$.xgafv"?: string;
|
|
777
|
+
/** OAuth access token. */
|
|
778
|
+
access_token?: string;
|
|
779
|
+
/** Data format for response. */
|
|
780
|
+
alt?: string;
|
|
781
|
+
/** JSONP */
|
|
782
|
+
callback?: string;
|
|
783
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
784
|
+
fields?: string;
|
|
785
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
786
|
+
key?: string;
|
|
787
|
+
/** Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` */
|
|
788
|
+
name: string;
|
|
789
|
+
/** OAuth 2.0 token for the current user. */
|
|
790
|
+
oauth_token?: string;
|
|
791
|
+
/** Returns response with indentations and line breaks. */
|
|
792
|
+
prettyPrint?: boolean;
|
|
793
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
794
|
+
quotaUser?: string;
|
|
795
|
+
/** Required. A comma-separated list of names of fields in the DeviceCheckConfig Gets to update. Example: `key_id,private_key`. */
|
|
796
|
+
updateMask?: string;
|
|
797
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
798
|
+
upload_protocol?: string;
|
|
799
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
800
|
+
uploadType?: string;
|
|
801
|
+
},
|
|
802
|
+
body: GoogleFirebaseAppcheckV1DeviceCheckConfig): Request<GoogleFirebaseAppcheckV1DeviceCheckConfig>;
|
|
803
|
+
}
|
|
804
|
+
interface PlayIntegrityConfigResource {
|
|
805
|
+
/** Atomically gets the PlayIntegrityConfigs for the specified list of apps. */
|
|
806
|
+
batchGet(request?: {
|
|
807
|
+
/** V1 error format. */
|
|
808
|
+
"$.xgafv"?: string;
|
|
809
|
+
/** OAuth access token. */
|
|
810
|
+
access_token?: string;
|
|
811
|
+
/** Data format for response. */
|
|
812
|
+
alt?: string;
|
|
813
|
+
/** JSONP */
|
|
814
|
+
callback?: string;
|
|
815
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
816
|
+
fields?: string;
|
|
817
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
818
|
+
key?: string;
|
|
819
|
+
/**
|
|
820
|
+
* Required. The relative resource names of the PlayIntegrityConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` A maximum of 100
|
|
821
|
+
* objects can be retrieved in a batch.
|
|
822
|
+
*/
|
|
823
|
+
names?: string | string[];
|
|
824
|
+
/** OAuth 2.0 token for the current user. */
|
|
825
|
+
oauth_token?: string;
|
|
826
|
+
/**
|
|
827
|
+
* Required. The parent project name shared by all PlayIntegrityConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field
|
|
828
|
+
* of any resource being retrieved must match this field, or the entire batch fails.
|
|
829
|
+
*/
|
|
830
|
+
parent: string;
|
|
831
|
+
/** Returns response with indentations and line breaks. */
|
|
832
|
+
prettyPrint?: boolean;
|
|
833
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
834
|
+
quotaUser?: string;
|
|
835
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
836
|
+
upload_protocol?: string;
|
|
837
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
838
|
+
uploadType?: string;
|
|
839
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse>;
|
|
840
|
+
/** Gets the PlayIntegrityConfig for the specified app. */
|
|
841
|
+
get(request?: {
|
|
842
|
+
/** V1 error format. */
|
|
843
|
+
"$.xgafv"?: string;
|
|
844
|
+
/** OAuth access token. */
|
|
845
|
+
access_token?: string;
|
|
846
|
+
/** Data format for response. */
|
|
847
|
+
alt?: string;
|
|
848
|
+
/** JSONP */
|
|
849
|
+
callback?: string;
|
|
850
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
851
|
+
fields?: string;
|
|
852
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
853
|
+
key?: string;
|
|
854
|
+
/** Required. The relative resource name of the PlayIntegrityConfig, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` */
|
|
855
|
+
name: string;
|
|
856
|
+
/** OAuth 2.0 token for the current user. */
|
|
857
|
+
oauth_token?: string;
|
|
858
|
+
/** Returns response with indentations and line breaks. */
|
|
859
|
+
prettyPrint?: boolean;
|
|
860
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
861
|
+
quotaUser?: string;
|
|
862
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
863
|
+
upload_protocol?: string;
|
|
864
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
865
|
+
uploadType?: string;
|
|
866
|
+
}): Request<GoogleFirebaseAppcheckV1PlayIntegrityConfig>;
|
|
867
|
+
/**
|
|
868
|
+
* Updates the PlayIntegrityConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange Play Integrity tokens for App Check
|
|
869
|
+
* tokens.
|
|
870
|
+
*/
|
|
871
|
+
patch(request: {
|
|
872
|
+
/** V1 error format. */
|
|
873
|
+
"$.xgafv"?: string;
|
|
874
|
+
/** OAuth access token. */
|
|
875
|
+
access_token?: string;
|
|
876
|
+
/** Data format for response. */
|
|
877
|
+
alt?: string;
|
|
878
|
+
/** JSONP */
|
|
879
|
+
callback?: string;
|
|
880
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
881
|
+
fields?: string;
|
|
882
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
883
|
+
key?: string;
|
|
884
|
+
/** Required. The relative resource name of the Play Integrity configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` */
|
|
885
|
+
name: string;
|
|
886
|
+
/** OAuth 2.0 token for the current user. */
|
|
887
|
+
oauth_token?: string;
|
|
888
|
+
/** Returns response with indentations and line breaks. */
|
|
889
|
+
prettyPrint?: boolean;
|
|
890
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
891
|
+
quotaUser?: string;
|
|
892
|
+
/** Required. A comma-separated list of names of fields in the PlayIntegrityConfig Gets to update. Example: `token_ttl`. */
|
|
893
|
+
updateMask?: string;
|
|
894
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
895
|
+
upload_protocol?: string;
|
|
896
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
897
|
+
uploadType?: string;
|
|
898
|
+
/** Request body */
|
|
899
|
+
resource: GoogleFirebaseAppcheckV1PlayIntegrityConfig;
|
|
900
|
+
}): Request<GoogleFirebaseAppcheckV1PlayIntegrityConfig>;
|
|
901
|
+
patch(request: {
|
|
902
|
+
/** V1 error format. */
|
|
903
|
+
"$.xgafv"?: string;
|
|
904
|
+
/** OAuth access token. */
|
|
905
|
+
access_token?: string;
|
|
906
|
+
/** Data format for response. */
|
|
907
|
+
alt?: string;
|
|
908
|
+
/** JSONP */
|
|
909
|
+
callback?: string;
|
|
910
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
911
|
+
fields?: string;
|
|
912
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
913
|
+
key?: string;
|
|
914
|
+
/** Required. The relative resource name of the Play Integrity configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` */
|
|
915
|
+
name: string;
|
|
916
|
+
/** OAuth 2.0 token for the current user. */
|
|
917
|
+
oauth_token?: string;
|
|
918
|
+
/** Returns response with indentations and line breaks. */
|
|
919
|
+
prettyPrint?: boolean;
|
|
920
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
921
|
+
quotaUser?: string;
|
|
922
|
+
/** Required. A comma-separated list of names of fields in the PlayIntegrityConfig Gets to update. Example: `token_ttl`. */
|
|
923
|
+
updateMask?: string;
|
|
924
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
925
|
+
upload_protocol?: string;
|
|
926
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
927
|
+
uploadType?: string;
|
|
928
|
+
},
|
|
929
|
+
body: GoogleFirebaseAppcheckV1PlayIntegrityConfig): Request<GoogleFirebaseAppcheckV1PlayIntegrityConfig>;
|
|
930
|
+
}
|
|
931
|
+
interface RecaptchaEnterpriseConfigResource {
|
|
932
|
+
/** Atomically gets the RecaptchaEnterpriseConfigs for the specified list of apps. */
|
|
933
|
+
batchGet(request?: {
|
|
934
|
+
/** V1 error format. */
|
|
935
|
+
"$.xgafv"?: string;
|
|
936
|
+
/** OAuth access token. */
|
|
937
|
+
access_token?: string;
|
|
938
|
+
/** Data format for response. */
|
|
939
|
+
alt?: string;
|
|
940
|
+
/** JSONP */
|
|
941
|
+
callback?: string;
|
|
942
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
943
|
+
fields?: string;
|
|
944
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
945
|
+
key?: string;
|
|
946
|
+
/**
|
|
947
|
+
* Required. The relative resource names of the RecaptchaEnterpriseConfigs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` A
|
|
948
|
+
* maximum of 100 objects can be retrieved in a batch.
|
|
949
|
+
*/
|
|
950
|
+
names?: string | string[];
|
|
951
|
+
/** OAuth 2.0 token for the current user. */
|
|
952
|
+
oauth_token?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Required. The parent project name shared by all RecaptchaEnterpriseConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name`
|
|
955
|
+
* field of any resource being retrieved must match this field, or the entire batch fails.
|
|
956
|
+
*/
|
|
957
|
+
parent: string;
|
|
958
|
+
/** Returns response with indentations and line breaks. */
|
|
959
|
+
prettyPrint?: boolean;
|
|
960
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
961
|
+
quotaUser?: string;
|
|
962
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
963
|
+
upload_protocol?: string;
|
|
964
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
965
|
+
uploadType?: string;
|
|
966
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse>;
|
|
967
|
+
/** Gets the RecaptchaEnterpriseConfig for the specified app. */
|
|
968
|
+
get(request?: {
|
|
969
|
+
/** V1 error format. */
|
|
970
|
+
"$.xgafv"?: string;
|
|
971
|
+
/** OAuth access token. */
|
|
972
|
+
access_token?: string;
|
|
973
|
+
/** Data format for response. */
|
|
974
|
+
alt?: string;
|
|
975
|
+
/** JSONP */
|
|
976
|
+
callback?: string;
|
|
977
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
978
|
+
fields?: string;
|
|
979
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
980
|
+
key?: string;
|
|
981
|
+
/** Required. The relative resource name of the RecaptchaEnterpriseConfig, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` */
|
|
982
|
+
name: string;
|
|
983
|
+
/** OAuth 2.0 token for the current user. */
|
|
984
|
+
oauth_token?: string;
|
|
985
|
+
/** Returns response with indentations and line breaks. */
|
|
986
|
+
prettyPrint?: boolean;
|
|
987
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
988
|
+
quotaUser?: string;
|
|
989
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
990
|
+
upload_protocol?: string;
|
|
991
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
992
|
+
uploadType?: string;
|
|
993
|
+
}): Request<GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig>;
|
|
994
|
+
/**
|
|
995
|
+
* Updates the RecaptchaEnterpriseConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA Enterprise tokens for
|
|
996
|
+
* App Check tokens.
|
|
997
|
+
*/
|
|
998
|
+
patch(request: {
|
|
999
|
+
/** V1 error format. */
|
|
1000
|
+
"$.xgafv"?: string;
|
|
1001
|
+
/** OAuth access token. */
|
|
1002
|
+
access_token?: string;
|
|
1003
|
+
/** Data format for response. */
|
|
1004
|
+
alt?: string;
|
|
1005
|
+
/** JSONP */
|
|
1006
|
+
callback?: string;
|
|
1007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1008
|
+
fields?: string;
|
|
1009
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1010
|
+
key?: string;
|
|
1011
|
+
/** Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` */
|
|
1012
|
+
name: string;
|
|
1013
|
+
/** OAuth 2.0 token for the current user. */
|
|
1014
|
+
oauth_token?: string;
|
|
1015
|
+
/** Returns response with indentations and line breaks. */
|
|
1016
|
+
prettyPrint?: boolean;
|
|
1017
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1018
|
+
quotaUser?: string;
|
|
1019
|
+
/** Required. A comma-separated list of names of fields in the RecaptchaEnterpriseConfig to update. Example: `site_key`. */
|
|
1020
|
+
updateMask?: string;
|
|
1021
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1022
|
+
upload_protocol?: string;
|
|
1023
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1024
|
+
uploadType?: string;
|
|
1025
|
+
/** Request body */
|
|
1026
|
+
resource: GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig;
|
|
1027
|
+
}): Request<GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig>;
|
|
1028
|
+
patch(request: {
|
|
1029
|
+
/** V1 error format. */
|
|
1030
|
+
"$.xgafv"?: string;
|
|
1031
|
+
/** OAuth access token. */
|
|
1032
|
+
access_token?: string;
|
|
1033
|
+
/** Data format for response. */
|
|
1034
|
+
alt?: string;
|
|
1035
|
+
/** JSONP */
|
|
1036
|
+
callback?: string;
|
|
1037
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1038
|
+
fields?: string;
|
|
1039
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1040
|
+
key?: string;
|
|
1041
|
+
/** Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` */
|
|
1042
|
+
name: string;
|
|
1043
|
+
/** OAuth 2.0 token for the current user. */
|
|
1044
|
+
oauth_token?: string;
|
|
1045
|
+
/** Returns response with indentations and line breaks. */
|
|
1046
|
+
prettyPrint?: boolean;
|
|
1047
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1048
|
+
quotaUser?: string;
|
|
1049
|
+
/** Required. A comma-separated list of names of fields in the RecaptchaEnterpriseConfig to update. Example: `site_key`. */
|
|
1050
|
+
updateMask?: string;
|
|
1051
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1052
|
+
upload_protocol?: string;
|
|
1053
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1054
|
+
uploadType?: string;
|
|
1055
|
+
},
|
|
1056
|
+
body: GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig): Request<GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig>;
|
|
1057
|
+
}
|
|
1058
|
+
interface RecaptchaV3ConfigResource {
|
|
1059
|
+
/** Atomically gets the RecaptchaV3Configs for the specified list of apps. For security reasons, the `site_secret` field is never populated in the response. */
|
|
1060
|
+
batchGet(request?: {
|
|
1061
|
+
/** V1 error format. */
|
|
1062
|
+
"$.xgafv"?: string;
|
|
1063
|
+
/** OAuth access token. */
|
|
1064
|
+
access_token?: string;
|
|
1065
|
+
/** Data format for response. */
|
|
1066
|
+
alt?: string;
|
|
1067
|
+
/** JSONP */
|
|
1068
|
+
callback?: string;
|
|
1069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1070
|
+
fields?: string;
|
|
1071
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1072
|
+
key?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* Required. The relative resource names of the RecaptchaV3Configs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` A maximum of 100
|
|
1075
|
+
* objects can be retrieved in a batch.
|
|
1076
|
+
*/
|
|
1077
|
+
names?: string | string[];
|
|
1078
|
+
/** OAuth 2.0 token for the current user. */
|
|
1079
|
+
oauth_token?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Required. The parent project name shared by all RecaptchaV3Configs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of
|
|
1082
|
+
* any resource being retrieved must match this field, or the entire batch fails.
|
|
1083
|
+
*/
|
|
1084
|
+
parent: string;
|
|
1085
|
+
/** Returns response with indentations and line breaks. */
|
|
1086
|
+
prettyPrint?: boolean;
|
|
1087
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1088
|
+
quotaUser?: string;
|
|
1089
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1090
|
+
upload_protocol?: string;
|
|
1091
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1092
|
+
uploadType?: string;
|
|
1093
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse>;
|
|
1094
|
+
/** Gets the RecaptchaV3Config for the specified app. For security reasons, the `site_secret` field is never populated in the response. */
|
|
1095
|
+
get(request?: {
|
|
1096
|
+
/** V1 error format. */
|
|
1097
|
+
"$.xgafv"?: string;
|
|
1098
|
+
/** OAuth access token. */
|
|
1099
|
+
access_token?: string;
|
|
1100
|
+
/** Data format for response. */
|
|
1101
|
+
alt?: string;
|
|
1102
|
+
/** JSONP */
|
|
1103
|
+
callback?: string;
|
|
1104
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1105
|
+
fields?: string;
|
|
1106
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1107
|
+
key?: string;
|
|
1108
|
+
/** Required. The relative resource name of the RecaptchaV3Config, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` */
|
|
1109
|
+
name: string;
|
|
1110
|
+
/** OAuth 2.0 token for the current user. */
|
|
1111
|
+
oauth_token?: string;
|
|
1112
|
+
/** Returns response with indentations and line breaks. */
|
|
1113
|
+
prettyPrint?: boolean;
|
|
1114
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1115
|
+
quotaUser?: string;
|
|
1116
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1117
|
+
upload_protocol?: string;
|
|
1118
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1119
|
+
uploadType?: string;
|
|
1120
|
+
}): Request<GoogleFirebaseAppcheckV1RecaptchaV3Config>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA tokens for App Check tokens. For
|
|
1123
|
+
* security reasons, the `site_secret` field is never populated in the response.
|
|
1124
|
+
*/
|
|
1125
|
+
patch(request: {
|
|
1126
|
+
/** V1 error format. */
|
|
1127
|
+
"$.xgafv"?: string;
|
|
1128
|
+
/** OAuth access token. */
|
|
1129
|
+
access_token?: string;
|
|
1130
|
+
/** Data format for response. */
|
|
1131
|
+
alt?: string;
|
|
1132
|
+
/** JSONP */
|
|
1133
|
+
callback?: string;
|
|
1134
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1135
|
+
fields?: string;
|
|
1136
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1137
|
+
key?: string;
|
|
1138
|
+
/** Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` */
|
|
1139
|
+
name: string;
|
|
1140
|
+
/** OAuth 2.0 token for the current user. */
|
|
1141
|
+
oauth_token?: string;
|
|
1142
|
+
/** Returns response with indentations and line breaks. */
|
|
1143
|
+
prettyPrint?: boolean;
|
|
1144
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1145
|
+
quotaUser?: string;
|
|
1146
|
+
/** Required. A comma-separated list of names of fields in the RecaptchaV3Config to update. Example: `site_secret`. */
|
|
1147
|
+
updateMask?: string;
|
|
1148
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1149
|
+
upload_protocol?: string;
|
|
1150
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1151
|
+
uploadType?: string;
|
|
1152
|
+
/** Request body */
|
|
1153
|
+
resource: GoogleFirebaseAppcheckV1RecaptchaV3Config;
|
|
1154
|
+
}): Request<GoogleFirebaseAppcheckV1RecaptchaV3Config>;
|
|
1155
|
+
patch(request: {
|
|
1156
|
+
/** V1 error format. */
|
|
1157
|
+
"$.xgafv"?: string;
|
|
1158
|
+
/** OAuth access token. */
|
|
1159
|
+
access_token?: string;
|
|
1160
|
+
/** Data format for response. */
|
|
1161
|
+
alt?: string;
|
|
1162
|
+
/** JSONP */
|
|
1163
|
+
callback?: string;
|
|
1164
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1165
|
+
fields?: string;
|
|
1166
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1167
|
+
key?: string;
|
|
1168
|
+
/** Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` */
|
|
1169
|
+
name: string;
|
|
1170
|
+
/** OAuth 2.0 token for the current user. */
|
|
1171
|
+
oauth_token?: string;
|
|
1172
|
+
/** Returns response with indentations and line breaks. */
|
|
1173
|
+
prettyPrint?: boolean;
|
|
1174
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1175
|
+
quotaUser?: string;
|
|
1176
|
+
/** Required. A comma-separated list of names of fields in the RecaptchaV3Config to update. Example: `site_secret`. */
|
|
1177
|
+
updateMask?: string;
|
|
1178
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1179
|
+
upload_protocol?: string;
|
|
1180
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1181
|
+
uploadType?: string;
|
|
1182
|
+
},
|
|
1183
|
+
body: GoogleFirebaseAppcheckV1RecaptchaV3Config): Request<GoogleFirebaseAppcheckV1RecaptchaV3Config>;
|
|
1184
|
+
}
|
|
1185
|
+
interface SafetyNetConfigResource {
|
|
1186
|
+
/** Atomically gets the SafetyNetConfigs for the specified list of apps. */
|
|
1187
|
+
batchGet(request?: {
|
|
1188
|
+
/** V1 error format. */
|
|
1189
|
+
"$.xgafv"?: string;
|
|
1190
|
+
/** OAuth access token. */
|
|
1191
|
+
access_token?: string;
|
|
1192
|
+
/** Data format for response. */
|
|
1193
|
+
alt?: string;
|
|
1194
|
+
/** JSONP */
|
|
1195
|
+
callback?: string;
|
|
1196
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1197
|
+
fields?: string;
|
|
1198
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1199
|
+
key?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Required. The relative resource names of the SafetyNetConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` A maximum of 100 objects
|
|
1202
|
+
* can be retrieved in a batch.
|
|
1203
|
+
*/
|
|
1204
|
+
names?: string | string[];
|
|
1205
|
+
/** OAuth 2.0 token for the current user. */
|
|
1206
|
+
oauth_token?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Required. The parent project name shared by all SafetyNetConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of
|
|
1209
|
+
* any resource being retrieved must match this field, or the entire batch fails.
|
|
1210
|
+
*/
|
|
1211
|
+
parent: string;
|
|
1212
|
+
/** Returns response with indentations and line breaks. */
|
|
1213
|
+
prettyPrint?: boolean;
|
|
1214
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1215
|
+
quotaUser?: string;
|
|
1216
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1217
|
+
upload_protocol?: string;
|
|
1218
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1219
|
+
uploadType?: string;
|
|
1220
|
+
}): Request<GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse>;
|
|
1221
|
+
/** Gets the SafetyNetConfig for the specified app. */
|
|
1222
|
+
get(request?: {
|
|
1223
|
+
/** V1 error format. */
|
|
1224
|
+
"$.xgafv"?: string;
|
|
1225
|
+
/** OAuth access token. */
|
|
1226
|
+
access_token?: string;
|
|
1227
|
+
/** Data format for response. */
|
|
1228
|
+
alt?: string;
|
|
1229
|
+
/** JSONP */
|
|
1230
|
+
callback?: string;
|
|
1231
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1232
|
+
fields?: string;
|
|
1233
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1234
|
+
key?: string;
|
|
1235
|
+
/** Required. The relative resource name of the SafetyNetConfig, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` */
|
|
1236
|
+
name: string;
|
|
1237
|
+
/** OAuth 2.0 token for the current user. */
|
|
1238
|
+
oauth_token?: string;
|
|
1239
|
+
/** Returns response with indentations and line breaks. */
|
|
1240
|
+
prettyPrint?: boolean;
|
|
1241
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1242
|
+
quotaUser?: string;
|
|
1243
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1244
|
+
upload_protocol?: string;
|
|
1245
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1246
|
+
uploadType?: string;
|
|
1247
|
+
}): Request<GoogleFirebaseAppcheckV1SafetyNetConfig>;
|
|
1248
|
+
/** Updates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens. */
|
|
1249
|
+
patch(request: {
|
|
1250
|
+
/** V1 error format. */
|
|
1251
|
+
"$.xgafv"?: string;
|
|
1252
|
+
/** OAuth access token. */
|
|
1253
|
+
access_token?: string;
|
|
1254
|
+
/** Data format for response. */
|
|
1255
|
+
alt?: string;
|
|
1256
|
+
/** JSONP */
|
|
1257
|
+
callback?: string;
|
|
1258
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1259
|
+
fields?: string;
|
|
1260
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1261
|
+
key?: string;
|
|
1262
|
+
/** Required. The relative resource name of the SafetyNet configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` */
|
|
1263
|
+
name: string;
|
|
1264
|
+
/** OAuth 2.0 token for the current user. */
|
|
1265
|
+
oauth_token?: string;
|
|
1266
|
+
/** Returns response with indentations and line breaks. */
|
|
1267
|
+
prettyPrint?: boolean;
|
|
1268
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1269
|
+
quotaUser?: string;
|
|
1270
|
+
/** Required. A comma-separated list of names of fields in the SafetyNetConfig Gets to update. Example: `token_ttl`. */
|
|
1271
|
+
updateMask?: string;
|
|
1272
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1273
|
+
upload_protocol?: string;
|
|
1274
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1275
|
+
uploadType?: string;
|
|
1276
|
+
/** Request body */
|
|
1277
|
+
resource: GoogleFirebaseAppcheckV1SafetyNetConfig;
|
|
1278
|
+
}): Request<GoogleFirebaseAppcheckV1SafetyNetConfig>;
|
|
1279
|
+
patch(request: {
|
|
1280
|
+
/** V1 error format. */
|
|
1281
|
+
"$.xgafv"?: string;
|
|
1282
|
+
/** OAuth access token. */
|
|
1283
|
+
access_token?: string;
|
|
1284
|
+
/** Data format for response. */
|
|
1285
|
+
alt?: string;
|
|
1286
|
+
/** JSONP */
|
|
1287
|
+
callback?: string;
|
|
1288
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1289
|
+
fields?: string;
|
|
1290
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1291
|
+
key?: string;
|
|
1292
|
+
/** Required. The relative resource name of the SafetyNet configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` */
|
|
1293
|
+
name: string;
|
|
1294
|
+
/** OAuth 2.0 token for the current user. */
|
|
1295
|
+
oauth_token?: string;
|
|
1296
|
+
/** Returns response with indentations and line breaks. */
|
|
1297
|
+
prettyPrint?: boolean;
|
|
1298
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1299
|
+
quotaUser?: string;
|
|
1300
|
+
/** Required. A comma-separated list of names of fields in the SafetyNetConfig Gets to update. Example: `token_ttl`. */
|
|
1301
|
+
updateMask?: string;
|
|
1302
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1303
|
+
upload_protocol?: string;
|
|
1304
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1305
|
+
uploadType?: string;
|
|
1306
|
+
},
|
|
1307
|
+
body: GoogleFirebaseAppcheckV1SafetyNetConfig): Request<GoogleFirebaseAppcheckV1SafetyNetConfig>;
|
|
1308
|
+
}
|
|
1309
|
+
interface AppsResource {
|
|
1310
|
+
/** Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. */
|
|
1311
|
+
exchangeAppAttestAssertion(request: {
|
|
1312
|
+
/** V1 error format. */
|
|
1313
|
+
"$.xgafv"?: string;
|
|
1314
|
+
/** OAuth access token. */
|
|
1315
|
+
access_token?: string;
|
|
1316
|
+
/** Data format for response. */
|
|
1317
|
+
alt?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1320
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1321
|
+
*/
|
|
1322
|
+
app: string;
|
|
1323
|
+
/** JSONP */
|
|
1324
|
+
callback?: string;
|
|
1325
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1326
|
+
fields?: string;
|
|
1327
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1328
|
+
key?: string;
|
|
1329
|
+
/** OAuth 2.0 token for the current user. */
|
|
1330
|
+
oauth_token?: string;
|
|
1331
|
+
/** Returns response with indentations and line breaks. */
|
|
1332
|
+
prettyPrint?: boolean;
|
|
1333
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1334
|
+
quotaUser?: string;
|
|
1335
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1336
|
+
upload_protocol?: string;
|
|
1337
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1338
|
+
uploadType?: string;
|
|
1339
|
+
/** Request body */
|
|
1340
|
+
resource: GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest;
|
|
1341
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1342
|
+
exchangeAppAttestAssertion(request: {
|
|
1343
|
+
/** V1 error format. */
|
|
1344
|
+
"$.xgafv"?: string;
|
|
1345
|
+
/** OAuth access token. */
|
|
1346
|
+
access_token?: string;
|
|
1347
|
+
/** Data format for response. */
|
|
1348
|
+
alt?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1351
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1352
|
+
*/
|
|
1353
|
+
app: string;
|
|
1354
|
+
/** JSONP */
|
|
1355
|
+
callback?: string;
|
|
1356
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1357
|
+
fields?: string;
|
|
1358
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1359
|
+
key?: string;
|
|
1360
|
+
/** OAuth 2.0 token for the current user. */
|
|
1361
|
+
oauth_token?: string;
|
|
1362
|
+
/** Returns response with indentations and line breaks. */
|
|
1363
|
+
prettyPrint?: boolean;
|
|
1364
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1365
|
+
quotaUser?: string;
|
|
1366
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1367
|
+
upload_protocol?: string;
|
|
1368
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1369
|
+
uploadType?: string;
|
|
1370
|
+
},
|
|
1371
|
+
body: GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged
|
|
1374
|
+
* for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is
|
|
1375
|
+
* successful).
|
|
1376
|
+
*/
|
|
1377
|
+
exchangeAppAttestAttestation(request: {
|
|
1378
|
+
/** V1 error format. */
|
|
1379
|
+
"$.xgafv"?: string;
|
|
1380
|
+
/** OAuth access token. */
|
|
1381
|
+
access_token?: string;
|
|
1382
|
+
/** Data format for response. */
|
|
1383
|
+
alt?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1386
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1387
|
+
*/
|
|
1388
|
+
app: string;
|
|
1389
|
+
/** JSONP */
|
|
1390
|
+
callback?: string;
|
|
1391
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1392
|
+
fields?: string;
|
|
1393
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1394
|
+
key?: string;
|
|
1395
|
+
/** OAuth 2.0 token for the current user. */
|
|
1396
|
+
oauth_token?: string;
|
|
1397
|
+
/** Returns response with indentations and line breaks. */
|
|
1398
|
+
prettyPrint?: boolean;
|
|
1399
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1400
|
+
quotaUser?: string;
|
|
1401
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1402
|
+
upload_protocol?: string;
|
|
1403
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1404
|
+
uploadType?: string;
|
|
1405
|
+
/** Request body */
|
|
1406
|
+
resource: GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest;
|
|
1407
|
+
}): Request<GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse>;
|
|
1408
|
+
exchangeAppAttestAttestation(request: {
|
|
1409
|
+
/** V1 error format. */
|
|
1410
|
+
"$.xgafv"?: string;
|
|
1411
|
+
/** OAuth access token. */
|
|
1412
|
+
access_token?: string;
|
|
1413
|
+
/** Data format for response. */
|
|
1414
|
+
alt?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1417
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1418
|
+
*/
|
|
1419
|
+
app: string;
|
|
1420
|
+
/** JSONP */
|
|
1421
|
+
callback?: string;
|
|
1422
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1423
|
+
fields?: string;
|
|
1424
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1425
|
+
key?: string;
|
|
1426
|
+
/** OAuth 2.0 token for the current user. */
|
|
1427
|
+
oauth_token?: string;
|
|
1428
|
+
/** Returns response with indentations and line breaks. */
|
|
1429
|
+
prettyPrint?: boolean;
|
|
1430
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1431
|
+
quotaUser?: string;
|
|
1432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1433
|
+
upload_protocol?: string;
|
|
1434
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1435
|
+
uploadType?: string;
|
|
1436
|
+
},
|
|
1437
|
+
body: GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest): Request<GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse>;
|
|
1438
|
+
/** Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken. */
|
|
1439
|
+
exchangeCustomToken(request: {
|
|
1440
|
+
/** V1 error format. */
|
|
1441
|
+
"$.xgafv"?: string;
|
|
1442
|
+
/** OAuth access token. */
|
|
1443
|
+
access_token?: string;
|
|
1444
|
+
/** Data format for response. */
|
|
1445
|
+
alt?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* 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
|
|
1448
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1449
|
+
*/
|
|
1450
|
+
app: string;
|
|
1451
|
+
/** JSONP */
|
|
1452
|
+
callback?: string;
|
|
1453
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1454
|
+
fields?: string;
|
|
1455
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1456
|
+
key?: string;
|
|
1457
|
+
/** OAuth 2.0 token for the current user. */
|
|
1458
|
+
oauth_token?: string;
|
|
1459
|
+
/** Returns response with indentations and line breaks. */
|
|
1460
|
+
prettyPrint?: boolean;
|
|
1461
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1462
|
+
quotaUser?: string;
|
|
1463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1464
|
+
upload_protocol?: string;
|
|
1465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1466
|
+
uploadType?: string;
|
|
1467
|
+
/** Request body */
|
|
1468
|
+
resource: GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest;
|
|
1469
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1470
|
+
exchangeCustomToken(request: {
|
|
1471
|
+
/** V1 error format. */
|
|
1472
|
+
"$.xgafv"?: string;
|
|
1473
|
+
/** OAuth access token. */
|
|
1474
|
+
access_token?: string;
|
|
1475
|
+
/** Data format for response. */
|
|
1476
|
+
alt?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* 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
|
|
1479
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1480
|
+
*/
|
|
1481
|
+
app: string;
|
|
1482
|
+
/** JSONP */
|
|
1483
|
+
callback?: string;
|
|
1484
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1485
|
+
fields?: string;
|
|
1486
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1487
|
+
key?: string;
|
|
1488
|
+
/** OAuth 2.0 token for the current user. */
|
|
1489
|
+
oauth_token?: string;
|
|
1490
|
+
/** Returns response with indentations and line breaks. */
|
|
1491
|
+
prettyPrint?: boolean;
|
|
1492
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1493
|
+
quotaUser?: string;
|
|
1494
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1495
|
+
upload_protocol?: string;
|
|
1496
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1497
|
+
uploadType?: string;
|
|
1498
|
+
},
|
|
1499
|
+
body: GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1500
|
+
/**
|
|
1501
|
+
* Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method
|
|
1502
|
+
* to prevent accidental exposure of the app to abuse.
|
|
1503
|
+
*/
|
|
1504
|
+
exchangeDebugToken(request: {
|
|
1505
|
+
/** V1 error format. */
|
|
1506
|
+
"$.xgafv"?: string;
|
|
1507
|
+
/** OAuth access token. */
|
|
1508
|
+
access_token?: string;
|
|
1509
|
+
/** Data format for response. */
|
|
1510
|
+
alt?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* 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
|
|
1513
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1514
|
+
*/
|
|
1515
|
+
app: string;
|
|
1516
|
+
/** JSONP */
|
|
1517
|
+
callback?: string;
|
|
1518
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1519
|
+
fields?: string;
|
|
1520
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1521
|
+
key?: string;
|
|
1522
|
+
/** OAuth 2.0 token for the current user. */
|
|
1523
|
+
oauth_token?: string;
|
|
1524
|
+
/** Returns response with indentations and line breaks. */
|
|
1525
|
+
prettyPrint?: boolean;
|
|
1526
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1527
|
+
quotaUser?: string;
|
|
1528
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1529
|
+
upload_protocol?: string;
|
|
1530
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1531
|
+
uploadType?: string;
|
|
1532
|
+
/** Request body */
|
|
1533
|
+
resource: GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest;
|
|
1534
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1535
|
+
exchangeDebugToken(request: {
|
|
1536
|
+
/** V1 error format. */
|
|
1537
|
+
"$.xgafv"?: string;
|
|
1538
|
+
/** OAuth access token. */
|
|
1539
|
+
access_token?: string;
|
|
1540
|
+
/** Data format for response. */
|
|
1541
|
+
alt?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* 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
|
|
1544
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1545
|
+
*/
|
|
1546
|
+
app: string;
|
|
1547
|
+
/** JSONP */
|
|
1548
|
+
callback?: string;
|
|
1549
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1550
|
+
fields?: string;
|
|
1551
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1552
|
+
key?: string;
|
|
1553
|
+
/** OAuth 2.0 token for the current user. */
|
|
1554
|
+
oauth_token?: string;
|
|
1555
|
+
/** Returns response with indentations and line breaks. */
|
|
1556
|
+
prettyPrint?: boolean;
|
|
1557
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1558
|
+
quotaUser?: string;
|
|
1559
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1560
|
+
upload_protocol?: string;
|
|
1561
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1562
|
+
uploadType?: string;
|
|
1563
|
+
},
|
|
1564
|
+
body: GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Accepts a [`device_token`](https://developer.apple.com/documentation/devicecheck/dcdevice) issued by DeviceCheck, and attempts to validate it with Apple. If valid, returns an
|
|
1567
|
+
* AppCheckToken.
|
|
1568
|
+
*/
|
|
1569
|
+
exchangeDeviceCheckToken(request: {
|
|
1570
|
+
/** V1 error format. */
|
|
1571
|
+
"$.xgafv"?: string;
|
|
1572
|
+
/** OAuth access token. */
|
|
1573
|
+
access_token?: string;
|
|
1574
|
+
/** Data format for response. */
|
|
1575
|
+
alt?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1578
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1579
|
+
*/
|
|
1580
|
+
app: string;
|
|
1581
|
+
/** JSONP */
|
|
1582
|
+
callback?: string;
|
|
1583
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1584
|
+
fields?: string;
|
|
1585
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1586
|
+
key?: string;
|
|
1587
|
+
/** OAuth 2.0 token for the current user. */
|
|
1588
|
+
oauth_token?: string;
|
|
1589
|
+
/** Returns response with indentations and line breaks. */
|
|
1590
|
+
prettyPrint?: boolean;
|
|
1591
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1592
|
+
quotaUser?: string;
|
|
1593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1594
|
+
upload_protocol?: string;
|
|
1595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1596
|
+
uploadType?: string;
|
|
1597
|
+
/** Request body */
|
|
1598
|
+
resource: GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest;
|
|
1599
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1600
|
+
exchangeDeviceCheckToken(request: {
|
|
1601
|
+
/** V1 error format. */
|
|
1602
|
+
"$.xgafv"?: string;
|
|
1603
|
+
/** OAuth access token. */
|
|
1604
|
+
access_token?: string;
|
|
1605
|
+
/** Data format for response. */
|
|
1606
|
+
alt?: string;
|
|
1607
|
+
/**
|
|
1608
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1609
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1610
|
+
*/
|
|
1611
|
+
app: string;
|
|
1612
|
+
/** JSONP */
|
|
1613
|
+
callback?: string;
|
|
1614
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1615
|
+
fields?: string;
|
|
1616
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1617
|
+
key?: string;
|
|
1618
|
+
/** OAuth 2.0 token for the current user. */
|
|
1619
|
+
oauth_token?: string;
|
|
1620
|
+
/** Returns response with indentations and line breaks. */
|
|
1621
|
+
prettyPrint?: boolean;
|
|
1622
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1623
|
+
quotaUser?: string;
|
|
1624
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1625
|
+
upload_protocol?: string;
|
|
1626
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1627
|
+
uploadType?: string;
|
|
1628
|
+
},
|
|
1629
|
+
body: GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1630
|
+
/** Validates an [integrity verdict response token from Play Integrity](https://developer.android.com/google/play/integrity/verdict#decrypt-verify). If valid, returns an AppCheckToken. */
|
|
1631
|
+
exchangePlayIntegrityToken(request: {
|
|
1632
|
+
/** V1 error format. */
|
|
1633
|
+
"$.xgafv"?: string;
|
|
1634
|
+
/** OAuth access token. */
|
|
1635
|
+
access_token?: string;
|
|
1636
|
+
/** Data format for response. */
|
|
1637
|
+
alt?: string;
|
|
1638
|
+
/**
|
|
1639
|
+
* Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be
|
|
1640
|
+
* replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1641
|
+
*/
|
|
1642
|
+
app: string;
|
|
1643
|
+
/** JSONP */
|
|
1644
|
+
callback?: string;
|
|
1645
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1646
|
+
fields?: string;
|
|
1647
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1648
|
+
key?: string;
|
|
1649
|
+
/** OAuth 2.0 token for the current user. */
|
|
1650
|
+
oauth_token?: string;
|
|
1651
|
+
/** Returns response with indentations and line breaks. */
|
|
1652
|
+
prettyPrint?: boolean;
|
|
1653
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1654
|
+
quotaUser?: string;
|
|
1655
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1656
|
+
upload_protocol?: string;
|
|
1657
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1658
|
+
uploadType?: string;
|
|
1659
|
+
/** Request body */
|
|
1660
|
+
resource: GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest;
|
|
1661
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1662
|
+
exchangePlayIntegrityToken(request: {
|
|
1663
|
+
/** V1 error format. */
|
|
1664
|
+
"$.xgafv"?: string;
|
|
1665
|
+
/** OAuth access token. */
|
|
1666
|
+
access_token?: string;
|
|
1667
|
+
/** Data format for response. */
|
|
1668
|
+
alt?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be
|
|
1671
|
+
* replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1672
|
+
*/
|
|
1673
|
+
app: string;
|
|
1674
|
+
/** JSONP */
|
|
1675
|
+
callback?: string;
|
|
1676
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1677
|
+
fields?: string;
|
|
1678
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1679
|
+
key?: string;
|
|
1680
|
+
/** OAuth 2.0 token for the current user. */
|
|
1681
|
+
oauth_token?: string;
|
|
1682
|
+
/** Returns response with indentations and line breaks. */
|
|
1683
|
+
prettyPrint?: boolean;
|
|
1684
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1685
|
+
quotaUser?: string;
|
|
1686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1687
|
+
upload_protocol?: string;
|
|
1688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1689
|
+
uploadType?: string;
|
|
1690
|
+
},
|
|
1691
|
+
body: GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1692
|
+
/** Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns an AppCheckToken. */
|
|
1693
|
+
exchangeRecaptchaEnterpriseToken(request: {
|
|
1694
|
+
/** V1 error format. */
|
|
1695
|
+
"$.xgafv"?: string;
|
|
1696
|
+
/** OAuth access token. */
|
|
1697
|
+
access_token?: string;
|
|
1698
|
+
/** Data format for response. */
|
|
1699
|
+
alt?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1702
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1703
|
+
*/
|
|
1704
|
+
app: string;
|
|
1705
|
+
/** JSONP */
|
|
1706
|
+
callback?: string;
|
|
1707
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1708
|
+
fields?: string;
|
|
1709
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1710
|
+
key?: string;
|
|
1711
|
+
/** OAuth 2.0 token for the current user. */
|
|
1712
|
+
oauth_token?: string;
|
|
1713
|
+
/** Returns response with indentations and line breaks. */
|
|
1714
|
+
prettyPrint?: boolean;
|
|
1715
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1716
|
+
quotaUser?: string;
|
|
1717
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1718
|
+
upload_protocol?: string;
|
|
1719
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1720
|
+
uploadType?: string;
|
|
1721
|
+
/** Request body */
|
|
1722
|
+
resource: GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest;
|
|
1723
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1724
|
+
exchangeRecaptchaEnterpriseToken(request: {
|
|
1725
|
+
/** V1 error format. */
|
|
1726
|
+
"$.xgafv"?: string;
|
|
1727
|
+
/** OAuth access token. */
|
|
1728
|
+
access_token?: string;
|
|
1729
|
+
/** Data format for response. */
|
|
1730
|
+
alt?: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1733
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1734
|
+
*/
|
|
1735
|
+
app: string;
|
|
1736
|
+
/** JSONP */
|
|
1737
|
+
callback?: string;
|
|
1738
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1739
|
+
fields?: string;
|
|
1740
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1741
|
+
key?: string;
|
|
1742
|
+
/** OAuth 2.0 token for the current user. */
|
|
1743
|
+
oauth_token?: string;
|
|
1744
|
+
/** Returns response with indentations and line breaks. */
|
|
1745
|
+
prettyPrint?: boolean;
|
|
1746
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1747
|
+
quotaUser?: string;
|
|
1748
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1749
|
+
upload_protocol?: string;
|
|
1750
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1751
|
+
uploadType?: string;
|
|
1752
|
+
},
|
|
1753
|
+
body: GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1754
|
+
/** Validates a [reCAPTCHA v3 response token](https://developers.google.com/recaptcha/docs/v3). If valid, returns an AppCheckToken. */
|
|
1755
|
+
exchangeRecaptchaV3Token(request: {
|
|
1756
|
+
/** V1 error format. */
|
|
1757
|
+
"$.xgafv"?: string;
|
|
1758
|
+
/** OAuth access token. */
|
|
1759
|
+
access_token?: string;
|
|
1760
|
+
/** Data format for response. */
|
|
1761
|
+
alt?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1764
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1765
|
+
*/
|
|
1766
|
+
app: string;
|
|
1767
|
+
/** JSONP */
|
|
1768
|
+
callback?: string;
|
|
1769
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1770
|
+
fields?: string;
|
|
1771
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1772
|
+
key?: string;
|
|
1773
|
+
/** OAuth 2.0 token for the current user. */
|
|
1774
|
+
oauth_token?: string;
|
|
1775
|
+
/** Returns response with indentations and line breaks. */
|
|
1776
|
+
prettyPrint?: boolean;
|
|
1777
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1778
|
+
quotaUser?: string;
|
|
1779
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1780
|
+
upload_protocol?: string;
|
|
1781
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1782
|
+
uploadType?: string;
|
|
1783
|
+
/** Request body */
|
|
1784
|
+
resource: GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest;
|
|
1785
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1786
|
+
exchangeRecaptchaV3Token(request: {
|
|
1787
|
+
/** V1 error format. */
|
|
1788
|
+
"$.xgafv"?: string;
|
|
1789
|
+
/** OAuth access token. */
|
|
1790
|
+
access_token?: string;
|
|
1791
|
+
/** Data format for response. */
|
|
1792
|
+
alt?: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* Required. The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1795
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1796
|
+
*/
|
|
1797
|
+
app: string;
|
|
1798
|
+
/** JSONP */
|
|
1799
|
+
callback?: string;
|
|
1800
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1801
|
+
fields?: string;
|
|
1802
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1803
|
+
key?: string;
|
|
1804
|
+
/** OAuth 2.0 token for the current user. */
|
|
1805
|
+
oauth_token?: string;
|
|
1806
|
+
/** Returns response with indentations and line breaks. */
|
|
1807
|
+
prettyPrint?: boolean;
|
|
1808
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1809
|
+
quotaUser?: string;
|
|
1810
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1811
|
+
upload_protocol?: string;
|
|
1812
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1813
|
+
uploadType?: string;
|
|
1814
|
+
},
|
|
1815
|
+
body: GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1816
|
+
/** Validates a [SafetyNet token](https://developer.android.com/training/safetynet/attestation#request-attestation-step). If valid, returns an AppCheckToken. */
|
|
1817
|
+
exchangeSafetyNetToken(request: {
|
|
1818
|
+
/** V1 error format. */
|
|
1819
|
+
"$.xgafv"?: string;
|
|
1820
|
+
/** OAuth access token. */
|
|
1821
|
+
access_token?: string;
|
|
1822
|
+
/** Data format for response. */
|
|
1823
|
+
alt?: string;
|
|
1824
|
+
/**
|
|
1825
|
+
* Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be
|
|
1826
|
+
* replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1827
|
+
*/
|
|
1828
|
+
app: string;
|
|
1829
|
+
/** JSONP */
|
|
1830
|
+
callback?: string;
|
|
1831
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1832
|
+
fields?: string;
|
|
1833
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1834
|
+
key?: string;
|
|
1835
|
+
/** OAuth 2.0 token for the current user. */
|
|
1836
|
+
oauth_token?: string;
|
|
1837
|
+
/** Returns response with indentations and line breaks. */
|
|
1838
|
+
prettyPrint?: boolean;
|
|
1839
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1840
|
+
quotaUser?: string;
|
|
1841
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1842
|
+
upload_protocol?: string;
|
|
1843
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1844
|
+
uploadType?: string;
|
|
1845
|
+
/** Request body */
|
|
1846
|
+
resource: GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest;
|
|
1847
|
+
}): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1848
|
+
exchangeSafetyNetToken(request: {
|
|
1849
|
+
/** V1 error format. */
|
|
1850
|
+
"$.xgafv"?: string;
|
|
1851
|
+
/** OAuth access token. */
|
|
1852
|
+
access_token?: string;
|
|
1853
|
+
/** Data format for response. */
|
|
1854
|
+
alt?: string;
|
|
1855
|
+
/**
|
|
1856
|
+
* Required. The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be
|
|
1857
|
+
* replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1858
|
+
*/
|
|
1859
|
+
app: string;
|
|
1860
|
+
/** JSONP */
|
|
1861
|
+
callback?: string;
|
|
1862
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1863
|
+
fields?: string;
|
|
1864
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1865
|
+
key?: string;
|
|
1866
|
+
/** OAuth 2.0 token for the current user. */
|
|
1867
|
+
oauth_token?: string;
|
|
1868
|
+
/** Returns response with indentations and line breaks. */
|
|
1869
|
+
prettyPrint?: boolean;
|
|
1870
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1871
|
+
quotaUser?: string;
|
|
1872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1873
|
+
upload_protocol?: string;
|
|
1874
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1875
|
+
uploadType?: string;
|
|
1876
|
+
},
|
|
1877
|
+
body: GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest): Request<GoogleFirebaseAppcheckV1AppCheckToken>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused
|
|
1880
|
+
* for multiple calls.
|
|
1881
|
+
*/
|
|
1882
|
+
generateAppAttestChallenge(request: {
|
|
1883
|
+
/** V1 error format. */
|
|
1884
|
+
"$.xgafv"?: string;
|
|
1885
|
+
/** OAuth access token. */
|
|
1886
|
+
access_token?: string;
|
|
1887
|
+
/** Data format for response. */
|
|
1888
|
+
alt?: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1891
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1892
|
+
*/
|
|
1893
|
+
app: string;
|
|
1894
|
+
/** JSONP */
|
|
1895
|
+
callback?: string;
|
|
1896
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1897
|
+
fields?: string;
|
|
1898
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1899
|
+
key?: string;
|
|
1900
|
+
/** OAuth 2.0 token for the current user. */
|
|
1901
|
+
oauth_token?: string;
|
|
1902
|
+
/** Returns response with indentations and line breaks. */
|
|
1903
|
+
prettyPrint?: boolean;
|
|
1904
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1905
|
+
quotaUser?: string;
|
|
1906
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1907
|
+
upload_protocol?: string;
|
|
1908
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1909
|
+
uploadType?: string;
|
|
1910
|
+
/** Request body */
|
|
1911
|
+
resource: GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest;
|
|
1912
|
+
}): Request<GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse>;
|
|
1913
|
+
generateAppAttestChallenge(request: {
|
|
1914
|
+
/** V1 error format. */
|
|
1915
|
+
"$.xgafv"?: string;
|
|
1916
|
+
/** OAuth access token. */
|
|
1917
|
+
access_token?: string;
|
|
1918
|
+
/** Data format for response. */
|
|
1919
|
+
alt?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced
|
|
1922
|
+
* with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1923
|
+
*/
|
|
1924
|
+
app: string;
|
|
1925
|
+
/** JSONP */
|
|
1926
|
+
callback?: string;
|
|
1927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1928
|
+
fields?: string;
|
|
1929
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1930
|
+
key?: string;
|
|
1931
|
+
/** OAuth 2.0 token for the current user. */
|
|
1932
|
+
oauth_token?: string;
|
|
1933
|
+
/** Returns response with indentations and line breaks. */
|
|
1934
|
+
prettyPrint?: boolean;
|
|
1935
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1936
|
+
quotaUser?: string;
|
|
1937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1938
|
+
upload_protocol?: string;
|
|
1939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1940
|
+
uploadType?: string;
|
|
1941
|
+
},
|
|
1942
|
+
body: GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest): Request<GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse>;
|
|
1943
|
+
/**
|
|
1944
|
+
* 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
|
|
1945
|
+
* the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls.
|
|
1946
|
+
*/
|
|
1947
|
+
generatePlayIntegrityChallenge(request: {
|
|
1948
|
+
/** V1 error format. */
|
|
1949
|
+
"$.xgafv"?: string;
|
|
1950
|
+
/** OAuth access token. */
|
|
1951
|
+
access_token?: string;
|
|
1952
|
+
/** Data format for response. */
|
|
1953
|
+
alt?: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* 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
|
|
1956
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1957
|
+
*/
|
|
1958
|
+
app: string;
|
|
1959
|
+
/** JSONP */
|
|
1960
|
+
callback?: string;
|
|
1961
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1962
|
+
fields?: string;
|
|
1963
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1964
|
+
key?: string;
|
|
1965
|
+
/** OAuth 2.0 token for the current user. */
|
|
1966
|
+
oauth_token?: string;
|
|
1967
|
+
/** Returns response with indentations and line breaks. */
|
|
1968
|
+
prettyPrint?: boolean;
|
|
1969
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1970
|
+
quotaUser?: string;
|
|
1971
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1972
|
+
upload_protocol?: string;
|
|
1973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1974
|
+
uploadType?: string;
|
|
1975
|
+
/** Request body */
|
|
1976
|
+
resource: GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest;
|
|
1977
|
+
}): Request<GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse>;
|
|
1978
|
+
generatePlayIntegrityChallenge(request: {
|
|
1979
|
+
/** V1 error format. */
|
|
1980
|
+
"$.xgafv"?: string;
|
|
1981
|
+
/** OAuth access token. */
|
|
1982
|
+
access_token?: string;
|
|
1983
|
+
/** Data format for response. */
|
|
1984
|
+
alt?: string;
|
|
1985
|
+
/**
|
|
1986
|
+
* 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
|
|
1987
|
+
* the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.
|
|
1988
|
+
*/
|
|
1989
|
+
app: string;
|
|
1990
|
+
/** JSONP */
|
|
1991
|
+
callback?: string;
|
|
1992
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1993
|
+
fields?: string;
|
|
1994
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1995
|
+
key?: string;
|
|
1996
|
+
/** OAuth 2.0 token for the current user. */
|
|
1997
|
+
oauth_token?: string;
|
|
1998
|
+
/** Returns response with indentations and line breaks. */
|
|
1999
|
+
prettyPrint?: boolean;
|
|
2000
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2001
|
+
quotaUser?: string;
|
|
2002
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2003
|
+
upload_protocol?: string;
|
|
2004
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2005
|
+
uploadType?: string;
|
|
2006
|
+
},
|
|
2007
|
+
body: GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest): Request<GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse>;
|
|
2008
|
+
appAttestConfig: AppAttestConfigResource;
|
|
2009
|
+
debugTokens: DebugTokensResource;
|
|
2010
|
+
deviceCheckConfig: DeviceCheckConfigResource;
|
|
2011
|
+
playIntegrityConfig: PlayIntegrityConfigResource;
|
|
2012
|
+
recaptchaEnterpriseConfig: RecaptchaEnterpriseConfigResource;
|
|
2013
|
+
recaptchaV3Config: RecaptchaV3ConfigResource;
|
|
2014
|
+
safetyNetConfig: SafetyNetConfigResource;
|
|
2015
|
+
}
|
|
2016
|
+
interface ServicesResource {
|
|
2017
|
+
/** Atomically updates the specified Service configurations. */
|
|
2018
|
+
batchUpdate(request: {
|
|
2019
|
+
/** V1 error format. */
|
|
2020
|
+
"$.xgafv"?: string;
|
|
2021
|
+
/** OAuth access token. */
|
|
2022
|
+
access_token?: string;
|
|
2023
|
+
/** Data format for response. */
|
|
2024
|
+
alt?: string;
|
|
2025
|
+
/** JSONP */
|
|
2026
|
+
callback?: string;
|
|
2027
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2028
|
+
fields?: string;
|
|
2029
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2030
|
+
key?: string;
|
|
2031
|
+
/** OAuth 2.0 token for the current user. */
|
|
2032
|
+
oauth_token?: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Required. The parent project name shared by all Service configurations being updated, in the format ``` projects/{project_number} ``` The parent collection in the `name` field
|
|
2035
|
+
* of any resource being updated must match this field, or the entire batch fails.
|
|
2036
|
+
*/
|
|
2037
|
+
parent: string;
|
|
2038
|
+
/** Returns response with indentations and line breaks. */
|
|
2039
|
+
prettyPrint?: boolean;
|
|
2040
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2041
|
+
quotaUser?: string;
|
|
2042
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2043
|
+
upload_protocol?: string;
|
|
2044
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2045
|
+
uploadType?: string;
|
|
2046
|
+
/** Request body */
|
|
2047
|
+
resource: GoogleFirebaseAppcheckV1BatchUpdateServicesRequest;
|
|
2048
|
+
}): Request<GoogleFirebaseAppcheckV1BatchUpdateServicesResponse>;
|
|
2049
|
+
batchUpdate(request: {
|
|
2050
|
+
/** V1 error format. */
|
|
2051
|
+
"$.xgafv"?: string;
|
|
2052
|
+
/** OAuth access token. */
|
|
2053
|
+
access_token?: string;
|
|
2054
|
+
/** Data format for response. */
|
|
2055
|
+
alt?: string;
|
|
2056
|
+
/** JSONP */
|
|
2057
|
+
callback?: string;
|
|
2058
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2059
|
+
fields?: string;
|
|
2060
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2061
|
+
key?: string;
|
|
2062
|
+
/** OAuth 2.0 token for the current user. */
|
|
2063
|
+
oauth_token?: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* Required. The parent project name shared by all Service configurations being updated, in the format ``` projects/{project_number} ``` The parent collection in the `name` field
|
|
2066
|
+
* of any resource being updated must match this field, or the entire batch fails.
|
|
2067
|
+
*/
|
|
2068
|
+
parent: string;
|
|
2069
|
+
/** Returns response with indentations and line breaks. */
|
|
2070
|
+
prettyPrint?: boolean;
|
|
2071
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2072
|
+
quotaUser?: string;
|
|
2073
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2074
|
+
upload_protocol?: string;
|
|
2075
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2076
|
+
uploadType?: string;
|
|
2077
|
+
},
|
|
2078
|
+
body: GoogleFirebaseAppcheckV1BatchUpdateServicesRequest): Request<GoogleFirebaseAppcheckV1BatchUpdateServicesResponse>;
|
|
2079
|
+
/** Gets the Service configuration for the specified service name. */
|
|
2080
|
+
get(request?: {
|
|
2081
|
+
/** V1 error format. */
|
|
2082
|
+
"$.xgafv"?: string;
|
|
2083
|
+
/** OAuth access token. */
|
|
2084
|
+
access_token?: string;
|
|
2085
|
+
/** Data format for response. */
|
|
2086
|
+
alt?: string;
|
|
2087
|
+
/** JSONP */
|
|
2088
|
+
callback?: string;
|
|
2089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2090
|
+
fields?: string;
|
|
2091
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2092
|
+
key?: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must
|
|
2095
|
+
* be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
|
|
2096
|
+
* `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)
|
|
2097
|
+
*/
|
|
2098
|
+
name: string;
|
|
2099
|
+
/** OAuth 2.0 token for the current user. */
|
|
2100
|
+
oauth_token?: string;
|
|
2101
|
+
/** Returns response with indentations and line breaks. */
|
|
2102
|
+
prettyPrint?: boolean;
|
|
2103
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2104
|
+
quotaUser?: string;
|
|
2105
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2106
|
+
upload_protocol?: string;
|
|
2107
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2108
|
+
uploadType?: string;
|
|
2109
|
+
}): Request<GoogleFirebaseAppcheckV1Service>;
|
|
2110
|
+
/** Lists all Service configurations for the specified project. Only Services which were explicitly configured using UpdateService or BatchUpdateServices will be returned. */
|
|
2111
|
+
list(request?: {
|
|
2112
|
+
/** V1 error format. */
|
|
2113
|
+
"$.xgafv"?: string;
|
|
2114
|
+
/** OAuth access token. */
|
|
2115
|
+
access_token?: string;
|
|
2116
|
+
/** Data format for response. */
|
|
2117
|
+
alt?: string;
|
|
2118
|
+
/** JSONP */
|
|
2119
|
+
callback?: string;
|
|
2120
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2121
|
+
fields?: string;
|
|
2122
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2123
|
+
key?: string;
|
|
2124
|
+
/** OAuth 2.0 token for the current user. */
|
|
2125
|
+
oauth_token?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* The maximum number of Services to return in the response. Only explicitly configured services are returned. The server may return fewer than this at its own discretion. If no
|
|
2128
|
+
* value is specified (or too large a value is specified), the server will impose its own limit.
|
|
2129
|
+
*/
|
|
2130
|
+
pageSize?: number;
|
|
2131
|
+
/**
|
|
2132
|
+
* Token returned from a previous call to ListServices indicating where in the set of Services to resume listing. Provide this to retrieve the subsequent page. When paginating, all
|
|
2133
|
+
* other parameters provided to ListServices must match the call that provided the page token; if they do not match, the result is undefined.
|
|
2134
|
+
*/
|
|
2135
|
+
pageToken?: string;
|
|
2136
|
+
/** Required. The relative resource name of the parent project for which to list each associated Service, in the format: ``` projects/{project_number} ``` */
|
|
2137
|
+
parent: string;
|
|
2138
|
+
/** Returns response with indentations and line breaks. */
|
|
2139
|
+
prettyPrint?: boolean;
|
|
2140
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2141
|
+
quotaUser?: string;
|
|
2142
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2143
|
+
upload_protocol?: string;
|
|
2144
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2145
|
+
uploadType?: string;
|
|
2146
|
+
}): Request<GoogleFirebaseAppcheckV1ListServicesResponse>;
|
|
2147
|
+
/** Updates the specified Service configuration. */
|
|
2148
|
+
patch(request: {
|
|
2149
|
+
/** V1 error format. */
|
|
2150
|
+
"$.xgafv"?: string;
|
|
2151
|
+
/** OAuth access token. */
|
|
2152
|
+
access_token?: string;
|
|
2153
|
+
/** Data format for response. */
|
|
2154
|
+
alt?: string;
|
|
2155
|
+
/** JSONP */
|
|
2156
|
+
callback?: string;
|
|
2157
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2158
|
+
fields?: string;
|
|
2159
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2160
|
+
key?: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id`
|
|
2163
|
+
* element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
|
|
2164
|
+
* `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)
|
|
2165
|
+
*/
|
|
2166
|
+
name: string;
|
|
2167
|
+
/** OAuth 2.0 token for the current user. */
|
|
2168
|
+
oauth_token?: string;
|
|
2169
|
+
/** Returns response with indentations and line breaks. */
|
|
2170
|
+
prettyPrint?: boolean;
|
|
2171
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2172
|
+
quotaUser?: string;
|
|
2173
|
+
/** Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`. */
|
|
2174
|
+
updateMask?: string;
|
|
2175
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2176
|
+
upload_protocol?: string;
|
|
2177
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2178
|
+
uploadType?: string;
|
|
2179
|
+
/** Request body */
|
|
2180
|
+
resource: GoogleFirebaseAppcheckV1Service;
|
|
2181
|
+
}): Request<GoogleFirebaseAppcheckV1Service>;
|
|
2182
|
+
patch(request: {
|
|
2183
|
+
/** V1 error format. */
|
|
2184
|
+
"$.xgafv"?: string;
|
|
2185
|
+
/** OAuth access token. */
|
|
2186
|
+
access_token?: string;
|
|
2187
|
+
/** Data format for response. */
|
|
2188
|
+
alt?: string;
|
|
2189
|
+
/** JSONP */
|
|
2190
|
+
callback?: string;
|
|
2191
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2192
|
+
fields?: string;
|
|
2193
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2194
|
+
key?: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id`
|
|
2197
|
+
* element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
|
|
2198
|
+
* `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)
|
|
2199
|
+
*/
|
|
2200
|
+
name: string;
|
|
2201
|
+
/** OAuth 2.0 token for the current user. */
|
|
2202
|
+
oauth_token?: string;
|
|
2203
|
+
/** Returns response with indentations and line breaks. */
|
|
2204
|
+
prettyPrint?: boolean;
|
|
2205
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2206
|
+
quotaUser?: string;
|
|
2207
|
+
/** Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`. */
|
|
2208
|
+
updateMask?: string;
|
|
2209
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2210
|
+
upload_protocol?: string;
|
|
2211
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2212
|
+
uploadType?: string;
|
|
2213
|
+
},
|
|
2214
|
+
body: GoogleFirebaseAppcheckV1Service): Request<GoogleFirebaseAppcheckV1Service>;
|
|
2215
|
+
}
|
|
2216
|
+
interface ProjectsResource {
|
|
2217
|
+
apps: AppsResource;
|
|
2218
|
+
services: ServicesResource;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
const jwks: JwksResource;
|
|
2222
|
+
|
|
2223
|
+
const projects: ProjectsResource;
|
|
2224
|
+
}
|
|
2225
|
+
}
|