Class BackfillJob (1.7.0)

BackfillJob(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a backfill job on a specific stream object.

Attributes

NameDescription
state google.cloud.datastream_v1.types.BackfillJob.State
Backfill job state.
trigger google.cloud.datastream_v1.types.BackfillJob.Trigger
Backfill job's triggering reason.
last_start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Backfill job's start time.
last_end_time google.protobuf.timestamp_pb2.Timestamp
Output only. Backfill job's end time.
errors MutableSequence[google.cloud.datastream_v1.types.Error]
Output only. Errors which caused the backfill job to fail.

Classes

State

State(value)

State of the stream object's backfill job.

Values: STATE_UNSPECIFIED (0): Default value. NOT_STARTED (1): 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 (2): Backfill job will start pending available resources. ACTIVE (3): Backfill job is running. STOPPED (4): Backfill job stopped (next job run will start from beginning). FAILED (5): Backfill job failed (due to an error). COMPLETED (6): Backfill completed successfully. UNSUPPORTED (7): Backfill job failed since the table structure is currently unsupported for backfill.

Trigger

Trigger(value)

Triggering reason for a backfill job.

Values: TRIGGER_UNSPECIFIED (0): Default value. AUTOMATIC (1): Object backfill job was triggered automatically according to the stream's backfill strategy. MANUAL (2): Object backfill job was triggered manually using the dedicated API.