Class: Google::Cloud::Datastream::V1alpha1::Stream
- Inherits:
-
Object
- Object
- Google::Cloud::Datastream::V1alpha1::Stream
- 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
-
#backfill_all ⇒ ::Google::Cloud::Datastream::V1alpha1::Stream::BackfillAllStrategy
Automatically backfill objects included in the stream source configuration.
-
#backfill_none ⇒ ::Google::Cloud::Datastream::V1alpha1::Stream::BackfillNoneStrategy
Do not automatically backfill any objects.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#destination_config ⇒ ::Google::Cloud::Datastream::V1alpha1::DestinationConfig
Required.
-
#display_name ⇒ ::String
Required.
-
#errors ⇒ ::Array<::Google::Cloud::Datastream::V1alpha1::Error>
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels.
-
#name ⇒ ::String
readonly
Output only.
-
#source_config ⇒ ::Google::Cloud::Datastream::V1alpha1::SourceConfig
Required.
-
#state ⇒ ::Google::Cloud::Datastream::V1alpha1::Stream::State
The state of the stream.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
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.
Note: The following fields are mutually exclusive: backfill_all, backfill_none. If a field in that set is populated, all other fields in the set will automatically be cleared.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
Note: The following fields are mutually exclusive: backfill_none, backfill_all. If a field in that set is populated, all other fields in the set will automatically be cleared.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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.
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 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 617 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. # # Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] mysql_excluded_objects # @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms] # MySQL data source objects to avoid backfilling. # # Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared. 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 |