Skip to content

Commit 2c660bc

Browse files
chore: regenerate storage client
1 parent 5ec85f7 commit 2c660bc

File tree

5 files changed

+231
-6
lines changed

5 files changed

+231
-6
lines changed

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

clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5307,6 +5307,158 @@ public Delete set(String parameterName, Object value) {
53075307
return (Delete) super.set(parameterName, value);
53085308
}
53095309
}
5310+
/**
5311+
* Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
5312+
*
5313+
* Create a request for the method "folders.deleteRecursive".
5314+
*
5315+
* This request holds the parameters needed by the storage server. After setting any optional
5316+
* parameters, call the {@link DeleteRecursive#execute()} method to invoke the remote operation.
5317+
*
5318+
* @param bucket Name of the bucket in which the folder resides.
5319+
* @param folder Name of a folder.
5320+
* @return the request
5321+
*/
5322+
public DeleteRecursive deleteRecursive(java.lang.String bucket, java.lang.String folder) throws java.io.IOException {
5323+
DeleteRecursive result = new DeleteRecursive(bucket, folder);
5324+
initialize(result);
5325+
return result;
5326+
}
5327+
5328+
public class DeleteRecursive extends StorageRequest<com.google.api.services.storage.model.GoogleLongrunningOperation> {
5329+
5330+
private static final String REST_PATH = "b/{bucket}/folders/{folder}/deleteRecursive";
5331+
5332+
/**
5333+
* Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
5334+
*
5335+
* Create a request for the method "folders.deleteRecursive".
5336+
*
5337+
* This request holds the parameters needed by the the storage server. After setting any optional
5338+
* parameters, call the {@link DeleteRecursive#execute()} method to invoke the remote operation.
5339+
* <p> {@link DeleteRecursive#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
5340+
* lientRequest)} must be called to initialize this instance immediately after invoking the
5341+
* constructor. </p>
5342+
*
5343+
* @param bucket Name of the bucket in which the folder resides.
5344+
* @param folder Name of a folder.
5345+
* @since 1.13
5346+
*/
5347+
protected DeleteRecursive(java.lang.String bucket, java.lang.String folder) {
5348+
super(Storage.this, "POST", REST_PATH, null, com.google.api.services.storage.model.GoogleLongrunningOperation.class);
5349+
this.bucket = com.google.api.client.util.Preconditions.checkNotNull(bucket, "Required parameter bucket must be specified.");
5350+
this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
5351+
}
5352+
5353+
@Override
5354+
public DeleteRecursive setAlt(java.lang.String alt) {
5355+
return (DeleteRecursive) super.setAlt(alt);
5356+
}
5357+
5358+
@Override
5359+
public DeleteRecursive setFields(java.lang.String fields) {
5360+
return (DeleteRecursive) super.setFields(fields);
5361+
}
5362+
5363+
@Override
5364+
public DeleteRecursive setKey(java.lang.String key) {
5365+
return (DeleteRecursive) super.setKey(key);
5366+
}
5367+
5368+
@Override
5369+
public DeleteRecursive setOauthToken(java.lang.String oauthToken) {
5370+
return (DeleteRecursive) super.setOauthToken(oauthToken);
5371+
}
5372+
5373+
@Override
5374+
public DeleteRecursive setPrettyPrint(java.lang.Boolean prettyPrint) {
5375+
return (DeleteRecursive) super.setPrettyPrint(prettyPrint);
5376+
}
5377+
5378+
@Override
5379+
public DeleteRecursive setQuotaUser(java.lang.String quotaUser) {
5380+
return (DeleteRecursive) super.setQuotaUser(quotaUser);
5381+
}
5382+
5383+
@Override
5384+
public DeleteRecursive setUploadType(java.lang.String uploadType) {
5385+
return (DeleteRecursive) super.setUploadType(uploadType);
5386+
}
5387+
5388+
@Override
5389+
public DeleteRecursive setUserIp(java.lang.String userIp) {
5390+
return (DeleteRecursive) super.setUserIp(userIp);
5391+
}
5392+
5393+
/** Name of the bucket in which the folder resides. */
5394+
@com.google.api.client.util.Key
5395+
private java.lang.String bucket;
5396+
5397+
/** Name of the bucket in which the folder resides.
5398+
*/
5399+
public java.lang.String getBucket() {
5400+
return bucket;
5401+
}
5402+
5403+
/** Name of the bucket in which the folder resides. */
5404+
public DeleteRecursive setBucket(java.lang.String bucket) {
5405+
this.bucket = bucket;
5406+
return this;
5407+
}
5408+
5409+
/** Name of a folder. */
5410+
@com.google.api.client.util.Key
5411+
private java.lang.String folder;
5412+
5413+
/** Name of a folder.
5414+
*/
5415+
public java.lang.String getFolder() {
5416+
return folder;
5417+
}
5418+
5419+
/** Name of a folder. */
5420+
public DeleteRecursive setFolder(java.lang.String folder) {
5421+
this.folder = folder;
5422+
return this;
5423+
}
5424+
5425+
/** If set, only deletes the folder if its metageneration matches this value. */
5426+
@com.google.api.client.util.Key
5427+
private java.lang.Long ifMetagenerationMatch;
5428+
5429+
/** If set, only deletes the folder if its metageneration matches this value.
5430+
*/
5431+
public java.lang.Long getIfMetagenerationMatch() {
5432+
return ifMetagenerationMatch;
5433+
}
5434+
5435+
/** If set, only deletes the folder if its metageneration matches this value. */
5436+
public DeleteRecursive setIfMetagenerationMatch(java.lang.Long ifMetagenerationMatch) {
5437+
this.ifMetagenerationMatch = ifMetagenerationMatch;
5438+
return this;
5439+
}
5440+
5441+
/** If set, only deletes the folder if its metageneration does not match this value. */
5442+
@com.google.api.client.util.Key
5443+
private java.lang.Long ifMetagenerationNotMatch;
5444+
5445+
/** If set, only deletes the folder if its metageneration does not match this value.
5446+
*/
5447+
public java.lang.Long getIfMetagenerationNotMatch() {
5448+
return ifMetagenerationNotMatch;
5449+
}
5450+
5451+
/** If set, only deletes the folder if its metageneration does not match this value. */
5452+
public DeleteRecursive setIfMetagenerationNotMatch(java.lang.Long ifMetagenerationNotMatch) {
5453+
this.ifMetagenerationNotMatch = ifMetagenerationNotMatch;
5454+
return this;
5455+
}
5456+
5457+
@Override
5458+
public DeleteRecursive set(String parameterName, Object value) {
5459+
return (DeleteRecursive) super.set(parameterName, value);
5460+
}
5461+
}
53105462
/**
53115463
* Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace
53125464
* enabled.
@@ -9179,6 +9331,29 @@ public Compose setDestinationPredefinedAcl(java.lang.String destinationPredefine
91799331
return this;
91809332
}
91819333

9334+
/**
9335+
* Specifies which groups of Object Contexts from the source object(s) should be dropped from
9336+
* the destination object.
9337+
*/
9338+
@com.google.api.client.util.Key
9339+
private java.util.List<java.lang.String> dropContextGroups;
9340+
9341+
/** Specifies which groups of Object Contexts from the source object(s) should be dropped from the
9342+
destination object.
9343+
*/
9344+
public java.util.List<java.lang.String> getDropContextGroups() {
9345+
return dropContextGroups;
9346+
}
9347+
9348+
/**
9349+
* Specifies which groups of Object Contexts from the source object(s) should be dropped from
9350+
* the destination object.
9351+
*/
9352+
public Compose setDropContextGroups(java.util.List<java.lang.String> dropContextGroups) {
9353+
this.dropContextGroups = dropContextGroups;
9354+
return this;
9355+
}
9356+
91829357
/**
91839358
* Makes the operation conditional on whether the object's current generation matches the
91849359
* 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
1271612891
return this;
1271712892
}
1271812893

12894+
/**
12895+
* Specifies which groups of Object Contexts from the source object should be dropped from the
12896+
* destination object.
12897+
*/
12898+
@com.google.api.client.util.Key
12899+
private java.util.List<java.lang.String> dropContextGroups;
12900+
12901+
/** Specifies which groups of Object Contexts from the source object should be dropped from the
12902+
destination object.
12903+
*/
12904+
public java.util.List<java.lang.String> getDropContextGroups() {
12905+
return dropContextGroups;
12906+
}
12907+
12908+
/**
12909+
* Specifies which groups of Object Contexts from the source object should be dropped from the
12910+
* destination object.
12911+
*/
12912+
public Rewrite setDropContextGroups(java.util.List<java.lang.String> dropContextGroups) {
12913+
this.dropContextGroups = dropContextGroups;
12914+
return this;
12915+
}
12916+
1271912917
/**
1272012918
* Makes the operation conditional on whether the object's current generation matches the
1272112919
* given value. Setting to 0 makes the operation succeed only if there are no live versions of

clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/RelocateBucketRequest.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class RelocateBucketRequest extends com.google.api.client.json.Gene
3737
@com.google.api.client.util.Key
3838
private DestinationCustomPlacementConfig destinationCustomPlacementConfig;
3939

40+
/**
41+
* Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
42+
* kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String destinationKmsKeyName;
47+
4048
/**
4149
* The new location the bucket will be relocated to.
4250
* The value may be {@code null}.
@@ -68,6 +76,25 @@ public RelocateBucketRequest setDestinationCustomPlacementConfig(DestinationCust
6876
return this;
6977
}
7078

79+
/**
80+
* Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
81+
* kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getDestinationKmsKeyName() {
85+
return destinationKmsKeyName;
86+
}
87+
88+
/**
89+
* Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-
90+
* kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.
91+
* @param destinationKmsKeyName destinationKmsKeyName or {@code null} for none
92+
*/
93+
public RelocateBucketRequest setDestinationKmsKeyName(java.lang.String destinationKmsKeyName) {
94+
this.destinationKmsKeyName = destinationKmsKeyName;
95+
return this;
96+
}
97+
7198
/**
7299
* The new location the bucket will be relocated to.
73100
* @return value or {@code null} for none

clients/google-api-services-storage/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-storage</artifactId>
11-
<version>v1-rev20251118-2.0.0</version>
12-
<name>Cloud Storage JSON API v1-rev20251118-2.0.0</name>
11+
<version>v1-rev20260204-2.0.0</version>
12+
<name>Cloud Storage JSON API v1-rev20260204-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)