openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 62.6 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://transcoder.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview. ","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Transcoder API","version":"v1","x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg"},"x-origin":[{"format":"google","url":"https://transcoder.googleapis.com/$discovery/rest?version=v1","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"transcoder"},"externalDocs":{"url":"https://cloud.google.com/transcoder/docs/"},"tags":[{"name":"projects"}],"paths":{"/v1/{name}":{"delete":{"description":"Deletes a job template.","operationId":"transcoder.projects.locations.jobTemplates.delete","parameters":[{"description":"Required. The name of the job template to delete. `projects/{project}/locations/{location}/jobTemplates/{job_template}`","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.","in":"query","name":"allowMissing","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"get":{"description":"Returns the job template data.","operationId":"transcoder.projects.locations.jobTemplates.get","parameters":[{"description":"Required. The name of the job template to retrieve. Format: `projects/{project}/locations/{location}/jobTemplates/{job_template}`","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTemplate"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{parent}/jobTemplates":{"get":{"description":"Lists job templates in the specified region.","operationId":"transcoder.projects.locations.jobTemplates.list","parameters":[{"description":"Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project}/locations/{location}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"The filter expression, following the syntax outlined in https://google.aip.dev/160.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"The maximum number of items to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The `next_page_token` value returned from a previous List request, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListJobTemplatesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a job template in the specified region.","operationId":"transcoder.projects.locations.jobTemplates.create","parameters":[{"description":"Required. The parent location to create this job template. Format: `projects/{project}/locations/{location}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Required. The ID to use for the job template, which will become the final component of the job template's resource name. This value should be 4-63 characters, and valid characters must match the regular expression `a-zA-Z*`.","in":"query","name":"jobTemplateId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTemplate"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTemplate"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/jobs":{"get":{"description":"Lists jobs in the specified region.","operationId":"transcoder.projects.locations.jobs.list","parameters":[{"description":"Required. Format: `projects/{project}/locations/{location}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"The filter expression, following the syntax outlined in https://google.aip.dev/160.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"The maximum number of items to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The `next_page_token` value returned from a previous List request, if any.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListJobsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a job in the specified region.","operationId":"transcoder.projects.locations.jobs.create","parameters":[{"description":"Required. The parent location to create and process this job. Format: `projects/{project}/locations/{location}`","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"AdBreak":{"description":"Ad break.","properties":{"startTimeOffset":{"description":"Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`.","format":"google-duration","type":"string"}},"type":"object"},"Aes128Encryption":{"description":"Configuration for AES-128 encryption.","properties":{},"type":"object"},"Animation":{"description":"Animation types.","properties":{"animationEnd":{"$ref":"#/components/schemas/AnimationEnd","description":"End previous animation."},"animationFade":{"$ref":"#/components/schemas/AnimationFade","description":"Display overlay object with fade animation."},"animationStatic":{"$ref":"#/components/schemas/AnimationStatic","description":"Display static overlay object."}},"type":"object"},"AnimationEnd":{"description":"End previous overlay animation from the video. Without `AnimationEnd`, the overlay object will keep the state of previous animation until the end of the video.","properties":{"startTimeOffset":{"description":"The time to end overlay object, in seconds. Default: 0","format":"google-duration","type":"string"}},"type":"object"},"AnimationFade":{"description":"Display overlay object with fade animation.","properties":{"endTimeOffset":{"description":"The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s","format":"google-duration","type":"string"},"fadeType":{"description":"Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.","enum":["FADE_TYPE_UNSPECIFIED","FADE_IN","FADE_OUT"],"type":"string"},"startTimeOffset":{"description":"The time to start the fade animation, in seconds. Default: 0","format":"google-duration","type":"string"},"xy":{"$ref":"#/components/schemas/NormalizedCoordinate","description":"Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video."}},"type":"object"},"AnimationStatic":{"description":"Display static overlay object.","properties":{"startTimeOffset":{"description":"The time to start displaying the overlay object, in seconds. Default: 0","format":"google-duration","type":"string"},"xy":{"$ref":"#/components/schemas/NormalizedCoordinate","description":"Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video."}},"type":"object"},"Audio":{"description":"Audio preprocessing configuration.","properties":{"highBoost":{"description":"Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported.","type":"boolean"},"lowBoost":{"description":"Enable boosting low frequency components. The default is `false`. **Note:** This field is not supported.","type":"boolean"},"lufs":{"description":"Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where: * -24 is the Advanced Television Systems Committee (ATSC A/85) standard * -23 is the EU R128 broadcast standard * -19 is the prior standard for online mono audio * -18 is the ReplayGain standard * -16 is the prior standard for stereo audio * -14 is the new online audio standard recommended by Spotify, as well as Amazon Echo * 0 disables normalization","format":"double","type":"number"}},"type":"object"},"AudioMapping":{"description":"The mapping for the JobConfig.edit_list atoms with audio EditAtom.inputs.","properties":{"atomKey":{"description":"Required. The EditAtom.key that references the atom with audio inputs in the JobConfig.edit_list.","type":"string"},"gainDb":{"description":"Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.","format":"double","type":"number"},"inputChannel":{"description":"Required. The zero-based index of the channel in the input audio stream.","format":"int32","type":"integer"},"inputKey":{"description":"Required. The Input.key that identifies the input file.","type":"string"},"inputTrack":{"description":"Required. The zero-based index of the track in the input file.","format":"int32","type":"integer"},"outputChannel":{"description":"Required. The zero-based index of the channel in the output audio stream.","format":"int32","type":"integer"}},"type":"object"},"AudioStream":{"description":"Audio stream resource.","properties":{"bitrateBps":{"description":"Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.","format":"int32","type":"integer"},"channelCount":{"description":"Number of audio channels. Must be between 1 and 6. The default is 2.","format":"int32","type":"integer"},"channelLayout":{"description":"A list of channel names specifying layout of the audio channels. This only affects the metadata embedded in the container headers, if supported by the specified format. The default is `[\"fl\", \"fr\"]`. Supported channel names: - `fl` - Front left channel - `fr` - Front right channel - `sl` - Side left channel - `sr` - Side right channel - `fc` - Front center channel - `lfe` - Low frequency","items":{"type":"string"},"type":"array"},"codec":{"description":"The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3`","type":"string"},"displayName":{"description":"The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.","type":"string"},"languageCode":{"description":"The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.","type":"string"},"mapping":{"description":"The mapping for the JobConfig.edit_list atoms with audio EditAtom.inputs.","items":{"$ref":"#/components/schemas/AudioMapping"},"type":"array"},"sampleRateHertz":{"description":"The audio sample rate in Hertz. The default is 48000 Hertz.","format":"int32","type":"integer"}},"type":"object"},"BwdifConfig":{"description":"Bob Weaver Deinterlacing Filter Configuration.","properties":{"deinterlaceAllFrames":{"description":"Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.","type":"boolean"},"mode":{"description":"Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field","type":"string"},"parity":{"description":"The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity","type":"string"}},"type":"object"},"Clearkey":{"description":"Clearkey configuration.","properties":{},"type":"object"},"Color":{"description":"Color preprocessing configuration. **Note:** This configuration is not supported.","properties":{"brightness":{"description":"Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.","format":"double","type":"number"},"contrast":{"description":"Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.","format":"double","type":"number"},"saturation":{"description":"Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.","format":"double","type":"number"}},"type":"object"},"Crop":{"description":"Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.","properties":{"bottomPixels":{"description":"The number of pixels to crop from the bottom. The default is 0.","format":"int32","type":"integer"},"leftPixels":{"description":"The number of pixels to crop from the left. The default is 0.","format":"int32","type":"integer"},"rightPixels":{"description":"The number of pixels to crop from the right. The default is 0.","format":"int32","type":"integer"},"topPixels":{"description":"The number of pixels to crop from the top. The default is 0.","format":"int32","type":"integer"}},"type":"object"},"DashConfig":{"description":"`DASH` manifest configuration.","properties":{"segmentReferenceScheme":{"description":"The segment reference scheme for a `DASH` manifest. The default is `SEGMENT_LIST`.","enum":["SEGMENT_REFERENCE_SCHEME_UNSPECIFIED","SEGMENT_LIST","SEGMENT_TEMPLATE_NUMBER"],"type":"string"}},"type":"object"},"Deblock":{"description":"Deblock preprocessing configuration. **Note:** This configuration is not supported.","properties":{"enabled":{"description":"Enable deblocker. The default is `false`.","type":"boolean"},"strength":{"description":"Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.","format":"double","type":"number"}},"type":"object"},"Deinterlace":{"description":"Deinterlace configuration for input video.","properties":{"bwdif":{"$ref":"#/components/schemas/BwdifConfig","description":"Specifies the Bob Weaver Deinterlacing Filter Configuration."},"yadif":{"$ref":"#/components/schemas/YadifConfig","description":"Specifies the Yet Another Deinterlacing Filter Configuration."}},"type":"object"},"Denoise":{"description":"Denoise preprocessing configuration. **Note:** This configuration is not supported.","properties":{"strength":{"description":"Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.","format":"double","type":"number"},"tune":{"description":"Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`","type":"string"}},"type":"object"},"DrmSystems":{"description":"Defines configuration for DRM systems in use.","properties":{"clearkey":{"$ref":"#/components/schemas/Clearkey","description":"Clearkey configuration."},"fairplay":{"$ref":"#/components/schemas/Fairplay","description":"Fairplay configuration."},"playready":{"$ref":"#/components/schemas/Playready","description":"Playready configuration."},"widevine":{"$ref":"#/components/schemas/Widevine","description":"Widevine configuration."}},"type":"object"},"EditAtom":{"description":"Edit atom.","properties":{"endTimeOffset":{"description":"End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.","format":"google-duration","type":"string"},"inputs":{"description":"List of Input.key values identifying files that should be used in this atom. The listed `inputs` must have the same timeline.","items":{"type":"string"},"type":"array"},"key":{"description":"A unique key for this atom. Must be specified when using advanced mapping.","type":"string"},"startTimeOffset":{"description":"Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.","format":"google-duration","type":"string"}},"type":"object"},"ElementaryStream":{"description":"Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.","properties":{"audioStream":{"$ref":"#/components/schemas/AudioStream","description":"Encoding of an audio stream."},"key":{"description":"A unique key for this elementary stream.","type":"string"},"textStream":{"$ref":"#/components/schemas/TextStream","description":"Encoding of a text stream. For example, closed captions or subtitles."},"videoStream":{"$ref":"#/components/schemas/VideoStream","description":"Encoding of a video stream."}},"type":"object"},"Empty":{"description":"A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }","properties":{},"type":"object"},"Encryption":{"description":"Encryption settings.","properties":{"aes128":{"$ref":"#/components/schemas/Aes128Encryption","description":"Configuration for AES-128 encryption."},"drmSystems":{"$ref":"#/components/schemas/DrmSystems","description":"Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled."},"id":{"description":"Required. Identifier for this set of encryption options.","type":"string"},"mpegCenc":{"$ref":"#/components/schemas/MpegCommonEncryption","description":"Configuration for MPEG Common Encryption (MPEG-CENC)."},"sampleAes":{"$ref":"#/components/schemas/SampleAesEncryption","description":"Configuration for SAMPLE-AES encryption."},"secretManagerKeySource":{"$ref":"#/components/schemas/SecretManagerSource","description":"Keys are stored in Google Secret Manager."}},"type":"object"},"Fairplay":{"description":"Fairplay configuration.","properties":{},"type":"object"},"Fmp4Config":{"description":"`fmp4` container configuration.","properties":{"codecTag":{"description":"Optional. Specify the codec tag string that will be used in the media bitstream. When not specified, the codec appropriate value is used. Supported H265 codec tags: - `hvc1` (default) - `hev1`","type":"string"}},"type":"object"},"H264CodecSettings":{"description":"H264 codec settings.","properties":{"allowOpenGop":{"description":"Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`.","type":"boolean"},"aqStrength":{"description":"Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.","format":"double","type":"number"},"bFrameCount":{"description":"The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than H264CodecSettings.gop_frame_count if set. The default is 0.","format":"int32","type":"integer"},"bPyramid":{"description":"Allow B-pyramid for reference frame selection. This may not be supported on all decoders. The default is `false`.","type":"boolean"},"bitrateBps":{"description":"Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 800,000,000.","format":"int32","type":"integer"},"crfLevel":{"description":"Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.","format":"int32","type":"integer"},"enableTwoPass":{"description":"Use two-pass encoding strategy to achieve better video quality. H264CodecSettings.rate_control_mode must be `vbr`. The default is `false`.","type":"boolean"},"entropyCoder":{"description":"The entropy coder to use. The default is `cabac`. Supported entropy coders: - `cavlc` - `cabac`","type":"string"},"frameRate":{"description":"Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.","format":"double","type":"number"},"frameRateConversionStrategy":{"description":"Optional. Frame rate conversion strategy for desired frame rate. The default is `DOWNSAMPLE`.","enum":["FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED","DOWNSAMPLE","DROP_DUPLICATE"],"type":"string"},"gopDuration":{"description":"Select the GOP size based on the specified duration. The default is `3s`. Note that `gopDuration` must be less than or equal to [`segmentDuration`](#SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.","format":"google-duration","type":"string"},"gopFrameCount":{"description":"Select the GOP size based on the specified frame count. Must be greater than zero.","format":"int32","type":"integer"},"heightPixels":{"description":"The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.","format":"int32","type":"integer"},"hlg":{"$ref":"#/components/schemas/H264ColorFormatHLG","description":"Optional. HLG color format setting for H264."},"pixelFormat":{"description":"Pixel format to use. The default is `yuv420p`. Supported pixel formats: - `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - `yuv420p10` 10-bit HDR pixel format - `yuv422p10` 10-bit HDR pixel format - `yuv444p10` 10-bit HDR pixel format - `yuv420p12` 12-bit HDR pixel format - `yuv422p12` 12-bit HDR pixel format - `yuv444p12` 12-bit HDR pixel format","type":"string"},"preset":{"description":"Enforces the specified codec preset. The default is `veryfast`. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.","type":"string"},"profile":{"description":"Enforces the specified codec profile. The following profiles are supported: * `baseline` * `main` * `high` (default) The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.","type":"string"},"rateControlMode":{"description":"Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` - variable bitrate - `crf` - constant rate factor","type":"string"},"sdr":{"$ref":"#/components/schemas/H264ColorFormatSDR","description":"Optional. SDR color format setting for H264."},"tune":{"description":"Enforces the specified codec tune. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). Note that certain values for this field may cause the transcoder to override other fields you set in the `H264CodecSettings` message.","type":"string"},"vbvFullnessBits":{"description":"Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of H264CodecSettings.vbv_size_bits.","format":"int32","type":"integer"},"vbvSizeBits":{"description":"Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to H264CodecSettings.bitrate_bps.","format":"int32","type":"integer"},"widthPixels":{"description":"The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.","format":"int32","type":"integer"}},"type":"object"},"H264ColorFormatHLG":{"description":"Convert the input video to a Hybrid Log Gamma (HLG) video.","properties":{},"type":"object"},"H264ColorFormatSDR":{"description":"Convert the input video to a Standard Dynamic Range (SDR) video.","properties":{},"type":"object"},"H265CodecSettings":{"description":"H265 codec settings.","properties":{"allowOpenGop":{"description":"Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`.","type":"boolean"},"aqStrength":{"description":"Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.","format":"double","type":"number"},"bFrameCount":{"description":"The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than H265CodecSettings.gop_frame_count if set. The default is 0.","format":"int32","type":"integer"},"bPyramid":{"description":"Allow B-pyramid for reference frame selection. This may not be supported on all decoders. The default is `false`.","type":"boolean"},"bitrateBps":{"description":"Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 800,000,000.","format":"int32","type":"integer"},"crfLevel":{"description":"Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.","format":"int32","type":"integer"},"enableTwoPass":{"description":"Use two-pass encoding strategy to achieve better video quality. H265CodecSettings.rate_control_mode must be `vbr`. The default is `false`.","type":"boolean"},"frameRate":{"description":"Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.","format":"double","type":"number"},"frameRateConversionStrategy":{"description":"Optional. Frame rate conversion strategy for desired frame rate. The default is `DOWNSAMPLE`.","enum":["FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED","DOWNSAMPLE","DROP_DUPLICATE"],"type":"string"},"gopDuration":{"description":"Select the GOP size based on the specified duration. The default is `3s`. Note that `gopDuration` must be less than or equal to [`segmentDuration`](#SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.","format":"google-duration","type":"string"},"gopFrameCount":{"description":"Select the GOP size based on the specified frame count. Must be greater than zero.","format":"int32","type":"integer"},"hdr10":{"$ref":"#/components/schemas/H265ColorFormatHDR10","description":"Optional. HDR10 color format setting for H265."},"heightPixels":{"description":"The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.","format":"int32","type":"integer"},"hlg":{"$ref":"#/components/schemas/H265ColorFormatHLG","description":"Optional. HLG color format setting for H265."},"pixelFormat":{"description":"Pixel format to use. The default is `yuv420p`. Supported pixel formats: - `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - `yuv420p10` 10-bit HDR pixel format - `yuv422p10` 10-bit HDR pixel format - `yuv444p10` 10-bit HDR pixel format - `yuv420p12` 12-bit HDR pixel format - `yuv422p12` 12-bit HDR pixel format - `yuv444p12` 12-bit HDR pixel format","type":"string"},"preset":{"description":"Enforces the specified codec preset. The default is `veryfast`. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.","type":"string"},"profile":{"description":"Enforces the specified codec profile. The following profiles are supported: * 8-bit profiles * `main` (default) * `main-intra` * `mainstillpicture` * 10-bit profiles * `main10` (default) * `main10-intra` * `main422-10` * `main422-10-intra` * `main444-10` * `main444-10-intra` * 12-bit profiles * `main12` (default) * `main12-intra` * `main422-12` * `main422-12-intra` * `main444-12` * `main444-12-intra` The available options are [FFmpeg-compatible](https://x265.readthedocs.io/). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.","type":"string"},"rateControlMode":{"description":"Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` - variable bitrate - `crf` - constant rate factor","type":"string"},"sdr":{"$ref":"#/components/schemas/H265ColorFormatSDR","description":"Optional. SDR color format setting for H265."},"tune":{"description":"Enforces the specified codec tune. The available options are [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). Note that certain values for this field may cause the transcoder to override other fields you set in the `H265CodecSettings` message.","type":"string"},"vbvFullnessBits":{"description":"Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of H265CodecSettings.vbv_size_bits.","format":"int32","type":"integer"},"vbvSizeBits":{"description":"Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to `VideoStream.bitrate_bps`.","format":"int32","type":"integer"},"widthPixels":{"description":"The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.","format":"int32","type":"integer"}},"type":"object"},"H265ColorFormatHDR10":{"description":"Convert the input video to a High Dynamic Range 10 (HDR10) video.","properties":{},"type":"object"},"H265ColorFormatHLG":{"description":"Convert the input video to a Hybrid Log Gamma (HLG) video.","properties":{},"type":"object"},"H265ColorFormatSDR":{"description":"Convert the input video to a Standard Dynamic Range (SDR) video.","properties":{},"type":"object"},"Image":{"description":"Overlaid image.","properties":{"alpha":{"description":"Target image opacity. Valid values are from `1.0` (solid, default) to `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.","format":"double","type":"number"},"resolution":{"$ref":"#/components/schemas/NormalizedCoordinate","description":"Normalized image resolution, based on output video resolution. Valid values: `0.0`–`1.0`. To respect the original image aspect ratio, set either `x` or `y` to `0.0`. To use the original image resolution, set both `x` and `y` to `0.0`."},"uri":{"description":"Required. URI of the image in Cloud Storage. For example, `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.","type":"string"}},"type":"object"},"Input":{"description":"Input asset.","properties":{"key":{"description":"A unique key for this input. Must be specified when using advanced mapping and edit lists.","type":"string"},"preprocessingConfig":{"$ref":"#/components/schemas/PreprocessingConfig","description":"Preprocessing configurations."},"uri":{"description":"URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty, the value is populated from Job.input_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).","type":"string"}},"type":"object"},"Job":{"description":"Transcoding job resource.","properties":{"batchModePriority":{"description":"The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job.","format":"int32","type":"integer"},"config":{"$ref":"#/components/schemas/JobConfig","description":"The configuration for this job."},"createTime":{"description":"Output only. The time the job was created.","format":"google-datetime","readOnly":true,"type":"string"},"endTime":{"description":"Output only. The time the transcoding finished.","format":"google-datetime","readOnly":true,"type":"string"},"error":{"$ref":"#/components/schemas/Status","description":"Output only. An error object that describes the reason for the failure. This property is always present when ProcessingState is `FAILED`.","readOnly":true},"inputUri":{"description":"Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).","type":"string"},"labels":{"additionalProperties":{"type":"string"},"description":"The labels associated with this job. You can use these to organize and group your jobs.","type":"object"},"mode":{"description":"The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.","enum":["PROCESSING_MODE_UNSPECIFIED","PROCESSING_MODE_INTERACTIVE","PROCESSING_MODE_BATCH"],"type":"string"},"name":{"description":"The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`","type":"string"},"optimization":{"description":"Optional. The optimization strategy of the job. The default is `AUTODETECT`.","enum":["OPTIMIZATION_STRATEGY_UNSPECIFIED","AUTODETECT","DISABLED"],"type":"string"},"outputUri":{"description":"Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).","type":"string"},"startTime":{"description":"Output only. The time the transcoding started.","format":"google-datetime","readOnly":true,"type":"string"},"state":{"description":"Output only. The current state of the job.","enum":["PROCESSING_STATE_UNSPECIFIED","PENDING","RUNNING","SUCCEEDED","FAILED"],"readOnly":true,"type":"string"},"templateId":{"description":"Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`","type":"string"},"ttlAfterCompletionDays":{"description":"Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.","format":"int32","type":"integer"}},"type":"object"},"JobConfig":{"description":"Job configuration","properties":{"adBreaks":{"description":"List of ad breaks. Specifies where to insert ad break tags in the output manifests.","items":{"$ref":"#/components/schemas/AdBreak"},"type":"array"},"editList":{"description":"List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.","items":{"$ref":"#/components/schemas/EditAtom"},"type":"array"},"elementaryStreams":{"description":"List of elementary streams.","items":{"$ref":"#/components/schemas/ElementaryStream"},"type":"array"},"encryptions":{"description":"List of encryption configurations for the content. Each configuration has an ID. Specify this ID in the MuxStream.encryption_id field to indicate the configuration to use for that `MuxStream` output.","items":{"$ref":"#/components/schemas/Encryption"},"type":"array"},"inputs":{"description":"List of input assets stored in Cloud Storage.","items":{"$ref":"#/components/schemas/Input"},"type":"array"},"manifests":{"description":"List of output manifests.","items":{"$ref":"#/components/schemas/Manifest"},"type":"array"},"muxStreams":{"description":"List of multiplexing settings for output streams.","items":{"$ref":"#/components/schemas/MuxStream"},"type":"array"},"output":{"$ref":"#/components/schemas/Output","description":"Output configuration."},"overlays":{"description":"List of overlays on the output video, in descending Z-order.","items":{"$ref":"#/components/schemas/Overlay"},"type":"array"},"pubsubDestination":{"$ref":"#/components/schemas/PubsubDestination","description":"Destination on Pub/Sub."},"spriteSheets":{"description":"List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.","items":{"$ref":"#/components/schemas/SpriteSheet"},"type":"array"}},"type":"object"},"JobTemplate":{"description":"Transcoding job template resource.","properties":{"config":{"$ref":"#/components/schemas/JobConfig","description":"The configuration for this template."},"labels":{"additionalProperties":{"type":"string"},"description":"The labels associated with this job template. You can use these to organize and group your job templates.","type":"object"},"name":{"description":"The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`","type":"string"}},"type":"object"},"ListJobTemplatesResponse":{"description":"Response message for `TranscoderService.ListJobTemplates`.","properties":{"jobTemplates":{"description":"List of job templates in the specified region.","items":{"$ref":"#/components/schemas/JobTemplate"},"type":"array"},"nextPageToken":{"description":"The pagination token.","type":"string"},"unreachable":{"description":"List of regions that could not be reached.","items":{"type":"string"},"type":"array"}},"type":"object"},"ListJobsResponse":{"description":"Response message for `TranscoderService.ListJobs`.","properties":{"jobs":{"description":"List of jobs in the specified region.","items":{"$ref":"#/components/schemas/Job"},"type":"array"},"nextPageToken":{"description":"The pagination token.","type":"string"},"unreachable":{"description":"List of regions that could not be reached.","items":{"type":"string"},"type":"array"}},"type":"object"},"Manifest":{"description":"Manifest configuration.","properties":{"dash":{"$ref":"#/components/schemas/DashConfig","description":"`DASH` manifest configuration."},"fileName":{"description":"The name of the generated file. The default is `manifest` with the extension suffix corresponding to the Manifest.type.","type":"string"},"muxStreams":{"description":"Required. List of user supplied MuxStream.key values that should appear in this manifest. When Manifest.type is `HLS`, a media manifest with name MuxStream.key and `.m3u8` extension is generated for each element in this list.","items":{"type":"string"},"type":"array"},"type":{"description":"Required. Type of the manifest.","enum":["MANIFEST_TYPE_UNSPECIFIED","HLS","DASH"],"type":"string"}},"type":"object"},"MpegCommonEncryption":{"description":"Configuration for MPEG Common Encryption (MPEG-CENC).","properties":{"scheme":{"description":"Required. Specify the encryption scheme. Supported encryption schemes: - `cenc` - `cbcs`","type":"string"}},"type":"object"},"MuxStream":{"description":"Multiplexing settings for output stream.","properties":{"container":{"description":"The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)","type":"string"},"elementaryStreams":{"description":"List of ElementaryStream.key values multiplexed in this stream.","items":{"type":"string"},"type":"array"},"encryptionId":{"description":"Identifier of the encryption configuration to use. If omitted, output will be unencrypted.","type":"string"},"fileName":{"description":"The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as `mux_stream0000000123.ts`.","type":"string"},"fmp4":{"$ref":"#/components/schemas/Fmp4Config","description":"Optional. `fmp4` container configuration."},"key":{"description":"A unique key for this multiplexed stream.","type":"string"},"segmentSettings":{"$ref":"#/components/schemas/SegmentSettings","description":"Segment settings for `ts`, `fmp4` and `vtt`."}},"type":"object"},"NormalizedCoordinate":{"description":"2D normalized coordinates. Default: `{0.0, 0.0}`","properties":{"x":{"description":"Normalized x coordinate.","format":"double","type":"number"},"y":{"description":"Normalized y coordinate.","format":"double","type":"number"}},"type":"object"},"Output":{"description":"Location of output file(s) in a Cloud Storage bucket.","properties":{"uri":{"description":"URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).","type":"string"}},"type":"object"},"Overlay":{"description":"Overlay configuration.","properties":{"animations":{"description":"List of animations. The list should be chronological, without any time overlap.","items":{"$ref":"#/components/schemas/Animation"},"type":"array"},"image":{"$ref":"#/components/schemas/Image","description":"Image overlay."}},"type":"object"},"Pad":{"description":"Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.","properties":{"bottomPixels":{"description":"The number of pixels to add to the bottom. The default is 0.","format":"int32","type":"integer"},"leftPixels":{"description":"The number of pixels to add to the left. The default is 0.","format":"int32","type":"integer"},"rightPixels":{"description":"The number of pixels to add to the right. The default is 0.","format":"int32","type":"integer"},"topPixels":{"description":"The number of pixels to add to the top. The default is 0.","format":"int32","type":"integer"}},"type":"object"},"Playready":{"description":"Playready configuration.","properties":{},"type":"object"},"PreprocessingConfig":{"description":"Preprocessing configurations.","properties":{"audio":{"$ref":"#/components/schemas/Audio","description":"Audio preprocessing configuration."},"color":{"$ref":"#/components/schemas/Color","description":"Color preprocessing configuration."},"crop":{"$ref":"#/components/schemas/Crop","description":"Specify the video cropping configuration."},"deblock":{"$ref":"#/components/schemas/Deblock","description":"Deblock preprocessing configuration."},"deinterlace":{"$ref":"#/components/schemas/Deinterlace","description":"Specify the video deinterlace configuration."},"denoise":{"$ref":"#/components/schemas/Denoise","description":"Denoise preprocessing configuration."},"pad":{"$ref":"#/components/schemas/Pad","description":"Specify the video pad filter configuration."}},"type":"object"},"PubsubDestination":{"description":"A Pub/Sub destination.","properties":{"topic":{"description":"The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.","type":"string"}},"type":"object"},"SampleAesEncryption":{"description":"Configuration for SAMPLE-AES encryption.","properties":{},"type":"object"},"SecretManagerSource":{"description":"Configuration for s