FirebaseDataConnect
import { FirebaseDataConnect } from "https://googleapis.deno.dev/v1/firebasedataconnect:v1.ts";
Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. The REST API lets developers manage the connections to their database, change the schema of their database, and query the database.
§Methods
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1
, corresponding
to Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Creates a new Connector in a given project and location. The operations are validated against and must be compatible with the active schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.
Required. Value for parent.
Deletes a single Connector.
Required. The name of the connector to delete, in the format: projects/{project}/locations/{location}/services/{service}/connectors/{connector}
Execute a predefined mutation in a Connector.
Required. The resource name of the connector to find the predefined mutation, in the format: projects/{project}/locations/{location}/services/{service}/connectors/{connector}
Execute a predefined query in a Connector.
Required. The resource name of the connector to find the predefined query, in the format: projects/{project}/locations/{location}/services/{service}/connectors/{connector}
Lists Connectors in a given project and location.
Required. Value of parent.
Updates the parameters of a single Connector, and creates a new ConnectorRevision with the updated Connector. The operations are validated against and must be compatible with the live schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.
Identifier. The relative resource name of the connector, in the format: projects/{project}/locations/{location}/services/{service}/connectors/{connector}
Creates a new Service in a given project and location.
Required. Value of parent.
Deletes a single Service.
Required. The name of the service to delete, in the format: projects/{project}/locations/{location}/services/{service}
Execute any GraphQL query and mutation against the Firebase Data Connect's generated GraphQL schema. Grants full read and write access to the connected data sources. Note: Use introspection query to explore the generated GraphQL schema.
Required. The relative resource name of Firebase Data Connect service, in the format: projects/{project}/locations/{location}/services/{service}
Execute any GraphQL query against the Firebase Data Connect's generated
GraphQL schema. Grants full read to the connected data sources.
ExecuteGraphqlRead
is identical to ExecuteGraphql
except it only
accepts read-only query.
Required. The relative resource name of Firebase Data Connect service, in the format: projects/{project}/locations/{location}/services/{service}
Lists Services in a given project and location.
Required. Value of parent.
Updates the parameters of a single Service.
Identifier. The relative resource name of the Firebase Data Connect service, in the format: projects/{project}/locations/{location}/services/{service}
Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.
Creates a new Schema in a given project and location. Only creation of
schemas/main
is supported and calling create with any other schema ID
will result in an error.
Required. Value for parent.
Deletes a single Schema. Because the schema and connectors must be compatible at all times, if this is called while any connectors are active, this will result in an error.
Required. The name of the schema to delete, in the format: projects/{project}/locations/{location}/services/{service}/schemas/{schema}
Lists Schemas in a given project and location. Note that only
schemas/main
is supported, so this will always return at most one Schema.
Required. Value of parent.
Updates the parameters of a single Schema, and creates a new SchemaRevision with the updated Schema.
Identifier. The relative resource name of the schema, in the format: projects/{project}/locations/{location}/services/{service}/schemas/{schema}
Right now, the only supported schema is "main".