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:



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1914

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:



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1914

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:



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1914

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:



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1914

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:



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1914

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