Skip to content

Commit 5257d53

Browse files
1 parent 16ef7d1 commit 5257d53

File tree

6 files changed

+184
-6
lines changed

6 files changed

+184
-6
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-rev20250512-2.0.0</version>
25+
<version>v2-rev20250610-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-rev20250512-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20250610-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ public final class Table extends com.google.api.client.json.GenericJson {
153153
@com.google.api.client.util.Key
154154
private TableStats stats;
155155

156+
/**
157+
* Rules to specify what data is stored in each storage tier. Different tiers store data
158+
* differently, providing different trade-offs between cost and performance. Different parts of a
159+
* table can be stored separately on different tiers. If a config is specified, tiered storage is
160+
* enabled for this table. Otherwise, tiered storage is disabled. Only SSD instances can configure
161+
* tiered storage.
162+
* The value may be {@code null}.
163+
*/
164+
@com.google.api.client.util.Key
165+
private TieredStorageConfig tieredStorageConfig;
166+
156167
/**
157168
* If specified, automated backups are enabled for this table. Otherwise, automated backups are
158169
* disabled.
@@ -403,6 +414,31 @@ public Table setStats(TableStats stats) {
403414
return this;
404415
}
405416

417+
/**
418+
* Rules to specify what data is stored in each storage tier. Different tiers store data
419+
* differently, providing different trade-offs between cost and performance. Different parts of a
420+
* table can be stored separately on different tiers. If a config is specified, tiered storage is
421+
* enabled for this table. Otherwise, tiered storage is disabled. Only SSD instances can configure
422+
* tiered storage.
423+
* @return value or {@code null} for none
424+
*/
425+
public TieredStorageConfig getTieredStorageConfig() {
426+
return tieredStorageConfig;
427+
}
428+
429+
/**
430+
* Rules to specify what data is stored in each storage tier. Different tiers store data
431+
* differently, providing different trade-offs between cost and performance. Different parts of a
432+
* table can be stored separately on different tiers. If a config is specified, tiered storage is
433+
* enabled for this table. Otherwise, tiered storage is disabled. Only SSD instances can configure
434+
* tiered storage.
435+
* @param tieredStorageConfig tieredStorageConfig or {@code null} for none
436+
*/
437+
public Table setTieredStorageConfig(TieredStorageConfig tieredStorageConfig) {
438+
this.tieredStorageConfig = tieredStorageConfig;
439+
return this;
440+
}
441+
406442
@Override
407443
public Table set(String fieldName, Object value) {
408444
return (Table) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigtableadmin.v2.model;
18+
19+
/**
20+
* Config for tiered storage. A valid config must have a valid TieredStorageRule. Otherwise the
21+
* whole TieredStorageConfig must be unset. By default all data is stored in the SSD tier (only SSD
22+
* instances can configure tiered storage).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Cloud Bigtable Admin API. For a detailed explanation
26+
* see:
27+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class TieredStorageConfig extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Rule to specify what data is stored in the infrequent access(IA) tier. The IA tier allows
37+
* storing more data per node with reduced performance.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private TieredStorageRule infrequentAccess;
42+
43+
/**
44+
* Rule to specify what data is stored in the infrequent access(IA) tier. The IA tier allows
45+
* storing more data per node with reduced performance.
46+
* @return value or {@code null} for none
47+
*/
48+
public TieredStorageRule getInfrequentAccess() {
49+
return infrequentAccess;
50+
}
51+
52+
/**
53+
* Rule to specify what data is stored in the infrequent access(IA) tier. The IA tier allows
54+
* storing more data per node with reduced performance.
55+
* @param infrequentAccess infrequentAccess or {@code null} for none
56+
*/
57+
public TieredStorageConfig setInfrequentAccess(TieredStorageRule infrequentAccess) {
58+
this.infrequentAccess = infrequentAccess;
59+
return this;
60+
}
61+
62+
@Override
63+
public TieredStorageConfig set(String fieldName, Object value) {
64+
return (TieredStorageConfig) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public TieredStorageConfig clone() {
69+
return (TieredStorageConfig) super.clone();
70+
}
71+
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigtableadmin.v2.model;
18+
19+
/**
20+
* Rule to specify what data is stored in a storage tier.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Bigtable Admin API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class TieredStorageRule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Include cells older than the given age. For the infrequent access tier, this value must be at
35+
* least 30 days.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private String includeIfOlderThan;
40+
41+
/**
42+
* Include cells older than the given age. For the infrequent access tier, this value must be at
43+
* least 30 days.
44+
* @return value or {@code null} for none
45+
*/
46+
public String getIncludeIfOlderThan() {
47+
return includeIfOlderThan;
48+
}
49+
50+
/**
51+
* Include cells older than the given age. For the infrequent access tier, this value must be at
52+
* least 30 days.
53+
* @param includeIfOlderThan includeIfOlderThan or {@code null} for none
54+
*/
55+
public TieredStorageRule setIncludeIfOlderThan(String includeIfOlderThan) {
56+
this.includeIfOlderThan = includeIfOlderThan;
57+
return this;
58+
}
59+
60+
@Override
61+
public TieredStorageRule set(String fieldName, Object value) {
62+
return (TieredStorageRule) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public TieredStorageRule clone() {
67+
return (TieredStorageRule) super.clone();
68+
}
69+
70+
}

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-rev20250512-2.0.0</version>
12-
<name>Cloud Bigtable Admin API v2-rev20250512-2.0.0</name>
11+
<version>v2-rev20250610-2.0.0</version>
12+
<name>Cloud Bigtable Admin API v2-rev20250610-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-rev20250512-2.0.0</version>
25+
<version>v2-rev20250610-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-rev20250512-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20250610-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)