Reference documentation and code samples for the Google Cloud Datastream V1 Client class Stream.
A resource representing streaming data from a source to a destination.
Generated from protobuf message google.cloud.datastream.v1.Stream
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The stream's name.
↳ create_time
↳ update_time
↳ labels
↳ display_name
string
Required. Display name.
↳ source_config
↳ destination_config
↳ state
int
The state of the stream.
↳ backfill_all
Stream\BackfillAllStrategy
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
↳ backfill_none
↳ errors
↳ customer_managed_encryption_key
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.
↳ last_recovery_time
Google\Protobuf\Timestamp
Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.
getName
Output only. The stream's name.
string
setName
Output only. The stream's name.
var
string
$this
getCreateTime
Output only. The creation time of the stream.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time of the stream.
$this
getUpdateTime
Output only. The last update time of the stream.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update time of the stream.
$this
getLabels
Labels.
setLabels
Labels.
$this
getDisplayName
Required. Display name.
string
setDisplayName
Required. Display name.
var
string
$this
getSourceConfig
Required. Source connection profile configuration.
hasSourceConfig
clearSourceConfig
setSourceConfig
Required. Source connection profile configuration.
$this
getDestinationConfig
Required. Destination connection profile configuration.
hasDestinationConfig
clearDestinationConfig
setDestinationConfig
Required. Destination connection profile configuration.
$this
getState
The state of the stream.
int
setState
The state of the stream.
var
int
$this
getBackfillAll
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
hasBackfillAll
setBackfillAll
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
$this
getBackfillNone
Do not automatically backfill any objects.
hasBackfillNone
setBackfillNone
Do not automatically backfill any objects.
$this
getErrors
Output only. Errors on the Stream.
setErrors
Output only. Errors on the Stream.
$this
getCustomerManagedEncryptionKey
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
hasCustomerManagedEncryptionKey
clearCustomerManagedEncryptionKey
setCustomerManagedEncryptionKey
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.
var
string
$this
getLastRecoveryTime
Output only. If the stream was recovered, the time of the last recovery.
Note: This field is currently experimental.
hasLastRecoveryTime
clearLastRecoveryTime
setLastRecoveryTime
Output only. If the stream was recovered, the time of the last recovery.
Note: This field is currently experimental.
$this
getBackfillStrategy
string