Struct googapis::google::cloud::video::transcoder::v1::transcoder_service_client::TranscoderServiceClient [−][src]
pub struct TranscoderServiceClient<T> { /* fields omitted */ }
Expand description
Using the Transcoder API, you can queue asynchronous jobs for transcoding media into various output formats. Output formats may include different streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can also customize jobs using advanced features such as Digital Rights Management (DRM), audio equalization, content concatenation, and digital ad-stitch ready content generation.
Implementations
impl<T> TranscoderServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> TranscoderServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> TranscoderServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn create_job(
&mut self,
request: impl IntoRequest<CreateJobRequest>
) -> Result<Response<Job>, Status>
pub async fn create_job(
&mut self,
request: impl IntoRequest<CreateJobRequest>
) -> Result<Response<Job>, Status>
Creates a job in the specified region.
pub async fn list_jobs(
&mut self,
request: impl IntoRequest<ListJobsRequest>
) -> Result<Response<ListJobsResponse>, Status>
pub async fn list_jobs(
&mut self,
request: impl IntoRequest<ListJobsRequest>
) -> Result<Response<ListJobsResponse>, Status>
Lists jobs in the specified region.
pub async fn get_job(
&mut self,
request: impl IntoRequest<GetJobRequest>
) -> Result<Response<Job>, Status>
pub async fn get_job(
&mut self,
request: impl IntoRequest<GetJobRequest>
) -> Result<Response<Job>, Status>
Returns the job data.
pub async fn delete_job(
&mut self,
request: impl IntoRequest<DeleteJobRequest>
) -> Result<Response<()>, Status>
pub async fn delete_job(
&mut self,
request: impl IntoRequest<DeleteJobRequest>
) -> Result<Response<()>, Status>
Deletes a job.
pub async fn create_job_template(
&mut self,
request: impl IntoRequest<CreateJobTemplateRequest>
) -> Result<Response<JobTemplate>, Status>
pub async fn create_job_template(
&mut self,
request: impl IntoRequest<CreateJobTemplateRequest>
) -> Result<Response<JobTemplate>, Status>
Creates a job template in the specified region.
pub async fn list_job_templates(
&mut self,
request: impl IntoRequest<ListJobTemplatesRequest>
) -> Result<Response<ListJobTemplatesResponse>, Status>
pub async fn list_job_templates(
&mut self,
request: impl IntoRequest<ListJobTemplatesRequest>
) -> Result<Response<ListJobTemplatesResponse>, Status>
Lists job templates in the specified region.
pub async fn get_job_template(
&mut self,
request: impl IntoRequest<GetJobTemplateRequest>
) -> Result<Response<JobTemplate>, Status>
pub async fn get_job_template(
&mut self,
request: impl IntoRequest<GetJobTemplateRequest>
) -> Result<Response<JobTemplate>, Status>
Returns the job template data.
pub async fn delete_job_template(
&mut self,
request: impl IntoRequest<DeleteJobTemplateRequest>
) -> Result<Response<()>, Status>
pub async fn delete_job_template(
&mut self,
request: impl IntoRequest<DeleteJobTemplateRequest>
) -> Result<Response<()>, Status>
Deletes a job template.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TranscoderServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for TranscoderServiceClient<T> where
T: Send,
impl<T> Sync for TranscoderServiceClient<T> where
T: Sync,
impl<T> Unpin for TranscoderServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for TranscoderServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more