google-cloud-video-transcoder-v1 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,23 +29,23 @@ module Google
29
29
  # Format: `projects/{project_number}/locations/{location}/jobs/{job}`
30
30
  # @!attribute [rw] input_uri
31
31
  # @return [::String]
32
- # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
33
- # `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
34
- # URI of the media. Input files must be at least 5 seconds in duration and
35
- # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
36
- # [Supported input and output
32
+ # Input only. Specify the `input_uri` to populate empty `uri` fields in each
33
+ # element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
34
+ # template. URI of the media. Input files must be at least 5 seconds in
35
+ # duration and stored in Cloud Storage (for example,
36
+ # `gs://bucket/inputs/file.mp4`). See [Supported input and output
37
37
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
38
38
  # @!attribute [rw] output_uri
39
39
  # @return [::String]
40
- # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
41
- # `JobTemplate.config.output.uri` when using template.
42
- # URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
43
- # [Supported input and output
40
+ # Input only. Specify the `output_uri` to populate an empty
41
+ # `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
42
+ # template. URI for the output file(s). For example,
43
+ # `gs://my-bucket/outputs/`. See [Supported input and output
44
44
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
45
45
  # @!attribute [rw] template_id
46
46
  # @return [::String]
47
- # Input only. Specify the `template_id` to use for populating `Job.config`. The default
48
- # is `preset/web-hd`.
47
+ # Input only. Specify the `template_id` to use for populating `Job.config`.
48
+ # The default is `preset/web-hd`.
49
49
  #
50
50
  # Preset Transcoder templates:
51
51
  # - `preset/{preset_id}`
@@ -311,7 +311,8 @@ module Google
311
311
  # Required. Type of the manifest, can be `HLS` or `DASH`.
312
312
  # @!attribute [rw] mux_streams
313
313
  # @return [::Array<::String>]
314
- # Required. List of user given `MuxStream.key`s that should appear in this manifest.
314
+ # Required. List of user given `MuxStream.key`s that should appear in this
315
+ # manifest.
315
316
  #
316
317
  # When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
317
318
  # and `.m3u8` extension is generated for each element of the
@@ -359,10 +360,13 @@ module Google
359
360
  # from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
360
361
  # @!attribute [rw] sprite_width_pixels
361
362
  # @return [::Integer]
362
- # Required. The width of sprite in pixels. Must be an even integer. To preserve the
363
- # source aspect ratio, set the {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_width_pixels SpriteSheet.sprite_width_pixels} field or
364
- # the {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_height_pixels SpriteSheet.sprite_height_pixels} field, but not both (the API will
365
- # automatically calculate the missing field).
363
+ # Required. The width of sprite in pixels. Must be an even integer. To
364
+ # preserve the source aspect ratio, set the
365
+ # {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_width_pixels SpriteSheet.sprite_width_pixels}
366
+ # field or the
367
+ # {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_height_pixels SpriteSheet.sprite_height_pixels}
368
+ # field, but not both (the API will automatically calculate the missing
369
+ # field).
366
370
  #
367
371
  # For portrait videos that contain horizontal ASR and rotation metadata,
368
372
  # provide the width, in pixels, per the horizontal ASR. The API calculates
@@ -370,10 +374,13 @@ module Google
370
374
  # and swaps the requested height and width for the output.
371
375
  # @!attribute [rw] sprite_height_pixels
372
376
  # @return [::Integer]
373
- # Required. The height of sprite in pixels. Must be an even integer. To preserve the
374
- # source aspect ratio, set the {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_height_pixels SpriteSheet.sprite_height_pixels} field or
375
- # the {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_width_pixels SpriteSheet.sprite_width_pixels} field, but not both (the API will
376
- # automatically calculate the missing field).
377
+ # Required. The height of sprite in pixels. Must be an even integer. To
378
+ # preserve the source aspect ratio, set the
379
+ # {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_height_pixels SpriteSheet.sprite_height_pixels}
380
+ # field or the
381
+ # {::Google::Cloud::Video::Transcoder::V1::SpriteSheet#sprite_width_pixels SpriteSheet.sprite_width_pixels}
382
+ # field, but not both (the API will automatically calculate the missing
383
+ # field).
377
384
  #
378
385
  # For portrait videos that contain horizontal ASR and rotation metadata,
379
386
  # provide the height, in pixels, per the horizontal ASR. The API calculates
@@ -799,17 +806,17 @@ module Google
799
806
  # and swaps the requested height and width for the output.
800
807
  # @!attribute [rw] frame_rate
801
808
  # @return [::Float]
