google-apis-cloudkms_v1 0.48.0 → 0.50.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: d9067deb1911d6d056190ec1c07489d2b4071b3254558caaaf58cfeb7b9179ea
4
- data.tar.gz: 21fe58557acbd0baf8b1b49673aa69c5500a664dbdc54c0cae243d4afdf87ce0
3
+ metadata.gz: 02ff459a8b2f9528cbf915748b072bb8baad67657d34b54ee969da978f043ff0
4
+ data.tar.gz: d7ad130e06524d41f39e6d84099755d371d710f8fc703c747c9c4cd3f7a19a26
5
5
  SHA512:
6
- metadata.gz: b6bf13b5fae9626565f867aea535b3621321f8d557d2686b54f5ac135c6f7c8f0b6b3a14802ad21fd28902a4c43b6190831d4f310398a41a3bc6a419fc12b07f
7
- data.tar.gz: e48ec8f18bcb9a14a4c6f4482bdc6bdfa4c08bdce09dbd1aec240624c7758fc7d366d985f4d289f4002d8d173296ca4abbe57a6b7720bf072f39000fac61f9d3
6
+ metadata.gz: 499b57a43950d3f52360c4c9b56364f024f0fde69cdac9667ecd5adba218fbf854dfd6aa253c9dff2c69244b630c45e9fb0095323f8bf50d0ddf2f961444e8f7
7
+ data.tar.gz: 7937beb6f392561aff6d1829ca1bf717f447692832f8fbfdea79a352f8b4bea77e3c48ef48fac630c7023ad464937d90aa70477dbe5226b08fa364b3b3ff96d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.49.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240513
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.48.0 (2024-05-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20240502
@@ -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
@@ -1542,8 +1571,8 @@ module Google
1542
1571
  # @return [String]
1543
1572
  attr_accessor :kms_key
1544
1573
 
1545
- # Output only. Identifier. Name of the KeyHandle resource, e.g. `projects/`
1546
- # PROJECT_ID`/locations/`LOCATION`/keyHandles/`KEY_HANDLE_ID``.
1574
+ # Identifier. Name of the KeyHandle resource, e.g. `projects/`PROJECT_ID`/
1575
+ # locations/`LOCATION`/keyHandles/`KEY_HANDLE_ID``.
1547
1576
  # Corresponds to the JSON property `name`
1548
1577
  # @return [String]
1549
1578
  attr_accessor :name
@@ -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.48.0"
19
+ GEM_VERSION = "0.50.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 = "20240502"
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.48.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-12 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
@@ -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-cloudkms_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.48.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: []