Skip to content

Commit 5000957

Browse files
chore: regenerate cloudkms client
1 parent ebb6aa7 commit 5000957

File tree

9 files changed

+1034
-27
lines changed

9 files changed

+1034
-27
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-rev20260116-2.0.0</version>
25+
<version>v1-rev20260213-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-rev20260116-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260213-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: 659 additions & 15 deletions
Large diffs are not rendered by default.

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

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,16 @@ public final class AutokeyConfig extends com.google.api.client.json.GenericJson
5353
private java.lang.String keyProject;
5454

5555
/**
56-
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
56+
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
57+
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String keyProjectResolutionMode;
62+
63+
/**
64+
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
65+
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
5766
* The value may be {@code null}.
5867
*/
5968
@com.google.api.client.util.Key
@@ -117,15 +126,36 @@ public AutokeyConfig setKeyProject(java.lang.String keyProject) {
117126
}
118127

119128
/**
120-
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
129+
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
130+
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
131+
* @return value or {@code null} for none
132+
*/
133+
public java.lang.String getKeyProjectResolutionMode() {
134+
return keyProjectResolutionMode;
135+
}
136+
137+
/**
138+
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
139+
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
140+
* @param keyProjectResolutionMode keyProjectResolutionMode or {@code null} for none
141+
*/
142+
public AutokeyConfig setKeyProjectResolutionMode(java.lang.String keyProjectResolutionMode) {
143+
this.keyProjectResolutionMode = keyProjectResolutionMode;
144+
return this;
145+
}
146+
147+
/**
148+
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
149+
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
121150
* @return value or {@code null} for none
122151
*/
123152
public java.lang.String getName() {
124153
return name;
125154
}
126155

