google-apis-firebasedataconnect_v1 0.8.0 → 0.9.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df72e8a3ff5a9a0521093bbb16f68c5a0c91c59895a812aab2fef5eda909b3bb
4
- data.tar.gz: ac92e34f5c7355de601f8bc8628440b6f527f2e70932731bb2e1984e3805ba09
3
+ metadata.gz: f2399bf8183f1b81094983cbe6c06e587720162aa448452d3e426c45d2c4932b
4
+ data.tar.gz: abcdf2bc21749922166f9d2f87ec121ba90fd3e1a98de93f793671ca1cb51d08
5
5
  SHA512:
6
- metadata.gz: 88393c29bd8bfa149cc94e3a970dba2f4846b0acdf3c05a46268b3a0d307a89c8841404dcbfa73cfaf4f2592ba3727e5207b3056703524eb86fce32ab81b6af3
7
- data.tar.gz: c72da8128b7cffea1c8288f8235fa4ab67bd21a2a89405a255be0f3356ab1660e1c832b2f54c4b325d1bc6602e89439d20b24abad951d03b021bbb82d8558c6b
6
+ metadata.gz: 47eb40b03935e582345357e5d8a0fb627d71c3097f6727eb8f72eedcbd0c747f0ba27b54f28f615edf564ba607a68516eac8eea3c8cf3f03ba9030a3ab400f59
7
+ data.tar.gz: 3421b52b68ece7f1fb8368e89d98edd82f29a019fb7325d36342d163442f5e88634f7bbc84fe471fa90274a14813095c1a7bb9b5e32820f8d1b79d078d3ba6ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebasedataconnect_v1
2
2
 
3
+ ### v0.9.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251021
6
+
3
7
  ### v0.8.0 (2025-09-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20250907
@@ -305,10 +305,12 @@ module Google
305
305
  # draft/#sec-Errors Firebase Data Connect API surfaces `GraphqlError` in various
306
306
  # APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.
307
307
  # 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.
312
314
  class GraphqlError
313
315
  include Google::Apis::Core::Hashable
314
316
 
@@ -319,10 +321,11 @@ module Google
319
321
 
320
322
  # The source locations where the error occurred. Locations should help
321
323
  # 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.
326
329
  # Corresponds to the JSON property `locations`
327
330
  # @return [Array<Google::Apis::FirebasedataconnectV1::SourceLocation>]
328
331
  attr_accessor :locations
@@ -380,11 +383,16 @@ module Google
380
383
  # @return [String]
381
384
  attr_accessor :file
382
385
 
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`
386
389
  # @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
388
396
 
389
397
  def initialize(**args)
390
398
  update!(**args)
@@ -395,7 +403,8 @@ module Google
395
403
  @code = args[:code] if args.key?(:code)
396
404
  @debug_details = args[:debug_details] if args.key?(:debug_details)
397
405
  @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)
399
408
  end
400
409
  end
401
410
 
@@ -638,6 +647,13 @@ module Google
638
647
  # @return [Array<Google::Apis::FirebasedataconnectV1::Operation>]
639
648
  attr_accessor :operations
640
649
 
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
+
641
657
  def initialize(**args)
642
658
  update!(**args)
643
659
  end
@@ -646,6 +662,7 @@ module Google
646
662
  def update!(**args)
647
663
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
648
664
  @operations = args[:operations] if args.key?(:operations)
665
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
649
666
  end
650
667
  end
651
668
 
@@ -1195,6 +1212,37 @@ module Google
1195
1212
  @message = args[:message] if args.key?(:message)
1196
1213
  end
1197
1214
  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
1198
1246
  end
1199
1247
  end
1200
1248
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebasedataconnectV1
18
18
  # Version of the google-apis-firebasedataconnect_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250907"
25
+ REVISION = "20251021"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class Workaround
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class CancelOperationRequest
212
218
  # @private
213
219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -312,7 +318,9 @@ module Google
312
318
  property :code, as: 'code'
313
319
  property :debug_details, as: 'debugDetails'
314
320
  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
+
316
324
  end
317
325
  end
318
326
 
@@ -388,6 +396,7 @@ module Google
388
396
  property :next_page_token, as: 'nextPageToken'
389
397
  collection :operations, as: 'operations', class: Google::Apis::FirebasedataconnectV1::Operation, decorator: Google::Apis::FirebasedataconnectV1::Operation::Representation
390
398
 
399
+ collection :unreachable, as: 'unreachable'
391
400
  end
392
401
  end
393
402
 
@@ -518,6 +527,15 @@ module Google
518
527
  property :message, as: 'message'
519
528
  end
520
529
  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
521
539
  end
522
540
  end
523
541
  end
@@ -88,8 +88,8 @@ module Google
88
88
  # @param [String] name
89
89
  # The resource that owns the locations collection, if applicable.
90
90
  # @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.
93
93
  # @param [String] filter
94
94
  # A filter to narrow down results to a preferred subset. The filtering language
95
95
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -245,6 +245,13 @@ module Google
245
245
  # The standard list page size.
246
246
  # @param [String] page_token
247
247
  # 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.
248
255
  # @param [String] fields
249
256
  # Selector specifying which fields to include in a partial response.
250
257
  # @param [String] quota_user
@@ -262,7 +269,7 @@ module Google
262
269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
271
  # @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)
266
273
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
267
274
  command.response_representation = Google::Apis::FirebasedataconnectV1::ListOperationsResponse::Representation
268
275
  command.response_class = Google::Apis::FirebasedataconnectV1::ListOperationsResponse
@@ -270,6 +277,7 @@ module Google
270
277
  command.query['filter'] = filter unless filter.nil?
271
278
  command.query['pageSize'] = page_size unless page_size.nil?
272
279
  command.query['pageToken'] = page_token unless page_token.nil?
280
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
273
281
  command.query['fields'] = fields unless fields.nil?
274
282
  command.query['quotaUser'] = quota_user unless quota_user.nil?
275
283
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebasedataconnect_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasedataconnect_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1/v0.8.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1/v0.9.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasedataconnect_v1
62
62
  rdoc_options: []
63
63
  require_paths: