Skip to content

Commit f559319

Browse files
chore: regenerate cloudkms client
1 parent 38c1764 commit f559319

File tree

8 files changed

+972
-27
lines changed

8 files changed

+972
-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-rev20260206-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-rev20260206-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/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+
}
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
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+
* A RetiredResource resource represents the record of a deleted CryptoKey. Its purpose is to
21+
* provide visibility into retained user data and to prevent reuse of these names for new
22+
* CryptoKeys.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
26+
* detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class RetiredResource extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Output only. The time at which the original resource was deleted and this RetiredResource
37+
* record was created.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private String deleteTime;
42+
43+
/**
44+
* Output only. Identifier. The resource name for this RetiredResource in the format
45+
* `projects/locations/retiredResources`.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String name;
50+
51+
/**
52+
* Output only. The full resource name of the original CryptoKey that was deleted in the format
53+
* `projects/locations/keyRings/cryptoKeys`.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String originalResource;
58+
59+
/**
60+
* Output only. The resource type of the original deleted resource.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String resourceType;
65+
66+
/**
67+
* Output only. The time at which the original resource was deleted and this RetiredResource
68+
* record was created.
69+
* @return value or {@code null} for none
70+
*/
71+
public String getDeleteTime() {
72+
return deleteTime;
73+
}
74+
75+
/**
76+
* Output only. The time at which the original resource was deleted and this RetiredResource
77+
* record was created.
78+
* @param deleteTime deleteTime or {@code null} for none
79+
*/
80+
public RetiredResource setDeleteTime(String deleteTime) {
81+
this.deleteTime = deleteTime;
82+
return this;
83+
}
84+
85+
/**
86+
* Output only. Identifier. The resource name for this RetiredResource in the format
87+
* `projects/locations/retiredResources`.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.String getName() {
91+
return name;
92+
}
93+
94+
/**
95+
* Output only. Identifier. The resource name for this RetiredResource in the format
96+
* `projects/locations/retiredResources`.
97+
* @param name name or {@code null} for none
98+
*/
99+
public RetiredResource setName(java.lang.String name) {
100+
this.name = name;
101+
return this;
102+
}
103+
104+
/**
105+
* Output only. The full resource name of the original CryptoKey that was deleted in the format
106+
* `projects/locations/keyRings/cryptoKeys`.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getOriginalResource() {
110+
return originalResource;
111+
}
112+
113+
/**
114+
* Output only. The full resource name of the original CryptoKey that was deleted in the format
115+
* `projects/locations/keyRings/cryptoKeys`.
116+
* @param originalResource originalResource or {@code null} for none
117+
*/
118+
public RetiredResource setOriginalResource(java.lang.String originalResource) {
119+
this.originalResource = originalResource;
120+
return this;
121+
}
122+
123+
/**
124+
* Output only. The resource type of the original deleted resource.
125+
* @return value or {@code null} for none
126+
*/
127+
public java.lang.String getResourceType() {
128+
return resourceType;
129+
}
130+
131+
/**
132+
* Output only. The resource type of the original deleted resource.
133+
* @param resourceType resourceType or {@code null} for none
134+
*/
135+
public RetiredResource setResourceType(java.lang.String resourceType) {
136+
this.resourceType = resourceType;
137+
return this;
138+
}
139+
140+
@Override
141+
public RetiredResource set(String fieldName, Object value) {
142+
return (RetiredResource) super.set(fieldName, value);
143+
}
144+
145+
@Override
146+
public RetiredResource clone() {
147+
return (RetiredResource) super.clone();
148+
}
149+
150+
}

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-rev20260116-2.0.0</version>
12-
<name>Cloud Key Management Service (KMS) API v1-rev20260116-2.0.0</name>
11+
<version>v1-rev20260206-2.0.0</version>
12+
<name>Cloud Key Management Service (KMS) API v1-rev20260206-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)