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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b16ab3ff17635cab535486041685b06d00f71ef581871e21873775ff8303d79a
4
- data.tar.gz: ea45cf851d7434b8887dbc2d2d34148fa812439eff5f1ccaee833cf90024e35a
3
+ metadata.gz: 8564ffa49cea4d572859c727d4d29a2f405c48cf10b374b3c983f5bb241f339a
4
+ data.tar.gz: 778e14515b3dfd773971b5cb8175ae8c9bf00e878d18174a25f77b451d34da31
5
5
  SHA512:
6
- metadata.gz: 1bbaa45e9ca21ea47064a3532e6c35fc61df6a03a11e5f664b866ae274db26b23d32e415231b0ab3fdc74e6f342c729f53946db3ab741ccd85785bd532bfeceb
7
- data.tar.gz: fb2793a804b2d8debed2ebf3460f5461edfc9af1e66401d94f968d4d6e5681df6c5ed374dad2072feeb07b6bfb45a94e66be8d713de3d55864fa62d5e7690426
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 Client library for the Transcoder V1 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
- # # iterate over all elements by calling #each, and the enumerable
316
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 component
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 templates.
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
- # # iterate over all elements by calling #each, and the enumerable
689
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
689
+ # p item
694
690
  # end
695
691
  #
696
692
  def list_job_templates request, options = nil