google-cloud-translate-v3 1.5.1 → 1.6.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: e3e0c40b8089b6a060f9cf5a94cbe7bd9f99503c3d18c02692d39045e1e0c821
4
- data.tar.gz: 40487eda83d494982e13bf326f1457b75db33291006b3115a9288204c707ce78
3
+ metadata.gz: 631778160d5a4d49e567ac42a63588438806f4063fcd648728ca71ea5f64752c
4
+ data.tar.gz: 0d9b097547f0271b53f3c362627e7289bdbbbf708a525aa895acde26f5ceb2c4
5
5
  SHA512:
6
- metadata.gz: '028482d2ac8f93c9bced6d1a926c91043f1611609db47c23447199dd7bb263afe4a3d637cdba35e4734efe110f57d1c37f2dd21960b3548548af08076e20aeb6'
7
- data.tar.gz: 61a54e9d7a678555d9c4abea0bbbd54f59eeb80efe1e2f996a19bf97edcbb341d79bfb3bfb2bc6d3a226cf9a184dde2e02cf4f54678272e9817533b20714cddc
6
+ metadata.gz: 81e901859727cafdf92f97c7f9900d77088e10617a17dd4c17413751d56e4010ae6f1d82aee6e2e41dcd0f6f5e2f3bee37ca64f0f6c6a50f7c10387cd2a45b99
7
+ data.tar.gz: 836a92db19fae0355b92ae2e94e3c7c624c776ef7753c3abbaf61ddcf124fefa243625f89a844ea1305423e8094b77f16125af85447ae56008feb5b9b1b075dd
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -69,33 +69,6 @@ module Google
69
69
  yield @configure if block_given?
70
70
  @configure
71
71
  end
72
-
73
- ##
74
- # @private
75
- # Configuration class for the google.cloud.translation.v3 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.translation.v3 package.
79
- #
80
- # This configuration is for internal use of the client library classes,
81
- # and it is not intended that the end-users will read or change it.
82
- #
83
- class Configuration
84
- extend ::Gapic::Config
85
-
86
- # @private
87
- # Overrides for http bindings for the RPC of the mixins for this package.
88
- # Services in this package should use these when creating clients for the mixin services.
89
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
- config_attr :bindings_override, {}, ::Hash, nil
91
-
92
- # @private
93
- def initialize parent_config = nil
94
- @parent_config = parent_config unless parent_config.nil?
95
-
96
- yield self if block_given?
97
- end
98
- end
99
72
  end
100
73
  end
101
74
  end
@@ -3200,11 +3200,11 @@ module Google
3200
3200
  # @param file_input_source [::Google::Cloud::Translate::V3::FileInputSource, ::Hash]
3201
3201
  # Inline file source.
3202
3202
  #
3203
- # Note: The following fields are mutually exclusive: `file_input_source`, `gcs_input_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3203
+ # Note: The following parameters are mutually exclusive: `file_input_source`, `gcs_input_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
3204
3204
  # @param gcs_input_source [::Google::Cloud::Translate::V3::GcsInputSource, ::Hash]
3205
3205
  # Google Cloud Storage file source.
3206
3206
  #
3207
- # Note: The following fields are mutually exclusive: `gcs_input_source`, `file_input_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3207
+ # Note: The following parameters are mutually exclusive: `gcs_input_source`, `file_input_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
3208
3208
  #
3209
3209
  # @yield [response, operation] Access the result along with the RPC operation
3210
3210
  # @yieldparam response [::Google::Cloud::Translate::V3::ImportAdaptiveMtFileResponse]
@@ -2998,11 +2998,11 @@ module Google
2998
2998
  # @param file_input_source [::Google::Cloud::Translate::V3::FileInputSource, ::Hash]
2999
2999
  # Inline file source.
3000
3000
  #
3001
- # Note: The following fields are mutually exclusive: `file_input_source`, `gcs_input_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3001
+ # Note: The following parameters are mutually exclusive: `file_input_source`, `gcs_input_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
3002
3002
  # @param gcs_input_source [::Google::Cloud::Translate::V3::GcsInputSource, ::Hash]
3003
3003
  # Google Cloud Storage file source.
3004
3004
  #
3005
- # Note: The following fields are mutually exclusive: `gcs_input_source`, `file_input_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3005
+ # Note: The following parameters are mutually exclusive: `gcs_input_source`, `file_input_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
3006
3006
  # @yield [result, operation] Access the result along with the TransportOperation object
3007
3007
  # @yieldparam result [::Google::Cloud::Translate::V3::ImportAdaptiveMtFileResponse]
3008
3008
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Translate
23
23
  module V3
24
- VERSION = "1.5.1"
24
+ VERSION = "1.6.0"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-translate-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement