google-cloud-video-transcoder-v1 0.2.2 → 0.3.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: 978177aaab6136f0c68f5cb710368507ee7c37a578713b7c3b21c4ff346c8cb9
4
- data.tar.gz: 2f59e23b4495a965a42f150a39e4374ae6b5511a73f089101ebda32c734411e2
3
+ metadata.gz: e55f8a81959f4f388d65bdc1aa87af77c720b3034a2b9643a151b2b8d096ae05
4
+ data.tar.gz: a682ac2f2500fb05d2d879e9769ba197e0b7a5ed00812e0b12e0ee32ebfce23f
5
5
  SHA512:
6
- metadata.gz: a2f639c8d539a2dad3ee672b88cb83e1c2fd49cff254e2d8410d29d14812c0d80a598205623e297fea796e49f0ff29f0469db9d25fac6a3ee862d6907f181f3a
7
- data.tar.gz: 1544f23495301d3e4671b37cb9a07d8f03c28c38bd12dbbb1adca58a074f1bf6dd7e207b255c3bd1f237eb6b3dab572f340106df2183e0fe378cebd8f0ce01b2
6
+ metadata.gz: 7225a87eb28f49e8d9828201c88114fb67b9c9550da4d43f8e3f4c9d944d468def92907d6409521ea3d5eee387de896fcb697ea9ffbe2d45162c389f22c1b71c
7
+ data.tar.gz: b3605aae33d8e2b05013851914b8bc31f2d204f0a396016af2b6991f4032015fabac64bd06fbc87aaeba0b579e983fe03e57f73017b0f2cc2d3f6349c1d2772f
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Video::Transcoder::V1::CreateJobRequest.new # (reques
37
37
  response = client.create_job request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-video-transcoder-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/transcoder/)
@@ -69,6 +69,11 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
79
  This library is supported on Ruby 2.5+.
@@ -1,12 +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
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/duration_pb'
7
9
  require 'google/protobuf/timestamp_pb'
8
10
  require 'google/rpc/status_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/video/transcoder/v1/resources.proto", :syntax => :proto3) do
@@ -19,6 +20,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
20
  optional :start_time, :message, 13, "google.protobuf.Timestamp"
20
21
  optional :end_time, :message, 14, "google.protobuf.Timestamp"
21
22
  optional :ttl_after_completion_days, :int32, 15
23
+ map :labels, :string, :string, 16
22
24
  optional :error, :message, 17, "google.rpc.Status"
23
25
  oneof :job_config do
24
26
  optional :template_id, :string, 4
@@ -35,6 +37,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
35
37
  add_message "google.cloud.video.transcoder.v1.JobTemplate" do
36
38
  optional :name, :string, 1
37
39
  optional :config, :message, 2, "google.cloud.video.transcoder.v1.JobConfig"
40
+ map :labels, :string, :string, 3
38
41
  end
39
42
  add_message "google.cloud.video.transcoder.v1.JobConfig" do
40
43
  repeated :inputs, :message, 1, "google.cloud.video.transcoder.v1.Input"
@@ -1,13 +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
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/cloud/video/transcoder/v1/resources_pb'
9
11
  require 'google/protobuf/empty_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/video/transcoder/v1/services.proto", :syntax => :proto3) do
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "0.2.2"
25
+ VERSION = "0.3.0"
26
26
  end
27
27
  end
28
28
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/video/transcoder/v1"
30
32
  # client = ::Google::Cloud::Video::Transcoder::V1::TranscoderService::Client.new
31
33
  #
@@ -32,12 +32,16 @@ module Google
32
32
  # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
33
33
  # `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
34
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`).
35
+ # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
36
+ # [Supported input and output
37
+ # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
36
38
  # @!attribute [rw] output_uri
37
39
  # @return [::String]
38
40
  # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
39
41
  # `JobTemplate.config.output.uri` when using template.
40
- # URI for the output file(s). For example, `gs://my-bucket/outputs/`.
42
+ # URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
43
+ # [Supported input and output
44
+ # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
41
45
  # @!attribute [rw] template_id
42
46
  # @return [::String]
43
47
  # Input only. Specify the `template_id` to use for populating `Job.config`. The default
@@ -68,6 +72,10 @@ module Google
68
72
  # Job time to live value in days, which will be effective after job
69
73
  # completion. Job should be deleted automatically after the given TTL. Enter
70
74
  # a value between 1 and 90. The default is 30.
75
+ # @!attribute [rw] labels
76
+ # @return [::Google::Protobuf::Map{::String => ::String}]
77
+ # The labels associated with this job. You can use these to organize and
78
+ # group your jobs.
71
79
  # @!attribute [r] error
72
80
  # @return [::Google::Rpc::Status]
73
81
  # Output only. An error object that describes the reason for the failure.
@@ -76,6 +84,15 @@ module Google
76
84
  include ::Google::Protobuf::MessageExts
77
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
78
86
 
87
+ # @!attribute [rw] key
88
+ # @return [::String]
89
+ # @!attribute [rw] value
90
+ # @return [::String]
91
+ class LabelsEntry
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
79
96
  # The current state of the job.
80
97
  module ProcessingState
81
98
  # The processing state is not specified.
@@ -105,9 +122,22 @@ module Google
105
122
  # @!attribute [rw] config
