google-apis-secretmanager_v1 0.1.0 → 0.6.0

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: 8b10378ea47922451ab833eeada2f03374a4ceeae490b78ac4767ff1b0f52f70
4
- data.tar.gz: c21dbacb90455c2d7410cd91acabce70606f25f2733780d89ac02424fed4273d
3
+ metadata.gz: 8c44451a06c436cbf4596d5984605be0cd07ea68a7adaee39d7302207a1f301f
4
+ data.tar.gz: 17b84d2b6e9396fc18c8ec6e31f62d6a103037b31dc1ab9e208ca0562d2c469b
5
5
  SHA512:
6
- metadata.gz: 1bd122073379a1c76d493e70a886d0ba3a95e7d8f5e51eb5d94d1ae05cf0471a4f8db37cec56339da43bf718d5a9a9ee805c31aaa0721dc89c7d9384e5759cf9
7
- data.tar.gz: 4195990f930483944ea8f95a0338da84443187412df16dcfa31c106283640792fcedf5c58d2a7fcfb83adaa711eb1119eb3b44dc4562ac2e96bcd9c285106b29
6
+ metadata.gz: d7b991bd3df903064bf23d85ddfd433a106b92fcf1c7bf42f57267f129ede853d8792c51e5557e14e06ec3003e6aa613c1c83d16217412a308cc2cb92908d164
7
+ data.tar.gz: e3ae55941da60c29f7d05782465c9eebbb704d6ea1af3149dccedee0ecf29ab9fe640a6fa3786995083162a0ae60b7ec309e0048f208088980341602e6cd877e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.6.0 (2021-03-20)
4
+
5
+ * Regenerated from discovery document revision 20210315
6
+
7
+ ### v0.5.0 (2021-03-13)
8
+
9
+ * Regenerated from discovery document revision 20210308
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-12)
17
+
18
+ * Regenerated from discovery document revision 20210205
19
+ * Regenerated using generator version 0.1.2
20
+
21
+ ### v0.2.0 (2021-01-15)
22
+
23
+ * Regenerated from discovery document revision 20210108
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -751,6 +751,12 @@ module Google
751
751
  # @return [String]
752
752
  attr_accessor :create_time
753
753
 
754
+ # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is
755
+ # always provided on output, regardless of what was sent on input.
756
+ # Corresponds to the JSON property `expireTime`
757
+ # @return [String]
758
+ attr_accessor :expire_time
759
+
754
760
  # The labels assigned to this Secret. Label keys must be between 1 and 63
755
761
  # characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform
756
762
  # to the following PCRE regular expression: `\p`Ll`\p`Lo``0,62`` Label values
@@ -772,6 +778,17 @@ module Google
772
778
  # @return [Google::Apis::SecretmanagerV1::Replication]
773
779
  attr_accessor :replication
774
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
+
787
+ # Input only. The TTL for the Secret.
788
+ # Corresponds to the JSON property `ttl`
789
+ # @return [String]
790
+ attr_accessor :ttl
791
+
775
792
  def initialize(**args)
776
793
  update!(**args)
777
794
  end
@@ -779,9 +796,12 @@ module Google
779
796
  # Update properties of this object
780
797
  def update!(**args)
781
798
  @create_time = args[:create_time] if args.key?(:create_time)
799
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
782
800
  @labels = args[:labels] if args.key?(:labels)
783
801
  @name = args[:name] if args.key?(:name)
784
802
  @replication = args[:replication] if args.key?(:replication)
803
+ @topics = args[:topics] if args.key?(:topics)
804
+ @ttl = args[:ttl] if args.key?(:ttl)
785
805
  end
786
806
  end
787
807
 
@@ -945,6 +965,28 @@ module Google
945
965
  end
946
966
  end
947
967
 
968
+ # A Pub/Sub topic which Secret Manager will publish to when control plane events
969
+ # occur on 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
+
948
990
  # A replication policy that replicates the Secret payload into the locations
949
991
  # specified in Secret.replication.user_managed.replicas
950
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.1.0"
19
+ GEM_VERSION = "0.6.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.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201106"
25
+ REVISION = "20210315"
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
 
@@ -410,10 +416,14 @@ module Google
410
416
  # @private
411
417
  class Representation < Google::Apis::Core::JsonRepresentation
412
418
  property :create_time, as: 'createTime'
419
+ property :expire_time, as: 'expireTime'
413
420
  hash :labels, as: 'labels'
414
421
  property :name, as: 'name'
415
422
  property :replication, as: 'replication', class: Google::Apis::SecretmanagerV1::Replication, decorator: Google::Apis::SecretmanagerV1::Replication::Representation
416
423
 
424
+ collection :topics, as: 'topics', class: Google::Apis::SecretmanagerV1::Topic, decorator: Google::Apis::SecretmanagerV1::Topic::Representation
425
+
426
+ property :ttl, as: 'ttl'
417
427
  end
418
428
  end
419
429
 
@@ -459,6 +469,13 @@ module Google
459
469
  end
460
470
  end
461
471
 
472
+ class Topic
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :name, as: 'name'
476
+ end
477
+ end
478
+
462
479
  class UserManaged
463
480
  # @private
464
481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service will select a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Secret Manager API V1