Struct google_datastream1::api::Stream
source · [−]pub struct Stream {
pub backfill_all: Option<BackfillAllStrategy>,
pub backfill_none: Option<BackfillNoneStrategy>,
pub create_time: Option<String>,
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 name: Option<String>,
pub source_config: Option<SourceConfig>,
pub state: Option<String>,
pub update_time: Option<String>,
}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<String>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.
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<String>Output only. The last update time of the stream.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Stream
impl ResponseResult for Stream
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more