Skip to content

Commit 79f1496

Browse files
1 parent 2a12796 commit 79f1496

File tree

5 files changed

+90
-6
lines changed

5 files changed

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

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10193,6 +10193,35 @@ public Get setProjection(java.lang.String projection) {
1019310193
return this;
1019410194
}
1019510195

10196+
/**
10197+
* Restore token used to differentiate soft-deleted objects with the same name and generation.
10198+
* Only applicable for hierarchical namespace buckets and if softDeleted is set to true. This
10199+
* parameter is optional, and is only required in the rare case when there are multiple soft-
10200+
* deleted objects with the same name and generation.
10201+
*/
10202+
@com.google.api.client.util.Key
10203+
private java.lang.String restoreToken;
10204+
10205+
/** Restore token used to differentiate soft-deleted objects with the same name and generation. Only
10206+
applicable for hierarchical namespace buckets and if softDeleted is set to true. This parameter is
10207+
optional, and is only required in the rare case when there are multiple soft-deleted objects with
10208+
the same name and generation.
10209+
*/
10210+
public java.lang.String getRestoreToken() {
10211+
return restoreToken;
10212+
}
10213+
10214+
/**
10215+
* Restore token used to differentiate soft-deleted objects with the same name and generation.
10216+
* Only applicable for hierarchical namespace buckets and if softDeleted is set to true. This
10217+
* parameter is optional, and is only required in the rare case when there are multiple soft-
10218+
* deleted objects with the same name and generation.
10219+
*/
10220+
public Get setRestoreToken(java.lang.String restoreToken) {
10221+
this.restoreToken = restoreToken;
10222+
return this;
10223+
}
10224+
1019610225
/**
1019710226
* If true, only soft-deleted object versions will be listed. The default is false. For more
1019810227
* information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
@@ -11820,6 +11849,34 @@ public Restore setProjection(java.lang.String projection) {
1182011849
return this;
1182111850
}
1182211851

11852+
/**
11853+
* Restore token used to differentiate sof-deleted objects with the same name and generation.
11854+
* Only applicable for hierarchical namespace buckets. This parameter is optional, and is only
11855+
* required in the rare case when there are multiple soft-deleted objects with the same name
11856+
* and generation.
11857+
*/
11858+
@com.google.api.client.util.Key
11859+
private java.lang.String restoreToken;
11860+
11861+
/** Restore token used to differentiate sof-deleted objects with the same name and generation. Only
11862+
applicable for hierarchical namespace buckets. This parameter is optional, and is only required in
11863+
the rare case when there are multiple soft-deleted objects with the same name and generation.
11864+
*/
11865+
public java.lang.String getRestoreToken() {
11866+
return restoreToken;
11867+
}
11868+
11869+
/**
11870+
* Restore token used to differentiate sof-deleted objects with the same name and generation.
11871+
* Only applicable for hierarchical namespace buckets. This parameter is optional, and is only
11872+
* required in the rare case when there are multiple soft-deleted objects with the same name
11873+
* and generation.
11874+
*/
11875+
public Restore setRestoreToken(java.lang.String restoreToken) {
11876+
this.restoreToken = restoreToken;
11877+
return this;
11878+
}
11879+
1182311880
/** The project to be billed for this request. Required for Requester Pays buckets. */
1182411881
@com.google.api.client.util.Key
1182511882
private java.lang.String userProject;

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ public final class StorageObject extends com.google.api.client.json.GenericJson
216216
@com.google.api.client.util.Key
217217
private Owner owner;
218218

219+
/**
220+
* Restore token used to differentiate deleted objects with the same name and generation. This
221+
* field is only returned for deleted objects in hierarchical namespace buckets.
222+
* The value may be {@code null}.
223+
*/
224+
@com.google.api.client.util.Key
225+
private java.lang.String restoreToken;
226+
219227
/**
220228
* A collection of object level retention parameters.
221229
* The value may be {@code null}.
@@ -750,6 +758,25 @@ public StorageObject setOwner(Owner owner) {
750758
return this;
751759
}
752760

761+
/**
762+
* Restore token used to differentiate deleted objects with the same name and generation. This
763+
* field is only returned for deleted objects in hierarchical namespace buckets.
764+
* @return value or {@code null} for none
765+
*/
766+
public java.lang.String getRestoreToken() {
767+
return restoreToken;
768+
}
769+
770+
/**
771+
* Restore token used to differentiate deleted objects with the same name and generation. This
772+
* field is only returned for deleted objects in hierarchical namespace buckets.
773+
* @param restoreToken restoreToken or {@code null} for none
774+
*/
775+
public StorageObject setRestoreToken(java.lang.String restoreToken) {
776+
this.restoreToken = restoreToken;
777+
return this;
778+
}
779+
753780
/**
754781
* A collection of object level retention parameters.
755782
* @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-rev20240819-2.0.0</version>
12-
<name>Cloud Storage JSON API v1-rev20240819-2.0.0</name>
11+
<version>v1-rev20240916-2.0.0</version>
12+
<name>Cloud Storage JSON API v1-rev20240916-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-rev20240819-2.0.0</version>
25+
<version>v1-rev20240916-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-rev20240819-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storage:v1-rev20240916-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)