google-cloud-video-transcoder-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ba6fb88b7159d5ee06b4c88af178ca9d11f2ef0871baaf50fa11641d4f0c7f7
4
- data.tar.gz: aab6772bf52029da2bb869ed12eaed6a43ff49f716454816f24899ef60678591
3
+ metadata.gz: 6a48b8945217f91acc6ce9123a9bd85f01ef758bf7710b265cbe49133beabe4a
4
+ data.tar.gz: f146397966ccebbea1cb7dfe69ac2d677fafecbd1ac079e1d696734c556be864
5
5
  SHA512:
6
- metadata.gz: 7760829bde345657acef7eb11ad21abfd4b5919d1045ad02fd68c64880365d4d920d2577c0c38c0a5755723e7a28a367dd326921b387c436e4ed61f3b77944a5
7
- data.tar.gz: a232347ec29481e4707aa02a89526178dade58ed32353ce2b21272038f8cac60de19c576f6cce7c90024a9e6d1568e17fd41eb378673c46ef377681ef6b01ec9
6
+ metadata.gz: cce02934e9dda7f222bb310ee312dbf4eb0af45756de82faa9b58d6b6f401b0c74825ad6ada728e69b27081b353e3f2c370e609c6d750f13cf52a07e75546d78
7
+ data.tar.gz: 242f819a108ec9ff07df887f88ae4dc78778f2dff167fdab7c41ab21eb849bbbc2eaf08507069395e7256890f072e026fca5e2276fee0ff30fe3a191ef31dd5a
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/video/transcoder/v1/resources.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/protobuf/duration_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/rpc/status_pb'
9
+ require 'google/protobuf'
10
+
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/video/transcoder/v1/resources.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.video.transcoder.v1.Job" do
@@ -79,7 +79,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
79
79
  optional :container, :string, 3
80
80
  repeated :elementary_streams, :string, 4
81
81
  optional :segment_settings, :message, 5, "google.cloud.video.transcoder.v1.SegmentSettings"
82
- optional :encryption, :message, 6, "google.cloud.video.transcoder.v1.Encryption"
83
82
  end
84
83
  add_message "google.cloud.video.transcoder.v1.Manifest" do
85
84
  optional :file_name, :string, 1
@@ -282,25 +281,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
282
281
  optional :segment_duration, :message, 1, "google.protobuf.Duration"
283
282
  optional :individual_segments, :bool, 3
284
283
  end
285
- add_message "google.cloud.video.transcoder.v1.Encryption" do
286
- optional :key, :string, 1
287
- optional :iv, :string, 2
288
- oneof :encryption_mode do
289
- optional :aes_128, :message, 3, "google.cloud.video.transcoder.v1.Encryption.Aes128Encryption"
290
- optional :sample_aes, :message, 4, "google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption"
291
- optional :mpeg_cenc, :message, 5, "google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption"
292
- end
293
- end
294
- add_message "google.cloud.video.transcoder.v1.Encryption.Aes128Encryption" do
295
- optional :key_uri, :string, 1
296
- end
297
- add_message "google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption" do
298
- optional :key_uri, :string, 1
299
- end
300
- add_message "google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption" do
301
- optional :key_id, :string, 1
302
- optional :scheme, :string, 2
303
- end
304
284
  end
305
285
  end
306
286
 
@@ -347,10 +327,6 @@ module Google
347
327
  TextStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream").msgclass
348
328
  TextStream::TextMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.TextStream.TextMapping").msgclass
349
329
  SegmentSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.SegmentSettings").msgclass
350
- Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption").msgclass
351
- Encryption::Aes128Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.Aes128Encryption").msgclass
352
- Encryption::SampleAesEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption").msgclass
353
- Encryption::MpegCommonEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption").msgclass
354
330
  end
355
331
  end
356
332
  end
@@ -1,14 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/video/transcoder/v1/services.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
9
7
  require 'google/api/resource_pb'
10
8
  require 'google/cloud/video/transcoder/v1/resources_pb'
11
9
  require 'google/protobuf/empty_pb'
10
+ require 'google/protobuf'
11
+
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/video/transcoder/v1/services.proto", :syntax => :proto3) do
14
14
  add_message "google.cloud.video.transcoder.v1.CreateJobRequest" do
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
27
27
  end
28
28
  add_message "google.cloud.video.transcoder.v1.DeleteJobRequest" do
29
29
  optional :name, :string, 1
