google-apis-kmsinventory_v1 0.8.0 → 0.10.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: 92775754400f05585fb6e4562d9f5a0ed98fb22e453a67bbb2edc62bcf6b0721
4
- data.tar.gz: 72447d637d7a3dd3771ddb1ba097e2d65a1678b44d278edf48ee4912d6cadd2d
3
+ metadata.gz: 5f29da011239b1634bb4c65335cdc44562e94be5b797709404c4001319f15960
4
+ data.tar.gz: c0c921c9370e145f351faa33210aba60cf050ce4265ba0c21c54f6fe1b850220
5
5
  SHA512:
6
- metadata.gz: 1b5747af86a17196cfadca8d7bf1cc71dc15cfdaab3851efadc1faf6328e436a3551d407131732219fdc37e657ca194e125dd03b523f0de3c489695e1f35c851
7
- data.tar.gz: dc09e6c187a7eae3e391fe6686b9c35532bfc7fbf74964c884dd7e6b5e8c72306b3239a47cb322c6d33c811ba8f9c271dff6791153a18013651d0a650eca4165
6
+ metadata.gz: 0cd394c0aa435632dc6bda5d590b8e4b07790a9fcca8633addda56083aec2ce5d00f48d0512f49a488d7d05e51f21e7ffc1fe42b1969aef812ed16004a35c01d
7
+ data.tar.gz: 6944d1f92123e5dbb806fa997bc0779aec0b609e73a7c4d1cf30d6a6eae881b292d12793fdaf7743ece8f68df0fcc3bbb30fc185fc8b46a0d28e003688e31be2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-kmsinventory_v1
2
2
 
3
+ ### v0.10.0 (2024-07-07)
4
+
5
+ * Regenerated from discovery document revision 20240630
6
+
7
+ ### v0.9.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240616
10
+
3
11
  ### v0.8.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240427
@@ -235,7 +235,7 @@ module Google
235
235
 
236
236
  # Immutable. The period of time that versions of this key spend in the
237
237
  # DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at
238
- # creation time, the default duration is 24 hours.
238
+ # creation time, the default duration is 30 days.
239
239
  # Corresponds to the JSON property `destroyScheduledDuration`
240
240
  # @return [String]
241
241
  attr_accessor :destroy_scheduled_duration
@@ -246,6 +246,12 @@ module Google
246
246
  attr_accessor :import_only
247
247
  alias_method :import_only?, :import_only
248
248
 
249
+ # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
250
+ # values for encrypt, decrypt, and sign operations on a CryptoKey.
251
+ # Corresponds to the JSON property `keyAccessJustificationsPolicy`
252
+ # @return [Google::Apis::KmsinventoryV1::GoogleCloudKmsV1KeyAccessJustificationsPolicy]
253
+ attr_accessor :key_access_justifications_policy
254
+
249
255
  # Labels with user-defined metadata. For more information, see [Labeling Keys](
250
256
  # https://cloud.google.com/kms/docs/labeling-keys).
251
257
  # Corresponds to the JSON property `labels`
@@ -309,6 +315,7 @@ module Google
309
315
  @crypto_key_backend = args[:crypto_key_backend] if args.key?(:crypto_key_backend)
310
316
  @destroy_scheduled_duration = args[:destroy_scheduled_duration] if args.key?(:destroy_scheduled_duration)
311
317
  @import_only = args[:import_only] if args.key?(:import_only)
318
+ @key_access_justifications_policy = args[:key_access_justifications_policy] if args.key?(:key_access_justifications_policy)
312
319
  @labels = args[:labels] if args.key?(:labels)
313
320
  @name = args[:name] if args.key?(:name)
314
321
  @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
@@ -508,6 +515,28 @@ module Google
508
515
  end
509
516
  end
510
517
 
518
+ # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
519
+ # values for encrypt, decrypt, and sign operations on a CryptoKey.
520
+ class GoogleCloudKmsV1KeyAccessJustificationsPolicy
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # The list of allowed reasons for access to a CryptoKey. Zero allowed access
524
+ # reasons means all encrypt, decrypt, and sign operations for the CryptoKey
525
+ # associated with this policy will fail.
526
+ # Corresponds to the JSON property `allowedAccessReasons`
527
+ # @return [Array<String>]
528
+ attr_accessor :allowed_access_reasons
529
+
530
+ def initialize(**args)
531
+ update!(**args)
532
+ end
533
+
534
+ # Update properties of this object
535
+ def update!(**args)
536
+ @allowed_access_reasons = args[:allowed_access_reasons] if args.key?(:allowed_access_reasons)
537
+ end
538
+ end
539
+
511
540
  # Contains an HSM-generated attestation about a key operation. For more
512
541
  # information, see [Verifying attestations] (https://cloud.google.com/kms/docs/
513
542
  # attest-key).
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module KmsinventoryV1
18
18
  # Version of the google-apis-kmsinventory_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240427"
25
+ REVISION = "20240630"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleCloudKmsV1KeyAccessJustificationsPolicy
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class GoogleCloudKmsV1KeyOperationAttestation
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -135,6 +141,8 @@ module Google
135
141
  property :crypto_key_backend, as: 'cryptoKeyBackend'
136
142
  property :destroy_scheduled_duration, as: 'destroyScheduledDuration'
137
143
  property :import_only, as: 'importOnly'
144
+ property :key_access_justifications_policy, as: 'keyAccessJustificationsPolicy', class: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1KeyAccessJustificationsPolicy, decorator: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1KeyAccessJustificationsPolicy::Representation
145
+
138
146
  hash :labels, as: 'labels'
139
147
  property :name, as: 'name'
140
148
  property :next_rotation_time, as: 'nextRotationTime'
@@ -187,6 +195,13 @@ module Google
187
195
  end
188
196
  end
189
197
 
198
+ class GoogleCloudKmsV1KeyAccessJustificationsPolicy
199
+ # @private
200
+ class Representation < Google::Apis::Core::JsonRepresentation
201
+ collection :allowed_access_reasons, as: 'allowedAccessReasons'
202
+ end
203
+ end
204
+
190
205
  class GoogleCloudKmsV1KeyOperationAttestation
191
206
  # @private
192
207
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-kmsinventory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.10.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-07-07 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-kmsinventory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-kmsinventory_v1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-kmsinventory_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-kmsinventory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []