google-apis-cloudkms_v1 0.71.0 → 0.73.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: 4a049071d852dfd4803c66f5fd5630ab5ced0ecf42cdbe2b842645ae8d9d8e5f
4
- data.tar.gz: 822674cb26dbf1ce71eed8bb406545d45ad17a4cc1403f1b592f24b422e19804
3
+ metadata.gz: a5ba4907b89b833755ba0ad17c4e78b0c6684a07dbce8ab7bb26acdbfaa3d685
4
+ data.tar.gz: ab7de249d77b8a9c53aae499cdfa64da551c496a011f63e9b1800aeba876f8ce
5
5
  SHA512:
6
- metadata.gz: cb0b17657c333dc1492e539175bccc50b80a8b134c88cedf00d986213ec03f2aa92633a89c66f179b0c2d5c659210fad766d21e0ac9bf86da96aba976349ffc3
7
- data.tar.gz: c154d285059b62b7e28383f3d2fc459ffae2f6b4c1170d41ede8d0789897b9572ff436cb2bad90b89838a31b3cfc76bd81abf5f3fa45628a93d502d8f2c6291d
6
+ metadata.gz: 420da4ed0b675fd32ab10ff61535aa86d2a1d804448db435f3d3c62b771ceb5e6ab2406cde225b7679d3390ffda544975481322f9900b3c666cef2d1aa1f702a
7
+ data.tar.gz: 0ac3ef8fa211116a963f193590b024395516543324cf521c7d3473df50038040ce0abdcc7a7860dc62cde5f42c8c732a66dc885d2b19c880b1e7404a93e5d6aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.73.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260409
6
+
7
+ ### v0.72.0 (2026-03-22)
8
+
9
+ * Regenerated from discovery document revision 20260312
10
+
3
11
  ### v0.71.0 (2026-02-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20260213
@@ -772,7 +772,9 @@ module Google
772
772
  alias_method :import_only?, :import_only
773
773
 
774
774
  # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
775
- # values for encrypt, decrypt, and sign operations on a CryptoKey.
775
+ # values for encrypt, decrypt, and sign operations on a CryptoKey or
776
+ # KeyAccessJustificationsPolicyConfig (the default Key Access Justifications
777
+ # policy).
776
778
  # Corresponds to the JSON property `keyAccessJustificationsPolicy`
777
779
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy]
778
780
  attr_accessor :key_access_justifications_policy
@@ -1903,18 +1905,18 @@ module Google
1903
1905
  end
1904
1906
  end
1905
1907
 
1906
- # The configuration of a protection level for a project's Key Access
1908
+ # Represents the configuration of a protection level for a project's Key Access
1907
1909
  # Justifications enrollment.
1908
1910
  class KeyAccessJustificationsEnrollmentConfig
1909
1911
  include Google::Apis::Core::Hashable
1910
1912
 
1911
- # Whether the project has KAJ logging enabled.
1913
+ # Indicates whether the project has KAJ logging enabled.
1912
1914
  # Corresponds to the JSON property `auditLogging`
1913
1915
  # @return [Boolean]
1914
1916
  attr_accessor :audit_logging
1915
1917
  alias_method :audit_logging?, :audit_logging
1916
1918
 
1917
- # Whether the project is enrolled in KAJ policy enforcement.
1919
+ # Indicates whether the project is enrolled in KAJ policy enforcement.
1918
1920
  # Corresponds to the JSON property `policyEnforcement`
1919
1921
  # @return [Boolean]
1920
1922
  attr_accessor :policy_enforcement
@@ -1932,13 +1934,16 @@ module Google
1932
1934
  end
1933
1935
 
1934
1936
  # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
1935
- # values for encrypt, decrypt, and sign operations on a CryptoKey.
1937
+ # values for encrypt, decrypt, and sign operations on a CryptoKey or
1938
+ # KeyAccessJustificationsPolicyConfig (the default Key Access Justifications
1939
+ # policy).
1936
1940
  class KeyAccessJustificationsPolicy
1937
1941
  include Google::Apis::Core::Hashable
1938
1942
 
1939
- # The list of allowed reasons for access to a CryptoKey. Zero allowed access
1940
- # reasons means all encrypt, decrypt, and sign operations for the CryptoKey
1941
- # associated with this policy will fail.
1943
+ # The list of allowed reasons for access to a CryptoKey. Note that empty
1944
+ # allowed_access_reasons has a different meaning depending on where this message
1945
+ # appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-
1946
+ # all. If this is under CryptoKey, it means deny-all.
1942
1947
  # Corresponds to the JSON property `allowedAccessReasons`