30
+ optional :allow_missing, :bool, 2
30
31
  end
31
32
  add_message "google.cloud.video.transcoder.v1.ListJobsResponse" do
32
33
  repeated :jobs, :message, 1, "google.cloud.video.transcoder.v1.Job"
@@ -50,6 +51,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
50
51
  end
51
52
  add_message "google.cloud.video.transcoder.v1.DeleteJobTemplateRequest" do
52
53
  optional :name, :string, 1
54
+ optional :allow_missing, :bool, 2
53
55
  end
54
56
  add_message "google.cloud.video.transcoder.v1.ListJobTemplatesResponse" do
55
57
  repeated :job_templates, :message, 1, "google.cloud.video.transcoder.v1.JobTemplate"
@@ -33,7 +33,7 @@ module Google
33
33
  # concatenation, and digital ad-stitch ready content generation.
34
34
  class Service
35
35
 
36
- include GRPC::GenericService
36
+ include ::GRPC::GenericService
37
37
 
38
38
  self.marshal_class_method = :encode
39
39
  self.unmarshal_class_method = :decode
@@ -404,7 +404,7 @@ module Google
404
404
  # @param options [::Gapic::CallOptions, ::Hash]
405
405
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
406
406
  #
407
- # @overload delete_job(name: nil)
407
+ # @overload delete_job(name: nil, allow_missing: nil)
408
408
  # Pass arguments to `delete_job` via keyword arguments. Note that at
409
409
  # least one keyword argument is required. To specify no parameters, or to keep all
410
410
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -412,6 +412,9 @@ module Google
412
412
  # @param name [::String]
413
413
  # Required. The name of the job to delete.
414
414
  # Format: `projects/{project}/locations/{location}/jobs/{job}`
415
+ # @param allow_missing [::Boolean]
416
+ # If set to true, and the job is not found, the request will succeed but no
417
+ # action will be taken on the server.
415
418
  #
416
419
  # @yield [response, operation] Access the result along with the RPC operation
417
420
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -701,7 +704,7 @@ module Google
701
704
  # @param options [::Gapic::CallOptions, ::Hash]
702
705
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
703
706
  #
704
- # @overload delete_job_template(name: nil)
707
+ # @overload delete_job_template(name: nil, allow_missing: nil)
705
708
  # Pass arguments to `delete_job_template` via keyword arguments. Note that at
706
709
  # least one keyword argument is required. To specify no parameters, or to keep all
707
710
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -709,6 +712,9 @@ module Google
709
712
  # @param name [::String]
710
713
  # Required. The name of the job template to delete.
711
714
  # `projects/{project}/locations/{location}/jobTemplates/{job_template}`
715
+ # @param allow_missing [::Boolean]
716
+ # If set to true, and the job template is not found, the request will succeed
717
+ # but no action will be taken on the server.
712
718
  #
713
719
  # @yield [response, operation] Access the result along with the RPC operation
714
720
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "0.1.0"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @!attribute [rw] name
27
27
  # @return [::String]
28
28
  # The resource name of the job.
29
- # Format: `projects/{project}/locations/{location}/jobs/{job}`
29
+ # Format: `projects/{project_number}/locations/{location}/jobs/{job}`
30
30
  # @!attribute [rw] input_uri
31
31
  # @return [::String]
32
32
  # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
@@ -101,7 +101,7 @@ module Google
101
101
  # @return [::String]
102
102
  # The resource name of the job template.
103
103
  # Format:
104
- # `projects/{project}/locations/{location}/jobTemplates/{job_template}`
104
+ # `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
105
105
  # @!attribute [rw] config
106
106
  # @return [::Google::Cloud::Video::Transcoder::V1::JobConfig]
107
107
  # The configuration for this template.
@@ -233,32 +233,30 @@ module Google
233
233
  # @!attribute [rw] key
234
234
  # @return [::String]
235
235
  # A unique key for this multiplexed stream. HLS media manifests will be
236
- # named `MuxStream.key` with the `".m3u8"` extension suffix.
236
+ # named `MuxStream.key` with the `.m3u8` extension suffix.
237
237
  # @!attribute [rw] file_name
238
238
  # @return [::String]
239
239
  # The name of the generated file. The default is `MuxStream.key` with the
240
240
  # extension suffix corresponding to the `MuxStream.container`.
241
241
  #
242
242
  # Individual segments also have an incremental 10-digit zero-padded suffix
