pub struct Stream {Show 13 fields
pub backfill_all: Option<BackfillAllStrategy>,
pub backfill_none: Option<BackfillNoneStrategy>,
pub create_time: Option<DateTime<Utc>>,
pub customer_managed_encryption_key: Option<String>,
pub destination_config: Option<DestinationConfig>,
pub display_name: Option<String>,
pub errors: Option<Vec<Error>>,
pub labels: Option<HashMap<String, String>>,
pub last_recovery_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub source_config: Option<SourceConfig>,
pub state: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A resource representing streaming data from a source to a destination.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations streams create projects (request)
- locations streams get projects (response)
- locations streams patch projects (request)
Fields§
§backfill_all: Option<BackfillAllStrategy>
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
backfill_none: Option<BackfillNoneStrategy>
Do not automatically backfill any objects.
create_time: Option<DateTime<Utc>>
Output only. The creation time of the stream.
customer_managed_encryption_key: Option<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: Option<DestinationConfig>
Required. Destination connection profile configuration.
display_name: Option<String>
Required. Display name.
errors: Option<Vec<Error>>
Output only. Errors on the Stream.
labels: Option<HashMap<String, String>>
Labels.
last_recovery_time: Option<DateTime<Utc>>
Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.
name: Option<String>
Output only. The stream’s name.
source_config: Option<SourceConfig>
Required. Source connection profile configuration.
state: Option<String>
The state of the stream.
update_time: Option<DateTime<Utc>>
Output only. The last update time of the stream.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for Stream
impl ResponseResult for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more