802
- # Required. The target video frame rate in frames per second (FPS). Must be less than
803
- # or equal to 120. Will default to the input frame rate if larger than the
804
- # input frame rate. The API will generate an output FPS that is divisible
805
- # by the input FPS, and smaller or equal to the target FPS. See
809
+ # Required. The target video frame rate in frames per second (FPS). Must be
810
+ # less than or equal to 120. Will default to the input frame rate if larger
811
+ # than the input frame rate. The API will generate an output FPS that is
812
+ # divisible by the input FPS, and smaller or equal to the target FPS. See
806
813
  # [Calculating frame
807
814
  # rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
808
815
  # more information.
809
816
  # @!attribute [rw] bitrate_bps
810
817
  # @return [::Integer]
811
- # Required. The video bitrate in bits per second. The minimum value is 1,000.
812
- # The maximum value is 800,000,000.
818
+ # Required. The video bitrate in bits per second. The minimum value is
819
+ # 1,000. The maximum value is 800,000,000.
813
820
  # @!attribute [rw] pixel_format
814
821
  # @return [::String]
815
822
  # Pixel format to use. The default is `yuv420p`.
@@ -944,17 +951,17 @@ module Google
944
951
  # and swaps the requested height and width for the output.
945
952
  # @!attribute [rw] frame_rate
946
953
  # @return [::Float]
947
- # Required. The target video frame rate in frames per second (FPS). Must be less than
948
- # or equal to 120. Will default to the input frame rate if larger than the
949
- # input frame rate. The API will generate an output FPS that is divisible
950
- # by the input FPS, and smaller or equal to the target FPS. See
954
+ # Required. The target video frame rate in frames per second (FPS). Must be
955
+ # less than or equal to 120. Will default to the input frame rate if larger
956
+ # than the input frame rate. The API will generate an output FPS that is
957
+ # divisible by the input FPS, and smaller or equal to the target FPS. See
951
958
  # [Calculating frame
952
959
  # rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
953
960
  # more information.
954
961
  # @!attribute [rw] bitrate_bps
955
962
  # @return [::Integer]
956
- # Required. The video bitrate in bits per second. The minimum value is 1,000.
957
- # The maximum value is 800,000,000.
963
+ # Required. The video bitrate in bits per second. The minimum value is
964
+ # 1,000. The maximum value is 800,000,000.
958
965
  # @!attribute [rw] pixel_format
959
966
  # @return [::String]
960
967
  # Pixel format to use. The default is `yuv420p`.
@@ -1096,17 +1103,17 @@ module Google
1096
1103
  # and swaps the requested height and width for the output.
1097
1104
  # @!attribute [rw] frame_rate
1098
1105
  # @return [::Float]
1099
- # Required. The target video frame rate in frames per second (FPS). Must be less than
1100
- # or equal to 120. Will default to the input frame rate if larger than the
1101
- # input frame rate. The API will generate an output FPS that is divisible
1102
- # by the input FPS, and smaller or equal to the target FPS. See
1106
+ # Required. The target video frame rate in frames per second (FPS). Must be
1107
+ # less than or equal to 120. Will default to the input frame rate if larger
1108
+ # than the input frame rate. The API will generate an output FPS that is
1109
+ # divisible by the input FPS, and smaller or equal to the target FPS. See
1103
1110
  # [Calculating frame
1104
1111
  # rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
1105
1112
  # more information.
1106
1113
  # @!attribute [rw] bitrate_bps
1107
1114
  # @return [::Integer]
1108
- # Required. The video bitrate in bits per second. The minimum value is 1,000.
1109
- # The maximum value is 480,000,000.
1115
+ # Required. The video bitrate in bits per second. The minimum value is
1116
+ # 1,000. The maximum value is 480,000,000.
1110
1117
  # @!attribute [rw] pixel_format
1111
1118
  # @return [::String]
1112
1119
  # Pixel format to use. The default is `yuv420p`.
@@ -1182,7 +1189,8 @@ module Google
1182
1189
  # - `eac3`
1183
1190
  # @!attribute [rw] bitrate_bps
1184
1191
  # @return [::Integer]
1185
- # Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
1192
+ # Required. Audio bitrate in bits per second. Must be between 1 and
1193
+ # 10,000,000.
1186
1194
  # @!attribute [rw] channel_count
1187
1195
  # @return [::Integer]
1188
1196
  # Number of audio channels. Must be between 1 and 6. The default is 2.
@@ -1206,6 +1214,15 @@ module Google
1206
1214
  # @!attribute [rw] sample_rate_hertz
1207
1215
  # @return [::Integer]
1208
1216
  # The audio sample rate in Hertz. The default is 48000 Hertz.
1217
+ # @!attribute [rw] language_code
1218
+ # @return [::String]
1219
+ # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
1220
+ # information, see
1221
+ # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1222
+ # @!attribute [rw] display_name
1223
+ # @return [::String]
1224
+ # The name for this particular audio stream that
1225
+ # will be added to the HLS/DASH manifest.
1209
1226
  class AudioStream
