Skip to content

Commit 5035d41

Browse files
1 parent 737a427 commit 5035d41

File tree

5 files changed

+29
-16
lines changed

5 files changed

+29
-16
lines changed

clients/google-api-services-kmsinventory/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-kmsinventory</artifactId>
25-
<version>v1-rev20260216-2.0.0</version>
25+
<version>v1-rev20260308-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-kmsinventory:v1-rev20260216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-kmsinventory:v1-rev20260308-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-kmsinventory/v1/2.0.0/com/google/api/services/kmsinventory/v1/model/GoogleCloudKmsV1CryptoKey.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ public final class GoogleCloudKmsV1CryptoKey extends com.google.api.client.json.
7373
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
7474
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
7575
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
76-
* codes By default, this field is absent, and all justification codes are allowed.
76+
* codes By default, this field is absent, and all justification codes are allowed. If the
77+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
78+
* code), all encrypt, decrypt, and sign operations will fail.
7779
* The value may be {@code null}.
7880
*/
7981
@com.google.api.client.util.Key
@@ -232,7 +234,9 @@ public GoogleCloudKmsV1CryptoKey setImportOnly(java.lang.Boolean importOnly) {
232234
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
233235
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
234236
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
235-
* codes By default, this field is absent, and all justification codes are allowed.
237+
* codes By default, this field is absent, and all justification codes are allowed. If the
238+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
239+
* code), all encrypt, decrypt, and sign operations will fail.
236240
* @return value or {@code null} for none
237241
*/
238242
public GoogleCloudKmsV1KeyAccessJustificationsPolicy getKeyAccessJustificationsPolicy() {
@@ -245,7 +249,9 @@ public GoogleCloudKmsV1KeyAccessJustificationsPolicy getKeyAccessJustificationsP
245249
* will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if
246250
* rejected by the policy. The policy is defined by specifying zero or more allowed justification
247251
* codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-
248-
* codes By default, this field is absent, and all justification codes are allowed.
252+
* codes By default, this field is absent, and all justification codes are allowed. If the
253+
* `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification
254+
* code), all encrypt, decrypt, and sign operations will fail.
249255
* @param keyAccessJustificationsPolicy keyAccessJustificationsPolicy or {@code null} for none
250256
*/
251257
public GoogleCloudKmsV1CryptoKey setKeyAccessJustificationsPolicy(GoogleCloudKmsV1KeyAccessJustificationsPolicy keyAccessJustificationsPolicy) {

clients/google-api-services-kmsinventory/v1/2.0.0/com/google/api/services/kmsinventory/v1/model/GoogleCloudKmsV1KeyAccessJustificationsPolicy.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 KMS Inventory API. For a detailed explanation see:
@@ -31,25 +32,31 @@
3132
public final class GoogleCloudKmsV1KeyAccessJustificationsPolicy extends com.google.api.client.json.GenericJson {
3233

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

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

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

clients/google-api-services-kmsinventory/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-kmsinventory</artifactId>
11-
<version>v1-rev20260216-2.0.0</version>
12-
<name>KMS Inventory API v1-rev20260216-2.0.0</name>
11+
<version>v1-rev20260308-2.0.0</version>
12+
<name>KMS Inventory API v1-rev20260308-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-kmsinventory/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-kmsinventory</artifactId>
25-
<version>v1-rev20260216-2.0.0</version>
25+
<version>v1-rev20260308-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-kmsinventory:v1-rev20260216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-kmsinventory:v1-rev20260308-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)