243
- # starting from 0 before the extension, such as `"mux_stream0000000123.ts"`.
243
+ # starting from 0 before the extension, such as `mux_stream0000000123.ts`.
244
244
  # @!attribute [rw] container
245
245
  # @return [::String]
246
- # The container format. The default is `"mp4"`
246
+ # The container format. The default is `mp4`
247
247
  #
248
248
  # Supported container formats:
249
- # - 'ts'
250
- # - 'fmp4'- the corresponding file extension is `".m4s"`
251
- # - 'mp4'
252
- # - 'vtt'
249
+ #
250
+ # - `ts`
251
+ # - `fmp4`- the corresponding file extension is `.m4s`
252
+ # - `mp4`
253
+ # - `vtt`
253
254
  # @!attribute [rw] elementary_streams
254
255
  # @return [::Array<::String>]
255
256
  # List of `ElementaryStream.key`s multiplexed in this stream.
256
257
  # @!attribute [rw] segment_settings
257
258
  # @return [::Google::Cloud::Video::Transcoder::V1::SegmentSettings]
258
- # Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
259
- # @!attribute [rw] encryption
260
- # @return [::Google::Cloud::Video::Transcoder::V1::Encryption]
261
- # Encryption settings.
259
+ # Segment settings for `ts`, `fmp4` and `vtt`.
262
260
  class MuxStream
263
261
  include ::Google::Protobuf::MessageExts
264
262
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -267,11 +265,11 @@ module Google
267
265
  # Manifest configuration.
268
266
  # @!attribute [rw] file_name
269
267
  # @return [::String]
270
- # The name of the generated file. The default is `"manifest"` with the
268
+ # The name of the generated file. The default is `manifest` with the
271
269
  # extension suffix corresponding to the `Manifest.type`.
272
270
  # @!attribute [rw] type
273
271
  # @return [::Google::Cloud::Video::Transcoder::V1::Manifest::ManifestType]
274
- # Required. Type of the manifest, can be "HLS" or "DASH".
272
+ # Required. Type of the manifest, can be `HLS` or `DASH`.
275
273
  # @!attribute [rw] mux_streams
276
274
  # @return [::Array<::String>]
277
275
  # Required. List of user given `MuxStream.key`s that should appear in this manifest.
@@ -283,15 +281,15 @@ module Google
283
281
  include ::Google::Protobuf::MessageExts
284
282
  extend ::Google::Protobuf::MessageExts::ClassMethods
285
283
 
286
- # The manifest type can be either `"HLS"` or `"DASH"`.
284
+ # The manifest type can be either `HLS` or `DASH`.
287
285
  module ManifestType
288
286
  # The manifest type is not specified.
289
287
  MANIFEST_TYPE_UNSPECIFIED = 0
290
288
 
291
- # Create `"HLS"` manifest. The corresponding file extension is `".m3u8"`.
289
+ # Create `HLS` manifest. The corresponding file extension is `.m3u8`.
292
290
  HLS = 1
293
291
 
294
- # Create `"DASH"` manifest. The corresponding file extension is `".mpd"`.
292
+ # Create `DASH` manifest. The corresponding file extension is `.mpd`.
295
293
  DASH = 2
296
294
  end
297
295
  end
@@ -309,16 +307,17 @@ module Google
309
307
  # Sprite sheet configuration.
310
308
  # @!attribute [rw] format
311
309
  # @return [::String]
312
- # Format type. The default is `"jpeg"`.
310
+ # Format type. The default is `jpeg`.
313
311
  #
314
312
  # Supported formats:
315
- # - 'jpeg'
313
+ #
314
+ # - `jpeg`
316
315
  # @!attribute [rw] file_prefix
317
316
  # @return [::String]
318
317
  # Required. File name prefix for the generated sprite sheets.
319
318
  #
320
319
  # Each sprite sheet has an incremental 10-digit zero-padded suffix starting
321
- # from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
320
+ # from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
322
321
  # @!attribute [rw] sprite_width_pixels
323
322
  # @return [::Integer]
324
323
  # Required. The width of sprite in pixels. Must be an even integer. To preserve the
@@ -542,11 +541,12 @@ module Google
542
541
  # the value, the smoother the image. 0 is no denoising. The default is 0.
543
542
  # @!attribute [rw] tune
544
543
  # @return [::String]
545
- # Set the denoiser mode. The default is `"standard"`.
544
+ # Set the denoiser mode. The default is `standard`.
546
545
  #
547
546
  # Supported denoiser modes:
