Class: Google::Cloud::Datastream::V1::BackfillJob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

Represents a backfill job on a specific stream object.

Defined Under Namespace

Modules: State, Trigger

Instance Attribute Summary collapse

Instance Attribute Details

#errors::Array<::Google::Cloud::Datastream::V1::Error> (readonly)

Returns Output only. Errors which caused the backfill job to fail.

Returns:



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1305

class BackfillJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State of the stream object's backfill job.
  module State
    # Default value.
    STATE_UNSPECIFIED = 0

    # Backfill job was never started for the stream object (stream has backfill
    # strategy defined as manual or object was explicitly excluded from
    # automatic backfill).
    NOT_STARTED = 1

    # Backfill job will start pending available resources.
    PENDING = 2

    # Backfill job is running.
    ACTIVE = 3

    # Backfill job stopped (next job run will start from beginning).
    STOPPED = 4

    # Backfill job failed (due to an error).
    FAILED = 5

    # Backfill completed successfully.
    COMPLETED = 6

    # Backfill job failed since the table structure is currently unsupported
    # for backfill.
    UNSUPPORTED = 7
  end

  # Triggering reason for a backfill job.
  module Trigger
    # Default value.
    TRIGGER_UNSPECIFIED = 0

    # Object backfill job was triggered automatically according to the stream's
    # backfill strategy.
    AUTOMATIC = 1

    # Object backfill job was triggered manually using the dedicated API.
    MANUAL = 2
  end
end

#last_end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Backfill job's end time.

Returns:



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1305

class BackfillJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State of the stream object's backfill job.
  module State
    # Default value.
    STATE_UNSPECIFIED = 0

    # Backfill job was never started for the stream object (stream has backfill
    # strategy defined as manual or object was explicitly excluded from
    # automatic backfill).
    NOT_STARTED = 1

    # Backfill job will start pending available resources.
    PENDING = 2

    # Backfill job is running.
    ACTIVE = 3

    # Backfill job stopped (next job run will start from beginning).
    STOPPED = 4

    # Backfill job failed (due to an error).
    FAILED = 5

    # Backfill completed successfully.
    COMPLETED = 6

    # Backfill job failed since the table structure is currently unsupported
    # for backfill.
    UNSUPPORTED = 7
  end

  # Triggering reason for a backfill job.
  module Trigger
    # Default value.
    TRIGGER_UNSPECIFIED = 0

    # Object backfill job was triggered automatically according to the stream's
    # backfill strategy.
    AUTOMATIC = 1

    # Object backfill job was triggered manually using the dedicated API.
    MANUAL = 2
  end
end

#last_start_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Backfill job's start time.

Returns:



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1305

class BackfillJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State of the stream object's backfill job.
  module State
    # Default value.
    STATE_UNSPECIFIED = 0

    # Backfill job was never started for the stream object (stream has backfill
    # strategy defined as manual or object was explicitly excluded from
    # automatic backfill).
    NOT_STARTED = 1

    # Backfill job will start pending available resources.
    PENDING = 2

    # Backfill job is running.
    ACTIVE = 3

    # Backfill job stopped (next job run will start from beginning).
    STOPPED = 4

    # Backfill job failed (due to an error).
    FAILED = 5

    # Backfill completed successfully.
    COMPLETED = 6

    # Backfill job failed since the table structure is currently unsupported
    # for backfill.
    UNSUPPORTED = 7
  end

  # Triggering reason for a backfill job.
  module Trigger
    # Default value.
    TRIGGER_UNSPECIFIED = 0

    # Object backfill job was triggered automatically according to the stream's
    # backfill strategy.
    AUTOMATIC = 1

    # Object backfill job was triggered manually using the dedicated API.
    MANUAL = 2
  end
end

#state::Google::Cloud::Datastream::V1::BackfillJob::State (readonly)

Returns Output only. Backfill job state.

Returns:



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1305

class BackfillJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State of the stream object's backfill job.
  module State
    # Default value.
    STATE_UNSPECIFIED = 0

    # Backfill job was never started for the stream object (stream has backfill
    # strategy defined as manual or object was explicitly excluded from
    # automatic backfill).
    NOT_STARTED = 1

    # Backfill job will start pending available resources.
    PENDING = 2

    # Backfill job is running.
    ACTIVE = 3

    # Backfill job stopped (next job run will start from beginning).
    STOPPED = 4

    # Backfill job failed (due to an error).
    FAILED = 5

    # Backfill completed successfully.
    COMPLETED = 6

    # Backfill job failed since the table structure is currently unsupported
    # for backfill.
    UNSUPPORTED = 7
  end

  # Triggering reason for a backfill job.
  module Trigger
    # Default value.
    TRIGGER_UNSPECIFIED = 0

    # Object backfill job was triggered automatically according to the stream's
    # backfill strategy.
    AUTOMATIC = 1

    # Object backfill job was triggered manually using the dedicated API.
    MANUAL = 2
  end
end

#trigger::Google::Cloud::Datastream::V1::BackfillJob::Trigger

Returns Backfill job's triggering reason.

Returns:



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1305

class BackfillJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State of the stream object's backfill job.
  module State
    # Default value.
    STATE_UNSPECIFIED = 0

    # Backfill job was never started for the stream object (stream has backfill
    # strategy defined as manual or object was explicitly excluded from
    # automatic backfill).
    NOT_STARTED = 1

    # Backfill job will start pending available resources.
    PENDING = 2

    # Backfill job is running.
    ACTIVE = 3

    # Backfill job stopped (next job run will start from beginning).
    STOPPED = 4

    # Backfill job failed (due to an error).
    FAILED = 5

    # Backfill completed successfully.
    COMPLETED = 6

    # Backfill job failed since the table structure is currently unsupported
    # for backfill.
    UNSUPPORTED = 7
  end

  # Triggering reason for a backfill job.
  module Trigger
    # Default value.
    TRIGGER_UNSPECIFIED = 0

    # Object backfill job was triggered automatically according to the stream's
    # backfill strategy.
    AUTOMATIC = 1

    # Object backfill job was triggered manually using the dedicated API.
    MANUAL = 2
  end
end