- Resource: StreamObject
- BackfillJob
- State
- Trigger
- SourceObjectIdentifier
- OracleObjectIdentifier
- MysqlObjectIdentifier
- PostgresqlObjectIdentifier
- SqlServerObjectIdentifier
- Methods
Resource: StreamObject
A specific stream object (e.g a specific DB table).
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "displayName": string, "errors": [ { object ( |
Fields | |
---|---|
name |
Output only. Identifier. The object resource's name. |
create |
Output only. The creation time of the object. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The last update time of the object. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
display |
Required. Display name. |
errors[] |
Output only. Active errors on the object. |
backfill |
The latest backfill job that was initiated for the stream object. |
source |
The object identifier in the data source. |
BackfillJob
Represents a backfill job on a specific stream object.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
Output only. Backfill job state. |
trigger |
Backfill job's triggering reason. |
last |
Output only. Backfill job's start time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
Output only. Backfill job's end time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
errors[] |
Output only. Errors which caused the backfill job to fail. |
State
State of the stream object's backfill job.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
NOT_STARTED |
Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill). |
PENDING |
Backfill job will start pending available resources. |
ACTIVE |
Backfill job is running. |
STOPPED |
Backfill job stopped (next job run will start from beginning). |
FAILED |
Backfill job failed (due to an error). |
COMPLETED |
Backfill completed successfully. |
UNSUPPORTED |
Backfill job failed since the table structure is currently unsupported for backfill. |
Trigger
Triggering reason for a backfill job.
Enums | |
---|---|
TRIGGER_UNSPECIFIED |
Default value. |
AUTOMATIC |
Object backfill job was triggered automatically according to the stream's backfill strategy. |
MANUAL |
Object backfill job was triggered manually using the dedicated API. |
SourceObjectIdentifier
Represents an identifier of an object in the data source.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field source_identifier . The identifier for an object in the data source. source_identifier can be only one of the following: |
|
oracle |
Oracle data source object identifier. |
mysql |
Mysql data source object identifier. |
postgresql |
PostgreSQL data source object identifier. |
sql |
SQLServer data source object identifier. |
OracleObjectIdentifier
Oracle data source object identifier.
JSON representation |
---|
{ "schema": string, "table": string } |
Fields | |
---|---|
schema |
Required. The schema name. |
table |
Required. The table name. |
MysqlObjectIdentifier
Mysql data source object identifier.
JSON representation |
---|
{ "database": string, "table": string } |
Fields | |
---|---|
database |
Required. The database name. |
table |
Required. The table name. |
PostgresqlObjectIdentifier
PostgreSQL data source object identifier.
JSON representation |
---|
{ "schema": string, "table": string } |
Fields | |
---|---|
schema |
Required. The schema name. |
table |
Required. The table name. |
SqlServerObjectIdentifier
SQLServer data source object identifier.
JSON representation |
---|
{ "schema": string, "table": string } |
Fields | |
---|---|
schema |
Required. The schema name. |
table |
Required. The table name. |
Methods |
|
---|---|
|
Use this method to get details about a stream object. |
|
Use this method to list the objects of a specific stream. |
|
Use this method to look up a stream object by its source object identifier. |
|
Use this method to start a backfill job for the specified stream object. |
|
Use this method to stop a backfill job for the specified stream object. |