# Datastream V1 API - Class Google::Cloud::Datastream::V1::BackfillJob (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::BackfillJob.

Represents a backfill job on a specific stream object.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #errors

    def errors() -> ::Array<::Google::Cloud::Datastream::V1::Error>

**Returns**

- (::Array\<[::Google::Cloud::Datastream::V1::Error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-Error)\>) --- Output only. Errors which caused the backfill job to fail.

### #last_end_time

    def last_end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Backfill job's end time.

### #last_start_time

    def last_start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Backfill job's start time.

### #state

    def state() -> ::Google::Cloud::Datastream::V1::BackfillJob::State

**Returns**

- ([::Google::Cloud::Datastream::V1::BackfillJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BackfillJob-State)) --- Output only. Backfill job state.

### #trigger

    def trigger() -> ::Google::Cloud::Datastream::V1::BackfillJob::Trigger

**Returns**

- ([::Google::Cloud::Datastream::V1::BackfillJob::Trigger](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BackfillJob-Trigger)) --- Backfill job's triggering reason.

### #trigger=

    def trigger=(value) -> ::Google::Cloud::Datastream::V1::BackfillJob::Trigger

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BackfillJob::Trigger](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BackfillJob-Trigger)) --- Backfill job's triggering reason.
**Returns**

- ([::Google::Cloud::Datastream::V1::BackfillJob::Trigger](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BackfillJob-Trigger)) --- Backfill job's triggering reason.