google-apis-secretmanager_v1 0.40.0 → 0.41.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: 2840c7cee4bfc3127710b85f2196af01f76c462deecc68205af806c0b3960477
4
- data.tar.gz: 0bead3bfce0dbb910b2ab1342e2c93b48c8172645353b7fae4e26c84a28b8623
3
+ metadata.gz: 9e0ee04f5a9d2e024f0beefc4d41c72d6fe6ef81a7ca5175dc33e1170b384ebc
4
+ data.tar.gz: 1e3db40b4b9d13bc8961c93d7758c37e77d5c8c18b5a027c1d7b544b3b32bee1
5
5
  SHA512:
6
- metadata.gz: 7f247c71dd3291490f63f5b8c4f04f3f7c21620c343e23a45a6949cf31d5611dc9ed10359a3db56c214b4b145798d58be0031fc0be88a6ecbdf788da17981249
7
- data.tar.gz: 4a6a9b9820f571be0566a443d9d190cee1677e913751823daec4d26d3f917370e46f0cdc280e5c60c9d35e7d9d4b58791137566d18b25383337adfa62e5fe931
6
+ metadata.gz: 6bf7aa0e38b640f3dd93a56a0e0364715d0cc0c0995800474bd510566b55f31d695d632bd4897ea24bcc37f0373928df3cb1a05b71abe89997fd3ea023488be3
7
+ data.tar.gz: '08ae6c99548e12edfaf9dea8b64ddc0a8c4b491febde866547da66b030c36a605aaf0f0d8ea35165379eb86e160c2c3ad7fcf73a322725264f4fe4ec81cede57'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.41.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240309
6
+
3
7
  ### v0.40.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -855,6 +855,12 @@ module Google
855
855
  # @return [String]
856
856
  attr_accessor :create_time
857
857
 
858
+ # Configuration for encrypting secret payloads using customer-managed encryption
859
+ # keys (CMEK).
860
+ # Corresponds to the JSON property `customerManagedEncryption`
861
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryption]
862
+ attr_accessor :customer_managed_encryption
863
+
858
864
  # Optional. Etag of the currently stored Secret.
859
865
  # Corresponds to the JSON property `etag`
860
866
  # @return [String]
@@ -917,6 +923,14 @@ module Google
917
923
  # @return [Hash<String,Fixnum>]
918
924
  attr_accessor :version_aliases
919
925
 
926
+ # Optional. Secret Version TTL after destruction request This is a part of the
927
+ # Delayed secret version destroy feature. For secret with TTL>0, version
928
+ # destruction doesn't happen immediately on calling destroy instead the version
929
+ # goes to a disabled state and destruction happens after the TTL expires.
930
+ # Corresponds to the JSON property `versionDestroyTtl`
931
+ # @return [String]
932
+ attr_accessor :version_destroy_ttl
933
+
920
934
  def initialize(**args)
921
935
  update!(**args)
922
936
  end
@@ -925,6 +939,7 @@ module Google
925
939
  def update!(**args)
926
940
  @annotations = args[:annotations] if args.key?(:annotations)
927
941
  @create_time = args[:create_time] if args.key?(:create_time)
942
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
928
943
  @etag = args[:etag] if args.key?(:etag)
929
944
  @expire_time = args[:expire_time] if args.key?(:expire_time)
930
945
  @labels = args[:labels] if args.key?(:labels)
@@ -934,6 +949,7 @@ module Google
934
949
  @topics = args[:topics] if args.key?(:topics)
935
950
  @ttl = args[:ttl] if args.key?(:ttl)
936
951
  @version_aliases = args[:version_aliases] if args.key?(:version_aliases)
952
+ @version_destroy_ttl = args[:version_destroy_ttl] if args.key?(:version_destroy_ttl)
937
953
  end
938
954
  end
939
955
 
@@ -988,6 +1004,11 @@ module Google
988
1004
  # @return [String]
989
1005
  attr_accessor :create_time
990
1006
 
