diff --git a/clients/google-api-services-storage/v1/2.0.0/README.md b/clients/google-api-services-storage/v1/2.0.0/README.md
index fead9e7d7f3..dda4bdb0c2c 100644
--- a/clients/google-api-services-storage/v1/2.0.0/README.md
+++ b/clients/google-api-services-storage/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-storage
- v1-rev20251118-2.0.0
+ v1-rev20260204-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-storage:v1-rev20251118-2.0.0'
+ implementation 'com.google.apis:google-api-services-storage:v1-rev20260204-2.0.0'
}
```
diff --git a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java
index 2ca5e2d61fc..907616bd293 100644
--- a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java
+++ b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java
@@ -103,7 +103,7 @@ public class Storage extends com.google.api.client.googleapis.services.json.Abst
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
*
Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
*
* @param jsonFactory JSON factory, which may be:
@@ -5307,6 +5307,158 @@ public Delete set(String parameterName, Object value) {
return (Delete) super.set(parameterName, value);
}
}
+ /**
+ * Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
+ *
+ * Create a request for the method "folders.deleteRecursive".
+ *
+ * This request holds the parameters needed by the storage server. After setting any optional
+ * parameters, call the {@link DeleteRecursive#execute()} method to invoke the remote operation.
+ *
+ * @param bucket Name of the bucket in which the folder resides.
+ * @param folder Name of a folder.
+ * @return the request
+ */
+ public DeleteRecursive deleteRecursive(java.lang.String bucket, java.lang.String folder) throws java.io.IOException {
+ DeleteRecursive result = new DeleteRecursive(bucket, folder);
+ initialize(result);
+ return result;
+ }
+
+ public class DeleteRecursive extends StorageRequest {
+
+ private static final String REST_PATH = "b/{bucket}/folders/{folder}/deleteRecursive";
+
+ /**
+ * Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
+ *
+ * Create a request for the method "folders.deleteRecursive".
+ *
+ * This request holds the parameters needed by the the storage server. After setting any optional
+ * parameters, call the {@link DeleteRecursive#execute()} method to invoke the remote operation.
+ * {@link DeleteRecursive#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param bucket Name of the bucket in which the folder resides.
+ * @param folder Name of a folder.
+ * @since 1.13
+ */
+ protected DeleteRecursive(java.lang.String bucket, java.lang.String folder) {
+ super(Storage.this, "POST", REST_PATH, null, com.google.api.services.storage.model.GoogleLongrunningOperation.class);
+ this.bucket = com.google.api.client.util.Preconditions.checkNotNull(bucket, "Required parameter bucket must be specified.");
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ }
+
+ @Override
+ public DeleteRecursive setAlt(java.lang.String alt) {
+ return (DeleteRecursive) super.setAlt(alt);
+ }
+
+ @Override
+ public DeleteRecursive setFields(java.lang.String fields) {
+ return (DeleteRecursive) super.setFields(fields);
+ }
+
+ @Override
+ public DeleteRecursive setKey(java.lang.String key) {
+ return (DeleteRecursive) super.setKey(key);
+ }
+
+ @Override
+ public DeleteRecursive setOauthToken(java.lang.String oauthToken) {
+ return (DeleteRecursive) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public DeleteRecursive setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (DeleteRecursive) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public DeleteRecursive setQuotaUser(java.lang.String quotaUser) {
+ return (DeleteRecursive) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public DeleteRecursive setUploadType(java.lang.String uploadType) {
+ return (DeleteRecursive) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public DeleteRecursive setUserIp(java.lang.String userIp) {
+ return (DeleteRecursive) super.setUserIp(userIp);
+ }
+
+ /** Name of the bucket in which the folder resides. */
+ @com.google.api.client.util.Key
+ private java.lang.String bucket;
+
+ /** Name of the bucket in which the folder resides.
+ */
+ public java.lang.String getBucket() {
+ return bucket;
+ }
+
+ /** Name of the bucket in which the folder resides. */
+ public DeleteRecursive setBucket(java.lang.String bucket) {
+ this.bucket = bucket;
+ return this;
+ }
+
+ /** Name of a folder. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Name of a folder.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Name of a folder. */
+ public DeleteRecursive setFolder(java.lang.String folder) {
+ this.folder = folder;
+ return this;
+ }
+
+ /** If set, only deletes the folder if its metageneration matches this value. */
+ @com.google.api.client.util.Key
+ private java.lang.Long ifMetagenerationMatch;
+
+ /** If set, only deletes the folder if its metageneration matches this value.
+ */
+ public java.lang.Long getIfMetagenerationMatch() {
+ return ifMetagenerationMatch;
+ }
+
+ /** If set, only deletes the folder if its metageneration matches this value. */
+ public DeleteRecursive setIfMetagenerationMatch(java.lang.Long ifMetagenerationMatch) {
+ this.ifMetagenerationMatch = ifMetagenerationMatch;
+ return this;
+ }
+
+ /** If set, only deletes the folder if its metageneration does not match this value. */
+ @com.google.api.client.util.Key
+ private java.lang.Long ifMetagenerationNotMatch;
+
+ /** If set, only deletes the folder if its metageneration does not match this value.
+ */
+ public java.lang.Long getIfMetagenerationNotMatch() {
+ return ifMetagenerationNotMatch;
+ }
+
+ /** If set, only deletes the folder if its metageneration does not match this value. */
+ public DeleteRecursive setIfMetagenerationNotMatch(java.lang.Long ifMetagenerationNotMatch) {
+ this.ifMetagenerationNotMatch = ifMetagenerationNotMatch;
+ return this;
+ }
+
+ @Override
+ public DeleteRecursive set(String parameterName, Object value) {
+ return (DeleteRecursive) super.set(parameterName, value);
+ }
+ }
/**
* Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace
* enabled.
@@ -9179,6 +9331,29 @@ public Compose setDestinationPredefinedAcl(java.lang.String destinationPredefine
return this;
}
+ /**
+ * Specifies which groups of Object Contexts from the source object(s) should be dropped from
+ * the destination object.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List dropContextGroups;
+
+ /** Specifies which groups of Object Contexts from the source object(s) should be dropped from the
+ destination object.
+ */
+ public java.util.List getDropContextGroups() {
+ return dropContextGroups;
+ }
+
+ /**
+ * Specifies which groups of Object Contexts from the source object(s) should be dropped from
+ * the destination object.
+ */
+ public Compose setDropContextGroups(java.util.List dropContextGroups) {
+ this.dropContextGroups = dropContextGroups;
+ return this;
+ }
+
/**
* Makes the operation conditional on whether the object's current generation matches the
* given value. Setting to 0 makes the operation succeed only if there are no live versions of
@@ -12716,6 +12891,29 @@ public Rewrite setDestinationPredefinedAcl(java.lang.String destinationPredefine
return this;
}
+ /**
+ * Specifies which groups of Object Contexts from the source object should be dropped from the
+ * destination object.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List dropContextGroups;
+
+ /** Specifies which groups of Object Contexts from the source object should be dropped from the
+ destination object.
+ */
+ public java.util.List getDropContextGroups() {
+ return dropContextGroups;
+ }
+
+ /**
+ * Specifies which groups of Object Contexts from the source object should be dropped from the
+ * destination object.
+ */
+ public Rewrite setDropContextGroups(java.util.List dropContextGroups) {
+ this.dropContextGroups = dropContextGroups;
+ return this;
+ }
+
/**
* Makes the operation conditional on whether the object's current generation matches the
* given value. Setting to 0 makes the operation succeed only if there are no live versions of
@@ -15636,8 +15834,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
- *
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
* @param jsonFactory JSON factory, which may be:
*
diff --git a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/RelocateBucketRequest.java b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/RelocateBucketRequest.java
index 6864daee556..8bc96833686 100644
--- a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/RelocateBucketRequest.java
+++ b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/RelocateBucketRequest.java
@@ -37,6 +37,14 @@ public final class RelocateBucketRequest extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private DestinationCustomPlacementConfig destinationCustomPlacementConfig;
+ /**
+ * Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
+ * kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String destinationKmsKeyName;
+
/**
* The new location the bucket will be relocated to.
* The value may be {@code null}.
@@ -68,6 +76,25 @@ public RelocateBucketRequest setDestinationCustomPlacementConfig(DestinationCust
return this;
}
+ /**
+ * Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
+ * kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getDestinationKmsKeyName() {
+ return destinationKmsKeyName;
+ }
+
+ /**
+ * Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
+ * kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
+ * @param destinationKmsKeyName destinationKmsKeyName or {@code null} for none
+ */
+ public RelocateBucketRequest setDestinationKmsKeyName(java.lang.String destinationKmsKeyName) {
+ this.destinationKmsKeyName = destinationKmsKeyName;
+ return this;
+ }
+
/**
* The new location the bucket will be relocated to.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-storage/v1/2.0.0/pom.xml b/clients/google-api-services-storage/v1/2.0.0/pom.xml
index 1fb9a00e41d..d1428b5b646 100644
--- a/clients/google-api-services-storage/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-storage/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-storage
- v1-rev20251118-2.0.0
- Cloud Storage JSON API v1-rev20251118-2.0.0
+ v1-rev20260204-2.0.0
+ Cloud Storage JSON API v1-rev20260204-2.0.0
jar
2011
diff --git a/clients/google-api-services-storage/v1/README.md b/clients/google-api-services-storage/v1/README.md
index fead9e7d7f3..dda4bdb0c2c 100644
--- a/clients/google-api-services-storage/v1/README.md
+++ b/clients/google-api-services-storage/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-storage
- v1-rev20251118-2.0.0
+ v1-rev20260204-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-storage:v1-rev20251118-2.0.0'
+ implementation 'com.google.apis:google-api-services-storage:v1-rev20260204-2.0.0'
}
```