Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Transcoder

import { Transcoder } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";

This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview.

class Transcoder {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsJobsCreate(parent: string, req: Job): Promise<Job>;
async projectsLocationsJobsDelete(name: string, opts?: ProjectsLocationsJobsDeleteOptions): Promise<Empty>;
async projectsLocationsJobsGet(name: string): Promise<Job>;
async projectsLocationsJobsList(parent: string, opts?: ProjectsLocationsJobsListOptions): Promise<ListJobsResponse>;
async projectsLocationsJobTemplatesCreate(
parent: string,
): Promise<JobTemplate>;
async projectsLocationsJobTemplatesDelete(name: string, opts?: ProjectsLocationsJobTemplatesDeleteOptions): Promise<Empty>;
async projectsLocationsJobTemplatesGet(name: string): Promise<JobTemplate>;
async projectsLocationsJobTemplatesList(parent: string, opts?: ProjectsLocationsJobTemplatesListOptions): Promise<ListJobTemplatesResponse>;
}

§Constructors

§
new Transcoder(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsLocationsJobsCreate(parent: string, req: Job): Promise<Job>
[src]

Creates a job in the specified region.

@param parent

Required. The parent location to create and process this job. Format: projects/{project}/locations/{location}

§
projectsLocationsJobsDelete(name: string, opts?: ProjectsLocationsJobsDeleteOptions): Promise<Empty>
[src]

Deletes a job.

@param name

Required. The name of the job to delete. Format: projects/{project}/locations/{location}/jobs/{job}

§
projectsLocationsJobsGet(name: string): Promise<Job>
[src]

Returns the job data.

@param name

Required. The name of the job to retrieve. Format: projects/{project}/locations/{location}/jobs/{job}

§
projectsLocationsJobsList(parent: string, opts?: ProjectsLocationsJobsListOptions): Promise<ListJobsResponse>
[src]

Lists jobs in the specified region.

@param parent

Required. Format: projects/{project}/locations/{location}

§
projectsLocationsJobTemplatesCreate(parent: string, req: JobTemplate, opts?: ProjectsLocationsJobTemplatesCreateOptions): Promise<JobTemplate>
[src]

Creates a job template in the specified region.

@param parent

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

§
projectsLocationsJobTemplatesDelete(name: string, opts?: ProjectsLocationsJobTemplatesDeleteOptions): Promise<Empty>
[src]

Deletes a job template.

@param name

Required. The name of the job template to delete. projects/{project}/locations/{location}/jobTemplates/{job_template}

§
projectsLocationsJobTemplatesGet(name: string): Promise<JobTemplate>
[src]

Returns the job template data.

@param name

Required. The name of the job template to retrieve. Format: projects/{project}/locations/{location}/jobTemplates/{job_template}

§
projectsLocationsJobTemplatesList(parent: string, opts?: ProjectsLocationsJobTemplatesListOptions): Promise<ListJobTemplatesResponse>
[src]

Lists job templates in the specified region.

@param parent

Required. The parent location from which to retrieve the collection of job templates. Format: projects/{project}/locations/{location}