Execute a predefined query in a Connector.
HTTP request
POST https://firebasedataconnect.googleapis.com/v1/{name=projects/*/locations/*/services/*/connectors/*}:executeQuery
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the connector to find the predefined query, in the format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "operationName": string, "variables": { object } } |
| Fields | |
|---|---|
operationName |
Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name. |
variables |
Optional. Values for GraphQL variables provided in this request. |
Response body
The connectors.executeQuery response from Firebase SQL Connect.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "data": { object }, "errors": [ { object ( |
| Fields | |
|---|---|
data |
The result of executing the requested operation. |
errors[] |
Errors of this response. |
extensions |
Additional response information. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.