Struct google_api_proto::google::cloud::video::livestream::v1::Input
source · pub struct Input {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub type: i32,
pub tier: i32,
pub uri: String,
pub preprocessing_config: Option<PreprocessingConfig>,
pub security_rules: Option<SecurityRule>,
pub input_stream_property: Option<InputStreamProperty>,
}
Expand description
Input resource represents the endpoint from which the channel ingests the input stream.
Fields§
§name: String
The resource name of the input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
create_time: Option<Timestamp>
Output only. The creation time.
update_time: Option<Timestamp>
Output only. The update time.
labels: BTreeMap<String, String>
User-defined key/value metadata.
type: i32
Source type.
tier: i32
Tier defines the maximum input specification that is accepted by the
video pipeline. The billing is charged based on the tier specified here.
See Pricing for more detail.
The default is HD
.
uri: String
Output only. URI to push the input stream to. Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example:
RTMP_PUSH
:rtmp://1.2.3.4/live/{STREAM-ID}
SRT_PUSH
:srt://1.2.3.4:4201?streamid={STREAM-ID}
preprocessing_config: Option<PreprocessingConfig>
Preprocessing configurations.
security_rules: Option<SecurityRule>
Security rule for access control.
input_stream_property: Option<InputStreamProperty>
Output only. The information for the input stream. This field will be present only when this input receives the input stream.
Implementations§
Trait Implementations§
source§impl Message for Input
impl Message for Input
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 Input
impl PartialEq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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