google-apis-cloudkms_v1 0.49.0 → 0.50.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: e3c6df960ac44fc2fe1f2c877c6a86a535937e5b19b82122d8643deff839b4af
4
- data.tar.gz: fb1ade9373410988516f65a4eafaa251dc7175ad8ffae198d85a94538afce78b
3
+ metadata.gz: 02ff459a8b2f9528cbf915748b072bb8baad67657d34b54ee969da978f043ff0
4
+ data.tar.gz: d7ad130e06524d41f39e6d84099755d371d710f8fc703c747c9c4cd3f7a19a26
5
5
  SHA512:
6
- metadata.gz: 2843adbe0050a7ca6ea127bec126cb47fbb116156e91ea3cb0fd33dd201dcf7a2716dcfcd21cea93748e2d7ba943c9f0f7d83691c5f7da82430de7c94437416c
7
- data.tar.gz: bcc827b756985c284d38440523c8640df309faa3facd62af3b4a0ed0e4236abbdc119214f7a707877e087915c8314b2f006201dc1444a92ef31773a0b81aa59e
6
+ metadata.gz: 499b57a43950d3f52360c4c9b56364f024f0fde69cdac9667ecd5adba218fbf854dfd6aa253c9dff2c69244b630c45e9fb0095323f8bf50d0ddf2f961444e8f7
7
+ data.tar.gz: 7937beb6f392561aff6d1829ca1bf717f447692832f8fbfdea79a352f8b4bea77e3c48ef48fac630c7023ad464937d90aa70477dbe5226b08fa364b3b3ff96d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.50.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240611
6
+
3
7
  ### v0.49.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240513
@@ -596,6 +596,12 @@ module Google
596
596
  attr_accessor :import_only
597
597
  alias_method :import_only?, :import_only
598
598
 
599
+ # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
600
+ # values for Encrypt, Decrypt, and Sign requests on a CryptoKey.
601
+ # Corresponds to the JSON property `keyAccessJustificationsPolicy`
602
+ # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy]
603
+ attr_accessor :key_access_justifications_policy
604
+
599
605
  # Labels with user-defined metadata. For more information, see [Labeling Keys](
600
606
  # https://cloud.google.com/kms/docs/labeling-keys).
601
607
  # Corresponds to the JSON property `labels`
@@ -659,6 +665,7 @@ module Google
659
665
  @crypto_key_backend = args[:crypto_key_backend] if args.key?(:crypto_key_backend)
660
666
  @destroy_scheduled_duration = args[:destroy_scheduled_duration] if args.key?(:destroy_scheduled_duration)
661
667
  @import_only = args[:import_only] if args.key?(:import_only)
668
+ @key_access_justifications_policy = args[:key_access_justifications_policy] if args.key?(:key_access_justifications_policy)
662
669
  @labels = args[:labels] if args.key?(:labels)
663
670
  @name = args[:name] if args.key?(:name)
664
671
  @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
@@ -1527,6 +1534,28 @@ module Google
1527
1534
  end
1528
1535
  end
1529
1536
 
1537
+ # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
1538
+ # values for Encrypt, Decrypt, and Sign requests on a CryptoKey.
1539
+ class KeyAccessJustificationsPolicy
1540
+ include Google::Apis::Core::Hashable
1541
+
1542
+ # The list of allowed reasons for access to a CryptoKey. Zero allowed access
1543
+ # reasons means all Encrypt, Decrypt, and Sign requests for the CryptoKey
1544
+ # associated with this policy will fail.
1545
+ # Corresponds to the JSON property `allowedAccessReasons`
1546
+ # @return [Array<String>]
1547
+ attr_accessor :allowed_access_reasons
1548
+
1549
+ def initialize(**args)
1550
+ update!(**args)
1551
+ end
1552
+
1553
+ # Update properties of this object
1554
+ def update!(**args)
1555
+ @allowed_access_reasons = args[:allowed_access_reasons] if args.key?(:allowed_access_reasons)
1556
+ end
1557
+ end
1558
+
1530
1559
  # Resource-oriented representation of a request to Cloud KMS Autokey and the
1531
1560
  # resulting provisioning of a CryptoKey.
1532
1561
  class KeyHandle
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudkmsV1
18
18
  # Version of the google-apis-cloudkms_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.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 = "20240513"
25
+ REVISION = "20240611"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class KeyAccessJustificationsPolicy
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class KeyHandle
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -489,6 +495,8 @@ module Google
489
495
  property :crypto_key_backend, as: 'cryptoKeyBackend'
490
496
  property :destroy_scheduled_duration, as: 'destroyScheduledDuration'
491
497
  property :import_only, as: 'importOnly'
498
+ property :key_access_justifications_policy, as: 'keyAccessJustificationsPolicy', class: Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy, decorator: Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy::Representation
499
+
492
500
  hash :labels, as: 'labels'
493
501
  property :name, as: 'name'
494
502
  property :next_rotation_time, as: 'nextRotationTime'
@@ -674,6 +682,13 @@ module Google
674
682
  end
675
683
  end
676
684
 
685
+ class KeyAccessJustificationsPolicy
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ collection :allowed_access_reasons, as: 'allowedAccessReasons'
689
+ end
690
+ end
691
+
677
692
  class KeyHandle
678
693
  # @private
679
694
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-19 00:00:00.000000000 Z
11
+ date: 2024-06-16 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-cloudkms_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
63
63
  post_install_message:
64
64
  rdoc_options: []