google-apis-secretmanager_v1 0.6.0 → 0.7.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: 8bb1e24b9f66c932a1b5b325eabe5f08e1b70ebc032630bf676e5830771b388b
|
4
|
+
data.tar.gz: 5e487e30c1309f422ad56b4c98868305eb26e8fadef5231e0b6e8d2f333a1be2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c64ef0b34147ec623fc99a19b81be020e5de04d013b2d0f6a342c7640d4f63bd612a576daa29cb5faa2d174053c00c500b406be1e5eb330d025c1293b7d4bf9
|
7
|
+
data.tar.gz: bc93d21698b479bcd19f521b86c126180e1b22c22f494c1f3ec0a3562534a0cfa4f3f8ba8ebf79c8870854bd818b026440b7ded850f042849a3d96d51454b21d
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -740,6 +740,38 @@ module Google
|
|
740
740
|
end
|
741
741
|
end
|
742
742
|
|
743
|
+
# The rotation time and period for a Secret. At next_rotation_time, Secret
|
744
|
+
# Manager will send a Pub/Sub notification to the topics configured on the
|
745
|
+
# Secret. Secret.topics must be set to configure rotation.
|
746
|
+
class Rotation
|
747
|
+
include Google::Apis::Core::Hashable
|
748
|
+
|
749
|
+
# Optional. Timestamp in UTC at which the Secret is scheduled to rotate.
|
750
|
+
# next_rotation_time MUST be set if rotation_period is set.
|
751
|
+
# Corresponds to the JSON property `nextRotationTime`
|
752
|
+
# @return [String]
|
753
|
+
attr_accessor :next_rotation_time
|
754
|
+
|
755
|
+
# Input only. The Duration between rotation notifications. Must be in seconds
|
756
|
+
# and at least 3600s (1h) and at most 3153600000s (100 years). If
|
757
|
+
# rotation_period is set, next_rotation_time must be set. next_rotation_time
|
758
|
+
# will be advanced by this period when the service automatically sends rotation
|
759
|
+
# notifications.
|
760
|
+
# Corresponds to the JSON property `rotationPeriod`
|
761
|
+
# @return [String]
|
762
|
+
attr_accessor :rotation_period
|
763
|
+
|
764
|
+
def initialize(**args)
|
765
|
+
update!(**args)
|
766
|
+
end
|
767
|
+
|
768
|
+
# Update properties of this object
|
769
|
+
def update!(**args)
|
770
|
+
@next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
|
771
|
+
@rotation_period = args[:rotation_period] if args.key?(:rotation_period)
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
743
775
|
# A Secret is a logical secret whose value and versions can be accessed. A
|
744
776
|
# Secret is made up of zero or more SecretVersions that represent the secret
|
745
777
|
# data.
|
@@ -778,6 +810,13 @@ module Google
|
|
778
810
|
# @return [Google::Apis::SecretmanagerV1::Replication]
|
779
811
|
attr_accessor :replication
|
780
812
|
|
813
|
+
# The rotation time and period for a Secret. At next_rotation_time, Secret
|
814
|
+
# Manager will send a Pub/Sub notification to the topics configured on the
|
815
|
+
# Secret. Secret.topics must be set to configure rotation.
|
816
|
+
# Corresponds to the JSON property `rotation`
|
817
|
+
# @return [Google::Apis::SecretmanagerV1::Rotation]
|
818
|
+
attr_accessor :rotation
|
819
|
+
|
781
820
|
# Optional. A list of up to 10 Pub/Sub topics to which messages are published
|
782
821
|
# when control plane operations are called on the secret or its versions.
|
783
822
|
# Corresponds to the JSON property `topics`
|
@@ -800,6 +839,7 @@ module Google
|
|
800
839
|
@labels = args[:labels] if args.key?(:labels)
|
801
840
|
@name = args[:name] if args.key?(:name)
|
802
841
|
@replication = args[:replication] if args.key?(:replication)
|
842
|
+
@rotation = args[:rotation] if args.key?(:rotation)
|
803
843
|
@topics = args[:topics] if args.key?(:topics)
|
804
844
|
@ttl = args[:ttl] if args.key?(:ttl)
|
805
845
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecretmanagerV1
|
18
18
|
# Version of the google-apis-secretmanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class Rotation
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class Secret
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -412,6 +418,14 @@ module Google
|
|
412
418
|
end
|
413
419
|
end
|
414
420
|
|
421
|
+
class Rotation
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :next_rotation_time, as: 'nextRotationTime'
|
425
|
+
property :rotation_period, as: 'rotationPeriod'
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
415
429
|
class Secret
|
416
430
|
# @private
|
417
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -421,6 +435,8 @@ module Google
|
|
421
435
|
property :name, as: 'name'
|
422
436
|
property :replication, as: 'replication', class: Google::Apis::SecretmanagerV1::Replication, decorator: Google::Apis::SecretmanagerV1::Replication::Representation
|
423
437
|
|
438
|
+
property :rotation, as: 'rotation', class: Google::Apis::SecretmanagerV1::Rotation, decorator: Google::Apis::SecretmanagerV1::Rotation::Representation
|
439
|
+
|
424
440
|
collection :topics, as: 'topics', class: Google::Apis::SecretmanagerV1::Topic, decorator: Google::Apis::SecretmanagerV1::Topic::Representation
|
425
441
|
|
426
442
|
property :ttl, as: 'ttl'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-secretmanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-secretmanager_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-secretmanager_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|