106
123
  # @return [::Google::Cloud::Video::Transcoder::V1::JobConfig]
107
124
  # The configuration for this template.
125
+ # @!attribute [rw] labels
126
+ # @return [::Google::Protobuf::Map{::String => ::String}]
127
+ # The labels associated with this job template. You can use these to organize
128
+ # and group your job templates.
108
129
  class JobTemplate
109
130
  include ::Google::Protobuf::MessageExts
110
131
  extend ::Google::Protobuf::MessageExts::ClassMethods
132
+
133
+ # @!attribute [rw] key
134
+ # @return [::String]
135
+ # @!attribute [rw] value
136
+ # @return [::String]
137
+ class LabelsEntry
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+ end
111
141
  end
112
142
 
113
143
  # Job configuration
@@ -140,6 +170,7 @@ module Google
140
170
  # @!attribute [rw] sprite_sheets
141
171
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::SpriteSheet>]
142
172
  # List of output sprite sheets.
173
+ # Spritesheets require at least one VideoStream in the Jobconfig.
143
174
  # @!attribute [rw] overlays
144
175
  # @return [::Array<::Google::Cloud::Video::Transcoder::V1::Overlay>]
145
176
  # List of overlays on the output video, in descending Z-order.
@@ -157,7 +188,9 @@ module Google
157
188
  # @return [::String]
158
189
  # URI of the media. Input files must be at least 5 seconds in duration and
159
190
  # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
160
- # If empty, the value will be populated from `Job.input_uri`.
191
+ # If empty, the value is populated from `Job.input_uri`. See
192
+ # [Supported input and output
193
+ # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
161
194
  # @!attribute [rw] preprocessing_config
162
195
  # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig]
163
196
  # Preprocessing configurations.
@@ -170,7 +203,9 @@ module Google
170
203
  # @!attribute [rw] uri
171
204
  # @return [::String]
172
205
  # URI for the output file(s). For example, `gs://my-bucket/outputs/`.
173
- # If empty the value is populated from `Job.output_uri`.
206
+ # If empty, the value is populated from `Job.output_uri`. See
207
+ # [Supported input and output
208
+ # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
174
209
  class Output
175
210
  include ::Google::Protobuf::MessageExts
176
211
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -251,6 +286,10 @@ module Google
251
286
  # - `fmp4`- the corresponding file extension is `.m4s`
252
287
  # - `mp4`
253
288
  # - `vtt`
289
+ #
290
+ # See also:
291
+ # [Supported input and output
292
+ # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
254
293
  # @!attribute [rw] elementary_streams
255
294
  # @return [::Array<::String>]
256
295
  # List of `ElementaryStream.key`s multiplexed in this stream.
@@ -514,6 +553,8 @@ module Google
514
553
  extend ::Google::Protobuf::MessageExts::ClassMethods
515
554
 
516
555
  # Color preprocessing configuration.
556
+ #
557
+ # **Note:** This configuration is not supported.
517
558
  # @!attribute [rw] saturation
518
559
  # @return [::Float]
519
560
  # Control color saturation of the video. Enter a value between -1 and 1,
@@ -535,6 +576,8 @@ module Google
535
576
  end
536
577
 
537
578
  # Denoise preprocessing configuration.
579
+ #
580
+ # **Note:** This configuration is not supported.
538
581
  # @!attribute [rw] strength
539
582
  # @return [::Float]
540
583
  # Set strength of the denoise. Enter a value between 0 and 1. The higher
@@ -553,6 +596,8 @@ module Google
553
596
  end
554
597
 
555
598
  # Deblock preprocessing configuration.
599
+ #
600
+ # **Note:** This configuration is not supported.
556
601
  # @!attribute [rw] strength
557
602
  # @return [::Float]
558
603
  # Set strength of the deblocker. Enter a value between 0 and 1. The higher
@@ -583,9 +628,13 @@ module Google
583
628
  # @!attribute [rw] high_boost
584
629
  # @return [::Boolean]
585
630
  # Enable boosting high frequency components. The default is `false`.
631
+ #
632
+ # **Note:** This field is not supported.
586
633
  # @!attribute [rw] low_boost
587
634
  # @return [::Boolean]
588
635
  # Enable boosting low frequency components. The default is `false`.
636
+ #
637
+ # **Note:** This field is not supported.
589
638
  class Audio
590
639
  include ::Google::Protobuf::MessageExts
591
640
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -967,11 +1016,12 @@ module Google
967
1016
  # Supported rate control modes:
968
1017
  #
969
1018
  # - `vbr` - variable bitrate
970
- # - `crf` - constant rate factor
971
1019
  # @!attribute [rw] crf_level
972
1020
  # @return [::Integer]
973
1021
  # Target CRF level. Must be between 10 and 36, where 10 is the highest
974
1022
  # quality and 36 is the most efficient compression. The default is 21.
1023
+ #
1024
+ # **Note:** This field is not supported.
975
1025
  # @!attribute [rw] gop_frame_count
976
1026
  # @return [::Integer]
977
1027
  # Select the GOP size based on the specified frame count. Must be greater
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
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.2.2
4
+ version: 0.3.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.3.4
212
+ rubygems_version: 3.3.14
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: API Client library for the Transcoder V1 API