Skip to content

Commit c331592

Browse files
1 parent 0d3873f commit c331592

File tree

4 files changed

+72
-12
lines changed

4 files changed

+72
-12
lines changed

clients/google-api-services-bigtableadmin/v2/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-bigtableadmin</artifactId>
25-
<version>v2-rev20240720-2.0.0</version>
25+
<version>v2-rev20240806-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-bigtableadmin:v2-rev20240720-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20240806-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/Backup.java

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Backup extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Indicates the backup type of the backup.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String backupType;
39+
3340
/**
3441
* Output only. The encryption information for the backup.
3542
* The value may be {@code null}.
@@ -47,13 +54,24 @@ public final class Backup extends com.google.api.client.json.GenericJson {
4754

4855
/**
4956
* Required. The expiration time of the backup. When creating a backup or updating its
50-
* `expire_time`, the new value must: - Be at most 90 days in the future - Be at least 6 hours in
51-
* the future Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
57+
* `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours -
58+
* At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
5259
* The value may be {@code null}.
5360
*/
5461
@com.google.api.client.util.Key
5562
private String expireTime;
5663

64+
/**
65+
* The time at which the hot backup will be converted to a standard backup. Once the
66+
* `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard
67+
* backup. This value must be greater than the backup creation time by: - At least 24 hours This
68+
* field only applies for hot backups. When creating or updating a standard backup, attempting to
69+
* set this field will fail the request.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private String hotToStandardTime;
74+
5775
/**
5876
* A globally unique identifier for the backup which cannot be changed. Values are of the form
5977
* `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final
@@ -106,6 +124,23 @@ public final class Backup extends com.google.api.client.json.GenericJson {
106124
@com.google.api.client.util.Key
107125
private java.lang.String state;
108126

127+
/**
128+
* Indicates the backup type of the backup.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.lang.String getBackupType() {
132+
return backupType;
133+
}
134+
135+
/**
136+
* Indicates the backup type of the backup.
137+
* @param backupType backupType or {@code null} for none
138+
*/
139+
public Backup setBackupType(java.lang.String backupType) {
140+
this.backupType = backupType;
141+
return this;
142+
}
143+
109144
/**
110145
* Output only. The encryption information for the backup.
111146
* @return value or {@code null} for none
@@ -144,8 +179,8 @@ public Backup setEndTime(String endTime) {
144179

145180
/**
146181
* Required. The expiration time of the backup. When creating a backup or updating its
147-
* `expire_time`, the new value must: - Be at most 90 days in the future - Be at least 6 hours in
148-
* the future Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
182+
* `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours -
183+
* At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
149184
* @return value or {@code null} for none
150185
*/
151186
public String getExpireTime() {
@@ -154,15 +189,40 @@ public String getExpireTime() {
154189

155190
/**
156191
* Required. The expiration time of the backup. When creating a backup or updating its
157-
* `expire_time`, the new value must: - Be at most 90 days in the future - Be at least 6 hours in
158-
* the future Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
192+
* `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours -
193+
* At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
159194
* @param expireTime expireTime or {@code null} for none
160195
*/
161196
public Backup setExpireTime(String expireTime) {
162197
this.expireTime = expireTime;
163198
return this;
164199
}
165200

201+
/**
202+
* The time at which the hot backup will be converted to a standard backup. Once the
203+
* `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard
204+
* backup. This value must be greater than the backup creation time by: - At least 24 hours This
205+
* field only applies for hot backups. When creating or updating a standard backup, attempting to
206+
* set this field will fail the request.
207+
* @return value or {@code null} for none
208+
*/
209+
public String getHotToStandardTime() {
210+
return hotToStandardTime;
211+
}
212+
213+
/**
214+
* The time at which the hot backup will be converted to a standard backup. Once the
215+
* `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard
216+
* backup. This value must be greater than the backup creation time by: - At least 24 hours This
217+
* field only applies for hot backups. When creating or updating a standard backup, attempting to
218+
* set this field will fail the request.
219+
* @param hotToStandardTime hotToStandardTime or {@code null} for none
220+
*/
221+
public Backup setHotToStandardTime(String hotToStandardTime) {
222+
this.hotToStandardTime = hotToStandardTime;
223+
return this;
224+
}
225+
166226
/**
167227
* A globally unique identifier for the backup which cannot be changed. Values are of the form
168228
* `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final

clients/google-api-services-bigtableadmin/v2/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-bigtableadmin</artifactId>
11-
<version>v2-rev20240720-2.0.0</version>
12-
<name>Cloud Bigtable Admin API v2-rev20240720-2.0.0</name>
11+
<version>v2-rev20240806-2.0.0</version>
12+
<name>Cloud Bigtable Admin API v2-rev20240806-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-bigtableadmin/v2/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-bigtableadmin</artifactId>
25-
<version>v2-rev20240720-2.0.0</version>
25+
<version>v2-rev20240806-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-bigtableadmin:v2-rev20240720-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20240806-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)