google-cloud-text_to_speech-v1beta1 0.1.0 → 0.2.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a269d413dc9507e8a73950320859e20757f0fd7ef14357fc018508fc6f3a4c5c
|
|
4
|
+
data.tar.gz: 97fd12d0bb879f1c8ce3a2459b3f81a0118b975523fc419518a1db2ca6f8f8c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abfc41e8f401cd77f6f19933e6be28454594c28b84c916d75962c54c3e4de5c8dcd88af536f2ed0547954222b651bb1faeec963bffa45bf64c7003c9a6618baf
|
|
7
|
+
data.tar.gz: 92864f13d2368e5e09cff57e11b79dd7e0f4a706983f8e07701b65247ffb5522a50b140dd468e84702ff908708af378a7170babb680b80ffe5076406b8510884
|
|
@@ -144,7 +144,8 @@ module Google
|
|
|
144
144
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
145
145
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
146
146
|
end
|
|
147
|
-
@quota_project_id =
|
|
147
|
+
@quota_project_id = @config.quota_project
|
|
148
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
148
149
|
|
|
149
150
|
@text_to_speech_stub = ::Gapic::ServiceStub.new(
|
|
150
151
|
::Google::Cloud::TextToSpeech::V1beta1::TextToSpeech::Stub,
|
|
@@ -365,24 +366,28 @@ module Google
|
|
|
365
366
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
366
367
|
# trigger a retry.
|
|
367
368
|
# @return [::Hash]
|
|
369
|
+
# @!attribute [rw] quota_project
|
|
370
|
+
# A separate project against which to charge quota.
|
|
371
|
+
# @return [::String]
|
|
368
372
|
#
|
|
369
373
|
class Configuration
|
|
370
374
|
extend ::Gapic::Config
|
|
371
375
|
|
|
372
|
-
config_attr :endpoint,
|
|
373
|
-
config_attr :credentials,
|
|
376
|
+
config_attr :endpoint, "texttospeech.googleapis.com", ::String
|
|
377
|
+
config_attr :credentials, nil do |value|
|
|
374
378
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
375
379
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
376
380
|
allowed.any? { |klass| klass === value }
|
|
377
381
|
end
|
|
378
|
-
config_attr :scope,
|
|
379
|
-
config_attr :lib_name,
|
|
380
|
-
config_attr :lib_version,
|
|
381
|
-
config_attr(:channel_args,
|
|
382
|
-
config_attr :interceptors,
|
|
383
|
-
config_attr :timeout,
|
|
384
|
-
config_attr :metadata,
|
|
385
|
-
config_attr :retry_policy,
|
|
382
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
|
383
|
+
config_attr :lib_name, nil, ::String, nil
|
|
384
|
+
config_attr :lib_version, nil, ::String, nil
|
|
385
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
|
386
|
+
config_attr :interceptors, nil, ::Array, nil
|
|
387
|
+
config_attr :timeout, nil, ::Numeric, nil
|
|
388
|
+
config_attr :metadata, nil, ::Hash, nil
|
|
389
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
|
390
|
+
config_attr :quota_project, nil, ::String, nil
|
|
386
391
|
|
|
387
392
|
# @private
|
|
388
393
|
def initialize parent_config = nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-text_to_speech-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.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: 2020-05-
|
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -58,14 +58,42 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '5.
|
|
61
|
+
version: '5.14'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '5.
|
|
68
|
+
version: '5.14'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: minitest-focus
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '1.1'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '1.1'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: minitest-rg
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '5.2'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '5.2'
|
|
69
97
|
- !ruby/object:Gem::Dependency
|
|
70
98
|
name: rake
|
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|