1943
1948
  # @return [Array<String>]
1944
1949
  attr_accessor :allowed_access_reasons
@@ -1953,18 +1958,30 @@ module Google
1953
1958
  end
1954
1959
  end
1955
1960
 
1956
- # A singleton configuration for Key Access Justifications policies.
1961
+ # Represents a singleton configuration for Key Access Justifications policies.
1957
1962
  class KeyAccessJustificationsPolicyConfig
1958
1963
  include Google::Apis::Core::Hashable
1959
1964
 
1960
1965
  # A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason
1961
- # values for encrypt, decrypt, and sign operations on a CryptoKey.
1966
+ # values for encrypt, decrypt, and sign operations on a CryptoKey or
1967
+ # KeyAccessJustificationsPolicyConfig (the default Key Access Justifications
1968
+ # policy).
1962
1969
  # Corresponds to the JSON property `defaultKeyAccessJustificationPolicy`
1963
1970
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy]
1964
1971
  attr_accessor :default_key_access_justification_policy
1965
1972
 
1966
- # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
1967
- # the format of "`organizations|folders|projects`/*/kajPolicyConfig".
1973
+ # Output only. Indicates whether this parent resource is available to default
1974
+ # policy feature. Please consult [the prerequisite of default policy feature](
1975
+ # https://cloud.google.com/assured-workloads/key-access-justifications/docs/set-
1976
+ # default-policy#before) for more details.
1977
+ # Corresponds to the JSON property `defaultPolicyAvailable`
1978
+ # @return [Boolean]
1979
+ attr_accessor :default_policy_available
1980
+ alias_method :default_policy_available?, :default_policy_available
1981
+
1982
+ # Identifier. Represents the resource name for this
1983
+ # KeyAccessJustificationsPolicyConfig in the format of "`organizations|folders|
1984
+ # projects`/*/kajPolicyConfig".
1968
1985
  # Corresponds to the JSON property `name`
1969
1986
  # @return [String]
1970
1987
  attr_accessor :name
@@ -1976,6 +1993,7 @@ module Google
1976
1993
  # Update properties of this object
1977
1994
  def update!(**args)
1978
1995
  @default_key_access_justification_policy = args[:default_key_access_justification_policy] if args.key?(:default_key_access_justification_policy)
1996
+ @default_policy_available = args[:default_policy_available] if args.key?(:default_policy_available)
1979
1997
  @name = args[:name] if args.key?(:name)
1980
1998
  end
1981
1999
  end
@@ -3726,24 +3744,24 @@ module Google
3726
3744
  end
3727
3745
  end
3728
3746
 
3729
- # Response message for KeyAccessJustificationsConfig.
3747
+ # Represents a response message for KeyAccessJustificationsConfig.
3730
3748
  # ShowEffectiveKeyAccessJustificationsEnrollmentConfig
3731
3749
  class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse
3732
3750
  include Google::Apis::Core::Hashable
3733
3751
 
3734
- # The configuration of a protection level for a project's Key Access
3752
+ # Represents the configuration of a protection level for a project's Key Access
3735
3753
  # Justifications enrollment.
3736
3754
  # Corresponds to the JSON property `externalConfig`
3737
3755
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig]
3738
3756
  attr_accessor :external_config
3739
3757
 
3740
- # The configuration of a protection level for a project's Key Access
3758
+ # Represents the configuration of a protection level for a project's Key Access
3741
3759
  # Justifications enrollment.
3742
3760
  # Corresponds to the JSON property `hardwareConfig`
3743
3761
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig]
3744
3762
  attr_accessor :hardware_config
3745
3763
 
3746
- # The configuration of a protection level for a project's Key Access
3764
+ # Represents the configuration of a protection level for a project's Key Access
3747
3765
  # Justifications enrollment.
3748
3766
  # Corresponds to the JSON property `softwareConfig`
3749
3767
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig]
@@ -3761,12 +3779,12 @@ module Google
3761
3779
  end
3762
3780
  end
3763
3781
 
3764
- # Response message for KeyAccessJustificationsConfig.
3782
+ # Represents a response message for KeyAccessJustificationsConfig.
3765
3783
  # ShowEffectiveKeyAccessJustificationsPolicyConfig.
