google-cloud-kms 1.2.0 → 1.2.1
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: 83bc4a348944d2e4de7ed5e83959536372ec3038ddcb11b999c75d0eb5fc7d6a
|
|
4
|
+
data.tar.gz: cd8c2f7df0e74d0c266eb1598b0efbd36142adbc1786d0e38464f8771b1961db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70a92a50e1dd92182abbfa3cf31b89d32d0a1d5dfe2a3eee4c6b220d1161e858ed7d9e7dd0952e82e5becf364345b2d854f1167b47a02491b4710ca802dfd9e4
|
|
7
|
+
data.tar.gz: fcec228e0ddd2c2c26056e2ed16b6259ded3eee7958fcd7410221c751cc587894570c832a07940a60ac9cd9dcb1e9e50c4423136529f94524528512e42a2bb4e
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ steps:
|
|
|
13
13
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
14
14
|
2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
15
15
|
3. [Enable the Cloud Key Management Service (KMS) API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
|
|
16
|
-
4. [Setup Authentication.](https://googleapis.
|
|
16
|
+
4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-kms/latest/file.AUTHENTICATION.html)
|
|
17
17
|
|
|
18
18
|
### Installation
|
|
19
19
|
```
|
|
@@ -49,14 +49,14 @@ end
|
|
|
49
49
|
- View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
|
50
50
|
to see the full list of Cloud APIs that we cover.
|
|
51
51
|
|
|
52
|
-
[Client Library Documentation]: https://googleapis.
|
|
52
|
+
[Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-kms/latest
|
|
53
53
|
[Product Documentation]: https://cloud.google.com/kms
|
|
54
54
|
|
|
55
55
|
## Enabling Logging
|
|
56
56
|
|
|
57
57
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
58
58
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
|
59
|
-
or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
|
59
|
+
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
|
60
60
|
that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
61
61
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
62
62
|
|
data/lib/google/cloud/kms.rb
CHANGED
|
@@ -35,7 +35,7 @@ module Google
|
|
|
35
35
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
36
36
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
37
37
|
# 3. [Enable the Cloud Key Management Service (KMS) API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
|
|
38
|
-
# 4. [Setup Authentication.](https://googleapis.
|
|
38
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-kms/latest/file.AUTHENTICATION.html)
|
|
39
39
|
#
|
|
40
40
|
# ### Installation
|
|
41
41
|
# ```
|
|
@@ -54,7 +54,7 @@ module Google
|
|
|
54
54
|
#
|
|
55
55
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
56
56
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
|
57
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
|
57
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
|
58
58
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
59
59
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
60
60
|
#
|
data/lib/google/cloud/kms/v1.rb
CHANGED
|
@@ -37,7 +37,7 @@ module Google
|
|
|
37
37
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
38
38
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
39
39
|
# 3. [Enable the Cloud Key Management Service (KMS) API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
|
|
40
|
-
# 4. [Setup Authentication.](https://googleapis.
|
|
40
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-kms/latest/file.AUTHENTICATION.html)
|
|
41
41
|
#
|
|
42
42
|
# ### Installation
|
|
43
43
|
# ```
|
|
@@ -56,7 +56,7 @@ module Google
|
|
|
56
56
|
#
|
|
57
57
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
58
58
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
|
59
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
|
59
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
|
60
60
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
61
61
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
62
62
|
#
|
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
"interfaces": {
|
|
3
3
|
"google.cloud.kms.v1.KeyManagementService": {
|
|
4
4
|
"retry_codes": {
|
|
5
|
+
"retryable": [
|
|
6
|
+
"DEADLINE_EXCEEDED",
|
|
7
|
+
"INTERNAL",
|
|
8
|
+
"UNAVAILABLE"
|
|
9
|
+
],
|
|
5
10
|
"idempotent": [
|
|
6
11
|
"DEADLINE_EXCEEDED",
|
|
7
12
|
"UNAVAILABLE"
|
|
8
13
|
],
|
|
9
|
-
"non_idempotent": []
|
|
14
|
+
"non_idempotent": [],
|
|
15
|
+
"non_retryable": []
|
|
10
16
|
},
|
|
11
17
|
"retry_params": {
|
|
12
18
|
"default": {
|
|
@@ -22,132 +28,132 @@
|
|
|
22
28
|
"methods": {
|
|
23
29
|
"ListKeyRings": {
|
|
24
30
|
"timeout_millis": 60000,
|
|
25
|
-
"retry_codes_name": "
|
|
31
|
+
"retry_codes_name": "retryable",
|
|
26
32
|
"retry_params_name": "default"
|
|
27
33
|
},
|
|
28
34
|
"ListImportJobs": {
|
|
29
35
|
"timeout_millis": 60000,
|
|
30
|
-
"retry_codes_name": "
|
|
36
|
+
"retry_codes_name": "retryable",
|
|
31
37
|
"retry_params_name": "default"
|
|
32
38
|
},
|
|
33
39
|
"ListCryptoKeys": {
|
|
34
40
|
"timeout_millis": 60000,
|
|
35
|
-
"retry_codes_name": "
|
|
41
|
+
"retry_codes_name": "retryable",
|
|
36
42
|
"retry_params_name": "default"
|
|
37
43
|
},
|
|
38
44
|
"ListCryptoKeyVersions": {
|
|
39
45
|
"timeout_millis": 60000,
|
|
40
|
-
"retry_codes_name": "
|
|
46
|
+
"retry_codes_name": "retryable",
|
|
41
47
|
"retry_params_name": "default"
|
|
42
48
|
},
|
|
43
49
|
"GetKeyRing": {
|
|
44
50
|
"timeout_millis": 60000,
|
|
45
|
-
"retry_codes_name": "
|
|
51
|
+
"retry_codes_name": "retryable",
|
|
46
52
|
"retry_params_name": "default"
|
|
47
53
|
},
|
|
48
54
|
"GetImportJob": {
|
|
49
55
|
"timeout_millis": 60000,
|
|
50
|
-
"retry_codes_name": "
|
|
56
|
+
"retry_codes_name": "retryable",
|
|
51
57
|
"retry_params_name": "default"
|
|
52
58
|
},
|
|
53
59
|
"GetCryptoKey": {
|
|
54
60
|
"timeout_millis": 60000,
|
|
55
|
-
"retry_codes_name": "
|
|
61
|
+
"retry_codes_name": "retryable",
|
|
56
62
|
"retry_params_name": "default"
|
|
57
63
|
},
|
|
58
64
|
"GetCryptoKeyVersion": {
|
|
59
65
|
"timeout_millis": 60000,
|
|
60
|
-
"retry_codes_name": "
|
|
66
|
+
"retry_codes_name": "retryable",
|
|
61
67
|
"retry_params_name": "default"
|
|
62
68
|
},
|
|
63
69
|
"CreateKeyRing": {
|
|
64
70
|
"timeout_millis": 60000,
|
|
65
|
-
"retry_codes_name": "
|
|
71
|
+
"retry_codes_name": "retryable",
|
|
66
72
|
"retry_params_name": "default"
|
|
67
73
|
},
|
|
68
74
|
"CreateImportJob": {
|
|
69
75
|
"timeout_millis": 60000,
|
|
70
|
-
"retry_codes_name": "
|
|
76
|
+
"retry_codes_name": "retryable",
|
|
71
77
|
"retry_params_name": "default"
|
|
72
78
|
},
|
|
73
79
|
"CreateCryptoKey": {
|
|
74
80
|
"timeout_millis": 60000,
|
|
75
|
-
"retry_codes_name": "
|
|
81
|
+
"retry_codes_name": "retryable",
|
|
76
82
|
"retry_params_name": "default"
|
|
77
83
|
},
|
|
78
84
|
"CreateCryptoKeyVersion": {
|
|
79
85
|
"timeout_millis": 60000,
|
|
80
|
-
"retry_codes_name": "
|
|
86
|
+
"retry_codes_name": "non_retryable",
|
|
81
87
|
"retry_params_name": "default"
|
|
82
88
|
},
|
|
83
89
|
"ImportCryptoKeyVersion": {
|
|
84
90
|
"timeout_millis": 60000,
|
|
85
|
-
"retry_codes_name": "
|
|
91
|
+
"retry_codes_name": "non_retryable",
|
|
86
92
|
"retry_params_name": "default"
|
|
87
93
|
},
|
|
88
94
|
"UpdateCryptoKey": {
|
|
89
95
|
"timeout_millis": 60000,
|
|
90
|
-
"retry_codes_name": "
|
|
96
|
+
"retry_codes_name": "retryable",
|
|
91
97
|
"retry_params_name": "default"
|
|
92
98
|
},
|
|
93
99
|
"UpdateCryptoKeyVersion": {
|
|
94
100
|
"timeout_millis": 60000,
|
|
95
|
-
"retry_codes_name": "
|
|
101
|
+
"retry_codes_name": "retryable",
|
|
96
102
|
"retry_params_name": "default"
|
|
97
103
|
},
|
|
98
104
|
"Encrypt": {
|
|
99
105
|
"timeout_millis": 60000,
|
|
100
|
-
"retry_codes_name": "
|
|
106
|
+
"retry_codes_name": "retryable",
|
|
101
107
|
"retry_params_name": "default"
|
|
102
108
|
},
|
|
103
109
|
"Decrypt": {
|
|
104
110
|
"timeout_millis": 60000,
|
|
105
|
-
"retry_codes_name": "
|
|
111
|
+
"retry_codes_name": "retryable",
|
|
106
112
|
"retry_params_name": "default"
|
|
107
113
|
},
|
|
108
114
|
"UpdateCryptoKeyPrimaryVersion": {
|
|
109
115
|
"timeout_millis": 60000,
|
|
110
|
-
"retry_codes_name": "
|
|
116
|
+
"retry_codes_name": "retryable",
|
|
111
117
|
"retry_params_name": "default"
|
|
112
118
|
},
|
|
113
119
|
"DestroyCryptoKeyVersion": {
|
|
114
120
|
"timeout_millis": 60000,
|
|
115
|
-
"retry_codes_name": "
|
|
121
|
+
"retry_codes_name": "retryable",
|
|
116
122
|
"retry_params_name": "default"
|
|
117
123
|
},
|
|
118
124
|
"RestoreCryptoKeyVersion": {
|
|
119
125
|
"timeout_millis": 60000,
|
|
120
|
-
"retry_codes_name": "
|
|
126
|
+
"retry_codes_name": "retryable",
|
|
121
127
|
"retry_params_name": "default"
|
|
122
128
|
},
|
|
123
129
|
"GetPublicKey": {
|
|
124
130
|
"timeout_millis": 60000,
|
|
125
|
-
"retry_codes_name": "
|
|
131
|
+
"retry_codes_name": "retryable",
|
|
126
132
|
"retry_params_name": "default"
|
|
127
133
|
},
|
|
128
134
|
"AsymmetricDecrypt": {
|
|
129
135
|
"timeout_millis": 60000,
|
|
130
|
-
"retry_codes_name": "
|
|
136
|
+
"retry_codes_name": "retryable",
|
|
131
137
|
"retry_params_name": "default"
|
|
132
138
|
},
|
|
133
139
|
"AsymmetricSign": {
|
|
134
140
|
"timeout_millis": 60000,
|
|
135
|
-
"retry_codes_name": "
|
|
141
|
+
"retry_codes_name": "retryable",
|
|
136
142
|
"retry_params_name": "default"
|
|
137
143
|
},
|
|
138
144
|
"SetIamPolicy": {
|
|
139
145
|
"timeout_millis": 60000,
|
|
140
|
-
"retry_codes_name": "
|
|
146
|
+
"retry_codes_name": "retryable",
|
|
141
147
|
"retry_params_name": "default"
|
|
142
148
|
},
|
|
143
149
|
"GetIamPolicy": {
|
|
144
150
|
"timeout_millis": 60000,
|
|
145
|
-
"retry_codes_name": "
|
|
151
|
+
"retry_codes_name": "retryable",
|
|
146
152
|
"retry_params_name": "default"
|
|
147
153
|
},
|
|
148
154
|
"TestIamPermissions": {
|
|
149
155
|
"timeout_millis": 60000,
|
|
150
|
-
"retry_codes_name": "
|
|
156
|
+
"retry_codes_name": "retryable",
|
|
151
157
|
"retry_params_name": "default"
|
|
152
158
|
}
|
|
153
159
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-kms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
158
|
version: '0'
|
|
159
159
|
requirements: []
|
|
160
|
-
rubygems_version: 3.0.
|
|
160
|
+
rubygems_version: 3.0.4
|
|
161
161
|
signing_key:
|
|
162
162
|
specification_version: 4
|
|
163
163
|
summary: API Client library for Cloud Key Management Service (KMS) API
|