Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudkms/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudkms</artifactId>
<version>v1-rev20260116-2.0.0</version>
<version>v1-rev20260213-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260116-2.0.0'
implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260213-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,16 @@ public final class AutokeyConfig extends com.google.api.client.json.GenericJson
private java.lang.String keyProject;

/**
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String keyProjectResolutionMode;

/**
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -117,15 +126,36 @@ public AutokeyConfig setKeyProject(java.lang.String keyProject) {
}

/**
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
* @return value or {@code null} for none
*/
public java.lang.String getKeyProjectResolutionMode() {
return keyProjectResolutionMode;
}

/**
* Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are
* `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`.
* @param keyProjectResolutionMode keyProjectResolutionMode or {@code null} for none
*/
public AutokeyConfig setKeyProjectResolutionMode(java.lang.String keyProjectResolutionMode) {
this.keyProjectResolutionMode = keyProjectResolutionMode;
return this;
}

/**
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`
* Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
* `projects/{PROJECT_NUMBER}/autokeyConfig`.
* @param name name or {@code null} for none
*/
public AutokeyConfig setName(java.lang.String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
@SuppressWarnings("javadoc")
public final class Digest extends com.google.api.client.json.GenericJson {

/**
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
* https://doi.org/10.6028/nist.fips.204
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String externalMu;

/**
* A message digest produced with the SHA-256 algorithm.
* The value may be {@code null}.
Expand All @@ -51,6 +60,59 @@ public final class Digest extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String sha512;

/**
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
* https://doi.org/10.6028/nist.fips.204
* @see #decodeExternalMu()
* @return value or {@code null} for none
*/
public java.lang.String getExternalMu() {
return externalMu;
}

/**
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
* https://doi.org/10.6028/nist.fips.204
* @see #getExternalMu()
* @return Base64 decoded value or {@code null} for none
*
* @since 1.14
*/
public byte[] decodeExternalMu() {
return com.google.api.client.util.Base64.decodeBase64(externalMu);
}

/**
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
* https://doi.org/10.6028/nist.fips.204
* @see #encodeExternalMu()
* @param externalMu externalMu or {@code null} for none
*/
public Digest setExternalMu(java.lang.String externalMu) {
this.externalMu = externalMu;
return this;
}

/**
* A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.
* See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard:
* https://doi.org/10.6028/nist.fips.204
* @see #setExternalMu()
*
* <p>
* The value is encoded Base64 or {@code null} for none.
* </p>
*
* @since 1.14
*/
public Digest encodeExternalMu(byte[] externalMu) {
this.externalMu = com.google.api.client.util.Base64.encodeBase64URLSafeString(externalMu);
return this;
}

/**
* A message digest produced with the SHA-256 algorithm.
* @see #decodeSha256()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public final class ImportJob extends com.google.api.client.json.GenericJson {
* Immutable. The resource name of the backend environment where the key material for the wrapping
* key resides and where all related cryptographic operations are performed. Currently, this field
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
* may apply to additional ProtectionLevels in the future.
* may apply to additional ProtectionLevels in the future. Supported resources: *
* `"projects/locations/singleTenantHsmInstances"`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -174,7 +175,8 @@ public ImportJob setCreateTime(String createTime) {
* Immutable. The resource name of the backend environment where the key material for the wrapping
* key resides and where all related cryptographic operations are performed. Currently, this field
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
* may apply to additional ProtectionLevels in the future.
* may apply to additional ProtectionLevels in the future. Supported resources: *
* `"projects/locations/singleTenantHsmInstances"`
* @return value or {@code null} for none
*/
public java.lang.String getCryptoKeyBackend() {
Expand All @@ -185,7 +187,8 @@ public java.lang.String getCryptoKeyBackend() {
* Immutable. The resource name of the backend environment where the key material for the wrapping
* key resides and where all related cryptographic operations are performed. Currently, this field
* is only populated for keys stored in HSM_SINGLE_TENANT. Note, this list is non-exhaustive and
* may apply to additional ProtectionLevels in the future.
* may apply to additional ProtectionLevels in the future. Supported resources: *
* `"projects/locations/singleTenantHsmInstances"`
* @param cryptoKeyBackend cryptoKeyBackend or {@code null} for none
*/
public ImportJob setCryptoKeyBackend(java.lang.String cryptoKeyBackend) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.cloudkms.v1.model;

/**
* Response message for KeyManagementService.ListRetiredResources.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
* detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ListRetiredResourcesResponse extends com.google.api.client.json.GenericJson {

/**
* A token to retrieve the next page of results. Pass this value in
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* The list of RetiredResources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<RetiredResource> retiredResources;

/**
* The total number of RetiredResources that matched the query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalSize;

/**
* A token to retrieve the next page of results. Pass this value in
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* A token to retrieve the next page of results. Pass this value in
* ListRetiredResourcesRequest.page_token to retrieve the next page of results.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListRetiredResourcesResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* The list of RetiredResources.
* @return value or {@code null} for none
*/
public java.util.List<RetiredResource> getRetiredResources() {
return retiredResources;
}

/**
* The list of RetiredResources.
* @param retiredResources retiredResources or {@code null} for none
*/
public ListRetiredResourcesResponse setRetiredResources(java.util.List<RetiredResource> retiredResources) {
this.retiredResources = retiredResources;
return this;
}

/**
* The total number of RetiredResources that matched the query.
* @return value or {@code null} for none
*/
public java.lang.Long getTotalSize() {
return totalSize;
}

/**
* The total number of RetiredResources that matched the query.
* @param totalSize totalSize or {@code null} for none
*/
public ListRetiredResourcesResponse setTotalSize(java.lang.Long totalSize) {
this.totalSize = totalSize;
return this;
}

@Override
public ListRetiredResourcesResponse set(String fieldName, Object value) {
return (ListRetiredResourcesResponse) super.set(fieldName, value);
}

@Override
public ListRetiredResourcesResponse clone() {
return (ListRetiredResourcesResponse) super.clone();
}

}
Loading