Datastream V1 API - Class Google::Cloud::Datastream::V1::Stream (v0.1.0)

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
Returns

#backfill_all=

def backfill_all=(value) -> ::Google::Cloud::Datastream::V1::Stream::BackfillAllStrategy
Parameter
Returns

#backfill_none

def backfill_none() -> ::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy
Returns

#backfill_none=

def backfill_none=(value) -> ::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#customer_managed_encryption_key

def customer_managed_encryption_key() -> ::String
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.

#customer_managed_encryption_key=

def customer_managed_encryption_key=(value) -> ::String
Parameter
  • 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.
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.

#destination_config

def destination_config() -> ::Google::Cloud::Datastream::V1::DestinationConfig
Returns

#destination_config=

def destination_config=(value) -> ::Google::Cloud::Datastream::V1::DestinationConfig
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. Display name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. Display name.
Returns
  • (::String) — Required. Display name.

#errors

def errors() -> ::Array<::Google::Cloud::Datastream::V1::Error>
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The stream's name.

#source_config

def source_config() -> ::Google::Cloud::Datastream::V1::SourceConfig
Returns

#source_config=

def source_config=(value) -> ::Google::Cloud::Datastream::V1::SourceConfig
Parameter
Returns

#state

def state() -> ::Google::Cloud::Datastream::V1::Stream::State
Returns

#state=

def state=(value) -> ::Google::Cloud::Datastream::V1::Stream::State
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns