- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- EventFilter
- Examples
- Try it!
Use this method to start a backfill job for the specified stream object.
HTTP request
POST https://datastream.googleapis.com/v1/{object}:startBackfillJob
Path parameters
| Parameters | |
|---|---|
object |
Required. The name of the stream object resource to start a backfill job for. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"eventFilter": {
object ( |
| Fields | |
|---|---|
eventFilter |
Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL Server sources. |
Response body
Response for manually initiating a backfill job for a specific stream object.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"object": {
object ( |
| Fields | |
|---|---|
object |
The stream object resource a backfill job was started for. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the object resource:
datastream.objects.startBackfillJob
For more information, see the IAM documentation.
EventFilter
Represents a filter for included data on a stream object.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field filter. A filter type. filter can be only one of the following: |
|
sqlWhereClause |
An SQL-query Where clause selecting which data should be included, not including the "WHERE" keyword. E.g., "t.key1 = 'value1' AND t.key2 = 'value2'". |