google-cloud-video-transcoder-v1 0.9.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/video/transcoder/v1/resources_pb.rb +14 -1
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb +10 -1
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest/client.rb +136 -0
- data/lib/google/cloud/video/transcoder/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/video/transcoder/v1/resources.rb +168 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7088c9ba6bc99e0e9a63bc440d13da644fafea1643253e68fbaecd3c3b6ff4d1
|
4
|
+
data.tar.gz: eaf290abb7bb345edfa51a865d16edc703887def3d3323af1f5c2f0889fee8c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d527acb3ebea8fdca1225ede9f25babfa32b89268cf1251fa14319bc12cd8feff2e97cb76d340a578fdab1dd1f5b3f98ecac299c5affc3acce0807ce1547f8bd
|
7
|
+
data.tar.gz: e57604f54a36b781bc6c0d2d45ce9ab898b99dde14f138c58d6c3e160aa5d5e2ec897f5a0b2e94d2ea7894bbf2d8721a1764bf481acbd95c9798efb4c5bae211
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
11
11
|
require 'google/rpc/status_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n0google/cloud/video/transcoder/v1/resources.proto\x12 google.cloud.video.transcoder.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xc8\x07\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\tinput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1a\n\x0btemplate_id\x18\x04 \x01(\tB\x03\xe0\x41\x04H\x00\x12=\n\x06\x63onfig\x18\x05 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfigH\x00\x12I\n\x05state\x18\x08 \x01(\x0e\x32\x35.google.cloud.video.transcoder.v1.Job.ProcessingStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12\x41\n\x06labels\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.Job.LabelsEntry\x12&\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x42\n\x04mode\x18\x14 \x01(\x0e\x32\x34.google.cloud.video.transcoder.v1.Job.ProcessingMode\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02:V\xea\x41S\n\x1dtranscoder.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x0c\n\njob_config\"\xc3\x02\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfig\x12I\n\x06labels\x18\x03 \x03(\x0b\x32\x39.google.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n%transcoder.googleapis.com/JobTemplate\x12\x43projects/{project}/locations/{location}/jobTemplates/{job_template}\"\xa0\x05\n\tJobConfig\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.transcoder.v1.Input\x12=\n\tedit_list\x18\x02 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.EditAtom\x12N\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x32.google.cloud.video.transcoder.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x04 \x03(\x0b\x32+.google.cloud.video.transcoder.v1.MuxStream\x12=\n\tmanifests\x18\x05 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.Manifest\x12\x38\n\x06output\x18\x06 \x01(\x0b\x32(.google.cloud.video.transcoder.v1.Output\x12<\n\tad_breaks\x18\x07 \x03(\x0b\x32).google.cloud.video.transcoder.v1.AdBreak\x12O\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32\x33.google.cloud.video.transcoder.v1.PubsubDestination\x12\x44\n\rsprite_sheets\x18\t \x03(\x0b\x32-.google.cloud.video.transcoder.v1.SpriteSheet\x12;\n\x08overlays\x18\n \x03(\x0b\x32).google.cloud.video.transcoder.v1.Overlay\"v\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12S\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.PreprocessingConfig\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xa7\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.SegmentSettings\"\xc5\x01\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.transcoder.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xfd\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\x8b\t\n\x07Overlay\x12>\n\x05image\x18\x01 \x01(\x0b\x32/.google.cloud.video.transcoder.v1.Overlay.Image\x12G\n\nanimations\x18\x02 \x03(\x0b\x32\x33.google.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a|\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\nresolution\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x93\x01\n\x0f\x41nimationStatic\x12J\n\x02xy\x18\x01 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x91\x02\n\rAnimationFade\x12J\n\tfade_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.video.transcoder.v1.Overlay.FadeTypeB\x03\xe0\x41\x02\x12J\n\x02xy\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x98\x02\n\tAnimation\x12U\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12Q\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12O\n\ranimation_end\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xf3\n\n\x13PreprocessingConfig\x12J\n\x05\x63olor\x18\x01 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12N\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12N\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12J\n\x05\x61udio\x18\x04 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x05 \x01(\x0b\x32:.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x06 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12V\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xa4\x03\n\x0b\x44\x65interlace\x12^\n\x05yadif\x18\x01 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12^\n\x05\x62wdif\x18\x02 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x95\x0c\n\x0bVideoStream\x12O\n\x04h264\x18\x01 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12O\n\x04h265\x18\x02 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12M\n\x03vp9\x18\x03 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\xf9\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\tB\n\n\x08gop_mode\x1a\xe2\x03\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\tB\n\n\x08gop_mode\x1a\xa1\x02\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\x9e\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\xa1\x01\n\x0c\x41udioMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xeb\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12I\n\x07mapping\x18\x03 \x03(\x0b\x32\x38.google.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aV\n\x0bTextMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"h\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x13individual_segments\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\x42~\n$com.google.cloud.video.transcoder.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpbb\x06proto3"
|
14
|
+
descriptor_data = "\n0google/cloud/video/transcoder/v1/resources.proto\x12 google.cloud.video.transcoder.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x99\t\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\tinput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1a\n\x0btemplate_id\x18\x04 \x01(\tB\x03\xe0\x41\x04H\x00\x12=\n\x06\x63onfig\x18\x05 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfigH\x00\x12I\n\x05state\x18\x08 \x01(\x0e\x32\x35.google.cloud.video.transcoder.v1.Job.ProcessingStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12\x41\n\x06labels\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.transcoder.v1.Job.LabelsEntry\x12&\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x42\n\x04mode\x18\x14 \x01(\x0e\x32\x34.google.cloud.video.transcoder.v1.Job.ProcessingMode\x12\x1b\n\x13\x62\x61tch_mode_priority\x18\x15 \x01(\x05\x12U\n\x0coptimization\x18\x16 \x01(\x0e\x32:.google.cloud.video.transcoder.v1.Job.OptimizationStrategyB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02\"[\n\x14OptimizationStrategy\x12%\n!OPTIMIZATION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0e\n\nAUTODETECT\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:V\xea\x41S\n\x1dtranscoder.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x0c\n\njob_config\"\xc3\x02\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.cloud.video.transcoder.v1.JobConfig\x12I\n\x06labels\x18\x03 \x03(\x0b\x32\x39.google.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n%transcoder.googleapis.com/JobTemplate\x12\x43projects/{project}/locations/{location}/jobTemplates/{job_template}\"\xe3\x05\n\tJobConfig\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.transcoder.v1.Input\x12=\n\tedit_list\x18\x02 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.EditAtom\x12N\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x32.google.cloud.video.transcoder.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x04 \x03(\x0b\x32+.google.cloud.video.transcoder.v1.MuxStream\x12=\n\tmanifests\x18\x05 \x03(\x0b\x32*.google.cloud.video.transcoder.v1.Manifest\x12\x38\n\x06output\x18\x06 \x01(\x0b\x32(.google.cloud.video.transcoder.v1.Output\x12<\n\tad_breaks\x18\x07 \x03(\x0b\x32).google.cloud.video.transcoder.v1.AdBreak\x12O\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32\x33.google.cloud.video.transcoder.v1.PubsubDestination\x12\x44\n\rsprite_sheets\x18\t \x03(\x0b\x32-.google.cloud.video.transcoder.v1.SpriteSheet\x12;\n\x08overlays\x18\n \x03(\x0b\x32).google.cloud.video.transcoder.v1.Overlay\x12\x41\n\x0b\x65ncryptions\x18\x0b \x03(\x0b\x32,.google.cloud.video.transcoder.v1.Encryption\"v\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12S\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.PreprocessingConfig\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xbe\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.transcoder.v1.SegmentSettings\x12\x15\n\rencryption_id\x18\x07 \x01(\t\"\x91\x04\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.transcoder.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12\x45\n\x04\x64\x61sh\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Manifest.DashConfigH\x00\x1a\xef\x01\n\nDashConfig\x12n\n\x18segment_reference_scheme\x18\x01 \x01(\x0e\x32L.google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme\"q\n\x16SegmentReferenceScheme\x12(\n$SEGMENT_REFERENCE_SCHEME_UNSPECIFIED\x10\x00\x12\x10\n\x0cSEGMENT_LIST\x10\x01\x12\x1b\n\x17SEGMENT_TEMPLATE_NUMBER\x10\x02\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\x42\x11\n\x0fmanifest_config\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xfd\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\x8b\t\n\x07Overlay\x12>\n\x05image\x18\x01 \x01(\x0b\x32/.google.cloud.video.transcoder.v1.Overlay.Image\x12G\n\nanimations\x18\x02 \x03(\x0b\x32\x33.google.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a|\n\x05Image\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\nresolution\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x93\x01\n\x0f\x41nimationStatic\x12J\n\x02xy\x18\x01 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x91\x02\n\rAnimationFade\x12J\n\tfade_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.video.transcoder.v1.Overlay.FadeTypeB\x03\xe0\x41\x02\x12J\n\x02xy\x18\x02 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x98\x02\n\tAnimation\x12U\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12Q\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12O\n\ranimation_end\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xf3\n\n\x13PreprocessingConfig\x12J\n\x05\x63olor\x18\x01 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12N\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12N\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12J\n\x05\x61udio\x18\x04 \x01(\x0b\x32;.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x05 \x01(\x0b\x32:.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x06 \x01(\x0b\x32\x39.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12V\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xa4\x03\n\x0b\x44\x65interlace\x12^\n\x05yadif\x18\x01 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12^\n\x05\x62wdif\x18\x02 \x01(\x0b\x32M.google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x95\x0c\n\x0bVideoStream\x12O\n\x04h264\x18\x01 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12O\n\x04h265\x18\x02 \x01(\x0b\x32?.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12M\n\x03vp9\x18\x03 \x01(\x0b\x32>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\xf9\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\tB\n\n\x08gop_mode\x1a\xe2\x03\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\tB\n\n\x08gop_mode\x1a\xa1\x02\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\x9e\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\xa1\x01\n\x0c\x41udioMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xeb\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12I\n\x07mapping\x18\x03 \x03(\x0b\x32\x38.google.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aV\n\x0bTextMapping\x12\x15\n\x08\x61tom_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tinput_key\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"h\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x13individual_segments\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\"\xef\x07\n\nEncryption\x12\x0f\n\x02id\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12P\n\x07\x61\x65s_128\x18\x03 \x01(\x0b\x32=.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionH\x00\x12V\n\nsample_aes\x18\x04 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionH\x00\x12V\n\tmpeg_cenc\x18\x05 \x01(\x0b\x32\x41.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionH\x00\x12\x65\n\x19secret_manager_key_source\x18\x07 \x01(\x0b\x32@.google.cloud.video.transcoder.v1.Encryption.SecretManagerSourceH\x01\x12Q\n\x0b\x64rm_systems\x18\x08 \x01(\x0b\x32\x37.google.cloud.video.transcoder.v1.Encryption.DrmSystemsB\x03\xe0\x41\x02\x1a\x12\n\x10\x41\x65s128Encryption\x1a\x15\n\x13SampleAesEncryption\x1a+\n\x14MpegCommonEncryption\x12\x13\n\x06scheme\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x32\n\x13SecretManagerSource\x12\x1b\n\x0esecret_version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\n\n\x08Widevine\x1a\n\n\x08\x46\x61irplay\x1a\x0b\n\tPlayready\x1a\n\n\x08\x43learkey\x1a\xb2\x02\n\nDrmSystems\x12G\n\x08widevine\x18\x01 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Widevine\x12G\n\x08\x66\x61irplay\x18\x02 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.Fairplay\x12I\n\tplayready\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.transcoder.v1.Encryption.Playready\x12G\n\x08\x63learkey\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.transcoder.v1.Encryption.ClearkeyB\x11\n\x0f\x65ncryption_modeB\x0f\n\rsecret_sourceB~\n$com.google.cloud.video.transcoder.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -48,6 +48,7 @@ module Google
|
|
48
48
|
Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job").msgclass
|
49
49
|
Job::ProcessingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.ProcessingState").enummodule
|
50
50
|
Job::ProcessingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.ProcessingMode").enummodule
|
51
|
+
Job::OptimizationStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.OptimizationStrategy").enummodule
|
51
52
|
JobTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobTemplate").msgclass
|
52
53
|
JobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobConfig").msgclass
|
53
54
|
Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Input").msgclass
|
@@ -57,6 +58,8 @@ module Google
|
|
57
58
|
ElementaryStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ElementaryStream").msgclass
|
58
59
|
MuxStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.MuxStream").msgclass
|
59
60
|
Manifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest").msgclass
|
61
|
+
Manifest::DashConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.DashConfig").msgclass
|
62
|
+
Manifest::DashConfig::SegmentReferenceScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme").enummodule
|
60
63
|
Manifest::ManifestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Manifest.ManifestType").enummodule
|
61
64
|
PubsubDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.PubsubDestination").msgclass
|
62
65
|
SpriteSheet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.SpriteSheet").msgclass
|
@@ -87,6 +90,16 @@ module Google
|
|
87
90
|
TextStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream").msgclass
|
88
91
|
TextStream::TextMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream.TextMapping").msgclass
|
89
92
|
SegmentSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.SegmentSettings").msgclass
|
93
|
+
Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption").msgclass
|
94
|
+
Encryption::Aes128Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Aes128Encryption").msgclass
|
95
|
+
Encryption::SampleAesEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption").msgclass
|
96
|
+
Encryption::MpegCommonEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption").msgclass
|
97
|
+
Encryption::SecretManagerSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.SecretManagerSource").msgclass
|
98
|
+
Encryption::Widevine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Widevine").msgclass
|
99
|
+
Encryption::Fairplay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Fairplay").msgclass
|
100
|
+
Encryption::Playready = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Playready").msgclass
|
101
|
+
Encryption::Clearkey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Clearkey").msgclass
|
102
|
+
Encryption::DrmSystems = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.DrmSystems").msgclass
|
90
103
|
end
|
91
104
|
end
|
92
105
|
end
|
@@ -165,7 +165,8 @@ module Google
|
|
165
165
|
credentials: credentials,
|
166
166
|
endpoint: @config.endpoint,
|
167
167
|
channel_args: @config.channel_args,
|
168
|
-
interceptors: @config.interceptors
|
168
|
+
interceptors: @config.interceptors,
|
169
|
+
channel_pool_config: @config.channel_pool
|
169
170
|
)
|
170
171
|
end
|
171
172
|
|
@@ -1026,6 +1027,14 @@ module Google
|
|
1026
1027
|
end
|
1027
1028
|
end
|
1028
1029
|
|
1030
|
+
##
|
1031
|
+
# Configuration for the channel pool
|
1032
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1033
|
+
#
|
1034
|
+
def channel_pool
|
1035
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1036
|
+
end
|
1037
|
+
|
1029
1038
|
##
|
1030
1039
|
# Configuration RPC class for the TranscoderService API.
|
1031
1040
|
#
|
@@ -192,6 +192,22 @@ module Google
|
|
192
192
|
# @return [::Google::Cloud::Video::Transcoder::V1::Job]
|
193
193
|
#
|
194
194
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
195
|
+
#
|
196
|
+
# @example Basic example
|
197
|
+
# require "google/cloud/video/transcoder/v1"
|
198
|
+
#
|
199
|
+
# # Create a client object. The client can be reused for multiple calls.
|
200
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
201
|
+
#
|
202
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
203
|
+
# request = Google::Cloud::Video::Transcoder::V1::CreateJobRequest.new
|
204
|
+
#
|
205
|
+
# # Call the create_job method.
|
206
|
+
# result = client.create_job request
|
207
|
+
#
|
208
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1::Job.
|
209
|
+
# p result
|
210
|
+
#
|
195
211
|
def create_job request, options = nil
|
196
212
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
197
213
|
|
@@ -265,6 +281,26 @@ module Google
|
|
265
281
|
# @return [::Google::Cloud::Video::Transcoder::V1::ListJobsResponse]
|
266
282
|
#
|
267
283
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
284
|
+
#
|
285
|
+
# @example Basic example
|
286
|
+
# require "google/cloud/video/transcoder/v1"
|
287
|
+
#
|
288
|
+
# # Create a client object. The client can be reused for multiple calls.
|
289
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
290
|
+
#
|
291
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
292
|
+
# request = Google::Cloud::Video::Transcoder::V1::ListJobsRequest.new
|
293
|
+
#
|
294
|
+
# # Call the list_jobs method.
|
295
|
+
# result = client.list_jobs request
|
296
|
+
#
|
297
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
298
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
299
|
+
# result.each do |item|
|
300
|
+
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1::Job.
|
301
|
+
# p item
|
302
|
+
# end
|
303
|
+
#
|
268
304
|
def list_jobs request, options = nil
|
269
305
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
270
306
|
|
@@ -328,6 +364,22 @@ module Google
|
|
328
364
|
# @return [::Google::Cloud::Video::Transcoder::V1::Job]
|
329
365
|
#
|
330
366
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
367
|
+
#
|
368
|
+
# @example Basic example
|
369
|
+
# require "google/cloud/video/transcoder/v1"
|
370
|
+
#
|
371
|
+
# # Create a client object. The client can be reused for multiple calls.
|
372
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
373
|
+
#
|
374
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
375
|
+
# request = Google::Cloud::Video::Transcoder::V1::GetJobRequest.new
|
376
|
+
#
|
377
|
+
# # Call the get_job method.
|
378
|
+
# result = client.get_job request
|
379
|
+
#
|
380
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1::Job.
|
381
|
+
# p result
|
382
|
+
#
|
331
383
|
def get_job request, options = nil
|
332
384
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
333
385
|
|
@@ -394,6 +446,22 @@ module Google
|
|
394
446
|
# @return [::Google::Protobuf::Empty]
|
395
447
|
#
|
396
448
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
449
|
+
#
|
450
|
+
# @example Basic example
|
451
|
+
# require "google/cloud/video/transcoder/v1"
|
452
|
+
#
|
453
|
+
# # Create a client object. The client can be reused for multiple calls.
|
454
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
455
|
+
#
|
456
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
457
|
+
# request = Google::Cloud::Video::Transcoder::V1::DeleteJobRequest.new
|
458
|
+
#
|
459
|
+
# # Call the delete_job method.
|
460
|
+
# result = client.delete_job request
|
461
|
+
#
|
462
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
463
|
+
# p result
|
464
|
+
#
|
397
465
|
def delete_job request, options = nil
|
398
466
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
399
467
|
|
@@ -465,6 +533,22 @@ module Google
|
|
465
533
|
# @return [::Google::Cloud::Video::Transcoder::V1::JobTemplate]
|
466
534
|
#
|
467
535
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
536
|
+
#
|
537
|
+
# @example Basic example
|
538
|
+
# require "google/cloud/video/transcoder/v1"
|
539
|
+
#
|
540
|
+
# # Create a client object. The client can be reused for multiple calls.
|
541
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
542
|
+
#
|
543
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
544
|
+
# request = Google::Cloud::Video::Transcoder::V1::CreateJobTemplateRequest.new
|
545
|
+
#
|
546
|
+
# # Call the create_job_template method.
|
547
|
+
# result = client.create_job_template request
|
548
|
+
#
|
549
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1::JobTemplate.
|
550
|
+
# p result
|
551
|
+
#
|
468
552
|
def create_job_template request, options = nil
|
469
553
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
470
554
|
|
@@ -539,6 +623,26 @@ module Google
|
|
539
623
|
# @return [::Google::Cloud::Video::Transcoder::V1::ListJobTemplatesResponse]
|
540
624
|
#
|
541
625
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
626
|
+
#
|
627
|
+
# @example Basic example
|
628
|
+
# require "google/cloud/video/transcoder/v1"
|
629
|
+
#
|
630
|
+
# # Create a client object. The client can be reused for multiple calls.
|
631
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
632
|
+
#
|
633
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
634
|
+
# request = Google::Cloud::Video::Transcoder::V1::ListJobTemplatesRequest.new
|
635
|
+
#
|
636
|
+
# # Call the list_job_templates method.
|
637
|
+
# result = client.list_job_templates request
|
638
|
+
#
|
639
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
640
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
641
|
+
# result.each do |item|
|
642
|
+
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1::JobTemplate.
|
643
|
+
# p item
|
644
|
+
# end
|
645
|
+
#
|
542
646
|
def list_job_templates request, options = nil
|
543
647
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
544
648
|
|
@@ -603,6 +707,22 @@ module Google
|
|
603
707
|
# @return [::Google::Cloud::Video::Transcoder::V1::JobTemplate]
|
604
708
|
#
|
605
709
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
710
|
+
#
|
711
|
+
# @example Basic example
|
712
|
+
# require "google/cloud/video/transcoder/v1"
|
713
|
+
#
|
714
|
+
# # Create a client object. The client can be reused for multiple calls.
|
715
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
716
|
+
#
|
717
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
718
|
+
# request = Google::Cloud::Video::Transcoder::V1::GetJobTemplateRequest.new
|
719
|
+
#
|
720
|
+
# # Call the get_job_template method.
|
721
|
+
# result = client.get_job_template request
|
722
|
+
#
|
723
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1::JobTemplate.
|
724
|
+
# p result
|
725
|
+
#
|
606
726
|
def get_job_template request, options = nil
|
607
727
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
608
728
|
|
@@ -669,6 +789,22 @@ module Google
|
|
669
789
|
# @return [::Google::Protobuf::Empty]
|
670
790
|
#
|
671
791
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
792
|
+
#
|
793
|
+
# @example Basic example
|
794
|
+
# require "google/cloud/video/transcoder/v1"
|
795
|
+
#
|
796
|
+
# # Create a client object. The client can be reused for multiple calls.
|
797
|
+
# client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
798
|
+
#
|
799
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
800
|
+
# request = Google::Cloud::Video::Transcoder::V1::DeleteJobTemplateRequest.new
|
801
|
+
#
|
802
|
+
# # Call the delete_job_template method.
|
803
|
+
# result = client.delete_job_template request
|
804
|
+
#
|
805
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
806
|
+
# p result
|
807
|
+
#
|
672
808
|
def delete_job_template request, options = nil
|
673
809
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
674
810
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -80,6 +80,16 @@ module Google
|
|
80
80
|
# @return [::Google::Cloud::Video::Transcoder::V1::Job::ProcessingMode]
|
81
81
|
# The processing mode of the job.
|
82
82
|
# The default is `PROCESSING_MODE_INTERACTIVE`.
|
83
|
+
# @!attribute [rw] batch_mode_priority
|
84
|
+
# @return [::Integer]
|
85
|
+
# The processing priority of a batch job.
|
86
|
+
# This field can only be set for batch mode jobs. The default value is 0.
|
87
|
+
# This value cannot be negative. Higher values correspond to higher
|
88
|
+
# priorities for the job.
|
89
|
+
# @!attribute [rw] optimization
|
90
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Job::OptimizationStrategy]
|
91
|
+
# Optional. The optimization strategy of the job. The default is
|
92
|
+
# `AUTODETECT`.
|
83
93
|
class Job
|
84
94
|
include ::Google::Protobuf::MessageExts
|
85
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -126,6 +136,18 @@ module Google
|
|
126
136
|
# Batch mode allows queuing of jobs.
|
127
137
|
PROCESSING_MODE_BATCH = 2
|
128
138
|
end
|
139
|
+
|
140
|
+
# The optimization strategy of the job. The default is `AUTODETECT`.
|
141
|
+
module OptimizationStrategy
|
142
|
+
# The optimization strategy is not specified.
|
143
|
+
OPTIMIZATION_STRATEGY_UNSPECIFIED = 0
|
144
|
+
|
145
|
+
# Prioritize job processing speed.
|
146
|
+
AUTODETECT = 1
|
147
|
+
|
148
|
+
# Disable all optimizations.
|
149
|
+
DISABLED = 2
|
150
|
+
end
|
129
151
|
end
|
130
152
|
|
131
153
|
# Transcoding job template resource.
|
@@ -189,6 +211,12 @@ module Google
|
|
189
211
|
# @!attribute [rw] overlays
|
190
212
|
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::Overlay>]
|
191
213
|
# List of overlays on the output video, in descending Z-order.
|
214
|
+
# @!attribute [rw] encryptions
|
215
|
+
# @return [::Array<::Google::Cloud::Video::Transcoder::V1::Encryption>]
|
216
|
+
# List of encryption configurations for the content.
|
217
|
+
# Each configuration has an ID. Specify this ID in the
|
218
|
+
# {::Google::Cloud::Video::Transcoder::V1::MuxStream#encryption_id MuxStream.encryption_id}
|
219
|
+
# field to indicate the configuration to use for that `MuxStream` output.
|
192
220
|
class JobConfig
|
193
221
|
include ::Google::Protobuf::MessageExts
|
194
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -311,6 +339,10 @@ module Google
|
|
311
339
|
# @!attribute [rw] segment_settings
|
312
340
|
# @return [::Google::Cloud::Video::Transcoder::V1::SegmentSettings]
|
313
341
|
# Segment settings for `ts`, `fmp4` and `vtt`.
|
342
|
+
# @!attribute [rw] encryption_id
|
343
|
+
# @return [::String]
|
344
|
+
# Identifier of the encryption configuration to use. If omitted, output will
|
345
|
+
# be unencrypted.
|
314
346
|
class MuxStream
|
315
347
|
include ::Google::Protobuf::MessageExts
|
316
348
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -323,7 +355,7 @@ module Google
|
|
323
355
|
# extension suffix corresponding to the `Manifest.type`.
|
324
356
|
# @!attribute [rw] type
|
325
357
|
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::ManifestType]
|
326
|
-
# Required. Type of the manifest
|
358
|
+
# Required. Type of the manifest.
|
327
359
|
# @!attribute [rw] mux_streams
|
328
360
|
# @return [::Array<::String>]
|
329
361
|
# Required. List of user given `MuxStream.key`s that should appear in this
|
@@ -332,19 +364,44 @@ module Google
|
|
332
364
|
# When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
|
333
365
|
# and `.m3u8` extension is generated for each element of the
|
334
366
|
# `Manifest.mux_streams`.
|
367
|
+
# @!attribute [rw] dash
|
368
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig]
|
369
|
+
# `DASH` manifest configuration.
|
335
370
|
class Manifest
|
336
371
|
include ::Google::Protobuf::MessageExts
|
337
372
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
338
373
|
|
339
|
-
#
|
374
|
+
# `DASH` manifest configuration.
|
375
|
+
# @!attribute [rw] segment_reference_scheme
|
376
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme]
|
377
|
+
# The segment reference scheme for a `DASH` manifest. The default is
|
378
|
+
# `SEGMENT_LIST`.
|
379
|
+
class DashConfig
|
380
|
+
include ::Google::Protobuf::MessageExts
|
381
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
382
|
+
|
383
|
+
# The segment reference scheme for a `DASH` manifest.
|
384
|
+
module SegmentReferenceScheme
|
385
|
+
# The segment reference scheme is not specified.
|
386
|
+
SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0
|
387
|
+
|
388
|
+
# Lists the URLs of media files for each segment.
|
389
|
+
SEGMENT_LIST = 1
|
390
|
+
|
391
|
+
# Lists each segment from a template with $Number$ variable.
|
392
|
+
SEGMENT_TEMPLATE_NUMBER = 2
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# The manifest type, which corresponds to the adaptive streaming format used.
|
340
397
|
module ManifestType
|
341
398
|
# The manifest type is not specified.
|
342
399
|
MANIFEST_TYPE_UNSPECIFIED = 0
|
343
400
|
|
344
|
-
# Create
|
401
|
+
# Create an HLS manifest. The corresponding file extension is `.m3u8`.
|
345
402
|
HLS = 1
|
346
403
|
|
347
|
-
# Create
|
404
|
+
# Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
|
348
405
|
DASH = 2
|
349
406
|
end
|
350
407
|
end
|
@@ -1330,6 +1387,113 @@ module Google
|
|
1330
1387
|
include ::Google::Protobuf::MessageExts
|
1331
1388
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1332
1389
|
end
|
1390
|
+
|
1391
|
+
# Encryption settings.
|
1392
|
+
# @!attribute [rw] id
|
1393
|
+
# @return [::String]
|
1394
|
+
# Required. Identifier for this set of encryption options.
|
1395
|
+
# @!attribute [rw] aes_128
|
1396
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Aes128Encryption]
|
1397
|
+
# Configuration for AES-128 encryption.
|
1398
|
+
# @!attribute [rw] sample_aes
|
1399
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::SampleAesEncryption]
|
1400
|
+
# Configuration for SAMPLE-AES encryption.
|
1401
|
+
# @!attribute [rw] mpeg_cenc
|
1402
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::MpegCommonEncryption]
|
1403
|
+
# Configuration for MPEG Common Encryption (MPEG-CENC).
|
1404
|
+
# @!attribute [rw] secret_manager_key_source
|
1405
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::SecretManagerSource]
|
1406
|
+
# Keys are stored in Google Secret Manager.
|
1407
|
+
# @!attribute [rw] drm_systems
|
1408
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::DrmSystems]
|
1409
|
+
# Required. DRM system(s) to use; at least one must be specified. If a
|
1410
|
+
# DRM system is omitted, it is considered disabled.
|
1411
|
+
class Encryption
|
1412
|
+
include ::Google::Protobuf::MessageExts
|
1413
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1414
|
+
|
1415
|
+
# Configuration for AES-128 encryption.
|
1416
|
+
class Aes128Encryption
|
1417
|
+
include ::Google::Protobuf::MessageExts
|
1418
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# Configuration for SAMPLE-AES encryption.
|
1422
|
+
class SampleAesEncryption
|
1423
|
+
include ::Google::Protobuf::MessageExts
|
1424
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# Configuration for MPEG Common Encryption (MPEG-CENC).
|
1428
|
+
# @!attribute [rw] scheme
|
1429
|
+
# @return [::String]
|
1430
|
+
# Required. Specify the encryption scheme.
|
1431
|
+
#
|
1432
|
+
# Supported encryption schemes:
|
1433
|
+
#
|
1434
|
+
# - `cenc`
|
1435
|
+
# - `cbcs`
|
1436
|
+
class MpegCommonEncryption
|
1437
|
+
include ::Google::Protobuf::MessageExts
|
1438
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
# Configuration for secrets stored in Google Secret Manager.
|
1442
|
+
# @!attribute [rw] secret_version
|
1443
|
+
# @return [::String]
|
1444
|
+
# Required. The name of the Secret Version containing the encryption key in
|
1445
|
+
# the following format:
|
1446
|
+
# `projects/{project}/secrets/{secret_id}/versions/{version_number}`
|
1447
|
+
#
|
1448
|
+
# Note that only numbered versions are supported. Aliases like "latest" are
|
1449
|
+
# not supported.
|
1450
|
+
class SecretManagerSource
|
1451
|
+
include ::Google::Protobuf::MessageExts
|
1452
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
# Widevine configuration.
|
1456
|
+
class Widevine
|
1457
|
+
include ::Google::Protobuf::MessageExts
|
1458
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
# Fairplay configuration.
|
1462
|
+
class Fairplay
|
1463
|
+
include ::Google::Protobuf::MessageExts
|
1464
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
# Playready configuration.
|
1468
|
+
class Playready
|
1469
|
+
include ::Google::Protobuf::MessageExts
|
1470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# Clearkey configuration.
|
1474
|
+
class Clearkey
|
1475
|
+
include ::Google::Protobuf::MessageExts
|
1476
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# Defines configuration for DRM systems in use.
|
1480
|
+
# @!attribute [rw] widevine
|
1481
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Widevine]
|
1482
|
+
# Widevine configuration.
|
1483
|
+
# @!attribute [rw] fairplay
|
1484
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Fairplay]
|
1485
|
+
# Fairplay configuration.
|
1486
|
+
# @!attribute [rw] playready
|
1487
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Playready]
|
1488
|
+
# Playready configuration.
|
1489
|
+
# @!attribute [rw] clearkey
|
1490
|
+
# @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Clearkey]
|
1491
|
+
# Clearkey configuration.
|
1492
|
+
class DrmSystems
|
1493
|
+
include ::Google::Protobuf::MessageExts
|
1494
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1495
|
+
end
|
1496
|
+
end
|
1333
1497
|
end
|
1334
1498
|
end
|
1335
1499
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-transcoder-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '0'
|
217
217
|
requirements: []
|
218
|
-
rubygems_version: 3.4.
|
218
|
+
rubygems_version: 3.4.19
|
219
219
|
signing_key:
|
220
220
|
specification_version: 4
|
221
221
|
summary: This API converts video files into formats suitable for consumer distribution.
|