google-apis-kmsinventory_v1 0.7.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: a20c0b7da1c567d3de1e4560e9ef8c15dcc0b57b76d06440de604b1e39ba9247
4
- data.tar.gz: 926b1647640f70ada3ec0ec0c5440e81b068671362eae5c4b988513b2a26917a
3
+ metadata.gz: c9a8f16329900493043ae78b6e773913a8e742918749dc8c5f8aeeb30f16add9
4
+ data.tar.gz: 49b9d79b39dc7366632337f5d395b37fb74fe74f0eb4d9f09bcdadfcab7c6b02
5
5
  SHA512:
6
- metadata.gz: e1718d96393a1ff55e6ab0df7d47555ecfdf598bb1810aa35b1ec0c24555ec2fe4b2420e9f1dc3776ccde4dc4807f2ab8515687cf33b9d9a251e4c5777d1afc6
7
- data.tar.gz: '0808abb4f353d7c11208caa183f5e894ee2dee5ebc3ffa7680d59e7730ddf0ca049cd91599b4b4e5dae97ead4d356c9cd702c02ee1c656d5cfc8aa7a0d93d9e8'
6
+ metadata.gz: c663eafac5a995e161a9570558f885070e76c1c310c1483c4dd27d237ef24e86c20dcd50eaca44af13cf0ae3d9e793c2a9db0c72b9763ce5d40eb41963f609d2
7
+ data.tar.gz: bf2f583ff4794ee1738d88bbab98a8a9b8e8901f2d2a3528757e255952481414d513066620bc7fd324b94d473eab3c50d27947b2f211d9933f95175576c5e3b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.8.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240427
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.7.0 (2024-02-24)
4
13
 
5
14
  * Regenerated using generator version 0.14.0
@@ -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.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230716"
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.7.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-02-25 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.7.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: []