548
- # - 'standard'
549
- # - 'grain'
547
+ #
548
+ # - `standard`
549
+ # - `grain`
550
550
  class Denoise
551
551
  include ::Google::Protobuf::MessageExts
552
552
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -666,29 +666,31 @@ module Google
666
666
  # more information.
667
667
  # @!attribute [rw] bitrate_bps
668
668
  # @return [::Integer]
669
- # Required. The video bitrate in bits per second. Must be between 1 and
670
- # 1,000,000,000.
669
+ # Required. The video bitrate in bits per second. The minimum value is 1,000.
670
+ # The maximum value is 800,000,000.
671
671
  # @!attribute [rw] pixel_format
672
672
  # @return [::String]
673
- # Pixel format to use. The default is `"yuv420p"`.
673
+ # Pixel format to use. The default is `yuv420p`.
674
674
  #
675
675
  # Supported pixel formats:
676
- # - 'yuv420p' pixel format.
677
- # - 'yuv422p' pixel format.
678
- # - 'yuv444p' pixel format.
679
- # - 'yuv420p10' 10-bit HDR pixel format.
680
- # - 'yuv422p10' 10-bit HDR pixel format.
681
- # - 'yuv444p10' 10-bit HDR pixel format.
682
- # - 'yuv420p12' 12-bit HDR pixel format.
683
- # - 'yuv422p12' 12-bit HDR pixel format.
684
- # - 'yuv444p12' 12-bit HDR pixel format.
676
+ #
677
+ # - `yuv420p` pixel format
678
+ # - `yuv422p` pixel format
679
+ # - `yuv444p` pixel format
680
+ # - `yuv420p10` 10-bit HDR pixel format
681
+ # - `yuv422p10` 10-bit HDR pixel format
682
+ # - `yuv444p10` 10-bit HDR pixel format
683
+ # - `yuv420p12` 12-bit HDR pixel format
684
+ # - `yuv422p12` 12-bit HDR pixel format
685
+ # - `yuv444p12` 12-bit HDR pixel format
685
686
  # @!attribute [rw] rate_control_mode
686
687
  # @return [::String]
687
- # Specify the `rate_control_mode`. The default is `"vbr"`.
688
+ # Specify the `rate_control_mode`. The default is `vbr`.
688
689
  #
689
690
  # Supported rate control modes:
690
- # - 'vbr' - variable bitrate
691
- # - 'crf' - constant rate factor
691
+ #
692
+ # - `vbr` - variable bitrate
693
+ # - `crf` - constant rate factor
692
694
  # @!attribute [rw] crf_level
693
695
  # @return [::Integer]
694
696
  # Target CRF level. Must be between 10 and 36, where 10 is the highest
@@ -704,14 +706,14 @@ module Google
704
706
  # @!attribute [rw] gop_duration
705
707
  # @return [::Google::Protobuf::Duration]
706
708
  # Select the GOP size based on the specified duration. The default is
707
- # `"3s"`. Note that `gopDuration` must be less than or equal to
709
+ # `3s`. Note that `gopDuration` must be less than or equal to
708
710
  # [`segmentDuration`](#SegmentSettings), and
709
711
  # [`segmentDuration`](#SegmentSettings) must be divisible by
710
712
  # `gopDuration`.
711
713
  # @!attribute [rw] enable_two_pass
712
714
  # @return [::Boolean]
713
715
  # Use two-pass encoding strategy to achieve better video quality.
714
- # `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
716
+ # `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
715
717
  # @!attribute [rw] vbv_size_bits
716
718
  # @return [::Integer]
717
719
  # Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
@@ -723,11 +725,12 @@ module Google
723
725
  # `VideoStream.vbv_size_bits`.
724
726
  # @!attribute [rw] entropy_coder
725
727
  # @return [::String]
726
- # The entropy coder to use. The default is `"cabac"`.
728
+ # The entropy coder to use. The default is `cabac`.
727
729
  #
728
730
  # Supported entropy coders:
729
- # - 'cavlc'
730
- # - 'cabac'
731
+ #
732
+ # - `cavlc`
733
+ # - `cabac`
731
734
  # @!attribute [rw] b_pyramid
732
735
  # @return [::Boolean]
733
736
  # Allow B-pyramid for reference frame selection. This may not be supported
@@ -752,23 +755,23 @@ module Google
752
755
  # * `high` (default)
753
756
  #
754
757
  # The available options are
