Class: Google::Cloud::Datastream::V1::Stream

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

A resource representing streaming data from a source to a destination.

Defined Under Namespace

Modules: State Classes: BackfillAllStrategy, BackfillNoneStrategy, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#backfill_all::Google::Cloud::Datastream::V1::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.

Returns:

  • (::Google::Cloud::Datastream::V1::Stream::BackfillAllStrategy)

    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.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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::V1::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.

Returns:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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

#customer_managed_encryption_key::String

Returns Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.

Returns:

  • (::String)

    Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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::V1::DestinationConfig

Returns Required. Destination connection profile configuration.

Returns:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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::V1::Error> (readonly)

Returns Output only. Errors on the Stream.

Returns:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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

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

Returns Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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. Identifier. The stream's name.

Returns:

  • (::String)

    Output only. Identifier. The stream's name.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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

#satisfies_pzi::Boolean (readonly)

Returns Output only. Reserved for future use.

Returns:

  • (::Boolean)

    Output only. Reserved for future use.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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

#satisfies_pzs::Boolean (readonly)

Returns Output only. Reserved for future use.

Returns:

  • (::Boolean)

    Output only. Reserved for future use.



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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::V1::SourceConfig

Returns Required. Source connection profile configuration.

Returns:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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::V1::Stream::State

Returns The state of the stream.

Returns:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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:



1675
1676
1677
1678
1679
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1675

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::V1::OracleRdbms]
  #     Oracle data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_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::V1::MysqlRdbms]
  #     MySQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] postgresql_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
  #     PostgreSQL data source objects to avoid backfilling.
  #
  #     Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] sql_server_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
  #     SQLServer data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `salesforce_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] salesforce_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::SalesforceOrg]
  #     Salesforce data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `salesforce_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `mongodb_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] mongodb_excluded_objects
  #   @return [::Google::Cloud::Datastream::V1::MongodbCluster]
  #     MongoDB data source objects to avoid backfilling
  #
  #     Note: The following fields are mutually exclusive: `mongodb_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`, `salesforce_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 but has not yet started streaming data.
    NOT_STARTED = 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