# Datastream API

- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.connectionProfiles](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.connectionProfiles)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.privateConnections](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.privateConnections)
- [REST Resource: v1.projects.locations.privateConnections.routes](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.privateConnections.routes)
- [REST Resource: v1.projects.locations.streams](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.streams)
- [REST Resource: v1.projects.locations.streams.objects](https://docs.cloud.google.com/datastream/docs/reference/rest#v1.projects.locations.streams.objects)

## Service: datastream.googleapis.com

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

- <https://datastream.googleapis.com/$discovery/rest?version=v1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://datastream.googleapis.com`

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations/fetchStaticIps` | `GET /v1/{name}:fetchStaticIps` The FetchStaticIps API call exposes the static IP addresses used by Datastream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name}` Gets information about a location. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1.projects.locations.connectionProfiles](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/create` | `POST /v1/{parent}/connectionProfiles` Use this method to create a connection profile in a project and location. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/delete` | `DELETE /v1/{name}` Use this method to delete a connection profile. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/discover` | `POST /v1/{parent}/connectionProfiles:discover` Use this method to discover a connection profile. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/get` | `GET /v1/{name}` Use this method to get details about a connection profile. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/list` | `GET /v1/{parent}/connectionProfiles` Use this method to list connection profiles created in a project and location. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.connectionProfiles/patch` | `PATCH /v1/{connectionProfile.name}` Use this method to update the parameters of a connection profile. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.privateConnections](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections/create` | `POST /v1/{parent}/privateConnections` Use this method to create a private connectivity configuration. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections/delete` | `DELETE /v1/{name}` Use this method to delete a private connectivity configuration. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections/get` | `GET /v1/{name}` Use this method to get details about a private connectivity configuration. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections/list` | `GET /v1/{parent}/privateConnections` Use this method to list private connectivity configurations in a project and location. |

## REST Resource: [v1.projects.locations.privateConnections.routes](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections.routes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections.routes/create` | `POST /v1/{parent}/routes` Use this method to create a route for a private connectivity configuration in a project and location. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections.routes/delete` | `DELETE /v1/{name}` Use this method to delete a route. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections.routes/get` | `GET /v1/{name}` Use this method to get details about a route. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections.routes/list` | `GET /v1/{parent}/routes` Use this method to list routes created for a private connectivity configuration in a project and location. |

## REST Resource: [v1.projects.locations.streams](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/create` | `POST /v1/{parent}/streams` Use this method to create a stream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/delete` | `DELETE /v1/{name}` Use this method to delete a stream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/get` | `GET /v1/{name}` Use this method to get details about a stream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/list` | `GET /v1/{parent}/streams` Use this method to list streams in a project and location. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/patch` | `PATCH /v1/{stream.name}` Use this method to update the configuration of a stream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams/run` | `POST /v1/{name}:run` Use this method to start, resume or recover a stream with a non default CDC strategy. |

## REST Resource: [v1.projects.locations.streams.objects](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects/get` | `GET /v1/{name}` Use this method to get details about a stream object. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects/list` | `GET /v1/{parent}/objects` Use this method to list the objects of a specific stream. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects/lookup` | `POST /v1/{parent}/objects:lookup` Use this method to look up a stream object by its source object identifier. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects/startBackfillJob` | `POST /v1/{object}:startBackfillJob` Use this method to start a backfill job for the specified stream object. |
| `https://docs.cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.streams.objects/stopBackfillJob` | `POST /v1/{object}:stopBackfillJob` Use this method to stop a backfill job for the specified stream object. |