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:



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1680

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:



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1680

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:



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1680

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:



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1680

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:



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1680

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