Struct google_api_proto::google::cloud::video::stitcher::v1::VodSession
source · pub struct VodSession {
pub name: String,
pub interstitials: Option<Interstitials>,
pub play_uri: String,
pub source_uri: String,
pub ad_tag_uri: String,
pub ad_tag_macro_map: BTreeMap<String, String>,
pub manifest_options: Option<ManifestOptions>,
pub asset_id: String,
pub ad_tracking: i32,
pub gam_settings: Option<GamSettings>,
}
Expand description
Metadata for a VOD session. The session expires 4 hours after its creation.
Fields§
§name: String
Output only. The name of the VOD session, in the form of
projects/{project_number}/locations/{location}/vodSessions/{id}
.
interstitials: Option<Interstitials>
Output only. Metadata of what was stitched into the content.
play_uri: String
Output only. The playback URI of the stitched content.
source_uri: String
Required. URI of the media to stitch.
ad_tag_uri: String
Required. Ad tag URI.
ad_tag_macro_map: BTreeMap<String, String>
Key value pairs for ad tag macro replacement. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets. For example:
Ad tag URI: "<https://doubleclick.google.com/ad/1?geo_id=\[geoId\]"
>
Ad tag macro map: {"geoId": "123"}
Fully qualified ad tag:
"
https://doubleclick.google.com/ad/1?geo_id=123"`
manifest_options: Option<ManifestOptions>
Additional options that affect the output of the manifest.
asset_id: String
Output only. The generated ID of the VodSession’s source media.
ad_tracking: i32
Required. Determines how the ad should be tracked.
gam_settings: Option<GamSettings>
This field should be set with appropriate values if GAM is being used for ads.
Implementations§
source§impl VodSession
impl VodSession
sourcepub fn ad_tracking(&self) -> AdTracking
pub fn ad_tracking(&self) -> AdTracking
Returns the enum value of ad_tracking
, or the default if the field is set to an invalid enum value.
sourcepub fn set_ad_tracking(&mut self, value: AdTracking)
pub fn set_ad_tracking(&mut self, value: AdTracking)
Sets ad_tracking
to the provided enum value.
Trait Implementations§
source§impl Clone for VodSession
impl Clone for VodSession
source§fn clone(&self) -> VodSession
fn clone(&self) -> VodSession
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VodSession
impl Debug for VodSession
source§impl Default for VodSession
impl Default for VodSession
source§impl Message for VodSession
impl Message for VodSession
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for VodSession
impl PartialEq for VodSession
source§fn eq(&self, other: &VodSession) -> bool
fn eq(&self, other: &VodSession) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VodSession
Auto Trait Implementations§
impl Freeze for VodSession
impl RefUnwindSafe for VodSession
impl Send for VodSession
impl Sync for VodSession
impl Unpin for VodSession
impl UnwindSafe for VodSession
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