public sealed class TranscoderServiceClientImpl : TranscoderServiceClient
Reference documentation and code samples for the Transcoder v1 API class TranscoderServiceClientImpl.
TranscoderService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Remarks
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.
Constructors
TranscoderServiceClientImpl(TranscoderService.TranscoderServiceClient, TranscoderServiceSettings, ILogger)
public TranscoderServiceClientImpl(TranscoderService.TranscoderServiceClient grpcClient, TranscoderServiceSettings settings, ILogger logger)
Constructs a client wrapper for the TranscoderService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | TranscoderService.TranscoderServiceClient The underlying gRPC client. |
settings | TranscoderServiceSettings The base TranscoderServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override TranscoderService.TranscoderServiceClient GrpcClient { get; }
The underlying gRPC TranscoderService client
Property Value | |
---|---|
Type | Description |
TranscoderService.TranscoderServiceClient |
Methods
CreateJob(CreateJobRequest, CallSettings)
public override Job CreateJob(CreateJobRequest request, CallSettings callSettings = null)
Creates a job in the specified region.
Parameters | |
---|---|
Name | Description |
request | CreateJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Job | The RPC response. |
CreateJobAsync(CreateJobRequest, CallSettings)
public override Task<Job> CreateJobAsync(CreateJobRequest request, CallSettings callSettings = null)
Creates a job in the specified region.
Parameters | |
---|---|
Name | Description |
request | CreateJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Job> | A Task containing the RPC response. |
CreateJobTemplate(CreateJobTemplateRequest, CallSettings)
public override JobTemplate CreateJobTemplate(CreateJobTemplateRequest request, CallSettings callSettings = null)
Creates a job template in the specified region.
Parameters | |
---|---|
Name | Description |
request | CreateJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
JobTemplate | The RPC response. |
CreateJobTemplateAsync(CreateJobTemplateRequest, CallSettings)
public override Task<JobTemplate> CreateJobTemplateAsync(CreateJobTemplateRequest request, CallSettings callSettings = null)
Creates a job template in the specified region.
Parameters | |
---|---|
Name | Description |
request | CreateJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<JobTemplate> | A Task containing the RPC response. |
DeleteJob(DeleteJobRequest, CallSettings)
public override void DeleteJob(DeleteJobRequest request, CallSettings callSettings = null)
Deletes a job.
Parameters | |
---|---|
Name | Description |
request | DeleteJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteJobAsync(DeleteJobRequest, CallSettings)
public override Task DeleteJobAsync(DeleteJobRequest request, CallSettings callSettings = null)
Deletes a job.
Parameters | |
---|---|
Name | Description |
request | DeleteJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteJobTemplate(DeleteJobTemplateRequest, CallSettings)
public override void DeleteJobTemplate(DeleteJobTemplateRequest request, CallSettings callSettings = null)
Deletes a job template.
Parameters | |
---|---|
Name | Description |
request | DeleteJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteJobTemplateAsync(DeleteJobTemplateRequest, CallSettings)
public override Task DeleteJobTemplateAsync(DeleteJobTemplateRequest request, CallSettings callSettings = null)
Deletes a job template.
Parameters | |
---|---|
Name | Description |
request | DeleteJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetJob(GetJobRequest, CallSettings)
public override Job GetJob(GetJobRequest request, CallSettings callSettings = null)
Returns the job data.
Parameters | |
---|---|
Name | Description |
request | GetJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Job | The RPC response. |
GetJobAsync(GetJobRequest, CallSettings)
public override Task<Job> GetJobAsync(GetJobRequest request, CallSettings callSettings = null)
Returns the job data.
Parameters | |
---|---|
Name | Description |
request | GetJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Job> | A Task containing the RPC response. |
GetJobTemplate(GetJobTemplateRequest, CallSettings)
public override JobTemplate GetJobTemplate(GetJobTemplateRequest request, CallSettings callSettings = null)
Returns the job template data.
Parameters | |
---|---|
Name | Description |
request | GetJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
JobTemplate | The RPC response. |
GetJobTemplateAsync(GetJobTemplateRequest, CallSettings)
public override Task<JobTemplate> GetJobTemplateAsync(GetJobTemplateRequest request, CallSettings callSettings = null)
Returns the job template data.
Parameters | |
---|---|
Name | Description |
request | GetJobTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<JobTemplate> | A Task containing the RPC response. |
ListJobs(ListJobsRequest, CallSettings)
public override PagedEnumerable<ListJobsResponse, Job> ListJobs(ListJobsRequest request, CallSettings callSettings = null)
Lists jobs in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListJobsResponse, Job> | A pageable sequence of Job resources. |
ListJobsAsync(ListJobsRequest, CallSettings)
public override PagedAsyncEnumerable<ListJobsResponse, Job> ListJobsAsync(ListJobsRequest request, CallSettings callSettings = null)
Lists jobs in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListJobsResponse, Job> | A pageable asynchronous sequence of Job resources. |
ListJobTemplates(ListJobTemplatesRequest, CallSettings)
public override PagedEnumerable<ListJobTemplatesResponse, JobTemplate> ListJobTemplates(ListJobTemplatesRequest request, CallSettings callSettings = null)
Lists job templates in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListJobTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListJobTemplatesResponse, JobTemplate> | A pageable sequence of JobTemplate resources. |
ListJobTemplatesAsync(ListJobTemplatesRequest, CallSettings)
public override PagedAsyncEnumerable<ListJobTemplatesResponse, JobTemplate> ListJobTemplatesAsync(ListJobTemplatesRequest request, CallSettings callSettings = null)
Lists job templates in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListJobTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListJobTemplatesResponse, JobTemplate> | A pageable asynchronous sequence of JobTemplate resources. |