Skip to content
Merged
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-storage/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-storage</artifactId>
<version>v1-rev20260926-2.0.0</version>
<version>v1-rev20260930-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-storage:v1-rev20260926-2.0.0'
implementation 'com.google.apis:google-api-services-storage:v1-rev20260930-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3139,6 +3139,14 @@ public static final class SoftDeletePolicy extends com.google.api.client.json.Ge
@com.google.api.client.util.Key
private com.google.api.client.util.DateTime effectiveTime;

/**
* The bucket's hard delete pause configuration. If set, soft-deleted objects in the bucket will
* not be permanently deleted until the hard delete pause is disabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private HardDeletePause hardDeletePause;

/**
* The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
* permanently deleted.
Expand Down Expand Up @@ -3166,6 +3174,25 @@ public SoftDeletePolicy setEffectiveTime(com.google.api.client.util.DateTime eff
return this;
}

/**
* The bucket's hard delete pause configuration. If set, soft-deleted objects in the bucket will
* not be permanently deleted until the hard delete pause is disabled.
* @return value or {@code null} for none
*/
public HardDeletePause getHardDeletePause() {
return hardDeletePause;
}

/**
* The bucket's hard delete pause configuration. If set, soft-deleted objects in the bucket will
* not be permanently deleted until the hard delete pause is disabled.
* @param hardDeletePause hardDeletePause or {@code null} for none
*/
public SoftDeletePolicy setHardDeletePause(HardDeletePause hardDeletePause) {
this.hardDeletePause = hardDeletePause;
return this;
}

/**
* The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
* permanently deleted.
Expand Down Expand Up @@ -3195,6 +3222,74 @@ public SoftDeletePolicy clone() {
return (SoftDeletePolicy) super.clone();
}

/**
* The bucket's hard delete pause configuration. If set, soft-deleted objects in the bucket will not
* be permanently deleted until the hard delete pause is disabled.
*/
public static final class HardDeletePause extends com.google.api.client.json.GenericJson {

/**
* Server-determined value that indicates the time from which the hard delete pause became
* effective. This value is in RFC 3339 format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private com.google.api.client.util.DateTime effectiveTime;

/**
* Whether hard deletions are paused.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean enabled;

/**
* Server-determined value that indicates the time from which the hard delete pause became
* effective. This value is in RFC 3339 format.
* @return value or {@code null} for none
*/
public com.google.api.client.util.DateTime getEffectiveTime() {
return effectiveTime;
}

/**
* Server-determined value that indicates the time from which the hard delete pause became
* effective. This value is in RFC 3339 format.
* @param effectiveTime effectiveTime or {@code null} for none
*/
public HardDeletePause setEffectiveTime(com.google.api.client.util.DateTime effectiveTime) {
this.effectiveTime = effectiveTime;
return this;
}

/**
* Whether hard deletions are paused.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnabled() {
return enabled;
}

/**
* Whether hard deletions are paused.
* @param enabled enabled or {@code null} for none
*/
public HardDeletePause setEnabled(java.lang.Boolean enabled) {
this.enabled = enabled;
return this;
}

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

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

}
}

/**
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-storage/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storage</artifactId>
<version>v1-rev20260926-2.0.0</version>
<name>Cloud Storage JSON API v1-rev20260926-2.0.0</name>
<version>v1-rev20260930-2.0.0</version>
<name>Cloud Storage JSON API v1-rev20260930-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-storage/v1/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-storage</artifactId>
<version>v1-rev20260926-2.0.0</version>
<version>v1-rev20260930-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-storage:v1-rev20260926-2.0.0'
implementation 'com.google.apis:google-api-services-storage:v1-rev20260930-2.0.0'
}
```

Expand Down
Loading