Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::Stream.
A resource representing streaming data from a source to a destination.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backfill_all
def backfill_all() -> ::Google::Cloud::Datastream::V1::Stream::BackfillAllStrategy-
(::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.
#backfill_all=
def backfill_all=(value) -> ::Google::Cloud::Datastream::V1::Stream::BackfillAllStrategy-
value (::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.
-
(::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.
#backfill_none
def backfill_none() -> ::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy-
(::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy) — 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.
#backfill_none=
def backfill_none=(value) -> ::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy-
value (::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy) — 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.
-
(::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy) — 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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The creation time of the stream.
#customer_managed_encryption_key
def customer_managed_encryption_key() -> ::String- (::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.
#customer_managed_encryption_key=
def customer_managed_encryption_key=(value) -> ::String- value (::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.
- (::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.
#destination_config
def destination_config() -> ::Google::Cloud::Datastream::V1::DestinationConfig- (::Google::Cloud::Datastream::V1::DestinationConfig) — Required. Destination connection profile configuration.
#destination_config=
def destination_config=(value) -> ::Google::Cloud::Datastream::V1::DestinationConfig- value (::Google::Cloud::Datastream::V1::DestinationConfig) — Required. Destination connection profile configuration.
- (::Google::Cloud::Datastream::V1::DestinationConfig) — Required. Destination connection profile configuration.
#display_name
def display_name() -> ::String- (::String) — Required. Display name.
#display_name=
def display_name=(value) -> ::String- value (::String) — Required. Display name.
- (::String) — Required. Display name.
#errors
def errors() -> ::Array<::Google::Cloud::Datastream::V1::Error>- (::Array<::Google::Cloud::Datastream::V1::Error>) — Output only. Errors on the Stream.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Labels.
- (::Google::Protobuf::Map{::String => ::String}) — Labels.
#last_recovery_time
def last_recovery_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.
#name
def name() -> ::String- (::String) — Output only. Identifier. The stream's name.
#satisfies_pzi
def satisfies_pzi() -> ::Boolean- (::Boolean) — Output only. Reserved for future use.
#satisfies_pzs
def satisfies_pzs() -> ::Boolean- (::Boolean) — Output only. Reserved for future use.
#source_config
def source_config() -> ::Google::Cloud::Datastream::V1::SourceConfig- (::Google::Cloud::Datastream::V1::SourceConfig) — Required. Source connection profile configuration.
#source_config=
def source_config=(value) -> ::Google::Cloud::Datastream::V1::SourceConfig- value (::Google::Cloud::Datastream::V1::SourceConfig) — Required. Source connection profile configuration.
- (::Google::Cloud::Datastream::V1::SourceConfig) — Required. Source connection profile configuration.
#state
def state() -> ::Google::Cloud::Datastream::V1::Stream::State- (::Google::Cloud::Datastream::V1::Stream::State) — The state of the stream.
#state=
def state=(value) -> ::Google::Cloud::Datastream::V1::Stream::State- value (::Google::Cloud::Datastream::V1::Stream::State) — The state of the stream.
- (::Google::Cloud::Datastream::V1::Stream::State) — The state of the stream.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The last update time of the stream.