755
- # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){:
756
- # class="external" }. Note that certain values for this field may cause the
758
+ # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
759
+ # Note that certain values for this field may cause the
757
760
  # transcoder to override other fields you set in the `H264CodecSettings`
758
761
  # message.
759
762
  # @!attribute [rw] tune
760
763
  # @return [::String]
761
764
  # Enforces the specified codec tune. The available options are
762
- # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
763
- # class="external" }. Note that certain values for this field may cause the
765
+ # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
766
+ # Note that certain values for this field may cause the
764
767
  # transcoder to override other fields you set in the `H264CodecSettings`
765
768
  # message.
766
769
  # @!attribute [rw] preset
767
770
  # @return [::String]
768
771
  # Enforces the specified codec preset. The default is `veryfast`. The
769
772
  # available options are
770
- # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
771
- # class="external" }. Note that certain values for this field may cause the
773
+ # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
774
+ # Note that certain values for this field may cause the
772
775
  # transcoder to override other fields you set in the `H264CodecSettings`
773
776
  # message.
774
777
  class H264CodecSettings
@@ -798,29 +801,31 @@ module Google
798
801
  # more information.
799
802
  # @!attribute [rw] bitrate_bps
800
803
  # @return [::Integer]
801
- # Required. The video bitrate in bits per second. Must be between 1 and
802
- # 1,000,000,000.
804
+ # Required. The video bitrate in bits per second. The minimum value is 1,000.
805
+ # The maximum value is 800,000,000.
803
806
  # @!attribute [rw] pixel_format
804
807
  # @return [::String]
805
- # Pixel format to use. The default is `"yuv420p"`.
808
+ # Pixel format to use. The default is `yuv420p`.
806
809
  #
807
810
  # Supported pixel formats:
808
- # - 'yuv420p' pixel format.
809
- # - 'yuv422p' pixel format.
810
- # - 'yuv444p' pixel format.
811
- # - 'yuv420p10' 10-bit HDR pixel format.
812
- # - 'yuv422p10' 10-bit HDR pixel format.
813
- # - 'yuv444p10' 10-bit HDR pixel format.
814
- # - 'yuv420p12' 12-bit HDR pixel format.
815
- # - 'yuv422p12' 12-bit HDR pixel format.
816
- # - 'yuv444p12' 12-bit HDR pixel format.
811
+ #
812
+ # - `yuv420p` pixel format
813
+ # - `yuv422p` pixel format
814
+ # - `yuv444p` pixel format
815
+ # - `yuv420p10` 10-bit HDR pixel format
816
+ # - `yuv422p10` 10-bit HDR pixel format
817
+ # - `yuv444p10` 10-bit HDR pixel format
818
+ # - `yuv420p12` 12-bit HDR pixel format
819
+ # - `yuv422p12` 12-bit HDR pixel format
820
+ # - `yuv444p12` 12-bit HDR pixel format
817
821
  # @!attribute [rw] rate_control_mode
818
822
  # @return [::String]
819
- # Specify the `rate_control_mode`. The default is `"vbr"`.
823
+ # Specify the `rate_control_mode`. The default is `vbr`.
820
824
  #
821
825
  # Supported rate control modes:
822
- # - 'vbr' - variable bitrate
823
- # - 'crf' - constant rate factor
826
+ #
827
+ # - `vbr` - variable bitrate
828
+ # - `crf` - constant rate factor
824
829
  # @!attribute [rw] crf_level
825
830
  # @return [::Integer]
826
831
  # Target CRF level. Must be between 10 and 36, where 10 is the highest
@@ -836,14 +841,14 @@ module Google
836
841
  # @!attribute [rw] gop_duration
837
842
  # @return [::Google::Protobuf::Duration]
838
843
  # Select the GOP size based on the specified duration. The default is
839
- # `"3s"`. Note that `gopDuration` must be less than or equal to
844
+ # `3s`. Note that `gopDuration` must be less than or equal to
840
845
  # [`segmentDuration`](#SegmentSettings), and
841
846
  # [`segmentDuration`](#SegmentSettings) must be divisible by
842
847
  # `gopDuration`.
843
848
  # @!attribute [rw] enable_two_pass
844
849
  # @return [::Boolean]
845
850
  # Use two-pass encoding strategy to achieve better video quality.
846
- # `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
851
+ # `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
847
852
  # @!attribute [rw] vbv_size_bits
848
853
  # @return [::Integer]
849
854
  # Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
@@ -872,45 +877,43 @@ module Google
872
877
  # Enforces the specified codec profile. The following profiles are
