google-cloud-tasks-v2beta3 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 560c413382cb2ab6332309d803f3a72930d99e055066a4a085650f908849e12b
|
4
|
+
data.tar.gz: bf984034f3501426c9c207515c9bd2b37e3a11b9969e9a7f9ee906db144b60d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d81916d2e1ef3c35d9ef48b9c297f7807115a100984725634a0185a5d43c2285ed7e772f39808401ce8002f6e13125d862544d87815a07d690b0b7b16ddf67d
|
7
|
+
data.tar.gz: aa705e7eccaed78fa39ea94564248cdac7d3871fc1519cf5ab5ee00a6415cf315691d3f032dfeecf5801adbcdafda06428f387344516678a697e65742ea740fb
|
@@ -211,7 +211,8 @@ module Google
|
|
211
211
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
212
212
|
credentials = Credentials.new credentials, scope: @config.scope
|
213
213
|
end
|
214
|
-
@quota_project_id =
|
214
|
+
@quota_project_id = @config.quota_project
|
215
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
215
216
|
|
216
217
|
@cloud_tasks_stub = ::Gapic::ServiceStub.new(
|
217
218
|
::Google::Cloud::Tasks::V2beta3::CloudTasks::Stub,
|
@@ -1665,24 +1666,28 @@ module Google
|
|
1665
1666
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
1666
1667
|
# trigger a retry.
|
1667
1668
|
# @return [::Hash]
|
1669
|
+
# @!attribute [rw] quota_project
|
1670
|
+
# A separate project against which to charge quota.
|
1671
|
+
# @return [::String]
|
1668
1672
|
#
|
1669
1673
|
class Configuration
|
1670
1674
|
extend ::Gapic::Config
|
1671
1675
|
|
1672
|
-
config_attr :endpoint,
|
1673
|
-
config_attr :credentials,
|
1676
|
+
config_attr :endpoint, "cloudtasks.googleapis.com", ::String
|
1677
|
+
config_attr :credentials, nil do |value|
|
1674
1678
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1675
1679
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1676
1680
|
allowed.any? { |klass| klass === value }
|
1677
1681
|
end
|
1678
|
-
config_attr :scope,
|
1679
|
-
config_attr :lib_name,
|
1680
|
-
config_attr :lib_version,
|
1681
|
-
config_attr(:channel_args,
|
1682
|
-
config_attr :interceptors,
|
1683
|
-
config_attr :timeout,
|
1684
|
-
config_attr :metadata,
|
1685
|
-
config_attr :retry_policy,
|
1682
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
1683
|
+
config_attr :lib_name, nil, ::String, nil
|
1684
|
+
config_attr :lib_version, nil, ::String, nil
|
1685
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
1686
|
+
config_attr :interceptors, nil, ::Array, nil
|
1687
|
+
config_attr :timeout, nil, ::Numeric, nil
|
1688
|
+
config_attr :metadata, nil, ::Hash, nil
|
1689
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1690
|
+
config_attr :quota_project, nil, ::String, nil
|
1686
1691
|
|
1687
1692
|
# @private
|
1688
1693
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks-v2beta3
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -78,14 +78,42 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '5.
|
81
|
+
version: '5.14'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
88
|
+
version: '5.14'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: minitest-focus
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.1'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: minitest-rg
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '5.2'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '5.2'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: rake
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|