google-apis-firebasedataconnect_v1 0.7.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/firebasedataconnect_v1/classes.rb +94 -13
- data/lib/google/apis/firebasedataconnect_v1/gem_version.rb +2 -2
- data/lib/google/apis/firebasedataconnect_v1/representations.rb +35 -1
- data/lib/google/apis/firebasedataconnect_v1/service.rb +124 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2399bf8183f1b81094983cbe6c06e587720162aa448452d3e426c45d2c4932b
|
|
4
|
+
data.tar.gz: abcdf2bc21749922166f9d2f87ec121ba90fd3e1a98de93f793671ca1cb51d08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47eb40b03935e582345357e5d8a0fb627d71c3097f6727eb8f72eedcbd0c747f0ba27b54f28f615edf564ba607a68516eac8eea3c8cf3f03ba9030a3ab400f59
|
|
7
|
+
data.tar.gz: 3421b52b68ece7f1fb8368e89d98edd82f29a019fb7325d36342d163442f5e88634f7bbc84fe471fa90274a14813095c1a7bb9b5e32820f8d1b79d078d3ba6ba
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.8.0 (2025-09-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250907
|
|
10
|
+
|
|
3
11
|
### v0.7.0 (2025-08-31)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250824
|
|
@@ -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 `
|
|
309
|
-
# list of `GraphqlError` in response body. - Upon query
|
|
310
|
-
# ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation
|
|
311
|
-
#
|
|
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`, `
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
#
|
|
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
|
-
#
|
|
384
|
-
#
|
|
385
|
-
# Corresponds to the JSON property `
|
|
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 :
|
|
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
|
-
@
|
|
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
|
|
|
@@ -494,6 +503,39 @@ module Google
|
|
|
494
503
|
end
|
|
495
504
|
end
|
|
496
505
|
|
|
506
|
+
# The Impersonate request to Firebase Data Connect.
|
|
507
|
+
class ImpersonateRequest
|
|
508
|
+
include Google::Apis::Core::Hashable
|
|
509
|
+
|
|
510
|
+
# GraphqlRequestExtensions contains additional information of `GraphqlRequest`.
|
|
511
|
+
# Corresponds to the JSON property `extensions`
|
|
512
|
+
# @return [Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions]
|
|
513
|
+
attr_accessor :extensions
|
|
514
|
+
|
|
515
|
+
# Required. The name of the GraphQL operation name. Required because all
|
|
516
|
+
# Connector operations must be named. See https://graphql.org/learn/queries/#
|
|
517
|
+
# operation-name.
|
|
518
|
+
# Corresponds to the JSON property `operationName`
|
|
519
|
+
# @return [String]
|
|
520
|
+
attr_accessor :operation_name
|
|
521
|
+
|
|
522
|
+
# Optional. Values for GraphQL variables provided in this request.
|
|
523
|
+
# Corresponds to the JSON property `variables`
|
|
524
|
+
# @return [Hash<String,Object>]
|
|
525
|
+
attr_accessor :variables
|
|
526
|
+
|
|
527
|
+
def initialize(**args)
|
|
528
|
+
update!(**args)
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# Update properties of this object
|
|
532
|
+
def update!(**args)
|
|
533
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
|
534
|
+
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
|
535
|
+
@variables = args[:variables] if args.key?(:variables)
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
|
|
497
539
|
# Impersonation configures the Firebase Auth context to impersonate.
|
|
498
540
|
class Impersonation
|
|
499
541
|
include Google::Apis::Core::Hashable
|
|
@@ -605,6 +647,13 @@ module Google
|
|
|
605
647
|
# @return [Array<Google::Apis::FirebasedataconnectV1::Operation>]
|
|
606
648
|
attr_accessor :operations
|
|
607
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
|
+
|
|
608
657
|
def initialize(**args)
|
|
609
658
|
update!(**args)
|
|
610
659
|
end
|
|
@@ -613,6 +662,7 @@ module Google
|
|
|
613
662
|
def update!(**args)
|
|
614
663
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
615
664
|
@operations = args[:operations] if args.key?(:operations)
|
|
665
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
616
666
|
end
|
|
617
667
|
end
|
|
618
668
|
|
|
@@ -1162,6 +1212,37 @@ module Google
|
|
|
1162
1212
|
@message = args[:message] if args.key?(:message)
|
|
1163
1213
|
end
|
|
1164
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
|
|
1165
1246
|
end
|
|
1166
1247
|
end
|
|
1167
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.
|
|
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 = "
|
|
25
|
+
REVISION = "20251021"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -112,6 +112,12 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
class ImpersonateRequest
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
115
121
|
class Impersonation
|
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
123
|
|
|
@@ -202,6 +208,12 @@ module Google
|
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
209
|
end
|
|
204
210
|
|
|
211
|
+
class Workaround
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
205
217
|
class CancelOperationRequest
|
|
206
218
|
# @private
|
|
207
219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -306,7 +318,9 @@ module Google
|
|
|
306
318
|
property :code, as: 'code'
|
|
307
319
|
property :debug_details, as: 'debugDetails'
|
|
308
320
|
property :file, as: 'file'
|
|
309
|
-
property :
|
|
321
|
+
property :warning_level, as: 'warningLevel'
|
|
322
|
+
collection :workarounds, as: 'workarounds', class: Google::Apis::FirebasedataconnectV1::Workaround, decorator: Google::Apis::FirebasedataconnectV1::Workaround::Representation
|
|
323
|
+
|
|
310
324
|
end
|
|
311
325
|
end
|
|
312
326
|
|
|
@@ -338,6 +352,16 @@ module Google
|
|
|
338
352
|
end
|
|
339
353
|
end
|
|
340
354
|
|
|
355
|
+
class ImpersonateRequest
|
|
356
|
+
# @private
|
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
358
|
+
property :extensions, as: 'extensions', class: Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions, decorator: Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions::Representation
|
|
359
|
+
|
|
360
|
+
property :operation_name, as: 'operationName'
|
|
361
|
+
hash :variables, as: 'variables'
|
|
362
|
+
end
|
|
363
|
+
end
|
|
364
|
+
|
|
341
365
|
class Impersonation
|
|
342
366
|
# @private
|
|
343
367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -372,6 +396,7 @@ module Google
|
|
|
372
396
|
property :next_page_token, as: 'nextPageToken'
|
|
373
397
|
collection :operations, as: 'operations', class: Google::Apis::FirebasedataconnectV1::Operation, decorator: Google::Apis::FirebasedataconnectV1::Operation::Representation
|
|
374
398
|
|
|
399
|
+
collection :unreachable, as: 'unreachable'
|
|
375
400
|
end
|
|
376
401
|
end
|
|
377
402
|
|
|
@@ -502,6 +527,15 @@ module Google
|
|
|
502
527
|
property :message, as: 'message'
|
|
503
528
|
end
|
|
504
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
|
|
505
539
|
end
|
|
506
540
|
end
|
|
507
541
|
end
|
|
@@ -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)
|
|
@@ -493,6 +501,45 @@ module Google
|
|
|
493
501
|
execute_or_queue_command(command, &block)
|
|
494
502
|
end
|
|
495
503
|
|
|
504
|
+
# Execute introspection query against the Firebase Data Connect's generated
|
|
505
|
+
# GraphQL schema. GraphQL introspection query provides metadata such as what
|
|
506
|
+
# tables the schema have, what queries and mutations can be performed on the
|
|
507
|
+
# schema, and so on. Read more at https://graphql.org/learn/introspection.
|
|
508
|
+
# IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL
|
|
509
|
+
# instance, which can be done via ExecuteGraphqlRead.
|
|
510
|
+
# @param [String] name
|
|
511
|
+
# Required. The relative resource name of Firebase Data Connect service, in the
|
|
512
|
+
# format: ``` projects/`project`/locations/`location`/services/`service` ```
|
|
513
|
+
# @param [Google::Apis::FirebasedataconnectV1::GraphqlRequest] graphql_request_object
|
|
514
|
+
# @param [String] fields
|
|
515
|
+
# Selector specifying which fields to include in a partial response.
|
|
516
|
+
# @param [String] quota_user
|
|
517
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
518
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
519
|
+
# @param [Google::Apis::RequestOptions] options
|
|
520
|
+
# Request-specific options
|
|
521
|
+
#
|
|
522
|
+
# @yield [result, err] Result & error if block supplied
|
|
523
|
+
# @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
|
|
524
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
525
|
+
#
|
|
526
|
+
# @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
|
|
527
|
+
#
|
|
528
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
529
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
530
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
531
|
+
def introspect_project_location_service_graphql(name, graphql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
532
|
+
command = make_simple_command(:post, 'v1/{+name}:introspectGraphql', options)
|
|
533
|
+
command.request_representation = Google::Apis::FirebasedataconnectV1::GraphqlRequest::Representation
|
|
534
|
+
command.request_object = graphql_request_object
|
|
535
|
+
command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
|
|
536
|
+
command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
|
|
537
|
+
command.params['name'] = name unless name.nil?
|
|
538
|
+
command.query['fields'] = fields unless fields.nil?
|
|
539
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
540
|
+
execute_or_queue_command(command, &block)
|
|
541
|
+
end
|
|
542
|
+
|
|
496
543
|
# Lists Services in a given project and location.
|
|
497
544
|
# @param [String] parent
|
|
498
545
|
# Required. Value of parent.
|
|
@@ -819,6 +866,82 @@ module Google
|
|
|
819
866
|
execute_or_queue_command(command, &block)
|
|
820
867
|
end
|
|
821
868
|
|
|
869
|
+
# Impersonate a mutation defined on a Firebase Data Connect connector. It grants
|
|
870
|
+
# the admin SDK access to mutations defined in the given connector. The caller
|
|
871
|
+
# can choose to impersonate a particular Firebase Auth user, or skip @auth
|
|
872
|
+
# completely.
|
|
873
|
+
# @param [String] name
|
|
874
|
+
# Required. The resource name of the connector to find the predefined query/
|
|
875
|
+
# mutation, in the format: ``` projects/`project`/locations/`location`/services/`
|
|
876
|
+
# service`/connectors/`connector` ```
|
|
877
|
+
# @param [Google::Apis::FirebasedataconnectV1::ImpersonateRequest] impersonate_request_object
|
|
878
|
+
# @param [String] fields
|
|
879
|
+
# Selector specifying which fields to include in a partial response.
|
|
880
|
+
# @param [String] quota_user
|
|
881
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
882
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
883
|
+
# @param [Google::Apis::RequestOptions] options
|
|
884
|
+
# Request-specific options
|
|
885
|
+
#
|
|
886
|
+
# @yield [result, err] Result & error if block supplied
|
|
887
|
+
# @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
|
|
888
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
889
|
+
#
|
|
890
|
+
# @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
|
|
891
|
+
#
|
|
892
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
893
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
894
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
895
|
+
def impersonate_project_location_service_connector_mutation(name, impersonate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
896
|
+
command = make_simple_command(:post, 'v1/{+name}:impersonateMutation', options)
|
|
897
|
+
command.request_representation = Google::Apis::FirebasedataconnectV1::ImpersonateRequest::Representation
|
|
898
|
+
command.request_object = impersonate_request_object
|
|
899
|
+
command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
|
|
900
|
+
command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
|
|
901
|
+
command.params['name'] = name unless name.nil?
|
|
902
|
+
command.query['fields'] = fields unless fields.nil?
|
|
903
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
904
|
+
execute_or_queue_command(command, &block)
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# Impersonate a query defined on a Firebase Data Connect connector. It grants
|
|
908
|
+
# the admin SDK access to queries defined in the given connector. The caller can
|
|
909
|
+
# choose to impersonate a particular Firebase Auth user, or skip @auth
|
|
910
|
+
# completely.
|
|
911
|
+
# @param [String] name
|
|
912
|
+
# Required. The resource name of the connector to find the predefined query/
|
|
913
|
+
# mutation, in the format: ``` projects/`project`/locations/`location`/services/`
|
|
914
|
+
# service`/connectors/`connector` ```
|
|
915
|
+
# @param [Google::Apis::FirebasedataconnectV1::ImpersonateRequest] impersonate_request_object
|
|
916
|
+
# @param [String] fields
|
|
917
|
+
# Selector specifying which fields to include in a partial response.
|
|
918
|
+
# @param [String] quota_user
|
|
919
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
920
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
921
|
+
# @param [Google::Apis::RequestOptions] options
|
|
922
|
+
# Request-specific options
|
|
923
|
+
#
|
|
924
|
+
# @yield [result, err] Result & error if block supplied
|
|
925
|
+
# @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
|
|
926
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
927
|
+
#
|
|
928
|
+
# @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
|
|
929
|
+
#
|
|
930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
933
|
+
def impersonate_project_location_service_connector_query(name, impersonate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
934
|
+
command = make_simple_command(:post, 'v1/{+name}:impersonateQuery', options)
|
|
935
|
+
command.request_representation = Google::Apis::FirebasedataconnectV1::ImpersonateRequest::Representation
|
|
936
|
+
command.request_object = impersonate_request_object
|
|
937
|
+
command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
|
|
938
|
+
command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
|
|
939
|
+
command.params['name'] = name unless name.nil?
|
|
940
|
+
command.query['fields'] = fields unless fields.nil?
|
|
941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
942
|
+
execute_or_queue_command(command, &block)
|
|
943
|
+
end
|
|
944
|
+
|
|
822
945
|
# Lists Connectors in a given project and location.
|
|
823
946
|
# @param [String] parent
|
|
824
947
|
# Required. Value of parent.
|
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.
|
|
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.
|
|
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:
|