873
878
  # supported:
874
879
  #
875
- # 8bit profiles
876
- # * `main` (default)
877
- # * `main-intra`
878
- # * `mainstillpicture`
879
- #
880
- # 10bit profiles
881
- # * `main10` (default)
882
- # * `main10-intra`
883
- # * `main422-10`
884
- # * `main422-10-intra`
885
- # * `main444-10`
886
- # * `main444-10-intra`
887
- #
888
- # 12bit profiles
889
- # * `main12` (default)
890
- # * `main12-intra`
891
- # * `main422-12`
892
- # * `main422-12-intra`
893
- # * `main444-12`
894
- # * `main444-12-intra`
880
+ # * 8-bit profiles
881
+ # * `main` (default)
882
+ # * `main-intra`
883
+ # * `mainstillpicture`
884
+ # * 10-bit profiles
885
+ # * `main10` (default)
886
+ # * `main10-intra`
887
+ # * `main422-10`
888
+ # * `main422-10-intra`
889
+ # * `main444-10`
890
+ # * `main444-10-intra`
891
+ # * 12-bit profiles
892
+ # * `main12` (default)
893
+ # * `main12-intra`
894
+ # * `main422-12`
895
+ # * `main422-12-intra`
896
+ # * `main444-12`
897
+ # * `main444-12-intra`
895
898
  #
896
899
  # The available options are
897
- # [FFmpeg-compatible](https://x265.readthedocs.io/){:
898
- # class="external" }. Note that certain values for this field may cause the
900
+ # [FFmpeg-compatible](https://x265.readthedocs.io/).
901
+ # Note that certain values for this field may cause the
899
902
  # transcoder to override other fields you set in the `H265CodecSettings`
900
903
  # message.
901
904
  # @!attribute [rw] tune
902
905
  # @return [::String]
903
906
  # Enforces the specified codec tune. The available options are
904
- # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
905
- # class="external" }. Note that certain values for this field may cause the
907
+ # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
908
+ # Note that certain values for this field may cause the
906
909
  # transcoder to override other fields you set in the `H265CodecSettings`
907
910
  # message.
908
911
  # @!attribute [rw] preset
909
912
  # @return [::String]
910
913
  # Enforces the specified codec preset. The default is `veryfast`. The
911
914
  # available options are
912
- # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
913
- # class="external" }. Note that certain values for this field may cause the
915
+ # [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
916
+ # Note that certain values for this field may cause the
914
917
  # transcoder to override other fields you set in the `H265CodecSettings`
915
918
  # message.
916
919
  class H265CodecSettings
@@ -940,29 +943,31 @@ module Google
940
943
  # more information.
941
944
  # @!attribute [rw] bitrate_bps
942
945
  # @return [::Integer]
943
- # Required. The video bitrate in bits per second. Must be between 1 and
944
- # 1,000,000,000.
946
+ # Required. The video bitrate in bits per second. The minimum value is 1,000.
947
+ # The maximum value is 480,000,000.
945
948
  # @!attribute [rw] pixel_format
946
949
  # @return [::String]
947
- # Pixel format to use. The default is `"yuv420p"`.
950
+ # Pixel format to use. The default is `yuv420p`.
948
951
  #
949
952
  # Supported pixel formats:
950
- # - 'yuv420p' pixel format.
951
- # - 'yuv422p' pixel format.
952
- # - 'yuv444p' pixel format.
953
- # - 'yuv420p10' 10-bit HDR pixel format.
954
- # - 'yuv422p10' 10-bit HDR pixel format.
955
- # - 'yuv444p10' 10-bit HDR pixel format.
956
- # - 'yuv420p12' 12-bit HDR pixel format.
957
- # - 'yuv422p12' 12-bit HDR pixel format.
958
- # - 'yuv444p12' 12-bit HDR pixel format.
953
+ #
954
+ # - `yuv420p` pixel format
955
+ # - `yuv422p` pixel format
956
+ # - `yuv444p` pixel format
957
+ # - `yuv420p10` 10-bit HDR pixel format
958
+ # - `yuv422p10` 10-bit HDR pixel format
959
+ # - `yuv444p10` 10-bit HDR pixel format
960
+ # - `yuv420p12` 12-bit HDR pixel format
961
+ # - `yuv422p12` 12-bit HDR pixel format
962
+ # - `yuv444p12` 12-bit HDR pixel format
959
963
  # @!attribute [rw] rate_control_mode
