google-cloud-secret_manager-v1 0.8.0 → 0.9.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: 2eb6c991083ef7f67c7f9ab36f4e5a7dab838278f369d8a0975656980fc0f426
|
4
|
+
data.tar.gz: 7d4ffe06d12bf5c389061a25b8c5e051a79e8ab8995b88dc5947dfc50f2ee773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 489b0d3cb99db2a8d44ac778f7f7bf5727c159f624a2ebfe1e6fc5a0f193a00709eaa794cba5f2981f36e5f1bc4bed67da4c803471a003fda6294c4a0b57eb75
|
7
|
+
data.tar.gz: 2a611bba6b9434a542e596b7dd8b8f97f69e1fff0fe3e94fcf9668e0a46e6ab1f40d09014482c8c45165c78ac5a401b94185648a2da4d3ba2be591e38a958479
|
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
16
|
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
17
17
|
map :labels, :string, :string, 4
|
18
18
|
repeated :topics, :message, 5, "google.cloud.secretmanager.v1.Topic"
|
19
|
+
optional :rotation, :message, 9, "google.cloud.secretmanager.v1.Rotation"
|
19
20
|
oneof :expiration do
|
20
21
|
optional :expire_time, :message, 6, "google.protobuf.Timestamp"
|
21
22
|
optional :ttl, :message, 7, "google.protobuf.Duration"
|
@@ -75,6 +76,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
75
76
|
add_message "google.cloud.secretmanager.v1.Topic" do
|
76
77
|
optional :name, :string, 1
|
77
78
|
end
|
79
|
+
add_message "google.cloud.secretmanager.v1.Rotation" do
|
80
|
+
optional :next_rotation_time, :message, 1, "google.protobuf.Timestamp"
|
81
|
+
optional :rotation_period, :message, 2, "google.protobuf.Duration"
|
82
|
+
end
|
78
83
|
add_message "google.cloud.secretmanager.v1.SecretPayload" do
|
79
84
|
optional :data, :bytes, 1
|
80
85
|
end
|
@@ -99,6 +104,7 @@ module Google
|
|
99
104
|
ReplicationStatus::UserManagedStatus::ReplicaStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus").msgclass
|
100
105
|
CustomerManagedEncryptionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus").msgclass
|
101
106
|
Topic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secretmanager.v1.Topic").msgclass
|
107
|
+
Rotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secretmanager.v1.Rotation").msgclass
|
102
108
|
SecretPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secretmanager.v1.SecretPayload").msgclass
|
103
109
|
end
|
104
110
|
end
|
@@ -61,6 +61,10 @@ module Google
|
|
61
61
|
# @!attribute [rw] ttl
|
62
62
|
# @return [::Google::Protobuf::Duration]
|
63
63
|
# Input only. The TTL for the {::Google::Cloud::SecretManager::V1::Secret Secret}.
|
64
|
+
# @!attribute [rw] rotation
|
65
|
+
# @return [::Google::Cloud::SecretManager::V1::Rotation]
|
66
|
+
# Optional. Rotation policy attached to the {::Google::Cloud::SecretManager::V1::Secret Secret}. May be excluded if there is no
|
67
|
+
# rotation policy.
|
64
68
|
class Secret
|
65
69
|
include ::Google::Protobuf::MessageExts
|
66
70
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -281,6 +285,27 @@ module Google
|
|
281
285
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
286
|
end
|
283
287
|
|
288
|
+
# The rotation time and period for a {::Google::Cloud::SecretManager::V1::Secret Secret}. At next_rotation_time, Secret
|
289
|
+
# Manager will send a Pub/Sub notification to the topics configured on the
|
290
|
+
# Secret. {::Google::Cloud::SecretManager::V1::Secret#topics Secret.topics} must be set to configure rotation.
|
291
|
+
# @!attribute [rw] next_rotation_time
|
292
|
+
# @return [::Google::Protobuf::Timestamp]
|
293
|
+
# Optional. Timestamp in UTC at which the {::Google::Cloud::SecretManager::V1::Secret Secret} is scheduled to rotate.
|
294
|
+
#
|
295
|
+
# {::Google::Cloud::SecretManager::V1::Rotation#next_rotation_time next_rotation_time} MUST be set if {::Google::Cloud::SecretManager::V1::Rotation#rotation_period rotation_period} is set.
|
296
|
+
# @!attribute [rw] rotation_period
|
297
|
+
# @return [::Google::Protobuf::Duration]
|
298
|
+
# Input only. The Duration between rotation notifications. Must be in seconds
|
299
|
+
# and at least 3600s (1h) and at most 3153600000s (100 years).
|
300
|
+
#
|
301
|
+
# If {::Google::Cloud::SecretManager::V1::Rotation#rotation_period rotation_period} is set, {::Google::Cloud::SecretManager::V1::Rotation#next_rotation_time next_rotation_time} must be set.
|
302
|
+
# {::Google::Cloud::SecretManager::V1::Rotation#next_rotation_time next_rotation_time} will be advanced by this period when the service
|
303
|
+
# automatically sends rotation notifications.
|
304
|
+
class Rotation
|
305
|
+
include ::Google::Protobuf::MessageExts
|
306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
307
|
+
end
|
308
|
+
|
284
309
|
# A secret payload resource in the Secret Manager API. This contains the
|
285
310
|
# sensitive secret payload that is associated with a {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
|
286
311
|
# @!attribute [rw] data
|
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
|
+
version: 0.9.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: 2021-
|
11
|
+
date: 2021-04-05 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.4'
|
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.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|