1210
1227
  include ::Google::Protobuf::MessageExts
1211
1228
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1213,8 +1230,8 @@ module Google
1213
1230
  # The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
1214
1231
  # @!attribute [rw] atom_key
1215
1232
  # @return [::String]
1216
- # Required. The `EditAtom.key` that references the atom with audio inputs in the
1217
- # `Job.edit_list`.
1233
+ # Required. The `EditAtom.key` that references the atom with audio inputs
1234
+ # in the `Job.edit_list`.
1218
1235
  # @!attribute [rw] input_key
1219
1236
  # @return [::String]
1220
1237
  # Required. The `Input.key` that identifies the input file.
@@ -1249,9 +1266,18 @@ module Google
1249
1266
  # - `cea608`
1250
1267
  # - `cea708`
1251
1268
  # - `webvtt`
1269
+ # @!attribute [rw] language_code
1270
+ # @return [::String]
1271
+ # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
1272
+ # information, see
1273
+ # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1252
1274
  # @!attribute [rw] mapping
1253
1275
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>]
1254
1276
  # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
1277
+ # @!attribute [rw] display_name
1278
+ # @return [::String]
1279
+ # The name for this particular text stream that
1280
+ # will be added to the HLS/DASH manifest.
1255
1281
  class TextStream
1256
1282
  include ::Google::Protobuf::MessageExts
1257
1283
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -109,8 +109,8 @@ module Google
109
109
  # Required. Parameters for creating job template.
110
110
  # @!attribute [rw] job_template_id
111
111
  # @return [::String]
112
- # Required. The ID to use for the job template, which will become the final component
113
- # of the job template's resource name.
112
+ # Required. The ID to use for the job template, which will become the final
113
+ # component of the job template's resource name.
114
114
  #
115
115
  # This value should be 4-63 characters, and valid characters must match the
116
116
  # regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
@@ -122,8 +122,8 @@ module Google
122
122
  # Request message for `TranscoderService.ListJobTemplates`.
123
123
  # @!attribute [rw] parent
124
124
  # @return [::String]
125
- # Required. The parent location from which to retrieve the collection of job templates.
126
- # Format: `projects/{project}/locations/{location}`
125
+ # Required. The parent location from which to retrieve the collection of job
126
+ # templates. Format: `projects/{project}/locations/{location}`
127
127
  # @!attribute [rw] page_size
128
128
  # @return [::Integer]
129
129
  # The maximum number of items to return.
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
31
+ # The status code, which should be an enum value of
32
+ # [google.rpc.Code][google.rpc.Code].
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
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.5.0
4
+ version: 0.7.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: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-03-08 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.12'
19
+ version: 0.18.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.12'
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.26.1
53
+ version: 1.26.3
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.26.1
60
+ version: 1.26.3
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -173,12 +173,16 @@ files:
173
173
  - lib/google-cloud-video-transcoder-v1.rb
174
174
  - lib/google/cloud/video/transcoder/v1.rb
175
175
  - lib/google/cloud/video/transcoder/v1/resources_pb.rb
176
+ - lib/google/cloud/video/transcoder/v1/rest.rb
176
177
  - lib/google/cloud/video/transcoder/v1/services_pb.rb
177
178
  - lib/google/cloud/video/transcoder/v1/services_services_pb.rb
178
179
  - lib/google/cloud/video/transcoder/v1/transcoder_service.rb
179
180
  - lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb
180
181
  - lib/google/cloud/video/transcoder/v1/transcoder_service/credentials.rb
181
182
  - lib/google/cloud/video/transcoder/v1/transcoder_service/paths.rb
183
+ - lib/google/cloud/video/transcoder/v1/transcoder_service/rest.rb
184
+ - lib/google/cloud/video/transcoder/v1/transcoder_service/rest/client.rb
185
+ - lib/google/cloud/video/transcoder/v1/transcoder_service/rest/service_stub.rb
182
186
  - lib/google/cloud/video/transcoder/v1/version.rb
183
187
  - proto_docs/README.md
184
188
  - proto_docs/google/api/client.rb
@@ -211,8 +215,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
215
  - !ruby/object:Gem::Version
212
216
  version: '0'
213
217
  requirements: []
214
- rubygems_version: 3.3.14
218
+ rubygems_version: 3.4.2
215
219
  signing_key:
216
220
  specification_version: 4
217
- summary: API Client library for the Transcoder V1 API
221
+ summary: This API converts video files into formats suitable for consumer distribution.
222
+ For more information, see the <a href="https://cloud.google.com/transcoder/docs/concepts/overview">Transcoder
223
+ API overview</a>.
218
224
  test_files: []