google-apis-kmsinventory_v1 0.8.0 → 0.9.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: c9a8f16329900493043ae78b6e773913a8e742918749dc8c5f8aeeb30f16add9
4
+ data.tar.gz: 49b9d79b39dc7366632337f5d395b37fb74fe74f0eb4d9f09bcdadfcab7c6b02
5
5
  SHA512:
6
- metadata.gz: 1b5747af86a17196cfadca8d7bf1cc71dc15cfdaab3851efadc1faf6328e436a3551d407131732219fdc37e657ca194e125dd03b523f0de3c489695e1f35c851
7
- data.tar.gz: dc09e6c187a7eae3e391fe6686b9c35532bfc7fbf74964c884dd7e6b5e8c72306b3239a47cb322c6d33c811ba8f9c271dff6791153a18013651d0a650eca4165
6
+ metadata.gz: c663eafac5a995e161a9570558f885070e76c1c310c1483c4dd27d237ef24e86c20dcd50eaca44af13cf0ae3d9e793c2a9db0c72b9763ce5d40eb41963f609d2
7
+ data.tar.gz: bf2f583ff4794ee1738d88bbab98a8a9b8e8901f2d2a3528757e255952481414d513066620bc7fd324b94d473eab3c50d27947b2f211d9933f95175576c5e3b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-kmsinventory_v1
2
2
 
3
+ ### v0.9.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240616
6
+
3
7
  ### v0.8.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240427
@@ -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.9.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 = "20240616"
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.9.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-06-23 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.9.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: []