google-cloud-scheduler-v1 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: 9613c85ba10c82ba155635f5f3734254f6e31093f154f2bf93b2fbb9679f4f46
|
|
4
|
+
data.tar.gz: 0e2ae13e76fab550a39f92e1287b2cd55beb100936e354a2fa7c1d5d671a164b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee3f55d33b6f8fea5c8d7a8e1383972a28015dab3d932c9408594729891de97658b537a8ef9c6026d4621c4883a3957f706b2f67ccb74ab9c1cf7d0843458b98
|
|
7
|
+
data.tar.gz: 1dd58eb418878b83483ce1056785714308e19f593c0071ebe41a1066505c33e1037b41c28db5db9504adeac0252e78cbd4eef15418d430e0dd3f18dae9a31030
|
|
@@ -165,7 +165,8 @@ module Google
|
|
|
165
165
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
166
166
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
167
167
|
end
|
|
168
|
-
@quota_project_id =
|
|
168
|
+
@quota_project_id = @config.quota_project
|
|
169
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
169
170
|
|
|
170
171
|
@cloud_scheduler_stub = ::Gapic::ServiceStub.new(
|
|
171
172
|
::Google::Cloud::Scheduler::V1::CloudScheduler::Stub,
|
|
@@ -838,24 +839,28 @@ module Google
|
|
|
838
839
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
839
840
|
# trigger a retry.
|
|
840
841
|
# @return [::Hash]
|
|
842
|
+
# @!attribute [rw] quota_project
|
|
843
|
+
# A separate project against which to charge quota.
|
|
844
|
+
# @return [::String]
|
|
841
845
|
#
|
|
842
846
|
class Configuration
|
|
843
847
|
extend ::Gapic::Config
|
|
844
848
|
|
|
845
|
-
config_attr :endpoint,
|
|
846
|
-
config_attr :credentials,
|
|
849
|
+
config_attr :endpoint, "cloudscheduler.googleapis.com", ::String
|
|
850
|
+
config_attr :credentials, nil do |value|
|
|
847
851
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
848
852
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
849
853
|
allowed.any? { |klass| klass === value }
|
|
850
854
|
end
|
|
851
|
-
config_attr :scope,
|
|
852
|
-
config_attr :lib_name,
|
|
853
|
-
config_attr :lib_version,
|
|
854
|
-
config_attr(:channel_args,
|
|
855
|
-
config_attr :interceptors,
|
|
856
|
-
config_attr :timeout,
|
|
857
|
-
config_attr :metadata,
|
|
858
|
-
config_attr :retry_policy,
|
|
855
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
|
856
|
+
config_attr :lib_name, nil, ::String, nil
|
|
857
|
+
config_attr :lib_version, nil, ::String, nil
|
|
858
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
|
859
|
+
config_attr :interceptors, nil, ::Array, nil
|
|
860
|
+
config_attr :timeout, nil, ::Numeric, nil
|
|
861
|
+
config_attr :metadata, nil, ::Hash, nil
|
|
862
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
|
863
|
+
config_attr :quota_project, nil, ::String, nil
|
|
859
864
|
|
|
860
865
|
# @private
|
|
861
866
|
def initialize parent_config = nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-scheduler-v1
|
|
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
|
|
@@ -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
|