google-cloud-video-transcoder-v1 1.2.0 → 2.0.1

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: a4d67058c98f34e880faa145940eb4ef580262b3dc05273e46c0fc6139912b7a
4
- data.tar.gz: e2d4fbbd94e8ff8ba78068005e4f307d2e80e834c052cd2d5b78bc8362b4f632
3
+ metadata.gz: 86c0952d4025eea5beb6a104de054fc3032585cc7f94dbc2b861361310ed8cc7
4
+ data.tar.gz: 7ddb4bfc88a1606ac48489ddd6ad33963184ec7e2f015ada261d5dd5e43be6d8
5
5
  SHA512:
6
- metadata.gz: 0edcf7d36aa8a2ae512beed0632a5d1af5415d4f2c312201314451ddf514d7118d880f958482f3572c01af45322ac327cd4349b82ad37fe784f3070bf5b6e61d
7
- data.tar.gz: 81ea76ee3b68b39ce047e6eaaab8acee5f6c9c0027c29bf8f87cbb779bf0617fd9cca9bde4e906df463b83705fc6f19c1c2543a1f9ff51a0541eb054553b5c12
6
+ metadata.gz: 74bfa4bd91a4f52738e159944ba107f29e7936ee1d886b6bc4c9255141520b9fae38b502a145c40c83db15f595921931569417b12794902ae5b34170e6021806
7
+ data.tar.gz: 335633a3efe377410f2888be308ff60b4185f8395d89744e73c7f9d9d41f58c8bbf109d3dfbae1c360d54128da7b090a4d517da57bada07184d945e380d5bc12
@@ -1053,8 +1053,8 @@ module Google
1053
1053
 
1054
1054
  config_attr :endpoint, nil, ::String, nil
1055
1055
  config_attr :credentials, nil do |value|
1056
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1057
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1056
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1057
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1058
1058
  allowed.any? { |klass| klass === value }
1059
1059
  end
1060
1060
  config_attr :scope, nil, ::String, ::Array, nil
@@ -316,10 +316,10 @@ module Google
316
316
  # One or more fields to compare and use to sort the output.
317
317
  # See https://google.aip.dev/132#ordering.
318
318
  # @yield [result, operation] Access the result along with the TransportOperation object
319
- # @yieldparam result [::Google::Cloud::Video::Transcoder::V1::ListJobsResponse]
319
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::Job>]
320
320
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
321
321
  #
322
- # @return [::Google::Cloud::Video::Transcoder::V1::ListJobsResponse]
322
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::Job>]
323
323
  #
324
324
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
325
325
  #
@@ -371,7 +371,9 @@ module Google
371
371
  retry_policy: @config.retry_policy
372
372
 
373
373
  @transcoder_service_stub.list_jobs request, options do |result, operation|
374
+ result = ::Gapic::Rest::PagedEnumerable.new @transcoder_service_stub, :list_jobs, "jobs", request, result, options
374
375
  yield result, operation if block_given?
376
+ throw :response, result
375
377
  end
376
378
  rescue ::Gapic::Rest::Error => e
377
379
  raise ::Google::Cloud::Error.from_error(e)
@@ -658,10 +660,10 @@ module Google
658
660
  # One or more fields to compare and use to sort the output.
659
661
  # See https://google.aip.dev/132#ordering.
660
662
  # @yield [result, operation] Access the result along with the TransportOperation object
661
- # @yieldparam result [::Google::Cloud::Video::Transcoder::V1::ListJobTemplatesResponse]
663
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::JobTemplate>]
662
664
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
663
665
  #
664
- # @return [::Google::Cloud::Video::Transcoder::V1::ListJobTemplatesResponse]
666
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::JobTemplate>]
665
667
  #
666
668
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
667
669
  #
@@ -713,7 +715,9 @@ module Google
713
715
  retry_policy: @config.retry_policy
714
716
 
715
717
  @transcoder_service_stub.list_job_templates request, options do |result, operation|
718
+ result = ::Gapic::Rest::PagedEnumerable.new @transcoder_service_stub, :list_job_templates, "job_templates", request, result, options
716
719
  yield result, operation if block_given?
720
+ throw :response, result
717
721
  end
718
722
  rescue ::Gapic::Rest::Error => e
719
723
  raise ::Google::Cloud::Error.from_error(e)
@@ -977,7 +981,7 @@ module Google
977
981
 
978
982
  config_attr :endpoint, nil, ::String, nil
979
983
  config_attr :credentials, nil do |value|
980
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
984
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
981
985
  allowed.any? { |klass| klass === value }
982
986
  end
983
987
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "2.0.1"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-transcoder-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.6.2
104
+ rubygems_version: 3.6.8
105
105
  specification_version: 4
106
106
  summary: This API converts video files into formats suitable for consumer distribution.
107
107
  For more information, see the Transcoder API overview.