google-cloud-video-transcoder-v1 0.7.0 → 0.8.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: 8564ffa49cea4d572859c727d4d29a2f405c48cf10b374b3c983f5bb241f339a
4
- data.tar.gz: 778e14515b3dfd773971b5cb8175ae8c9bf00e878d18174a25f77b451d34da31
3
+ metadata.gz: 03d3620b6d90658f629caaafd3ea8cfd2f41fb09cc4a24447448f29a481fca9f
4
+ data.tar.gz: d677459a31a5d46a421699b99d5706fd1d3aedda50aa178876808e53722e747e
5
5
  SHA512:
6
- metadata.gz: 969ce12127f7c32769b34bd70c6e407e8ab839c982741c07a149aea25139e28bdbc4d455ea8f1adf8dcdaa6e78abd727529ca80626b33980a6b4b003dc423174
7
- data.tar.gz: 49c44cab8c7f5b2558d693e996d99531e1b1238faa7b8689923fc3cffb8e3a3415a29da6059a446e4cd60506a326fc9554fde08e355f3522a38b64c782613d05
6
+ metadata.gz: a19df3b01a45206d690c26a37eb23211c3ec730c7fdbf0471eb39660de6c2c06ab506bec4c2c5ed51f17df85841b8afbf77f50bf498e19e3128db8c358fc6198
7
+ data.tar.gz: 94ed08356d9774b37165facbfbe78c0c86e6132fe94902db728a6f8501a79ddcc41f0c14f99c4a01ee2722cdfdbb8007a0ca05d6cd00053def8acbfda33440a5
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Transcoder V1 API
2
2
 
3
- This API converts video files into formats suitable for consumer distribution. For more information, see the <a href="https://cloud.google.com/transcoder/docs/concepts/overview">Transcoder API overview</a>.
3
+ This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview.
4
4
 
5
5
  The Transcoder API allows you to convert video files and package them for optimized delivery to web, mobile and connected TVs.
6
6
 
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :ttl_after_completion_days, :int32, 15
23
23
  map :labels, :string, :string, 16
24
24
  optional :error, :message, 17, "google.rpc.Status"
25
+ optional :mode, :enum, 20, "google.cloud.video.transcoder.v1.Job.ProcessingMode"
25
26
  oneof :job_config do
26
27
  optional :template_id, :string, 4
27
28
  optional :config, :message, 5, "google.cloud.video.transcoder.v1.JobConfig"
@@ -34,6 +35,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
35
  value :SUCCEEDED, 3
35
36
  value :FAILED, 4
36
37
  end
38
+ add_enum "google.cloud.video.transcoder.v1.Job.ProcessingMode" do
39
+ value :PROCESSING_MODE_UNSPECIFIED, 0
40
+ value :PROCESSING_MODE_INTERACTIVE, 1
41
+ value :PROCESSING_MODE_BATCH, 2
42
+ end
37
43
  add_message "google.cloud.video.transcoder.v1.JobTemplate" do
38
44
  optional :name, :string, 1
39
45
  optional :config, :message, 2, "google.cloud.video.transcoder.v1.JobConfig"
@@ -316,6 +322,7 @@ module Google
316
322
  module V1
317
323
  Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job").msgclass
318
324
  Job::ProcessingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.ProcessingState").enummodule
325
+ Job::ProcessingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Job.ProcessingMode").enummodule
319
326
  JobTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobTemplate").msgclass
320
327
  JobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.JobConfig").msgclass
321
328
  Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.Input").msgclass
@@ -945,9 +945,9 @@ module Google
945
945
  # * (`String`) The path to a service account key file in JSON format
946
946
  # * (`Hash`) A service account key as a Hash
947
947
  # * (`Google::Auth::Credentials`) A googleauth credentials object
948
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
948
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
949
949
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
950
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
950
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
951
951
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
952
952
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
953
953
  # * (`nil`) indicating no credentials
@@ -742,9 +742,9 @@ module Google
742
742
  # * (`String`) The path to a service account key file in JSON format
743
743
  # * (`Hash`) A service account key as a Hash
744
744
  # * (`Google::Auth::Credentials`) A googleauth credentials object
745
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
745
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
746
746
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
747
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
747
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
748
748
  # * (`nil`) indicating no credentials
749
749
  # @return [::Object]
750
750
  # @!attribute [rw] scope
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "0.7.0"
25
+ VERSION = "0.8.0"
26
26
  end