960
964
  # @return [::String]
961
- # Specify the `rate_control_mode`. The default is `"vbr"`.
965
+ # Specify the `rate_control_mode`. The default is `vbr`.
962
966
  #
963
967
  # Supported rate control modes:
964
- # - 'vbr' - variable bitrate
965
- # - 'crf' - constant rate factor
968
+ #
969
+ # - `vbr` - variable bitrate
970
+ # - `crf` - constant rate factor
966
971
  # @!attribute [rw] crf_level
967
972
  # @return [::Integer]
968
973
  # Target CRF level. Must be between 10 and 36, where 10 is the highest
@@ -974,7 +979,7 @@ module Google
974
979
  # @!attribute [rw] gop_duration
975
980
  # @return [::Google::Protobuf::Duration]
976
981
  # Select the GOP size based on the specified duration. The default is
977
- # `"3s"`. Note that `gopDuration` must be less than or equal to
982
+ # `3s`. Note that `gopDuration` must be less than or equal to
978
983
  # [`segmentDuration`](#SegmentSettings), and
979
984
  # [`segmentDuration`](#SegmentSettings) must be divisible by
980
985
  # `gopDuration`.
@@ -989,8 +994,8 @@ module Google
989
994
  # * `profile3`
990
995
  #
991
996
  # The available options are
992
- # [WebM-compatible](https://www.webmproject.org/vp9/profiles/){:
993
- # class="external" }. Note that certain values for this field may cause the
997
+ # [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
998
+ # Note that certain values for this field may cause the
994
999
  # transcoder to override other fields you set in the `Vp9CodecSettings`
995
1000
  # message.
996
1001
  class Vp9CodecSettings
@@ -1002,15 +1007,16 @@ module Google
1002
1007
  # Audio stream resource.
1003
1008
  # @!attribute [rw] codec
1004
1009
  # @return [::String]
1005
- # The codec for this audio stream. The default is `"aac"`.
1010
+ # The codec for this audio stream. The default is `aac`.
1006
1011
  #
1007
1012
  # Supported audio codecs:
1008
- # - 'aac'
1009
- # - 'aac-he'
1010
- # - 'aac-he-v2'
1011
- # - 'mp3'
1012
- # - 'ac3'
1013
- # - 'eac3'
1013
+ #
1014
+ # - `aac`
1015
+ # - `aac-he`
1016
+ # - `aac-he-v2`
1017
+ # - `mp3`
1018
+ # - `ac3`
1019
+ # - `eac3`
1014
1020
  # @!attribute [rw] bitrate_bps
1015
1021
  # @return [::Integer]
1016
1022
  # Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
@@ -1024,12 +1030,13 @@ module Google
1024
1030
  # supported by the specified format. The default is `["fl", "fr"]`.
1025
1031
  #
1026
1032
  # Supported channel names:
1027
- # - 'fl' - Front left channel
1028
- # - 'fr' - Front right channel
1029
- # - 'sl' - Side left channel
1030
- # - 'sr' - Side right channel
1031
- # - 'fc' - Front center channel
1032
- # - 'lfe' - Low frequency
1033
+ #
1034
+ # - `fl` - Front left channel
1035
+ # - `fr` - Front right channel
1036
+ # - `sl` - Side left channel
1037
+ # - `sr` - Side right channel
1038
+ # - `fc` - Front center channel
1039
+ # - `lfe` - Low frequency
1033
1040
  # @!attribute [rw] mapping
1034
1041
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>]
1035
1042
  # The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
@@ -1070,14 +1077,15 @@ module Google
1070
1077
  # Encoding of a text stream. For example, closed captions or subtitles.
1071
1078
  # @!attribute [rw] codec
1072
1079
  # @return [::String]
1073
- # The codec for this text stream. The default is `"webvtt"`.
1080
+ # The codec for this text stream. The default is `webvtt`.
1074
1081
  #
1075
1082
  # Supported text codecs:
1076
- # - 'srt'
1077
- # - 'ttml'
1078
- # - 'cea608'
1079
- # - 'cea708'
1080
- # - 'webvtt'
1083
+ #
1084
+ # - `srt`
1085
+ # - `ttml`
1086
+ # - `cea608`
1087
+ # - `cea708`
1088
+ # - `webvtt`
1081
1089
  # @!attribute [rw] mapping
1082
1090
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>]
1083
1091
  # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
@@ -1102,10 +1110,10 @@ module Google
1102
1110
  end
