Skip to content

Commit 1079865

Browse files
feat: Automated regeneration of firebasedataconnect v1 client (#24715)
Auto-created at 2025-10-26 09:39:47 +0000 using the toys pull request generator.
1 parent 740d451 commit 1079865

File tree

6 files changed

+107
-19
lines changed

6 files changed

+107
-19
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253551,6 +253551,9 @@
253551253551
"/firebasedataconnect:v1/GraphqlErrorExtensions/debugDetails": debug_details
253552253552
"/firebasedataconnect:v1/GraphqlErrorExtensions/file": file
253553253553
"/firebasedataconnect:v1/GraphqlErrorExtensions/resource": resource
253554+
"/firebasedataconnect:v1/GraphqlErrorExtensions/warningLevel": warning_level
253555+
"/firebasedataconnect:v1/GraphqlErrorExtensions/workarounds": workarounds
253556+
"/firebasedataconnect:v1/GraphqlErrorExtensions/workarounds/workaround": workaround
253554253557
"/firebasedataconnect:v1/GraphqlRequest": graphql_request
253555253558
"/firebasedataconnect:v1/GraphqlRequest/extensions": extensions
253556253559
"/firebasedataconnect:v1/GraphqlRequest/operationName": operation_name
@@ -253588,6 +253591,8 @@
253588253591
"/firebasedataconnect:v1/ListOperationsResponse/nextPageToken": next_page_token
253589253592
"/firebasedataconnect:v1/ListOperationsResponse/operations": operations
253590253593
"/firebasedataconnect:v1/ListOperationsResponse/operations/operation": operation
253594+
"/firebasedataconnect:v1/ListOperationsResponse/unreachable": unreachable
253595+
"/firebasedataconnect:v1/ListOperationsResponse/unreachable/unreachable": unreachable
253591253596
"/firebasedataconnect:v1/ListSchemasResponse": list_schemas_response
253592253597
"/firebasedataconnect:v1/ListSchemasResponse/nextPageToken": next_page_token
253593253598
"/firebasedataconnect:v1/ListSchemasResponse/schemas": schemas
@@ -253670,6 +253675,10 @@
253670253675
"/firebasedataconnect:v1/Status/details/detail": detail
253671253676
"/firebasedataconnect:v1/Status/details/detail/detail": detail
253672253677
"/firebasedataconnect:v1/Status/message": message
253678+
"/firebasedataconnect:v1/Workaround": workaround
253679+
"/firebasedataconnect:v1/Workaround/description": description
253680+
"/firebasedataconnect:v1/Workaround/reason": reason
253681+
"/firebasedataconnect:v1/Workaround/replace": replace
253673253682
"/firebasedataconnect:v1/fields": fields
253674253683
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.get": get_project_location
253675253684
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.get/name": name
@@ -253690,6 +253699,7 @@
253690253699
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/name": name
253691253700
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/pageSize": page_size
253692253701
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/pageToken": page_token
253702+
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/returnPartialSuccess": return_partial_success
253693253703
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create": create_project_location_service_connector
253694253704
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create/connectorId": connector_id
253695253705
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create/parent": parent

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.9.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251021
6+
37
### v0.8.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250907

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

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,12 @@ def update!(**args)
305305
# draft/#sec-Errors Firebase Data Connect API surfaces `GraphqlError` in various
306306
# APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.
307307
# Invalid_Argument with a list of `GraphqlError` in error details. - Upon query
308-
# compile error, `ExecuteGraphql` and `ExecuteGraphqlRead` return Code.OK with a
309-
# list of `GraphqlError` in response body. - Upon query execution error, `
310-
# ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation` and `ExecuteQuery`
311-
# all return Code.OK with a list of `GraphqlError` in response body.
308+
# compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql`
309+
# return Code.OK with a list of `GraphqlError` in response body. - Upon query
310+
# execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `
311+
# ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `
312+
# ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in
313+
# response body.
312314
class GraphqlError
313315
include Google::Apis::Core::Hashable
314316

@@ -319,10 +321,11 @@ class GraphqlError
319321

320322
# The source locations where the error occurred. Locations should help
321323
# developers and toolings identify the source of error quickly. Included in
322-
# admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `UpdateSchema` and `
323-
# UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `
324-
# ExecuteMutation` and `ExecuteQuery` since the caller shouldn't have access
325-
# access the underlying GQL source.
324+
# admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `
325+
# ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`)
326+
# to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation`
327+
# and `ExecuteQuery` since the caller shouldn't have access access the
328+
# underlying GQL source.
326329
# Corresponds to the JSON property `locations`
327330
# @return [Array<Google::Apis::FirebasedataconnectV1::SourceLocation>]
328331
attr_accessor :locations
@@ -380,11 +383,16 @@ class GraphqlErrorExtensions
380383
# @return [String]
381384
attr_accessor :file
382385

383-
# Distinguish which schema or connector the error originates from. It should be
384-
# set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).
385-
# Corresponds to the JSON property `resource`
386+
# Warning level describes the severity and required action to suppress this
387+
# warning when Firebase CLI run into it.
388+
# Corresponds to the JSON property `warningLevel`
386389
# @return [String]
387-
attr_accessor :resource
390+
attr_accessor :warning_level
391+
392+
# Workarounds provide suggestions to address the compile errors or warnings.
393+
# Corresponds to the JSON property `workarounds`
394+
# @return [Array<Google::Apis::FirebasedataconnectV1::Workaround>]
395+
attr_accessor :workarounds
388396

389397
def initialize(**args)
390398
update!(**args)
@@ -395,7 +403,8 @@ def update!(**args)
395403
@code = args[:code] if args.key?(:code)
396404
@debug_details = args[:debug_details] if args.key?(:debug_details)
397405
@file = args[:file] if args.key?(:file)
398-
@resource = args[:resource] if args.key?(:resource)
406+
@warning_level = args[:warning_level] if args.key?(:warning_level)
407+
@workarounds = args[:workarounds] if args.key?(:workarounds)
399408
end
400409
end
401410

@@ -638,6 +647,13 @@ class ListOperationsResponse
638647
# @return [Array<Google::Apis::FirebasedataconnectV1::Operation>]
639648
attr_accessor :operations
640649

650+
# Unordered list. Unreachable resources. Populated when the request sets `
651+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
652+
# when attempting to list all resources across all supported locations.
653+
# Corresponds to the JSON property `unreachable`
654+
# @return [Array<String>]
655+
attr_accessor :unreachable
656+
641657
def initialize(**args)
642658
update!(**args)
643659
end
@@ -646,6 +662,7 @@ def initialize(**args)
646662
def update!(**args)
647663
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
648664
@operations = args[:operations] if args.key?(:operations)
665+
@unreachable = args[:unreachable] if args.key?(:unreachable)
649666
end
650667
end
651668

@@ -1195,6 +1212,37 @@ def update!(**args)
11951212
@message = args[:message] if args.key?(:message)
11961213
end
11971214
end
1215+
1216+
# Workaround provides suggestions to address errors and warnings.
1217+
class Workaround
1218+
include Google::Apis::Core::Hashable
1219+
1220+
# Description of this workaround.
1221+
# Corresponds to the JSON property `description`
1222+
# @return [String]
1223+
attr_accessor :description
1224+
1225+
# Why would this workaround address the error and warning.
1226+
# Corresponds to the JSON property `reason`
1227+
# @return [String]
1228+
attr_accessor :reason
1229+
1230+
# A suggested code snippet to fix the error and warning.
1231+
# Corresponds to the JSON property `replace`
1232+
# @return [String]
1233+
attr_accessor :replace
1234+
1235+
def initialize(**args)
1236+
update!(**args)
1237+
end
1238+
1239+
# Update properties of this object
1240+
def update!(**args)
1241+
@description = args[:description] if args.key?(:description)
1242+
@reason = args[:reason] if args.key?(:reason)
1243+
@replace = args[:replace] if args.key?(:replace)
1244+
end
1245+
end
11981246
end
11991247
end
12001248
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.8.0"
19+
GEM_VERSION = "0.9.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 = "20250907"
25+
REVISION = "20251021"
2626
end
2727
end
2828
end

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
208208
include Google::Apis::Core::JsonObjectSupport
209209
end
210210

211+
class Workaround
212+
class Representation < Google::Apis::Core::JsonRepresentation; end
213+
214+
include Google::Apis::Core::JsonObjectSupport
215+
end
216+
211217
class CancelOperationRequest
212218
# @private
213219
class Representation < Google::Apis::Core::JsonRepresentation
@@ -312,7 +318,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
312318
property :code, as: 'code'
313319
property :debug_details, as: 'debugDetails'
314320
property :file, as: 'file'
315-
property :resource, as: 'resource'
321+
property :warning_level, as: 'warningLevel'
322+
collection :workarounds, as: 'workarounds', class: Google::Apis::FirebasedataconnectV1::Workaround, decorator: Google::Apis::FirebasedataconnectV1::Workaround::Representation
323+
316324
end
317325
end
318326

@@ -388,6 +396,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
388396
property :next_page_token, as: 'nextPageToken'
389397
collection :operations, as: 'operations', class: Google::Apis::FirebasedataconnectV1::Operation, decorator: Google::Apis::FirebasedataconnectV1::Operation::Representation
390398

399+
collection :unreachable, as: 'unreachable'
391400
end
392401
end
393402

@@ -518,6 +527,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
518527
property :message, as: 'message'
519528
end
520529
end
530+
531+
class Workaround
532+
# @private
533+
class Representation < Google::Apis::Core::JsonRepresentation
534+
property :description, as: 'description'
535+
property :reason, as: 'reason'
536+
property :replace, as: 'replace'
537+
end
538+
end
521539
end
522540
end
523541
end

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8888
# @param [String] name
8989
# The resource that owns the locations collection, if applicable.
9090
# @param [Array<String>, String] extra_location_types
91-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
92-
# field which is primarily intended for internal usage.
91+
# Optional. Do not use this field. It is unsupported and is ignored unless
92+
# explicitly documented otherwise. This is primarily for internal usage.
9393
# @param [String] filter
9494
# A filter to narrow down results to a preferred subset. The filtering language
9595
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -245,6 +245,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
245245
# The standard list page size.
246246
# @param [String] page_token
247247
# The standard list page token.
248+
# @param [Boolean] return_partial_success
249+
# When set to `true`, operations that are reachable are returned as normal, and
250+
# those that are unreachable are returned in the [ListOperationsResponse.
251+
# unreachable] field. This can only be `true` when reading across collections e.
252+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
253+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
254+
# explicitly documented otherwise in service or product specific documentation.
248255
# @param [String] fields
249256
# Selector specifying which fields to include in a partial response.
250257
# @param [String] quota_user
@@ -262,14 +269,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
262269
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263270
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264271
# @raise [Google::Apis::AuthorizationError] Authorization is required
265-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
272+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
266273
command = make_simple_command(:get, 'v1/{+name}/operations', options)
267274
command.response_representation = Google::Apis::FirebasedataconnectV1::ListOperationsResponse::Representation
268275
command.response_class = Google::Apis::FirebasedataconnectV1::ListOperationsResponse
269276
command.params['name'] = name unless name.nil?
270277
command.query['filter'] = filter unless filter.nil?
271278
command.query['pageSize'] = page_size unless page_size.nil?
272279
command.query['pageToken'] = page_token unless page_token.nil?
280+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
273281
command.query['fields'] = fields unless fields.nil?
274282
command.query['quotaUser'] = quota_user unless quota_user.nil?
275283
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)