27
27
  end
28
28
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -45,13 +45,9 @@ module Google
45
45
  # @!attribute [rw] template_id
46
46
  # @return [::String]
47
47
  # Input only. Specify the `template_id` to use for populating `Job.config`.
48
- # The default is `preset/web-hd`.
48
+ # The default is `preset/web-hd`, which is the only supported preset.
49
49
  #
50
- # Preset Transcoder templates:
51
- # - `preset/{preset_id}`
52
- #
53
- # - User defined JobTemplate:
54
- # `{job_template_id}`
50
+ # User defined JobTemplate: `{job_template_id}`
55
51
  # @!attribute [rw] config
56
52
  # @return [::Google::Cloud::Video::Transcoder::V1::JobConfig]
57
53
  # The configuration for this job.
@@ -80,6 +76,10 @@ module Google
80
76
  # @return [::Google::Rpc::Status]
81
77
  # Output only. An error object that describes the reason for the failure.
82
78
  # This property is always present when `state` is `FAILED`.
79
+ # @!attribute [rw] mode
80
+ # @return [::Google::Cloud::Video::Transcoder::V1::Job::ProcessingMode]
81
+ # The processing mode of the job.
82
+ # The default is `PROCESSING_MODE_INTERACTIVE`.
83
83
  class Job
84
84
  include ::Google::Protobuf::MessageExts
85
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -111,6 +111,21 @@ module Google
111
111
  # `failure_details`
112
112
  FAILED = 4
113
113
  end
114
+
115
+ # The processing mode of the job.
116
+ module ProcessingMode
117
+ # The job processing mode is not specified.
118
+ PROCESSING_MODE_UNSPECIFIED = 0
119
+
120
+ # The job processing mode is interactive mode.
121
+ # Interactive job will either be ran or rejected if quota does not allow
122
+ # for it.
123
+ PROCESSING_MODE_INTERACTIVE = 1
124
+
125
+ # The job processing mode is batch mode.
126
+ # Batch mode allows queuing of jobs.
127
+ PROCESSING_MODE_BATCH = 2
128
+ end
114
129
  end
115
130
 
116
131
  # Transcoding job template resource.
@@ -448,11 +463,11 @@ module Google
448
463
  extend ::Google::Protobuf::MessageExts::ClassMethods
449
464
  end
450
465
 
451
- # Overlaid jpeg image.
466
+ # Overlaid image.
452
467
  # @!attribute [rw] uri
453
468
  # @return [::String]
454
- # Required. URI of the JPEG image in Cloud Storage. For example,
455
- # `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
469
+ # Required. URI of the image in Cloud Storage. For example,
470
+ # `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
456
471
  # @!attribute [rw] resolution
457
472
  # @return [::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate]
458
473
  # Normalized image resolution, based on output video resolution. Valid
@@ -1218,11 +1233,12 @@ module Google
1218
1233
  # @return [::String]
1219
1234
  # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
1220
1235
  # information, see
1221
- # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1236
+ # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
1237
+ # supported in MP4 files.
1222
1238
  # @!attribute [rw] display_name
1223
1239
  # @return [::String]
1224
1240
  # The name for this particular audio stream that
1225
- # will be added to the HLS/DASH manifest.
1241
+ # will be added to the HLS/DASH manifest. Not supported in MP4 files.
1226
1242
  class AudioStream
1227
1243
  include ::Google::Protobuf::MessageExts
1228
1244
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1270,14 +1286,15 @@ module Google
1270
1286
  # @return [::String]
1271
1287
  # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
1272
1288
  # information, see
1273
- # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1289
+ # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
1290
+ # supported in MP4 files.
1274
1291
  # @!attribute [rw] mapping
1275
1292
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>]
1276
1293
  # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
1277
1294
  # @!attribute [rw] display_name
1278
1295
  # @return [::String]
1279
1296
  # The name for this particular text stream that
1280
- # will be added to the HLS/DASH manifest.
1297
+ # will be added to the HLS/DASH manifest. Not supported in MP4 files.
1281
1298
  class TextStream
1282
1299
  include ::Google::Protobuf::MessageExts
1283
1300
  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.7.0
4
+ version: 0.8.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-03-08 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -219,6 +219,5 @@ rubygems_version: 3.4.2
219
219
  signing_key:
220
220
  specification_version: 4
221
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>.
222
+ For more information, see the Transcoder API overview.
224
223
  test_files: []