1103
1111
  end
1104
1112
 
1105
- # Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
1113
+ # Segment settings for `ts`, `fmp4` and `vtt`.
1106
1114
  # @!attribute [rw] segment_duration
1107
1115
  # @return [::Google::Protobuf::Duration]
1108
- # Duration of the segments in seconds. The default is `"6.0s"`. Note that
1116
+ # Duration of the segments in seconds. The default is `6.0s`. Note that
1109
1117
  # `segmentDuration` must be greater than or equal to
1110
1118
  # [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
1111
1119
  # [`gopDuration`](#videostream).
@@ -1116,65 +1124,6 @@ module Google
1116
1124
  include ::Google::Protobuf::MessageExts
1117
1125
  extend ::Google::Protobuf::MessageExts::ClassMethods
1118
1126
  end
1119
-
1120
- # Encryption settings.
1121
- # @!attribute [rw] key
1122
- # @return [::String]
1123
- # Required. 128 bit encryption key represented as lowercase hexadecimal digits.
1124
- # @!attribute [rw] iv
1125
- # @return [::String]
1126
- # Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
1127
- # digits.
1128
- # @!attribute [rw] aes_128
1129
- # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Aes128Encryption]
1130
- # Configuration for AES-128 encryption.
1131
- # @!attribute [rw] sample_aes
1132
- # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::SampleAesEncryption]
1133
- # Configuration for SAMPLE-AES encryption.
1134
- # @!attribute [rw] mpeg_cenc
1135
- # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::MpegCommonEncryption]
1136
- # Configuration for MPEG Common Encryption (MPEG-CENC).
1137
- class Encryption
1138
- include ::Google::Protobuf::MessageExts
1139
- extend ::Google::Protobuf::MessageExts::ClassMethods
1140
-
1141
- # Configuration for AES-128 encryption.
1142
- # @!attribute [rw] key_uri
1143
- # @return [::String]
1144
- # Required. URI of the key delivery service. This URI is inserted into the M3U8
1145
- # header.
1146
- class Aes128Encryption
1147
- include ::Google::Protobuf::MessageExts
1148
- extend ::Google::Protobuf::MessageExts::ClassMethods
1149
- end
1150
-
1151
- # Configuration for SAMPLE-AES encryption.
1152
- # @!attribute [rw] key_uri
1153
- # @return [::String]
1154
- # Required. URI of the key delivery service. This URI is inserted into the M3U8
1155
- # header.
1156
- class SampleAesEncryption
1157
- include ::Google::Protobuf::MessageExts
1158
- extend ::Google::Protobuf::MessageExts::ClassMethods
1159
- end
1160
-
1161
- # Configuration for MPEG Common Encryption (MPEG-CENC).
1162
- # @!attribute [rw] key_id
1163
- # @return [::String]
1164
- # Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
1165
- # common encryption.
1166
- # @!attribute [rw] scheme
1167
- # @return [::String]
1168
- # Required. Specify the encryption scheme.
1169
- #
1170
- # Supported encryption schemes:
1171
- # - 'cenc'
1172
- # - 'cbcs'
1173
- class MpegCommonEncryption
1174
- include ::Google::Protobuf::MessageExts
1175
- extend ::Google::Protobuf::MessageExts::ClassMethods
1176
- end
1177
- end
1178
1127
  end
1179
1128
  end
1180
1129
  end
@@ -75,6 +75,10 @@ module Google
75
75
  # @return [::String]
76
76
  # Required. The name of the job to delete.
77
77
  # Format: `projects/{project}/locations/{location}/jobs/{job}`
78
+ # @!attribute [rw] allow_missing
79
+ # @return [::Boolean]
80
+ # If set to true, and the job is not found, the request will succeed but no
81
+ # action will be taken on the server.
78
82
  class DeleteJobRequest
79
83
  include ::Google::Protobuf::MessageExts
80
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -156,6 +160,10 @@ module Google
156
160
  # @return [::String]
157
161
  # Required. The name of the job template to delete.
158
162
  # `projects/{project}/locations/{location}/jobTemplates/{job_template}`
163
+ # @!attribute [rw] allow_missing
164
+ # @return [::Boolean]
165
+ # If set to true, and the job template is not found, the request will succeed
166
+ # but no action will be taken on the server.
159
167
  class DeleteJobTemplateRequest
160
168
  include ::Google::Protobuf::MessageExts
161
169
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.1.0
4
+ version: 0.2.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: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common