Struct google_api_proto::google::cloud::videointelligence::v1p3beta1::StreamingStorageConfig
source · pub struct StreamingStorageConfig {
pub enable_storage_annotation_result: bool,
pub annotation_result_storage_directory: String,
}
Expand description
Config for streaming storage option.
Fields§
§enable_storage_annotation_result: bool
Enable streaming storage. Default: false.
annotation_result_storage_directory: String
Cloud Storage URI to store all annotation results for one client. Client
should specify this field as the top-level storage directory. Annotation
results of different sessions will be put into different sub-directories
denoted by project_name and session_id. All sub-directories will be auto
generated by program and will be made accessible to client in response
proto. URIs must be specified in the following format:
gs://bucket-id/object-id
bucket-id
should be a valid Cloud Storage
bucket created by client and bucket permission shall also be configured
properly. object-id
can be arbitrary string that make sense to client.
Other URI formats will return error and cause Cloud Storage write failure.
Trait Implementations§
source§impl Clone for StreamingStorageConfig
impl Clone for StreamingStorageConfig
source§fn clone(&self) -> StreamingStorageConfig
fn clone(&self) -> StreamingStorageConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamingStorageConfig
impl Debug for StreamingStorageConfig
source§impl Default for StreamingStorageConfig
impl Default for StreamingStorageConfig
source§impl Message for StreamingStorageConfig
impl Message for StreamingStorageConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for StreamingStorageConfig
impl PartialEq for StreamingStorageConfig
source§fn eq(&self, other: &StreamingStorageConfig) -> bool
fn eq(&self, other: &StreamingStorageConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamingStorageConfig
Auto Trait Implementations§
impl Freeze for StreamingStorageConfig
impl RefUnwindSafe for StreamingStorageConfig
impl Send for StreamingStorageConfig
impl Sync for StreamingStorageConfig
impl Unpin for StreamingStorageConfig
impl UnwindSafe for StreamingStorageConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request