google-cloud-os_login-v1 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: 9383aec685681a4cf673edd5a6b407f8e871b2fbe94ad1d9d41fc054ab355ba6
|
4
|
+
data.tar.gz: b4f4b442320c563bd497a1a13c72525e01350b84cbee2729c5dfd0ec7309317b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1759bfe21dc4ecbe1794ec2d3b02cb0b79d82e687d8e755c3a875f3c2e4c849b1a63040b50e5067e3830895c70130ea9e8f847d37b53f2e3d3fd6bd22e82717c
|
7
|
+
data.tar.gz: 5141746197e511dba87571ad0d4d8e91bb42300ecd07b0b07e4c89370409d3a7a2248bc5a03cd25895cdbdb0c0f39f18b207356e5217a29297922f2398740b57
|
@@ -181,7 +181,8 @@ module Google
|
|
181
181
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
182
182
|
credentials = Credentials.new credentials, scope: @config.scope
|
183
183
|
end
|
184
|
-
@quota_project_id =
|
184
|
+
@quota_project_id = @config.quota_project
|
185
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
185
186
|
|
186
187
|
@os_login_service_stub = ::Gapic::ServiceStub.new(
|
187
188
|
::Google::Cloud::OsLogin::V1::OsLoginService::Stub,
|
@@ -690,24 +691,28 @@ module Google
|
|
690
691
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
691
692
|
# trigger a retry.
|
692
693
|
# @return [::Hash]
|
694
|
+
# @!attribute [rw] quota_project
|
695
|
+
# A separate project against which to charge quota.
|
696
|
+
# @return [::String]
|
693
697
|
#
|
694
698
|
class Configuration
|
695
699
|
extend ::Gapic::Config
|
696
700
|
|
697
|
-
config_attr :endpoint,
|
698
|
-
config_attr :credentials,
|
701
|
+
config_attr :endpoint, "oslogin.googleapis.com", ::String
|
702
|
+
config_attr :credentials, nil do |value|
|
699
703
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
700
704
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
701
705
|
allowed.any? { |klass| klass === value }
|
702
706
|
end
|
703
|
-
config_attr :scope,
|
704
|
-
config_attr :lib_name,
|
705
|
-
config_attr :lib_version,
|
706
|
-
config_attr(:channel_args,
|
707
|
-
config_attr :interceptors,
|
708
|
-
config_attr :timeout,
|
709
|
-
config_attr :metadata,
|
710
|
-
config_attr :retry_policy,
|
707
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
708
|
+
config_attr :lib_name, nil, ::String, nil
|
709
|
+
config_attr :lib_version, nil, ::String, nil
|
710
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
711
|
+
config_attr :interceptors, nil, ::Array, nil
|
712
|
+
config_attr :timeout, nil, ::Numeric, nil
|
713
|
+
config_attr :metadata, nil, ::Hash, nil
|
714
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
715
|
+
config_attr :quota_project, nil, ::String, nil
|
711
716
|
|
712
717
|
# @private
|
713
718
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_login-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
|