127156
/**
128-
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
157+
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
158+
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
129159
* @param name name or {@code null} for none
130160
*/
131161
public AutokeyConfig setName(java.lang.String name) {

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Digest extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
35+
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
36+
* https://doi.org/10.6028/nist.fips.204
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String externalMu;
41+
3342
/**
3443
* A message digest produced with the SHA-256 algorithm.
3544
* The value may be {@code null}.
@@ -51,6 +60,59 @@ public final class Digest extends com.google.api.client.json.GenericJson {
5160
@com.google.api.client.util.Key
5261
private java.lang.String sha512;
5362

63+
/**
64+
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
65+
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
66+
* https://doi.org/10.6028/nist.fips.204
67+
* @see #decodeExternalMu()
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getExternalMu() {
71+
return externalMu;
72+
}
73+
74+
/**
75+
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
76+
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
77+
* https://doi.org/10.6028/nist.fips.204
78+
* @see #getExternalMu()
79+
* @return Base64 decoded value or {@code null} for none
80+
*
81+
* @since 1.14
82+
*/
83+
public byte[] decodeExternalMu() {
84+
return com.google.api.client.util.Base64.decodeBase64(externalMu);
85+
}
86+
87+
/**
88+
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
89+
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
90+
* https://doi.org/10.6028/nist.fips.204
91+
* @see #encodeExternalMu()
92+
* @param externalMu externalMu or {@code null} for none
93+
*/
94+
public Digest setExternalMu(java.lang.String externalMu) {
95+
this.externalMu = externalMu;
96+
return this;
97+
}
98+
99+
/**
100+
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
101+
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
102+
* https://doi.org/10.6028/nist.fips.204
103+
* @see #setExternalMu()
104+
*
105+
* <p>
106+
* The value is encoded Base64 or {@code null} for none.
107+
* </p>
108+
*
109+
* @since 1.14
110+
*/
111+
public Digest encodeExternalMu(byte[] externalMu) {
112+
this.externalMu = com.google.api.client.util.Base64.encodeBase64URLSafeString(externalMu);
113+
return this;
114+
}
115+
54116
/**
55117
* A message digest produced with the SHA-256 algorithm.
56118
* @see #decodeSha256()

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public final class ImportJob extends com.google.api.client.json.GenericJson {
6464
* Immutable. The resource name of the backend environment where the key material for the wrapping
6565
* key resides and where all related cryptographic operations are performed. Currently, this field
6666
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
67-
* may apply to additional ProtectionLevels in the future.
67+
* may apply to additional ProtectionLevels in the future. Supported resources: *
68+
* `"projects/locations/singleTenantHsmInstances"`
6869
* The value may be {@code null}.
6970
*/
7071
@com.google.api.client.util.Key
@@ -174,7 +175,8 @@ public ImportJob setCreateTime(String createTime) {
174175
* Immutable. The resource name of the backend environment where the key material for the wrapping
175176
* key resides and where all related cryptographic operations are performed. Currently, this field
176177
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
177-
* may apply to additional ProtectionLevels in the future.
178+
* may apply to additional ProtectionLevels in the future. Supported resources: *
179+
* `"projects/locations/singleTenantHsmInstances"`
178180
* @return value or {@code null} for none
179181
*/
180182
public java.lang.String getCryptoKeyBackend() {
@@ -185,7 +187,8 @@ public java.lang.String getCryptoKeyBackend() {
185187
* Immutable. The resource name of the backend environment where the key material for the wrapping
186188
* key resides and where all related cryptographic operations are performed. Currently, this field
187189
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
188-
* may apply to additional ProtectionLevels in the future.
190+
* may apply to additional ProtectionLevels in the future. Supported resources: *
191+
* `"projects/locations/singleTenantHsmInstances"`
189192
* @param cryptoKeyBackend cryptoKeyBackend or {@code null} for none
190193
*/
191194
public ImportJob setCryptoKeyBackend(java.lang.String cryptoKeyBackend) {
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.cloudkms.v1.model;
18+
19+
/**
20+
* Response message for KeyManagementService.ListRetiredResources.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
24+
* detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ListRetiredResourcesResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A token to retrieve the next page of results. Pass this value in
35+
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String nextPageToken;
40+
41+
/**
42+
* The list of RetiredResources.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<RetiredResource> retiredResources;
47+
48+
/**
49+
* The total number of RetiredResources that matched the query.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
53+
private java.lang.Long totalSize;
54+
55+
/**
56+
* A token to retrieve the next page of results. Pass this value in
57+
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getNextPageToken() {
61+
return nextPageToken;
62+
}
63+
64+
/**
65+
* A token to retrieve the next page of results. Pass this value in
66+
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
67+
* @param nextPageToken nextPageToken or {@code null} for none
68+
*/
69+
public ListRetiredResourcesResponse setNextPageToken(java.lang.String nextPageToken) {
70+
this.nextPageToken = nextPageToken;
71+
return this;
72+
}
73+
74+
/**
75+
* The list of RetiredResources.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.util.List<RetiredResource> getRetiredResources() {
79+
return retiredResources;
80+
}
81+
82+
/**
83+
* The list of RetiredResources.
84+
* @param retiredResources retiredResources or {@code null} for none
85+
*/
86+
public ListRetiredResourcesResponse setRetiredResources(java.util.List<RetiredResource> retiredResources) {
87+
this.retiredResources = retiredResources;
88+
return this;
89+
}
90+
91+
/**
92+
* The total number of RetiredResources that matched the query.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.Long getTotalSize() {
96+
return totalSize;
97+
}
98+
99+
/**
100+
* The total number of RetiredResources that matched the query.
101+
* @param totalSize totalSize or {@code null} for none
102+
*/
103+
public ListRetiredResourcesResponse setTotalSize(java.lang.Long totalSize) {
104+
this.totalSize = totalSize;
105+
return this;
106+
}
107+
108+
@Override
109+
public ListRetiredResourcesResponse set(String fieldName, Object value) {
110+
return (ListRetiredResourcesResponse) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public ListRetiredResourcesResponse clone() {
115+
return (ListRetiredResourcesResponse) super.clone();
116+
}
117+
118+
}

0 commit comments

Comments
 (0)