google-cloud-scheduler-v1beta1 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: dbc3d74cc11ca07c9bfcffb996628b9cd88a09704990e58721787630888f4786
|
4
|
+
data.tar.gz: 8c8fecc16c5021028cfb0403f953539ca6258d911e9f963fb111cb2069719b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dad72d70dfaa73472b6fc0baf3e6d7c3e27300b69c176634882335d023c8ba84e800d336b63da18c623163ede1aa42b624e0cab887c7f0ab9a4003d9cdd7731e
|
7
|
+
data.tar.gz: 710ec0c1aa530606ed9221abe21cf852d7cd3ea2f00b33d720e7008c0397af28d35c9b26464b55e940ff846385f316ed8bdb64e3d8a319156c787430d76bf032
|
@@ -177,7 +177,8 @@ module Google
|
|
177
177
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
178
178
|
credentials = Credentials.new credentials, scope: @config.scope
|
179
179
|
end
|
180
|
-
@quota_project_id =
|
180
|
+
@quota_project_id = @config.quota_project
|
181
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
181
182
|
|
182
183
|
@cloud_scheduler_stub = ::Gapic::ServiceStub.new(
|
183
184
|
::Google::Cloud::Scheduler::V1beta1::CloudScheduler::Stub,
|
@@ -850,24 +851,28 @@ module Google
|
|
850
851
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
851
852
|
# trigger a retry.
|
852
853
|
# @return [::Hash]
|
854
|
+
# @!attribute [rw] quota_project
|
855
|
+
# A separate project against which to charge quota.
|
856
|
+
# @return [::String]
|
853
857
|
#
|
854
858
|
class Configuration
|
855
859
|
extend ::Gapic::Config
|
856
860
|
|
857
|
-
config_attr :endpoint,
|
858
|
-
config_attr :credentials,
|
861
|
+
config_attr :endpoint, "cloudscheduler.googleapis.com", ::String
|
862
|
+
config_attr :credentials, nil do |value|
|
859
863
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
860
864
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
861
865
|
allowed.any? { |klass| klass === value }
|
862
866
|
end
|
863
|
-
config_attr :scope,
|
864
|
-
config_attr :lib_name,
|
865
|
-
config_attr :lib_version,
|
866
|
-
config_attr(:channel_args,
|
867
|
-
config_attr :interceptors,
|
868
|
-
config_attr :timeout,
|
869
|
-
config_attr :metadata,
|
870
|
-
config_attr :retry_policy,
|
867
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
868
|
+
config_attr :lib_name, nil, ::String, nil
|
869
|
+
config_attr :lib_version, nil, ::String, nil
|
870
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
871
|
+
config_attr :interceptors, nil, ::Array, nil
|
872
|
+
config_attr :timeout, nil, ::Numeric, nil
|
873
|
+
config_attr :metadata, nil, ::Hash, nil
|
874
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
875
|
+
config_attr :quota_project, nil, ::String, nil
|
871
876
|
|
872
877
|
# @private
|
873
878
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-scheduler-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-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
|