@@ -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. Do not use this field. It is unsupported and is ignored unless
92- # explicitly documented otherwise. This is primarily for internal usage.
91+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
92+ # field which is primarily intended 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
@@ -493,6 +493,45 @@ def get_project_location_service(name, fields: nil, quota_user: nil, options: ni
493493 execute_or_queue_command ( command , &block )
494494 end
495495
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::FirebasedataconnectV1beta::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::FirebasedataconnectV1beta::GraphqlResponse] parsed result object
516+ # @yieldparam err [StandardError] error object if request failed
517+ #
518+ # @return [Google::Apis::FirebasedataconnectV1beta::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 , 'v1beta/{+name}:introspectGraphql' , options )
525+ command . request_representation = Google ::Apis ::FirebasedataconnectV1beta ::GraphqlRequest ::Representation
526+ command . request_object = graphql_request_object
527+ command . response_representation = Google ::Apis ::FirebasedataconnectV1beta ::GraphqlResponse ::Representation
528+ command . response_class = Google ::Apis ::FirebasedataconnectV1beta ::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+
496535 # Lists Services in a given project and location.
497536 # @param [String] parent
498537 # Required. Value of parent.
@@ -819,6 +858,82 @@ def get_project_location_service_connector(name, fields: nil, quota_user: nil, o
819858 execute_or_queue_command ( command , &block )
820859 end
821860
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::FirebasedataconnectV1beta::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::FirebasedataconnectV1beta::GraphqlResponse] parsed result object
880+ # @yieldparam err [StandardError] error object if request failed
881+ #
882+ # @return [Google::Apis::FirebasedataconnectV1beta::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 , 'v1beta/{+name}:impersonateMutation' , options )
889+ command . request_representation = Google ::Apis ::FirebasedataconnectV1beta ::ImpersonateRequest ::Representation
890+ command . request_object = impersonate_request_object
891+ command . response_representation = Google ::Apis ::FirebasedataconnectV1beta ::GraphqlResponse ::Representation
892+ command . response_class = Google ::Apis ::FirebasedataconnectV1beta ::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::FirebasedataconnectV1beta::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::FirebasedataconnectV1beta::GraphqlResponse] parsed result object
918+ # @yieldparam err [StandardError] error object if request failed
919+ #
920+ # @return [Google::Apis::FirebasedataconnectV1beta::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 , 'v1beta/{+name}:impersonateQuery' , options )
927+ command . request_representation = Google ::Apis ::FirebasedataconnectV1beta ::ImpersonateRequest ::Representation
928+ command . request_object = impersonate_request_object
929+ command . response_representation = Google ::Apis ::FirebasedataconnectV1beta ::GraphqlResponse ::Representation
930+ command . response_class = Google ::Apis ::FirebasedataconnectV1beta ::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+
822937 # Lists Connectors in a given project and location.
823938 # @param [String] parent
824939 # Required. Value of parent.
0 commit comments