@maxim_mazurok/gapi.client.firebaseappcheck-v1 0.0.20240923 → 0.0.20241007
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 +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241007
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -35,7 +35,7 @@ declare namespace gapi.client {
|
|
|
35
35
|
tokenTtl?: string;
|
|
36
36
|
}
|
|
37
37
|
interface GoogleFirebaseAppcheckV1AppCheckToken {
|
|
38
|
-
/** The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and
|
|
38
|
+
/** The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries. */
|
|
39
39
|
token?: string;
|
|
40
40
|
/** 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 able to accurately measure a duration. */
|
|
41
41
|
ttl?: string;
|
|
@@ -253,7 +253,7 @@ declare namespace gapi.client {
|
|
|
253
253
|
etag?: string;
|
|
254
254
|
/** Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID. */
|
|
255
255
|
name?: string;
|
|
256
|
-
/** Required. Service specific name of the resource object to which this policy applies, in the format: * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}`
|
|
256
|
+
/** Required. Service specific name of the resource object to which this policy applies, in the format: * **iOS OAuth clients** (Google Identity for iOS): `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created. */
|
|
257
257
|
targetResource?: string;
|
|
258
258
|
/** Output only. Timestamp when this resource policy configuration object was most recently updated. */
|
|
259
259
|
updateTime?: string;
|
|
@@ -267,7 +267,7 @@ declare namespace gapi.client {
|
|
|
267
267
|
interface GoogleFirebaseAppcheckV1Service {
|
|
268
268
|
/** Required. The App Check enforcement mode for this service. */
|
|
269
269
|
enforcementMode?: string;
|
|
270
|
-
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) */
|
|
270
|
+
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
|
|
271
271
|
name?: string;
|
|
272
272
|
}
|
|
273
273
|
interface GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest {
|
|
@@ -277,7 +277,7 @@ declare namespace gapi.client {
|
|
|
277
277
|
updateMask?: string;
|
|
278
278
|
}
|
|
279
279
|
interface GoogleFirebaseAppcheckV1UpdateServiceRequest {
|
|
280
|
-
/** 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} ``` 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 Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) */
|
|
280
|
+
/** 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} ``` 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 Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
|
|
281
281
|
service?: GoogleFirebaseAppcheckV1Service;
|
|
282
282
|
/** Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`. */
|
|
283
283
|
updateMask?: string;
|
|
@@ -2462,7 +2462,7 @@ declare namespace gapi.client {
|
|
|
2462
2462
|
fields?: string;
|
|
2463
2463
|
/** 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. */
|
|
2464
2464
|
key?: string;
|
|
2465
|
-
/** 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 be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) */
|
|
2465
|
+
/** 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 be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
|
|
2466
2466
|
name: string;
|
|
2467
2467
|
/** OAuth 2.0 token for the current user. */
|
|
2468
2468
|
oauth_token?: string;
|
|
@@ -2520,7 +2520,7 @@ declare namespace gapi.client {
|
|
|
2520
2520
|
fields?: string;
|
|
2521
2521
|
/** 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. */
|
|
2522
2522
|
key?: string;
|
|
2523
|
-
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) */
|
|
2523
|
+
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
|
|
2524
2524
|
name: string;
|
|
2525
2525
|
/** OAuth 2.0 token for the current user. */
|
|
2526
2526
|
oauth_token?: string;
|
|
@@ -2551,7 +2551,7 @@ declare namespace gapi.client {
|
|
|
2551
2551
|
fields?: string;
|
|
2552
2552
|
/** 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. */
|
|
2553
2553
|
key?: string;
|
|
2554
|
-
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) */
|
|
2554
|
+
/** 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 must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS) */
|
|
2555
2555
|
name: string;
|
|
2556
2556
|
/** OAuth 2.0 token for the current user. */
|
|
2557
2557
|
oauth_token?: string;
|