Skip to content

Commit 6b55e08

Browse files
yoshi-automationsofisl
authored andcommitted
feat(firebasedataconnect): update the API
#### firebasedataconnect:v1beta The following keys were added: - schemas.Impersonation.properties.includeDebugDetails.description - schemas.Impersonation.properties.includeDebugDetails.type The following keys were changed: - schemas.GraphqlErrorExtensions.properties.debugDetails.description #### firebasedataconnect:v1 The following keys were added: - schemas.Impersonation.properties.includeDebugDetails.description - schemas.Impersonation.properties.includeDebugDetails.type The following keys were changed: - schemas.GraphqlErrorExtensions.properties.debugDetails.description
1 parent f02c951 commit 6b55e08

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

discovery/firebasedataconnect-v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@
10761076
}
10771077
}
10781078
},
1079-
"revision": "20250604",
1079+
"revision": "20250706",
10801080
"rootUrl": "https://firebasedataconnect.googleapis.com/",
10811081
"schemas": {
10821082
"CancelOperationRequest": {
@@ -1346,7 +1346,7 @@
13461346
"type": "string"
13471347
},
13481348
"debugDetails": {
1349-
"description": "More detailed error message to assist debugging. In the backend, only include it in admin authenticated API like ExecuteGraphql. In the emulator, always include it to assist debugging.",
1349+
"description": "More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.",
13501350
"type": "string"
13511351
},
13521352
"file": {
@@ -1432,6 +1432,10 @@
14321432
"description": "Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {\"sub\": , \"email_verified\": true}",
14331433
"type": "object"
14341434
},
1435+
"includeDebugDetails": {
1436+
"description": "Optional. If set, include debug details in GraphQL error extensions.",
1437+
"type": "boolean"
1438+
},
14351439
"unauthenticated": {
14361440
"description": "Evaluate the auth policy as an unauthenticated request. Can only be set to true.",
14371441
"type": "boolean"

discovery/firebasedataconnect-v1beta.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@
10761076
}
10771077
}
10781078
},
1079-
"revision": "20250604",
1079+
"revision": "20250706",
10801080
"rootUrl": "https://firebasedataconnect.googleapis.com/",
10811081
"schemas": {
10821082
"CancelOperationRequest": {
@@ -1346,7 +1346,7 @@
13461346
"type": "string"
13471347
},
13481348
"debugDetails": {
1349-
"description": "More detailed error message to assist debugging. In the backend, only include it in admin authenticated API like ExecuteGraphql. In the emulator, always include it to assist debugging.",
1349+
"description": "More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.",
13501350
"type": "string"
13511351
},
13521352
"file": {
@@ -1432,6 +1432,10 @@
14321432
"description": "Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {\"sub\": , \"email_verified\": true}",
14331433
"type": "object"
14341434
},
1435+
"includeDebugDetails": {
1436+
"description": "Optional. If set, include debug details in GraphQL error extensions.",
1437+
"type": "boolean"
1438+
},
14351439
"unauthenticated": {
14361440
"description": "Evaluate the auth policy as an unauthenticated request. Can only be set to true.",
14371441
"type": "boolean"

src/apis/firebasedataconnect/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export namespace firebasedataconnect_v1 {
290290
*/
291291
code?: string | null;
292292
/**
293-
* More detailed error message to assist debugging. In the backend, only include it in admin authenticated API like ExecuteGraphql. In the emulator, always include it to assist debugging.
293+
* More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
294294
*/
295295
debugDetails?: string | null;
296296
/**
@@ -353,6 +353,10 @@ export namespace firebasedataconnect_v1 {
353353
* Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {"sub": , "email_verified": true\}
354354
*/
355355
authClaims?: {[key: string]: any} | null;
356+
/**
357+
* Optional. If set, include debug details in GraphQL error extensions.
358+
*/
359+
includeDebugDetails?: boolean | null;
356360
/**
357361
* Evaluate the auth policy as an unauthenticated request. Can only be set to true.
358362
*/

src/apis/firebasedataconnect/v1beta.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export namespace firebasedataconnect_v1beta {
290290
*/
291291
code?: string | null;
292292
/**
293-
* More detailed error message to assist debugging. In the backend, only include it in admin authenticated API like ExecuteGraphql. In the emulator, always include it to assist debugging.
293+
* More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
294294
*/
295295
debugDetails?: string | null;
296296
/**
@@ -353,6 +353,10 @@ export namespace firebasedataconnect_v1beta {
353353
* Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {"sub": , "email_verified": true\}
354354
*/
355355
authClaims?: {[key: string]: any} | null;
356+
/**
357+
* Optional. If set, include debug details in GraphQL error extensions.
358+
*/
359+
includeDebugDetails?: boolean | null;
356360
/**
357361
* Evaluate the auth policy as an unauthenticated request. Can only be set to true.
358362
*/

0 commit comments

Comments
 (0)