3766
3784
  class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse
3767
3785
  include Google::Apis::Core::Hashable
3768
3786
 
3769
- # A singleton configuration for Key Access Justifications policies.
3787
+ # Represents a singleton configuration for Key Access Justifications policies.
3770
3788
  # Corresponds to the JSON property `effectiveKajPolicy`
3771
3789
  # @return [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicyConfig]
3772
3790
  attr_accessor :effective_kaj_policy
@@ -3807,6 +3825,14 @@ module Google
3807
3825
  # @return [String]
3808
3826
  attr_accessor :disable_time
3809
3827
 
3828
+ # Optional. Immutable. Indicates whether key portability is enabled for the
3829
+ # SingleTenantHsmInstance. This can only be set at creation time. Key
3830
+ # portability features are disabled by default and not yet available in GA.
3831
+ # Corresponds to the JSON property `keyPortabilityEnabled`
3832
+ # @return [Boolean]
3833
+ attr_accessor :key_portability_enabled
3834
+ alias_method :key_portability_enabled?, :key_portability_enabled
3835
+
3810
3836
  # Identifier. The resource name for this SingleTenantHsmInstance in the format `
3811
3837
  # projects/*/locations/*/singleTenantHsmInstances/*`.
3812
3838
  # Corresponds to the JSON property `name`
@@ -3839,6 +3865,7 @@ module Google
3839
3865
  @create_time = args[:create_time] if args.key?(:create_time)
3840
3866
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3841
3867
  @disable_time = args[:disable_time] if args.key?(:disable_time)
3868
+ @key_portability_enabled = args[:key_portability_enabled] if args.key?(:key_portability_enabled)
3842
3869
  @name = args[:name] if args.key?(:name)
3843
3870
  @quorum_auth = args[:quorum_auth] if args.key?(:quorum_auth)
3844
3871
  @state = args[:state] if args.key?(:state)
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260213"
25
+ REVISION = "20260409"
26
26
  end
27
27
  end
28
28
  end
@@ -989,6 +989,7 @@ module Google
989
989
  class Representation < Google::Apis::Core::JsonRepresentation
990
990
  property :default_key_access_justification_policy, as: 'defaultKeyAccessJustificationPolicy', class: Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy, decorator: Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicy::Representation
991
991
 
992
+ property :default_policy_available, as: 'defaultPolicyAvailable'
992
993
  property :name, as: 'name'
993
994
  end
994
995
  end
@@ -1409,6 +1410,7 @@ module Google
1409
1410
  property :create_time, as: 'createTime'
1410
1411
  property :delete_time, as: 'deleteTime'
1411
1412
  property :disable_time, as: 'disableTime'
1413
+ property :key_portability_enabled, as: 'keyPortabilityEnabled'
1412
1414
  property :name, as: 'name'
1413
1415
  property :quorum_auth, as: 'quorumAuth', class: Google::Apis::CloudkmsV1::QuorumAuth, decorator: Google::Apis::CloudkmsV1::QuorumAuth::Representation
1414
1416
 
@@ -86,7 +86,7 @@ module Google
86
86
  # Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
87
87
  # or project.
88
88
  # @param [String] name
89
- # Required. The name of the KeyAccessJustificationsPolicyConfig to get.
89
+ # Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
90
90
  # @param [String] fields
91
91
  # Selector specifying which fields to include in a partial response.
92
92
  # @param [String] quota_user
@@ -158,11 +158,12 @@ module Google
158
158
  # Updates the KeyAccessJustificationsPolicyConfig for a given organization,
159
159
  # folder, or project.
160
160
  # @param [String] name
161
- # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
162
- # the format of "`organizations|folders|projects`/*/kajPolicyConfig".
161
+ # Identifier. Represents the resource name for this
162
+ # KeyAccessJustificationsPolicyConfig in the format of "`organizations|folders|
163
+ # projects`/*/kajPolicyConfig".
163
164
  # @param [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicyConfig] key_access_justifications_policy_config_object
164
165
  # @param [String] update_mask
165
- # Optional. The list of fields to update.
166
+ # Optional. Specifies the list of fields to update.
166
167
  # @param [String] fields
167
168
  # Selector specifying which fields to include in a partial response.
168
169
  # @param [String] quota_user
@@ -196,7 +197,7 @@ module Google
196
197
  # Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
197
198
  # or project.
198
199
  # @param [String] name
