google-cloud-secret_manager-v1 0.4.0 → 0.4.5
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: 40de2917c42610752af83241b3e6caf8aaea2d96f556760ec1c3bc1f228e4a38
|
|
4
|
+
data.tar.gz: f1bc93b7f2c698f63a6743cdc31d6499ed3e02e205c058ca4e1ff31ffbd6c9c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 954e42a69775775b57edf61b86a5741f56d4af532433507b1d3e9c722c6ac918e3315fe4537d546f9eb2ec8c716f69f780c24935794bd9f3f166cc13949cb27d
|
|
7
|
+
data.tar.gz: 5b78fe9f987f30daf90fc9a04ff82d4cb1b220701a029c56f0d5c7461e53caa0f758703b4126bb501464bda51e53d4ce9d34474fba1b7700b419a2f8190625b2
|
data/README.md
CHANGED
|
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
18
18
|
|
|
19
19
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
20
20
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
21
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/secretmanager.googleapis.com)
|
|
21
22
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
22
23
|
|
|
23
24
|
## Quick Start
|
|
@@ -33,6 +34,9 @@ response = client.list_secrets request
|
|
|
33
34
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-secret_manager-v1/latest)
|
|
34
35
|
for class and method documentation.
|
|
35
36
|
|
|
37
|
+
See also the [Product Documentation](https://cloud.google.com/secret-manager)
|
|
38
|
+
for general usage information.
|
|
39
|
+
|
|
36
40
|
## Enabling Logging
|
|
37
41
|
|
|
38
42
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
@@ -92,7 +92,7 @@ module Google
|
|
|
92
92
|
initial_delay: 1.0,
|
|
93
93
|
max_delay: 60.0,
|
|
94
94
|
multiplier: 1.3,
|
|
95
|
-
retry_codes: [
|
|
95
|
+
retry_codes: [14, 2]
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
default_config.rpcs.disable_secret_version.timeout = 60.0
|
|
@@ -1347,7 +1347,7 @@ module Google
|
|
|
1347
1347
|
|
|
1348
1348
|
config_attr :endpoint, "secretmanager.googleapis.com", ::String
|
|
1349
1349
|
config_attr :credentials, nil do |value|
|
|
1350
|
-
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1350
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1351
1351
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
1352
1352
|
allowed.any? { |klass| klass === value }
|
|
1353
1353
|
end
|
|
@@ -1375,7 +1375,7 @@ module Google
|
|
|
1375
1375
|
def rpcs
|
|
1376
1376
|
@rpcs ||= begin
|
|
1377
1377
|
parent_rpcs = nil
|
|
1378
|
-
parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to?
|
|
1378
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
|
|
1379
1379
|
Rpcs.new parent_rpcs
|
|
1380
1380
|
end
|
|
1381
1381
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-secret_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.5
|
|
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-
|
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: google-cloud-errors
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -184,7 +184,6 @@ files:
|
|
|
184
184
|
- LICENSE.md
|
|
185
185
|
- README.md
|
|
186
186
|
- lib/google-cloud-secret_manager-v1.rb
|
|
187
|
-
- lib/google/cloud/common_resources_pb.rb
|
|
188
187
|
- lib/google/cloud/secret_manager/v1.rb
|
|
189
188
|
- lib/google/cloud/secret_manager/v1/secret_manager_service.rb
|
|
190
189
|
- lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb
|
|
@@ -225,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
225
224
|
- !ruby/object:Gem::Version
|
|
226
225
|
version: '0'
|
|
227
226
|
requirements: []
|
|
228
|
-
rubygems_version: 3.
|
|
227
|
+
rubygems_version: 3.1.3
|
|
229
228
|
signing_key:
|
|
230
229
|
specification_version: 4
|
|
231
230
|
summary: API Client library for the Secret Manager V1 API
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# source: google/cloud/common_resources.proto
|
|
3
|
-
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
|
-
require 'google/api/resource_pb'
|
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
module Google
|
|
13
|
-
module Cloud
|
|
14
|
-
end
|
|
15
|
-
end
|