google-apis-firebasedataconnect_v1 0.6.0 → 0.8.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: ce4b4e3da9598cd159c13edac1c59ead2491760012e5a609f3d38a44a96b4b0b
4
- data.tar.gz: 440f72b5ded7c6bcf306eb6e6e4a027f29d79c8fff13e6bf7d9c71019d7b6096
3
+ metadata.gz: df72e8a3ff5a9a0521093bbb16f68c5a0c91c59895a812aab2fef5eda909b3bb
4
+ data.tar.gz: ac92e34f5c7355de601f8bc8628440b6f527f2e70932731bb2e1984e3805ba09
5
5
  SHA512:
6
- metadata.gz: 1d4f13ebf6ae2b21fd156c0a59a4dff62749fb79d7e6c4c0708b791f5ab4e61db04d66eba7b1bf7ad4c61d870e2c8dd02b92e2bed8703de5a42f6cd98cd4b498
7
- data.tar.gz: 8d40636e95a3aa2820a4601c23f7a5705511d3697bcede269d8a362347164cfbba5d286c469ae2522a3c944ba8f7e8975cd1e6e3f399588aec6356c709e856b4
6
+ metadata.gz: 88393c29bd8bfa149cc94e3a970dba2f4846b0acdf3c05a46268b3a0d307a89c8841404dcbfa73cfaf4f2592ba3727e5207b3056703524eb86fce32ab81b6af3
7
+ data.tar.gz: c72da8128b7cffea1c8288f8235fa4ab67bd21a2a89405a255be0f3356ab1660e1c832b2f54c4b325d1bc6602e89439d20b24abad951d03b021bbb82d8558c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebasedataconnect_v1
2
2
 
3
+ ### v0.8.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250907
6
+
7
+ ### v0.7.0 (2025-08-31)
8
+
9
+ * Regenerated from discovery document revision 20250824
10
+
3
11
  ### v0.6.0 (2025-08-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20250810
@@ -494,6 +494,39 @@ module Google
494
494
  end
495
495
  end
496
496
 
497
+ # The Impersonate request to Firebase Data Connect.
498
+ class ImpersonateRequest
499
+ include Google::Apis::Core::Hashable
500
+
501
+ # GraphqlRequestExtensions contains additional information of `GraphqlRequest`.
502
+ # Corresponds to the JSON property `extensions`
503
+ # @return [Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions]
504
+ attr_accessor :extensions
505
+
506
+ # Required. The name of the GraphQL operation name. Required because all
507
+ # Connector operations must be named. See https://graphql.org/learn/queries/#
508
+ # operation-name.
509
+ # Corresponds to the JSON property `operationName`
510
+ # @return [String]
511
+ attr_accessor :operation_name
512
+
513
+ # Optional. Values for GraphQL variables provided in this request.
514
+ # Corresponds to the JSON property `variables`
515
+ # @return [Hash<String,Object>]
516
+ attr_accessor :variables
517
+
518
+ def initialize(**args)
519
+ update!(**args)
520
+ end
521
+
522
+ # Update properties of this object
523
+ def update!(**args)
524
+ @extensions = args[:extensions] if args.key?(:extensions)
525
+ @operation_name = args[:operation_name] if args.key?(:operation_name)
526
+ @variables = args[:variables] if args.key?(:variables)
527
+ end
528
+ end
529
+
497
530
  # Impersonation configures the Firebase Auth context to impersonate.
498
531
  class Impersonation
499
532
  include Google::Apis::Core::Hashable
@@ -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.6.0"
19
+ GEM_VERSION = "0.8.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 = "20250810"
25
+ REVISION = "20250907"
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
 
@@ -338,6 +344,16 @@ module Google
338
344
  end
339
345
  end
340
346
 
347
+ class ImpersonateRequest
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :extensions, as: 'extensions', class: Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions, decorator: Google::Apis::FirebasedataconnectV1::GraphqlRequestExtensions::Representation
351
+
352
+ property :operation_name, as: 'operationName'
353
+ hash :variables, as: 'variables'
354
+ end
355
+ end
356
+
341
357
  class Impersonation
342
358
  # @private
343
359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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. A list of extra location types that should be used as conditions for
92
- # controlling the visibility of the locations.
91
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
92
+ # field which is primarily intended 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
@@ -493,6 +493,45 @@ module Google
493
493
  execute_or_queue_command(command, &block)
494
494
  end
495
495
 