199
- # Required. The name of the KeyAccessJustificationsPolicyConfig to get.
200
+ # Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
200
201
  # @param [String] fields
201
202
  # Selector specifying which fields to include in a partial response.
202
203
  # @param [String] quota_user
@@ -227,11 +228,12 @@ module Google
227
228
  # Updates the KeyAccessJustificationsPolicyConfig for a given organization,
228
229
  # folder, or project.
229
230
  # @param [String] name
230
- # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
231
- # the format of "`organizations|folders|projects`/*/kajPolicyConfig".
231
+ # Identifier. Represents the resource name for this
232
+ # KeyAccessJustificationsPolicyConfig in the format of "`organizations|folders|
233
+ # projects`/*/kajPolicyConfig".
232
234
  # @param [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicyConfig] key_access_justifications_policy_config_object
233
235
  # @param [String] update_mask
234
- # Optional. The list of fields to update.
236
+ # Optional. Specifies the list of fields to update.
235
237
  # @param [String] fields
236
238
  # Selector specifying which fields to include in a partial response.
237
239
  # @param [String] quota_user
@@ -296,7 +298,7 @@ module Google
296
298
  # Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
297
299
  # or project.
298
300
  # @param [String] name
299
- # Required. The name of the KeyAccessJustificationsPolicyConfig to get.
301
+ # Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
300
302
  # @param [String] fields
301
303
  # Selector specifying which fields to include in a partial response.
302
304
  # @param [String] quota_user
@@ -359,7 +361,7 @@ module Google
359
361
  # Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest to
360
362
  # the given project in hierarchy.
361
363
  # @param [String] project
362
- # Required. The number or id of the project to get the effective
364
+ # Required. Specifies the number or id of the project to get the effective
363
365
  # KeyAccessJustificationsEnrollmentConfig for.
364
366
  # @param [String] fields
365
367
  # Selector specifying which fields to include in a partial response.
@@ -391,7 +393,7 @@ module Google
391
393
  # Returns the KeyAccessJustificationsPolicyConfig of the resource closest to the
392
394
  # given project in hierarchy.
393
395
  # @param [String] project
394
- # Required. The number or id of the project to get the effective
396
+ # Required. Specifies the number or id of the project to get the effective
395
397
  # KeyAccessJustificationsPolicyConfig. In the format of "projects/`|`"
396
398
  # @param [String] fields
397
399
  # Selector specifying which fields to include in a partial response.
@@ -464,11 +466,12 @@ module Google
464
466
  # Updates the KeyAccessJustificationsPolicyConfig for a given organization,
465
467
  # folder, or project.
466
468
  # @param [String] name
467
- # Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
468
- # the format of "`organizations|folders|projects`/*/kajPolicyConfig".
469
+ # Identifier. Represents the resource name for this
470
+ # KeyAccessJustificationsPolicyConfig in the format of "`organizations|folders|
471
+ # projects`/*/kajPolicyConfig".
469
472
  # @param [Google::Apis::CloudkmsV1::KeyAccessJustificationsPolicyConfig] key_access_justifications_policy_config_object
470
473
  # @param [String] update_mask
471
- # Optional. The list of fields to update.
474
+ # Optional. Specifies the list of fields to update.
472
475
  # @param [String] fields
473
476
  # Selector specifying which fields to include in a partial response.
474
477
  # @param [String] quota_user
@@ -595,10 +598,15 @@ module Google
595
598
  end
596
599
 
597
600
  # Lists information about the supported locations for this service. This method
598
- # can be called in two ways: * **List all public locations:** Use the path `GET /
599
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
600
- # projects/`project_id`/locations`. This may include public locations as well as
601
- # private or other locations specifically visible to the project.
601
+ # lists locations based on the resource scope provided in the [
602
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
603
+ # the method lists the public locations available to all projects. * **Project-
604
+ # specific locations**: If `name` follows the format `projects/`project``, the
605
+ # method lists locations visible to that specific project. This includes public,
606
+ # private, or other project-specific locations enabled for the project. For gRPC
607
+ # and client library implementations, the resource name is passed as the `name`
608
+ # field. For direct service calls, the resource name is incorporated into the
609
+ # request path based on the specific service implementation and version.
602
610
  # @param [String] name
603
611
  # The resource that owns the locations collection, if applicable.
604
612
  # @param [Array<String>, String] extra_location_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.73.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
62
62
  rdoc_options: []
63
63
  require_paths: