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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/video/transcoder/v1/resources_pb.rb +4 -0
- data/lib/google/cloud/video/transcoder/v1/rest.rb +39 -0
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb +12 -16
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest/client.rb +901 -0
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest/service_stub.rb +524 -0
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest.rb +59 -0
- data/lib/google/cloud/video/transcoder/v1/transcoder_service.rb +7 -1
- data/lib/google/cloud/video/transcoder/v1/version.rb +1 -1
- data/lib/google/cloud/video/transcoder/v1.rb +7 -2
- data/proto_docs/google/cloud/video/transcoder/v1/resources.rb +67 -41
- data/proto_docs/google/cloud/video/transcoder/v1/services.rb +4 -4
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8564ffa49cea4d572859c727d4d29a2f405c48cf10b374b3c983f5bb241f339a
|
4
|
+
data.tar.gz: 778e14515b3dfd773971b5cb8175ae8c9bf00e878d18174a25f77b451d34da31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969ce12127f7c32769b34bd70c6e407e8ab839c982741c07a149aea25139e28bdbc4d455ea8f1adf8dcdaa6e78abd727529ca80626b33980a6b4b003dc423174
|
7
|
+
data.tar.gz: 49c44cab8c7f5b2558d693e996d99531e1b1238faa7b8689923fc3cffb8e3a3415a29da6059a446e4cd60506a326fc9554fde08e355f3522a38b64c782613d05
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Transcoder V1 API
|
2
2
|
|
3
|
-
API
|
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>.
|
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
|
|
@@ -280,6 +280,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
280
280
|
repeated :channel_layout, :string, 4
|
281
281
|
repeated :mapping, :message, 5, "google.cloud.video.transcoder.v1.AudioStream.AudioMapping"
|
282
282
|
optional :sample_rate_hertz, :int32, 6
|
283
|
+
optional :language_code, :string, 7
|
284
|
+
optional :display_name, :string, 8
|
283
285
|
end
|
284
286
|
add_message "google.cloud.video.transcoder.v1.AudioStream.AudioMapping" do
|
285
287
|
optional :atom_key, :string, 1
|
@@ -291,7 +293,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
291
293
|
end
|
292
294
|
add_message "google.cloud.video.transcoder.v1.TextStream" do
|
293
295
|
optional :codec, :string, 1
|
296
|
+
optional :language_code, :string, 2
|
294
297
|
repeated :mapping, :message, 3, "google.cloud.video.transcoder.v1.TextStream.TextMapping"
|
298
|
+
optional :display_name, :string, 4
|
295
299
|
end
|
296
300
|
add_message "google.cloud.video.transcoder.v1.TextStream.TextMapping" do
|
297
301
|
optional :atom_key, :string, 1
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/video/transcoder/v1/transcoder_service/rest"
|
20
|
+
require "google/cloud/video/transcoder/v1/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Video
|
25
|
+
module Transcoder
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/video/transcoder/v1/rest"
|
32
|
+
# client = ::Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -311,13 +311,11 @@ module Google
|
|
311
311
|
# # Call the list_jobs method.
|
312
312
|
# result = client.list_jobs request
|
313
313
|
#
|
314
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
315
|
-
# #
|
316
|
-
#
|
317
|
-
# # methods are also available for managing paging directly.
|
318
|
-
# result.each do |response|
|
314
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
315
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
316
|
+
# result.each do |item|
|
319
317
|
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1::Job.
|
320
|
-
# p
|
318
|
+
# p item
|
321
319
|
# end
|
322
320
|
#
|
323
321
|
def list_jobs request, options = nil
|
@@ -561,8 +559,8 @@ module Google
|
|
561
559
|
# @param job_template [::Google::Cloud::Video::Transcoder::V1::JobTemplate, ::Hash]
|
562
560
|
# Required. Parameters for creating job template.
|
563
561
|
# @param job_template_id [::String]
|
564
|
-
# Required. The ID to use for the job template, which will become the final
|
565
|
-
# of the job template's resource name.
|
562
|
+
# Required. The ID to use for the job template, which will become the final
|
563
|
+
# component of the job template's resource name.
|
566
564
|
#
|
567
565
|
# This value should be 4-63 characters, and valid characters must match the
|
568
566
|
# regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
|
@@ -650,8 +648,8 @@ module Google
|
|
650
648
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
651
649
|
#
|
652
650
|
# @param parent [::String]
|
653
|
-
# Required. The parent location from which to retrieve the collection of job
|
654
|
-
# Format: `projects/{project}/locations/{location}`
|
651
|
+
# Required. The parent location from which to retrieve the collection of job
|
652
|
+
# templates. Format: `projects/{project}/locations/{location}`
|
655
653
|
# @param page_size [::Integer]
|
656
654
|
# The maximum number of items to return.
|
657
655
|
# @param page_token [::String]
|
@@ -684,13 +682,11 @@ module Google
|
|
684
682
|
# # Call the list_job_templates method.
|
685
683
|
# result = client.list_job_templates request
|
686
684
|
#
|
687
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
688
|
-
# #
|
689
|
-
#
|
690
|
-
# # methods are also available for managing paging directly.
|
691
|
-
# result.each do |response|
|
685
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
686
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
687
|
+
# result.each do |item|
|
692
688
|
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1::JobTemplate.
|
693
|
-
# p
|
689
|
+
# p item
|
694
690
|
# end
|
695
691
|
#
|
696
692
|
def list_job_templates request, options = nil
|