1007
+ # Describes the status of customer-managed encryption.
1008
+ # Corresponds to the JSON property `customerManagedEncryption`
1009
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus]
1010
+ attr_accessor :customer_managed_encryption
1011
+
991
1012
  # Output only. The time this SecretVersion was destroyed. Only present if state
992
1013
  # is DESTROYED.
993
1014
  # Corresponds to the JSON property `destroyTime`
@@ -1011,6 +1032,15 @@ module Google
1011
1032
  # @return [Google::Apis::SecretmanagerV1::ReplicationStatus]
1012
1033
  attr_accessor :replication_status
1013
1034
 
1035
+ # Optional. Output only. Scheduled destroy time for secret version. This is a
1036
+ # part of the Delayed secret version destroy feature. For a Secret with a valid
1037
+ # version destroy TTL, when a secert version is destroyed, version is moved to
1038
+ # disabled state and it is scheduled for destruction Version is destroyed only
1039
+ # after the scheduled_destroy_time.
1040
+ # Corresponds to the JSON property `scheduledDestroyTime`
1041
+ # @return [String]
1042
+ attr_accessor :scheduled_destroy_time
1043
+
1014
1044
  # Output only. The current state of the SecretVersion.
1015
1045
  # Corresponds to the JSON property `state`
1016
1046
  # @return [String]
@@ -1024,10 +1054,12 @@ module Google
1024
1054
  def update!(**args)
1025
1055
  @client_specified_payload_checksum = args[:client_specified_payload_checksum] if args.key?(:client_specified_payload_checksum)
1026
1056
  @create_time = args[:create_time] if args.key?(:create_time)
1057
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
1027
1058
  @destroy_time = args[:destroy_time] if args.key?(:destroy_time)
1028
1059
  @etag = args[:etag] if args.key?(:etag)
1029
1060
  @name = args[:name] if args.key?(:name)
1030
1061
  @replication_status = args[:replication_status] if args.key?(:replication_status)
1062
+ @scheduled_destroy_time = args[:scheduled_destroy_time] if args.key?(:scheduled_destroy_time)
1031
1063
  @state = args[:state] if args.key?(:state)
1032
1064
  end
1033
1065
  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.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240126"
25
+ REVISION = "20240309"
26
26
  end
27
27
  end
28
28
  end
@@ -434,6 +434,8 @@ module Google
434
434
  class Representation < Google::Apis::Core::JsonRepresentation
435
435
  hash :annotations, as: 'annotations'
436
436
  property :create_time, as: 'createTime'
437
+ property :customer_managed_encryption, as: 'customerManagedEncryption', class: Google::Apis::SecretmanagerV1::CustomerManagedEncryption, decorator: Google::Apis::SecretmanagerV1::CustomerManagedEncryption::Representation
438
+
437
439
  property :etag, as: 'etag'
438
440
  property :expire_time, as: 'expireTime'
439
441
  hash :labels, as: 'labels'
@@ -446,6 +448,7 @@ module Google
446
448
 
447
449
  property :ttl, as: 'ttl'
448
450
  hash :version_aliases, as: 'versionAliases'
451
+ property :version_destroy_ttl, as: 'versionDestroyTtl'
449
452
  end
450
453
  end
451
454
 
@@ -462,11 +465,14 @@ module Google
462
465
  class Representation < Google::Apis::Core::JsonRepresentation
463
466
  property :client_specified_payload_checksum, as: 'clientSpecifiedPayloadChecksum'
464
467
  property :create_time, as: 'createTime'
468
+ property :customer_managed_encryption, as: 'customerManagedEncryption', class: Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus, decorator: Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus::Representation
469
+
465
470
  property :destroy_time, as: 'destroyTime'
466
471
  property :etag, as: 'etag'
467
472
  property :name, as: 'name'
468
473
  property :replication_status, as: 'replicationStatus', class: Google::Apis::SecretmanagerV1::ReplicationStatus, decorator: Google::Apis::SecretmanagerV1::ReplicationStatus::Representation
469
474
 
475
+ property :scheduled_destroy_time, as: 'scheduledDestroyTime'
470
476
  property :state, as: 'state'
471
477
  end
472
478
  end
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.40.0
4
+ version: 0.41.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-secretmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-secretmanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []