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:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1006

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:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1006

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:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1006

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

Returns Backfill job state.

Returns:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1006

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:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1006

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