Class: Google::Cloud::Datastream::V1alpha1::Stream

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

Defined Under Namespace

Modules: State Classes: BackfillAllStrategy, BackfillNoneStrategy, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#backfill_all::Google::Cloud::Datastream::V1alpha1::Stream::BackfillAllStrategy

Returns Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#backfill_none::Google::Cloud::Datastream::V1alpha1::Stream::BackfillNoneStrategy

Returns Do not automatically backfill any objects.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

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

Returns Output only. The creation time of the stream.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#destination_config::Google::Cloud::Datastream::V1alpha1::DestinationConfig

Returns Required. Destination connection profile configuration.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#display_name::String

Returns Required. Display name.

Returns:

  • (::String)

    Required. Display name.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

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

Returns Output only. Errors on the Stream.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#name::String (readonly)

Returns Output only. The stream’s name.

Returns:

  • (::String)

    Output only. The stream’s name.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#source_config::Google::Cloud::Datastream::V1alpha1::SourceConfig

Returns Required. Source connection profile configuration.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

#state::Google::Cloud::Datastream::V1alpha1::Stream::State

Returns The state of the stream.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end

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

Returns Output only. The last update time of the stream.

Returns:



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 587

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

  # Backfill strategy to automatically backfill the Stream's objects.
  # Specific objects can be excluded.
  # @!attribute [rw] oracle_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  # @!attribute [rw] mysql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  class BackfillAllStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backfill strategy to disable automatic backfill for the Stream's objects.
  class BackfillNoneStrategy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Stream state.
  module State
    # Unspecified stream state.
    STATE_UNSPECIFIED = 0

    # The stream has been created.
    CREATED = 1

    # The stream is running.
    RUNNING = 2

    # The stream is paused.
    PAUSED = 3

    # The stream is in maintenance mode.
    #
    # Updates are rejected on the resource in this state.
    MAINTENANCE = 4

    # The stream is experiencing an error that is preventing data from being
    # streamed.
    FAILED = 5

    # The stream has experienced a terminal failure.
    FAILED_PERMANENTLY = 6

    # The stream is starting, but not yet running.
    STARTING = 7

    # The Stream is no longer reading new events, but still writing events in
    # the buffer.
    DRAINING = 8
  end
end