Skip to content

Commit 58ce66f

Browse files
1 parent d2b6110 commit 58ce66f

File tree

10 files changed

+143
-120
lines changed

10 files changed

+143
-120
lines changed

clients/google-api-services-cloudkms/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-cloudkms</artifactId>
25-
<version>v1-rev20260219-2.0.0</version>
25+
<version>v1-rev20260312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260219-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260312-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/CloudKMS.java

Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/CryptoKey.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public final class CryptoKey extends com.google.api.client.json.GenericJson {
7474
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
7575
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
7676
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
77-
* codes By default, this field is absent, and all justification codes are allowed.
77+
* codes By default, this field is absent, and all justification codes are allowed. If the
78+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
79+
* code), all encrypt, decrypt, and sign operations will fail.
7880
* The value may be {@code null}.
7981
*/
8082
@com.google.api.client.util.Key
@@ -233,7 +235,9 @@ public CryptoKey setImportOnly(java.lang.Boolean importOnly) {
233235
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
234236
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
235237
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
236-
* codes By default, this field is absent, and all justification codes are allowed.
238+
* codes By default, this field is absent, and all justification codes are allowed. If the
239+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
240+
* code), all encrypt, decrypt, and sign operations will fail.
237241
* @return value or {@code null} for none
238242
*/
239243
public KeyAccessJustificationsPolicy getKeyAccessJustificationsPolicy() {
@@ -246,7 +250,9 @@ public KeyAccessJustificationsPolicy getKeyAccessJustificationsPolicy() {
246250
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
247251
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
248252
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
249-
* codes By default, this field is absent, and all justification codes are allowed.
253+
* codes By default, this field is absent, and all justification codes are allowed. If the
254+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
255+
* code), all encrypt, decrypt, and sign operations will fail.
250256
* @param keyAccessJustificationsPolicy keyAccessJustificationsPolicy or {@code null} for none
251257
*/
252258
public CryptoKey setKeyAccessJustificationsPolicy(KeyAccessJustificationsPolicy keyAccessJustificationsPolicy) {

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsEnrollmentConfig.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.cloudkms.v1.model;
1818

1919
/**
20-
* The configuration of a protection level for a project's Key Access Justifications enrollment.
20+
* Represents the configuration of a protection level for a project's Key Access Justifications
21+
* enrollment.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -31,29 +32,29 @@
3132
public final class KeyAccessJustificationsEnrollmentConfig extends com.google.api.client.json.GenericJson {
3233

3334
/**
34-
* Whether the project has KAJ logging enabled.
35+
* Indicates whether the project has KAJ logging enabled.
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
3839
private java.lang.Boolean auditLogging;
3940

4041
/**
41-
* Whether the project is enrolled in KAJ policy enforcement.
42+
* Indicates whether the project is enrolled in KAJ policy enforcement.
4243
* The value may be {@code null}.
4344
*/
4445
@com.google.api.client.util.Key
4546
private java.lang.Boolean policyEnforcement;
4647

4748
/**
48-
* Whether the project has KAJ logging enabled.
49+
* Indicates whether the project has KAJ logging enabled.
4950
* @return value or {@code null} for none
5051
*/
5152
public java.lang.Boolean getAuditLogging() {
5253
return auditLogging;
5354
}
5455

5556
/**
56-
* Whether the project has KAJ logging enabled.
57+
* Indicates whether the project has KAJ logging enabled.
5758
* @param auditLogging auditLogging or {@code null} for none
5859
*/
5960
public KeyAccessJustificationsEnrollmentConfig setAuditLogging(java.lang.Boolean auditLogging) {
@@ -62,15 +63,15 @@ public KeyAccessJustificationsEnrollmentConfig setAuditLogging(java.lang.Boolean
6263
}
6364

6465
/**
65-
* Whether the project is enrolled in KAJ policy enforcement.
66+
* Indicates whether the project is enrolled in KAJ policy enforcement.
6667
* @return value or {@code null} for none
6768
*/
6869
public java.lang.Boolean getPolicyEnforcement() {
6970
return policyEnforcement;
7071
}
7172

7273
/**
73-
* Whether the project is enrolled in KAJ policy enforcement.
74+
* Indicates whether the project is enrolled in KAJ policy enforcement.
7475
* @param policyEnforcement policyEnforcement or {@code null} for none
7576
*/
7677
public KeyAccessJustificationsEnrollmentConfig setPolicyEnforcement(java.lang.Boolean policyEnforcement) {

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicy.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
/**
2020
* A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt,
21-
* decrypt, and sign operations on a CryptoKey.
21+
* decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default
22+
* Key Access Justifications policy).
2223
*
2324
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2425
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -32,25 +33,31 @@
3233
public final class KeyAccessJustificationsPolicy extends com.google.api.client.json.GenericJson {
3334

3435
/**
35-
* The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
36-
* encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
36+
* The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
37+
* has a different meaning depending on where this message appears. If this is under
38+
* KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
39+
* deny-all.
3740
* The value may be {@code null}.
3841
*/
3942
@com.google.api.client.util.Key
4043
private java.util.List<java.lang.String> allowedAccessReasons;
4144

4245
/**
43-
* The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
44-
* encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
46+
* The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
47+
* has a different meaning depending on where this message appears. If this is under
48+
* KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
49+
* deny-all.
4550
* @return value or {@code null} for none
4651
*/
4752
public java.util.List<java.lang.String> getAllowedAccessReasons() {
4853
return allowedAccessReasons;
4954
}
5055

5156
/**
52-
* The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
53-
* encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
57+
* The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
58+
* has a different meaning depending on where this message appears. If this is under
59+
* KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
60+
* deny-all.
5461
* @param allowedAccessReasons allowedAccessReasons or {@code null} for none
5562
*/
5663
public KeyAccessJustificationsPolicy setAllowedAccessReasons(java.util.List<java.lang.String> allowedAccessReasons) {

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicyConfig.java

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.cloudkms.v1.model;
1818

1919
/**
20-
* A singleton configuration for Key Access Justifications policies.
20+
* Represents a singleton configuration for Key Access Justifications policies.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -31,36 +31,45 @@
3131
public final class KeyAccessJustificationsPolicyConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. The default key access justification policy used when a CryptoKey is created in this
35-
* folder. This is only used when a Key Access Justifications policy is not provided in the
36-
* CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
34+
* Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
35+
* created in this folder. This is only used when a Key Access Justifications policy is not
36+
* provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
37+
* this field is unset, or is set but contains an empty allowed_access_reasons list, no default
38+
* Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
39+
* created keys will default to an "allow-all" policy.
3740
* The value may be {@code null}.
3841
*/
3942
@com.google.api.client.util.Key
4043
private KeyAccessJustificationsPolicy defaultKeyAccessJustificationPolicy;
4144

4245
/**
43-
* Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
44-
* "{organizations|folders|projects}/kajPolicyConfig".
46+
* Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
47+
* format of "{organizations|folders|projects}/kajPolicyConfig".
4548
* The value may be {@code null}.
4649
*/
4750
@com.google.api.client.util.Key
4851
private java.lang.String name;
4952

5053
/**
51-
* Optional. The default key access justification policy used when a CryptoKey is created in this
52-
* folder. This is only used when a Key Access Justifications policy is not provided in the
53-
* CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
54+
* Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
55+
* created in this folder. This is only used when a Key Access Justifications policy is not
56+
* provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
57+
* this field is unset, or is set but contains an empty allowed_access_reasons list, no default
58+
* Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
59+
* created keys will default to an "allow-all" policy.
5460
* @return value or {@code null} for none
5561
*/
5662
public KeyAccessJustificationsPolicy getDefaultKeyAccessJustificationPolicy() {
5763
return defaultKeyAccessJustificationPolicy;
5864
}
5965

6066
/**
61-
* Optional. The default key access justification policy used when a CryptoKey is created in this
62-
* folder. This is only used when a Key Access Justifications policy is not provided in the
63-
* CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
67+
* Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
68+
* created in this folder. This is only used when a Key Access Justifications policy is not
69+
* provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
70+
* this field is unset, or is set but contains an empty allowed_access_reasons list, no default
71+
* Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
72+
* created keys will default to an "allow-all" policy.
6473
* @param defaultKeyAccessJustificationPolicy defaultKeyAccessJustificationPolicy or {@code null} for none
6574
*/
6675
public KeyAccessJustificationsPolicyConfig setDefaultKeyAccessJustificationPolicy(KeyAccessJustificationsPolicy defaultKeyAccessJustificationPolicy) {
@@ -69,17 +78,17 @@ public KeyAccessJustificationsPolicyConfig setDefaultKeyAccessJustificationPolic
6978
}
7079

7180
/**
72-
* Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
73-
* "{organizations|folders|projects}/kajPolicyConfig".
81+
* Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
82+
* format of "{organizations|folders|projects}/kajPolicyConfig".
7483
* @return value or {@code null} for none
7584
*/
7685
public java.lang.String getName() {
7786
return name;
7887
}
7988

8089
/**
81-
* Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
82-
* "{organizations|folders|projects}/kajPolicyConfig".
90+
* Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
91+
* format of "{organizations|folders|projects}/kajPolicyConfig".
8392
* @param name name or {@code null} for none
8493
*/
8594
public KeyAccessJustificationsPolicyConfig setName(java.lang.String name) {

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.cloudkms.v1.model;
1818

1919
/**
20-
* Response message for
20+
* Represents a response message for
2121
* KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -32,36 +32,36 @@
3232
public final class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* The effective KeyAccessJustificationsEnrollmentConfig for external keys.
35+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private KeyAccessJustificationsEnrollmentConfig externalConfig;
4040

4141
/**
42-
* The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
42+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
4646
private KeyAccessJustificationsEnrollmentConfig hardwareConfig;
4747

4848
/**
49-
* The effective KeyAccessJustificationsEnrollmentConfig for software keys.
49+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
5353
private KeyAccessJustificationsEnrollmentConfig softwareConfig;
5454

5555
/**
56-
* The effective KeyAccessJustificationsEnrollmentConfig for external keys.
56+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
5757
* @return value or {@code null} for none
5858
*/
5959
public KeyAccessJustificationsEnrollmentConfig getExternalConfig() {
6060
return externalConfig;
6161
}
6262

6363
/**
64-
* The effective KeyAccessJustificationsEnrollmentConfig for external keys.
64+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
6565
* @param externalConfig externalConfig or {@code null} for none
6666
*/
6767
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setExternalConfig(KeyAccessJustificationsEnrollmentConfig externalConfig) {
@@ -70,15 +70,15 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setExternalC
7070
}
7171

7272
/**
73-
* The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
73+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
7474
* @return value or {@code null} for none
7575
*/
7676
public KeyAccessJustificationsEnrollmentConfig getHardwareConfig() {
7777
return hardwareConfig;
7878
}
7979

8080
/**
81-
* The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
81+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
8282
* @param hardwareConfig hardwareConfig or {@code null} for none
8383
*/
8484
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setHardwareConfig(KeyAccessJustificationsEnrollmentConfig hardwareConfig) {
@@ -87,15 +87,15 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setHardwareC
8787
}
8888

8989
/**
90-
* The effective KeyAccessJustificationsEnrollmentConfig for software keys.
90+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
9191
* @return value or {@code null} for none
9292
*/
9393
public KeyAccessJustificationsEnrollmentConfig getSoftwareConfig() {
9494
return softwareConfig;
9595
}
9696

9797
/**
98-
* The effective KeyAccessJustificationsEnrollmentConfig for software keys.
98+
* Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
9999
* @param softwareConfig softwareConfig or {@code null} for none
100100
*/
101101
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setSoftwareConfig(KeyAccessJustificationsEnrollmentConfig softwareConfig) {

clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsPolicyConfigResponse.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.cloudkms.v1.model;
1818

1919
/**
20-
* Response message for
20+
* Represents a response message for
2121
* KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -32,22 +32,22 @@
3232
public final class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* The effective KeyAccessJustificationsPolicyConfig.
35+
* Contains the effective KeyAccessJustificationsPolicyConfig.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private KeyAccessJustificationsPolicyConfig effectiveKajPolicy;
4040

4141
/**
42-
* The effective KeyAccessJustificationsPolicyConfig.
42+
* Contains the effective KeyAccessJustificationsPolicyConfig.
4343
* @return value or {@code null} for none
4444
*/
4545
public KeyAccessJustificationsPolicyConfig getEffectiveKajPolicy() {
4646
return effectiveKajPolicy;
4747
}
4848

4949
/**
50-
* The effective KeyAccessJustificationsPolicyConfig.
50+
* Contains the effective KeyAccessJustificationsPolicyConfig.
5151
* @param effectiveKajPolicy effectiveKajPolicy or {@code null} for none
5252
*/
5353
public ShowEffectiveKeyAccessJustificationsPolicyConfigResponse setEffectiveKajPolicy(KeyAccessJustificationsPolicyConfig effectiveKajPolicy) {

clients/google-api-services-cloudkms/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-cloudkms</artifactId>
11-
<version>v1-rev20260219-2.0.0</version>
12-
<name>Cloud Key Management Service (KMS) API v1-rev20260219-2.0.0</name>
11+
<version>v1-rev20260312-2.0.0</version>
12+
<name>Cloud Key Management Service (KMS) API v1-rev20260312-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-cloudkms/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-cloudkms</artifactId>
25-
<version>v1-rev20260219-2.0.0</version>
25+
<version>v1-rev20260312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260219-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260312-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)