google-cloud-video-transcoder-v1 0.10.0 → 0.11.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: 732286a154285b767dbed3f17d31e17a935db5eb9c351010955858bc30260c80
4
- data.tar.gz: fe516a5fa3fabd950c6886f826435055f43b5d8aa8e04c7aaa1330985e3132e9
3
+ metadata.gz: 7088c9ba6bc99e0e9a63bc440d13da644fafea1643253e68fbaecd3c3b6ff4d1
4
+ data.tar.gz: eaf290abb7bb345edfa51a865d16edc703887def3d3323af1f5c2f0889fee8c1
5
5
  SHA512:
6
- metadata.gz: db1c84748498d4ddd8bd6c8e61f9bc1e5a4a5e6b2655a53e64d98210f577b10b4cd5647802d615d06251c4eebfc4de55fad8a2b886aefead1406d730cf2bbfe3
7
- data.tar.gz: 4a3fc49ec2b9a661ac982b16005fac6c8ed6a7dbf60278d02b5c6da5d51500a1f8275516a9c24c99c1b1a126ca9430a4078abc4c78025ba5e44672db3d4978f5
6
+ metadata.gz: d527acb3ebea8fdca1225ede9f25babfa32b89268cf1251fa14319bc12cd8feff2e97cb76d340a578fdab1dd1f5b3f98ecac299c5affc3acce0807ce1547f8bd
7
+ data.tar.gz: e57604f54a36b781bc6c0d2d45ce9ab898b99dde14f138c58d6c3e160aa5d5e2ec897f5a0b2e94d2ea7894bbf2d8721a1764bf481acbd95c9798efb4c5bae211
@@ -165,7 +165,8 @@ module Google
165
165
  credentials: credentials,
166
166
  endpoint: @config.endpoint,
167
167
  channel_args: @config.channel_args,
168
- interceptors: @config.interceptors
168
+ interceptors: @config.interceptors,
169
+ channel_pool_config: @config.channel_pool
169
170
  )
170
171
  end
171
172
 
@@ -1026,6 +1027,14 @@ module Google
1026
1027
  end
1027
1028
  end
1028
1029
 
1030
+ ##
1031
+ # Configuration for the channel pool
1032
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1033
+ #
1034
+ def channel_pool
1035
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1036
+ end
1037
+
1029
1038
  ##
1030
1039
  # Configuration RPC class for the TranscoderService API.
1031
1040
  #
@@ -192,6 +192,22 @@ module Google
192
192
  # @return [::Google::Cloud::Video::Transcoder::V1::Job]
193
193
  #
194
194
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
195
+ #
196
+ # @example Basic example
197
+ # require "google/cloud/video/transcoder/v1"
198
+ #
199
+ # # Create a client object. The client can be reused for multiple calls.
200
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
201
+ #
202
+ # # Create a request. To set request fields, pass in keyword arguments.
203
+ # request = Google::Cloud::Video::Transcoder::V1::CreateJobRequest.new
204
+ #
205
+ # # Call the create_job method.
206
+ # result = client.create_job request
207
+ #
208
+ # # The returned object is of type Google::Cloud::Video::Transcoder::V1::Job.
209
+ # p result
210
+ #
195
211
  def create_job request, options = nil
196
212
  raise ::ArgumentError, "request must be provided" if request.nil?
197
213
 
@@ -265,6 +281,26 @@ module Google
265
281
  # @return [::Google::Cloud::Video::Transcoder::V1::ListJobsResponse]
266
282
  #
267
283
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
284
+ #
285
+ # @example Basic example
286
+ # require "google/cloud/video/transcoder/v1"
287
+ #
288
+ # # Create a client object. The client can be reused for multiple calls.
289
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
290
+ #
291
+ # # Create a request. To set request fields, pass in keyword arguments.
292
+ # request = Google::Cloud::Video::Transcoder::V1::ListJobsRequest.new
293
+ #
294
+ # # Call the list_jobs method.
295
+ # result = client.list_jobs request
296
+ #
297
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
298
+ # # over elements, and API calls will be issued to fetch pages as needed.
299
+ # result.each do |item|
300
+ # # Each element is of type ::Google::Cloud::Video::Transcoder::V1::Job.
301
+ # p item
302
+ # end
303
+ #
268
304
  def list_jobs request, options = nil
269
305
  raise ::ArgumentError, "request must be provided" if request.nil?
270
306
 
@@ -328,6 +364,22 @@ module Google
328
364
  # @return [::Google::Cloud::Video::Transcoder::V1::Job]
329
365
  #
330
366
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
367
+ #
368
+ # @example Basic example
369
+ # require "google/cloud/video/transcoder/v1"
370
+ #
371
+ # # Create a client object. The client can be reused for multiple calls.
372
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
373
+ #
374
+ # # Create a request. To set request fields, pass in keyword arguments.
375
+ # request = Google::Cloud::Video::Transcoder::V1::GetJobRequest.new
376
+ #
377
+ # # Call the get_job method.
378
+ # result = client.get_job request
379
+ #
380
+ # # The returned object is of type Google::Cloud::Video::Transcoder::V1::Job.
381
+ # p result
382
+ #
331
383
  def get_job request, options = nil
332
384
  raise ::ArgumentError, "request must be provided" if request.nil?
