google-apis-secretmanager_v1 0.2.0 → 0.3.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: 706fb7fe52edeaf18e0271b0feee07a3a16008a62c000b6fed7e4c262d89def2
4
- data.tar.gz: ba1ebf1328af045efd873647f6e11a253d45d5ef5565463821e8679d782f3add
3
+ metadata.gz: 8d82d8deaef4e7e4472f2e6c71e71d326e2e1e1e18abb73ca96f489ce818dd1a
4
+ data.tar.gz: 15a453a0e5c08295a936035381ca37c6e917750ec1e9cb6e4686e01780084e9b
5
5
  SHA512:
6
- metadata.gz: 983b1b18678f83a67e17873658e44e43d4d70df2da3fb1ec76dfcb2c323bdcaf5ce3395fe85d08b40cf9f1c3ccc844276ef3a7e492dc6d3dadc93cc7ecd1d526
7
- data.tar.gz: 1568c25f8508851049fba49198c317fab6b8357ca322fa80067c2c47130f721678dc35ffe7c390dabdda04ebf9346988e41ed529505ca9109bf81c547ac92fcd
6
+ metadata.gz: b36b8456ece85aea8e813dd94ce1c074018d691f93d83c3320035a2405ec42a89057530eae3924c146cb42d10072ff6cc01712b66d27e05d864c2d28de922013
7
+ data.tar.gz: 59d232aa73a5df6541c9856130e1349c3ce4f4b0658806ce33cf9c5e4f139a4f58f72d5d9c0e1a64b610c357be0e93bddcec57730b45eda63b63f52e878252de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.3.0 (2021-02-12)
4
+
5
+ * Regenerated from discovery document revision 20210205
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.2.0 (2021-01-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20210108
@@ -778,6 +778,12 @@ module Google
778
778
  # @return [Google::Apis::SecretmanagerV1::Replication]
779
779
  attr_accessor :replication
780
780
 
781
+ # Optional. A list of up to 10 Pub/Sub topics to which messages are published
782
+ # when control plane operations are called on the secret or its versions.
783
+ # Corresponds to the JSON property `topics`
784
+ # @return [Array<Google::Apis::SecretmanagerV1::Topic>]
785
+ attr_accessor :topics
786
+
781
787
  # Input only. The TTL for the Secret.
782
788
  # Corresponds to the JSON property `ttl`
783
789
  # @return [String]
@@ -794,6 +800,7 @@ module Google
794
800
  @labels = args[:labels] if args.key?(:labels)
795
801
  @name = args[:name] if args.key?(:name)
796
802
  @replication = args[:replication] if args.key?(:replication)
803
+ @topics = args[:topics] if args.key?(:topics)
797
804
  @ttl = args[:ttl] if args.key?(:ttl)
798
805
  end
799
806
  end
@@ -958,6 +965,28 @@ module Google
958
965
  end
959
966
  end
960
967
 
968
+ # A Pub/Sub topic which SM will publish to when control plane events occur on
969
+ # this secret.
970
+ class Topic
971
+ include Google::Apis::Core::Hashable
972
+
973
+ # Required. The resource name of the Pub/Sub topic that will be published to, in
974
+ # the following format: `projects/*/topics/*`. For publication to succeed, the
975
+ # Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
976
+ # Corresponds to the JSON property `name`
977
+ # @return [String]
978
+ attr_accessor :name
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @name = args[:name] if args.key?(:name)
987
+ end
988
+ end
989
+
961
990
  # A replication policy that replicates the Secret payload into the locations
962
991
  # specified in Secret.replication.user_managed.replicas
963
992
  class UserManaged
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210108"
25
+ REVISION = "20210205"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class Topic
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class UserManaged
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -415,6 +421,8 @@ module Google
415
421
  property :name, as: 'name'
416
422
  property :replication, as: 'replication', class: Google::Apis::SecretmanagerV1::Replication, decorator: Google::Apis::SecretmanagerV1::Replication::Representation
417
423
 
424
+ collection :topics, as: 'topics', class: Google::Apis::SecretmanagerV1::Topic, decorator: Google::Apis::SecretmanagerV1::Topic::Representation
425
+
418
426
  property :ttl, as: 'ttl'
419
427
  end
420
428
  end
@@ -461,6 +469,13 @@ module Google
461
469
  end
462
470
  end
463
471
 
472
+ class Topic
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :name, as: 'name'
476
+ end
477
+ end
478
+
464
479
  class UserManaged
465
480
  # @private
466
481
  class Representation < Google::Apis::Core::JsonRepresentation
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.2.0
4
+ version: 0.3.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.3.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: []