Skip to content

Commit b80baab

Browse files
feat: Automated regeneration of firebasedataconnect v1 client (googleapis#23691)
Auto-created at 2025-07-13 10:21:28 +0000 using the toys pull request generator.
1 parent 1e0e7bf commit b80baab

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240746,6 +240746,7 @@
240746240746
"/firebasedataconnect:v1/Impersonation": impersonation
240747240747
"/firebasedataconnect:v1/Impersonation/authClaims": auth_claims
240748240748
"/firebasedataconnect:v1/Impersonation/authClaims/auth_claim": auth_claim
240749+
"/firebasedataconnect:v1/Impersonation/includeDebugDetails": include_debug_details
240749240750
"/firebasedataconnect:v1/Impersonation/unauthenticated": unauthenticated
240750240751
"/firebasedataconnect:v1/ListConnectorsResponse": list_connectors_response
240751240752
"/firebasedataconnect:v1/ListConnectorsResponse/connectors": connectors

generated/google-apis-firebasedataconnect_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firebasedataconnect_v1
22

3+
### v0.4.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250706
6+
37
### v0.3.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250604

generated/google-apis-firebasedataconnect_v1/lib/google/apis/firebasedataconnect_v1/classes.rb

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,13 @@ class GraphqlErrorExtensions
363363
# @return [String]
364364
attr_accessor :code
365365

366-
# More detailed error message to assist debugging. In the backend, only include
367-
# it in admin authenticated API like ExecuteGraphql. In the emulator, always
368-
# include it to assist debugging.
366+
# More detailed error message to assist debugging. It contains application
367+
# business logic that are inappropriate to leak publicly. In the emulator, Data
368+
# Connect API always includes it to assist local development and debugging. In
369+
# the backend, ConnectorService always hides it. GraphqlService without
370+
# impersonation always include it. GraphqlService with impersonation includes it
371+
# only if explicitly opted-in with `include_debug_details` in `
372+
# GraphqlRequestExtensions`.
369373
# Corresponds to the JSON property `debugDetails`
370374
# @return [String]
371375
attr_accessor :debug_details
@@ -502,6 +506,12 @@ class Impersonation
502506
# @return [Hash<String,Object>]
503507
attr_accessor :auth_claims
504508

509+
# Optional. If set, include debug details in GraphQL error extensions.
510+
# Corresponds to the JSON property `includeDebugDetails`
511+
# @return [Boolean]
512+
attr_accessor :include_debug_details
513+
alias_method :include_debug_details?, :include_debug_details
514+
505515
# Evaluate the auth policy as an unauthenticated request. Can only be set to
506516
# true.
507517
# Corresponds to the JSON property `unauthenticated`
@@ -516,6 +526,7 @@ def initialize(**args)
516526
# Update properties of this object
517527
def update!(**args)
518528
@auth_claims = args[:auth_claims] if args.key?(:auth_claims)
529+
@include_debug_details = args[:include_debug_details] if args.key?(:include_debug_details)
519530
@unauthenticated = args[:unauthenticated] if args.key?(:unauthenticated)
520531
end
521532
end

generated/google-apis-firebasedataconnect_v1/lib/google/apis/firebasedataconnect_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasedataconnectV1
1818
# Version of the google-apis-firebasedataconnect_v1 gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250604"
25+
REVISION = "20250706"
2626
end
2727
end
2828
end

generated/google-apis-firebasedataconnect_v1/lib/google/apis/firebasedataconnect_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ class Impersonation
342342
# @private
343343
class Representation < Google::Apis::Core::JsonRepresentation
344344
hash :auth_claims, as: 'authClaims'
345+
property :include_debug_details, as: 'includeDebugDetails'
345346
property :unauthenticated, as: 'unauthenticated'
346347
end
347348
end

0 commit comments

Comments
 (0)