496
+ # Execute introspection query against the Firebase Data Connect's generated
497
+ # GraphQL schema. GraphQL introspection query provides metadata such as what
498
+ # tables the schema have, what queries and mutations can be performed on the
499
+ # schema, and so on. Read more at https://graphql.org/learn/introspection.
500
+ # IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL
501
+ # instance, which can be done via ExecuteGraphqlRead.
502
+ # @param [String] name
503
+ # Required. The relative resource name of Firebase Data Connect service, in the
504
+ # format: ``` projects/`project`/locations/`location`/services/`service` ```
505
+ # @param [Google::Apis::FirebasedataconnectV1::GraphqlRequest] graphql_request_object
506
+ # @param [String] fields
507
+ # Selector specifying which fields to include in a partial response.
508
+ # @param [String] quota_user
509
+ # Available to use for quota purposes for server-side applications. Can be any
510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
511
+ # @param [Google::Apis::RequestOptions] options
512
+ # Request-specific options
513
+ #
514
+ # @yield [result, err] Result & error if block supplied
515
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
516
+ # @yieldparam err [StandardError] error object if request failed
517
+ #
518
+ # @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
519
+ #
520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
523
+ def introspect_project_location_service_graphql(name, graphql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
524
+ command = make_simple_command(:post, 'v1/{+name}:introspectGraphql', options)
525
+ command.request_representation = Google::Apis::FirebasedataconnectV1::GraphqlRequest::Representation
526
+ command.request_object = graphql_request_object
527
+ command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
528
+ command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
529
+ command.params['name'] = name unless name.nil?
530
+ command.query['fields'] = fields unless fields.nil?
531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
532
+ execute_or_queue_command(command, &block)
533
+ end
534
+
496
535
  # Lists Services in a given project and location.
497
536
  # @param [String] parent
498
537
  # Required. Value of parent.
@@ -819,6 +858,82 @@ module Google
819
858
  execute_or_queue_command(command, &block)
820
859
  end
821
860
 
861
+ # Impersonate a mutation defined on a Firebase Data Connect connector. It grants
862
+ # the admin SDK access to mutations defined in the given connector. The caller
863
+ # can choose to impersonate a particular Firebase Auth user, or skip @auth
864
+ # completely.
865
+ # @param [String] name
866
+ # Required. The resource name of the connector to find the predefined query/
867
+ # mutation, in the format: ``` projects/`project`/locations/`location`/services/`
868
+ # service`/connectors/`connector` ```
869
+ # @param [Google::Apis::FirebasedataconnectV1::ImpersonateRequest] impersonate_request_object
870
+ # @param [String] fields
871
+ # Selector specifying which fields to include in a partial response.
872
+ # @param [String] quota_user
873
+ # Available to use for quota purposes for server-side applications. Can be any
874
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
875
+ # @param [Google::Apis::RequestOptions] options
876
+ # Request-specific options
877
+ #
878
+ # @yield [result, err] Result & error if block supplied
879
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
880
+ # @yieldparam err [StandardError] error object if request failed
881
+ #
882
+ # @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
883
+ #
884
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
885
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
886
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
887
+ def impersonate_project_location_service_connector_mutation(name, impersonate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
888
+ command = make_simple_command(:post, 'v1/{+name}:impersonateMutation', options)
889
+ command.request_representation = Google::Apis::FirebasedataconnectV1::ImpersonateRequest::Representation
890
+ command.request_object = impersonate_request_object
891
+ command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
892
+ command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
893
+ command.params['name'] = name unless name.nil?
894
+ command.query['fields'] = fields unless fields.nil?
895
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
896
+ execute_or_queue_command(command, &block)
897
+ end
898
+
899
+ # Impersonate a query defined on a Firebase Data Connect connector. It grants
900
+ # the admin SDK access to queries defined in the given connector. The caller can
901
+ # choose to impersonate a particular Firebase Auth user, or skip @auth
902
+ # completely.
903
+ # @param [String] name
904
+ # Required. The resource name of the connector to find the predefined query/
905
+ # mutation, in the format: ``` projects/`project`/locations/`location`/services/`
906
+ # service`/connectors/`connector` ```
907
+ # @param [Google::Apis::FirebasedataconnectV1::ImpersonateRequest] impersonate_request_object
908
+ # @param [String] fields
909
+ # Selector specifying which fields to include in a partial response.
910
+ # @param [String] quota_user
911
+ # Available to use for quota purposes for server-side applications. Can be any
912
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
913
+ # @param [Google::Apis::RequestOptions] options
914
+ # Request-specific options
915
+ #
916
+ # @yield [result, err] Result & error if block supplied
917
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1::GraphqlResponse] parsed result object
918
+ # @yieldparam err [StandardError] error object if request failed
919
+ #
920
+ # @return [Google::Apis::FirebasedataconnectV1::GraphqlResponse]
921
+ #
922
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
923
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
924
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
925
+ def impersonate_project_location_service_connector_query(name, impersonate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
926
+ command = make_simple_command(:post, 'v1/{+name}:impersonateQuery', options)
927
+ command.request_representation = Google::Apis::FirebasedataconnectV1::ImpersonateRequest::Representation
928
+ command.request_object = impersonate_request_object
929
+ command.response_representation = Google::Apis::FirebasedataconnectV1::GraphqlResponse::Representation
930
+ command.response_class = Google::Apis::FirebasedataconnectV1::GraphqlResponse
931
+ command.params['name'] = name unless name.nil?
932
+ command.query['fields'] = fields unless fields.nil?
933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
934
+ execute_or_queue_command(command, &block)
935
+ end
936
+
822
937
  # Lists Connectors in a given project and location.
823
938
  # @param [String] parent
824
939
  # 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.6.0
4
+ version: 0.8.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.6.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1/v0.8.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: