google-cloud-media_translation-v1beta1 0.10.0 → 0.11.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: 378730939139322f8693116d4074a4c38ac4fdb32bb8a6d025351d16d1f4086c
4
- data.tar.gz: b2e36f9380bf0ab223ad528ffc3af9a0026b45072eba31d75dd7c7a03ea1030e
3
+ metadata.gz: aaf91ccc6163d82b320e4ac8c0f05069b39ce76e20257f1427063eb20d44d85a
4
+ data.tar.gz: c291eb29c465a379e7c933384653f9571afb84429a293cf1a29fea26a4c27d50
5
5
  SHA512:
6
- metadata.gz: 3a0b00ebf02ff88d3bb5182876235b0aab6b3b8d446def569e164f34a89e11a0fcd6788322807513f6aebc8c0c99f0918941f4ea7f04fa6e0587e61f225e5157
7
- data.tar.gz: 246ea82bd3c328c6552948e92d3afc2d4005077968cc6b231ea937bd9d22f2759a473c8994892b240ce4f74d3dba7df0560379e9b4c4c68f07f4d4231606b53c
6
+ metadata.gz: bf8a4c42ef673bd9b556e1967f85ccc02ca0036890f5ae40208d831e4cd02ee10016e407b94ad841e2a9be90490e191c39b03d82ca132f0787bba42e51e045af
7
+ data.tar.gz: f3fac08612e02d6a8b72caf12bff0c97175c4c9a3fd55c3c2d9d880c18a1ce0658528e9525b991079c66451d6fa3702a82d11d1184239c959832e4b33286f5c2
data/README.md CHANGED
@@ -82,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
82
82
 
83
83
  ## Supported Ruby Versions
84
84
 
85
- This library is supported on Ruby 2.7+.
85
+ This library is supported on Ruby 3.0+.
86
86
 
87
87
  Google provides official support for Ruby versions that are actively supported
88
88
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -311,6 +311,13 @@ module Google
311
311
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
312
312
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
313
313
  # * (`nil`) indicating no credentials
314
+ #
315
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
316
+ # external source for authentication to Google Cloud, you must validate it before
317
+ # providing it to a Google API client library. Providing an unvalidated credential
318
+ # configuration to Google APIs can compromise the security of your systems and data.
319
+ # For more information, refer to [Validate credential configurations from external
320
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
314
321
  # @return [::Object]
315
322
  # @!attribute [rw] scope
316
323
  # The OAuth scopes
@@ -365,8 +372,8 @@ module Google
365
372
 
366
373
  config_attr :endpoint, nil, ::String, nil
367
374
  config_attr :credentials, nil do |value|
368
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
369
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
375
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
376
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
370
377
  allowed.any? { |klass| klass === value }
371
378
  end
372
379
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module MediaTranslation
23
23
  module V1beta1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.1"
25
25
  end
26
26
  end
27
27
  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
@@ -118,6 +118,8 @@ module Google
118
118
  # Provides information to the recognizer that specifies how to process the
119
119
  # request. The first `StreamingTranslateSpeechRequest` message must contain
120
120
  # a `streaming_config` message.
121
+ #
122
+ # Note: The following fields are mutually exclusive: `streaming_config`, `audio_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
121
123
  # @!attribute [rw] audio_content
122
124
  # @return [::String]
123
125
  # The audio data to be translated. Sequential chunks of audio data are sent
@@ -128,6 +130,8 @@ module Google
128
130
  # encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
129
131
  # all bytes fields, protobuffers use a pure binary representation (not
130
132
  # base64).
133
+ #
134
+ # Note: The following fields are mutually exclusive: `audio_content`, `streaming_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
131
135
  class StreamingTranslateSpeechRequest
132
136
  include ::Google::Protobuf::MessageExts
133
137
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-media_translation-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -83,7 +82,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
83
82
  licenses:
84
83
  - Apache-2.0
85
84
  metadata: {}
86
- post_install_message:
87
85
  rdoc_options: []
88
86
  require_paths:
89
87
  - lib
@@ -91,15 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
89
  requirements:
92
90
  - - ">="
93
91
  - !ruby/object:Gem::Version
94
- version: '2.7'
92
+ version: '3.0'
95
93
  required_rubygems_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
97
  version: '0'
100
98
  requirements: []
101
- rubygems_version: 3.5.23
102
- signing_key:
99
+ rubygems_version: 3.6.8
103
100
  specification_version: 4
104
101
  summary: API Client library for the Media Translation V1beta1 API
105
102
  test_files: []