333
385
 
@@ -394,6 +446,22 @@ module Google
394
446
  # @return [::Google::Protobuf::Empty]
395
447
  #
396
448
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
449
+ #
450
+ # @example Basic example
451
+ # require "google/cloud/video/transcoder/v1"
452
+ #
453
+ # # Create a client object. The client can be reused for multiple calls.
454
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
455
+ #
456
+ # # Create a request. To set request fields, pass in keyword arguments.
457
+ # request = Google::Cloud::Video::Transcoder::V1::DeleteJobRequest.new
458
+ #
459
+ # # Call the delete_job method.
460
+ # result = client.delete_job request
461
+ #
462
+ # # The returned object is of type Google::Protobuf::Empty.
463
+ # p result
464
+ #
397
465
  def delete_job request, options = nil
398
466
  raise ::ArgumentError, "request must be provided" if request.nil?
399
467
 
@@ -465,6 +533,22 @@ module Google
465
533
  # @return [::Google::Cloud::Video::Transcoder::V1::JobTemplate]
466
534
  #
467
535
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
536
+ #
537
+ # @example Basic example
538
+ # require "google/cloud/video/transcoder/v1"
539
+ #
540
+ # # Create a client object. The client can be reused for multiple calls.
541
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
542
+ #
543
+ # # Create a request. To set request fields, pass in keyword arguments.
544
+ # request = Google::Cloud::Video::Transcoder::V1::CreateJobTemplateRequest.new
545
+ #
546
+ # # Call the create_job_template method.
547
+ # result = client.create_job_template request
548
+ #
549
+ # # The returned object is of type Google::Cloud::Video::Transcoder::V1::JobTemplate.
550
+ # p result
551
+ #
468
552
  def create_job_template request, options = nil
469
553
  raise ::ArgumentError, "request must be provided" if request.nil?
470
554
 
@@ -539,6 +623,26 @@ module Google
539
623
  # @return [::Google::Cloud::Video::Transcoder::V1::ListJobTemplatesResponse]
540
624
  #
541
625
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
626
+ #
627
+ # @example Basic example
628
+ # require "google/cloud/video/transcoder/v1"
629
+ #
630
+ # # Create a client object. The client can be reused for multiple calls.
631
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
632
+ #
633
+ # # Create a request. To set request fields, pass in keyword arguments.
634
+ # request = Google::Cloud::Video::Transcoder::V1::ListJobTemplatesRequest.new
635
+ #
636
+ # # Call the list_job_templates method.
637
+ # result = client.list_job_templates request
638
+ #
639
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
640
+ # # over elements, and API calls will be issued to fetch pages as needed.
641
+ # result.each do |item|
642
+ # # Each element is of type ::Google::Cloud::Video::Transcoder::V1::JobTemplate.
643
+ # p item
644
+ # end
645
+ #
542
646
  def list_job_templates request, options = nil
543
647
  raise ::ArgumentError, "request must be provided" if request.nil?
544
648
 
@@ -603,6 +707,22 @@ module Google
603
707
  # @return [::Google::Cloud::Video::Transcoder::V1::JobTemplate]
604
708
  #
605
709
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
710
+ #
711
+ # @example Basic example
712
+ # require "google/cloud/video/transcoder/v1"
713
+ #
714
+ # # Create a client object. The client can be reused for multiple calls.
715
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
716
+ #
717
+ # # Create a request. To set request fields, pass in keyword arguments.
718
+ # request = Google::Cloud::Video::Transcoder::V1::GetJobTemplateRequest.new
719
+ #
720
+ # # Call the get_job_template method.
721
+ # result = client.get_job_template request
722
+ #
723
+ # # The returned object is of type Google::Cloud::Video::Transcoder::V1::JobTemplate.
724
+ # p result
725
+ #
606
726
  def get_job_template request, options = nil
607
727
  raise ::ArgumentError, "request must be provided" if request.nil?
608
728
 
@@ -669,6 +789,22 @@ module Google
669
789
  # @return [::Google::Protobuf::Empty]
670
790
  #
671
791
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
792
+ #
793
+ # @example Basic example
794
+ # require "google/cloud/video/transcoder/v1"
795
+ #
796
+ # # Create a client object. The client can be reused for multiple calls.
797
+ # client = Google::Cloud::Video::Transcoder::V1::TranscoderService::Rest::Client.new
798
+ #
799
+ # # Create a request. To set request fields, pass in keyword arguments.
800
+ # request = Google::Cloud::Video::Transcoder::V1::DeleteJobTemplateRequest.new
801
+ #
802
+ # # Call the delete_job_template method.
803
+ # result = client.delete_job_template request
804
+ #
805
+ # # The returned object is of type Google::Protobuf::Empty.
806
+ # p result
807
+ #
672
808
  def delete_job_template request, options = nil
673
809
  raise ::ArgumentError, "request must be provided" if request.nil?
674
810
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "0.10.0"
25
+ VERSION = "0.11.0"
26
26
  end
27
27
  end
28
28
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.10.0
4
+ version: 0.11.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-07-10 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.19.1
19
+ version: 0.20.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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubygems_version: 3.4.2
218
+ rubygems_version: 3.4.19
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: This API converts video files into formats suitable for consumer distribution.