Skip to content

Commit 005411c

Browse files
1 parent 420abdc commit 005411c

File tree

7 files changed

+2257
-283
lines changed

7 files changed

+2257
-283
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-rev20250308-2.0.0</version>
25+
<version>v2-rev20250410-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-rev20250308-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20250410-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 1967 additions & 277 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* Response message for BigtableInstanceAdmin.ListLogicalViews.
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 ListLogicalViewsResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The list of requested logical views.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<LogicalView> logicalViews;
39+
40+
/**
41+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
42+
* there are no subsequent pages.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String nextPageToken;
47+
48+
/**
49+
* The list of requested logical views.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<LogicalView> getLogicalViews() {
53+
return logicalViews;
54+
}
55+
56+
/**
57+
* The list of requested logical views.
58+
* @param logicalViews logicalViews or {@code null} for none
59+
*/
60+
public ListLogicalViewsResponse setLogicalViews(java.util.List<LogicalView> logicalViews) {
61+
this.logicalViews = logicalViews;
62+
return this;
63+
}
64+
65+
/**
66+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
67+
* there are no subsequent pages.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getNextPageToken() {
71+
return nextPageToken;
72+
}
73+
74+
/**
75+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
76+
* there are no subsequent pages.
77+
* @param nextPageToken nextPageToken or {@code null} for none
78+
*/
79+
public ListLogicalViewsResponse setNextPageToken(java.lang.String nextPageToken) {
80+
this.nextPageToken = nextPageToken;
81+
return this;
82+
}
83+
84+
@Override
85+
public ListLogicalViewsResponse set(String fieldName, Object value) {
86+
return (ListLogicalViewsResponse) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public ListLogicalViewsResponse clone() {
91+
return (ListLogicalViewsResponse) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* Response message for BigtableInstanceAdmin.ListMaterializedViews.
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 ListMaterializedViewsResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The list of requested materialized views.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<MaterializedView> materializedViews;
39+
40+
/**
41+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
42+
* there are no subsequent pages.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String nextPageToken;
47+
48+
/**
49+
* The list of requested materialized views.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<MaterializedView> getMaterializedViews() {
53+
return materializedViews;
54+
}
55+
56+
/**
57+
* The list of requested materialized views.
58+
* @param materializedViews materializedViews or {@code null} for none
59+
*/
60+
public ListMaterializedViewsResponse setMaterializedViews(java.util.List<MaterializedView> materializedViews) {
61+
this.materializedViews = materializedViews;
62+
return this;
63+
}
64+
65+
/**
66+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
67+
* there are no subsequent pages.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getNextPageToken() {
71+
return nextPageToken;
72+
}
73+
74+
/**
75+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
76+
* there are no subsequent pages.
77+
* @param nextPageToken nextPageToken or {@code null} for none
78+
*/
79+
public ListMaterializedViewsResponse setNextPageToken(java.lang.String nextPageToken) {
80+
this.nextPageToken = nextPageToken;
81+
return this;
82+
}
83+
84+
@Override
85+
public ListMaterializedViewsResponse set(String fieldName, Object value) {
86+
return (ListMaterializedViewsResponse) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public ListMaterializedViewsResponse clone() {
91+
return (ListMaterializedViewsResponse) super.clone();
92+
}
93+
94+
}

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

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,37 @@ public final class Table extends com.google.api.client.json.GenericJson {
113113
@com.google.api.client.util.Key
114114
private RestoreInfo restoreInfo;
115115

116+
/**
117+
* The row key schema for this table. The schema is used to decode the raw row key bytes into a
118+
* structured format. The order of field declarations in this schema is important, as it reflects
119+
* how the raw row key bytes are structured. Currently, this only affects how the key is read via
120+
* a GoogleSQL query from the ExecuteQuery API. For a SQL query, the _key column is still read as
121+
* raw bytes. But queries can reference the key fields by name, which will be decoded from _key
122+
* using provided type and encoding. Queries that reference key fields will fail if they encounter
123+
* an invalid row key. For example, if _key = "some_id#2024-04-30#\x00\x13\x00\xf3" with the
124+
* following schema: { fields { field_name: "id" type { string { encoding: utf8_bytes {} } } }
125+
* fields { field_name: "date" type { string { encoding: utf8_bytes {} } } } fields { field_name:
126+
* "product_code" type { int64 { encoding: big_endian_bytes {} } } } encoding { delimited_bytes {
127+
* delimiter: "#" } } } The decoded key parts would be: id = "some_id", date = "2024-04-30",
128+
* product_code = 1245427 The query "SELECT _key, product_code FROM table" will return two
129+
* columns: /------------------------------------------------------\ | _key | product_code | |
130+
* --------------------------------------|--------------| | "some_id#2024-04-30#\x00\x13\x00\xf3"
131+
* | 1245427 | \------------------------------------------------------/ The schema has the
132+
* following invariants: (1) The decoded field values are order-preserved. For read, the field
133+
* values will be decoded in sorted mode from the raw bytes. (2) Every field in the schema must
134+
* specify a non-empty name. (3) Every field must specify a type with an associated encoding. The
135+
* type is limited to scalar types only: Array, Map, Aggregate, and Struct are not allowed. (4)
136+
* The field names must not collide with existing column family names and reserved keywords "_key"
137+
* and "_timestamp". The following update operations are allowed for row_key_schema: - Update from
138+
* an empty schema to a new schema. - Remove the existing schema. This operation requires setting
139+
* the `ignore_warnings` flag to `true`, since it might be a backward incompatible change. Without
140+
* the flag, the update request will fail with an INVALID_ARGUMENT error. Any other row key schema
141+
* update operation (e.g. update existing schema columns names or types) is currently unsupported.
142+
* The value may be {@code null}.
143+
*/
144+
@com.google.api.client.util.Key
145+
private GoogleBigtableAdminV2TypeStruct rowKeySchema;
146+
116147
/**
117148
* Output only. Only available with STATS_VIEW, this includes summary statistics about the entire
118149
* table contents. For statistics about a specific column family, see ColumnFamilyStats in the
@@ -286,6 +317,71 @@ public Table setRestoreInfo(RestoreInfo restoreInfo) {
286317
return this;
287318
}
288319

320+
/**
321+
* The row key schema for this table. The schema is used to decode the raw row key bytes into a
322+
* structured format. The order of field declarations in this schema is important, as it reflects
323+
* how the raw row key bytes are structured. Currently, this only affects how the key is read via
324+
* a GoogleSQL query from the ExecuteQuery API. For a SQL query, the _key column is still read as
325+
* raw bytes. But queries can reference the key fields by name, which will be decoded from _key
326+
* using provided type and encoding. Queries that reference key fields will fail if they encounter
327+
* an invalid row key. For example, if _key = "some_id#2024-04-30#\x00\x13\x00\xf3" with the
328+
* following schema: { fields { field_name: "id" type { string { encoding: utf8_bytes {} } } }
329+
* fields { field_name: "date" type { string { encoding: utf8_bytes {} } } } fields { field_name:
330+
* "product_code" type { int64 { encoding: big_endian_bytes {} } } } encoding { delimited_bytes {
331+
* delimiter: "#" } } } The decoded key parts would be: id = "some_id", date = "2024-04-30",
332+
* product_code = 1245427 The query "SELECT _key, product_code FROM table" will return two
333+
* columns: /------------------------------------------------------\ | _key | product_code | |
334+
* --------------------------------------|--------------| | "some_id#2024-04-30#\x00\x13\x00\xf3"
335+
* | 1245427 | \------------------------------------------------------/ The schema has the
336+
* following invariants: (1) The decoded field values are order-preserved. For read, the field
337+
* values will be decoded in sorted mode from the raw bytes. (2) Every field in the schema must
338+
* specify a non-empty name. (3) Every field must specify a type with an associated encoding. The
339+
* type is limited to scalar types only: Array, Map, Aggregate, and Struct are not allowed. (4)
340+
* The field names must not collide with existing column family names and reserved keywords "_key"
341+
* and "_timestamp". The following update operations are allowed for row_key_schema: - Update from
342+
* an empty schema to a new schema. - Remove the existing schema. This operation requires setting
343+
* the `ignore_warnings` flag to `true`, since it might be a backward incompatible change. Without
344+
* the flag, the update request will fail with an INVALID_ARGUMENT error. Any other row key schema
345+
* update operation (e.g. update existing schema columns names or types) is currently unsupported.
346+
* @return value or {@code null} for none
347+
*/
348+
public GoogleBigtableAdminV2TypeStruct getRowKeySchema() {
349+
return rowKeySchema;
350+
}
351+
352+
/**
353+
* The row key schema for this table. The schema is used to decode the raw row key bytes into a
354+
* structured format. The order of field declarations in this schema is important, as it reflects
355+
* how the raw row key bytes are structured. Currently, this only affects how the key is read via
356+
* a GoogleSQL query from the ExecuteQuery API. For a SQL query, the _key column is still read as
357+
* raw bytes. But queries can reference the key fields by name, which will be decoded from _key
358+
* using provided type and encoding. Queries that reference key fields will fail if they encounter
359+
* an invalid row key. For example, if _key = "some_id#2024-04-30#\x00\x13\x00\xf3" with the
360+
* following schema: { fields { field_name: "id" type { string { encoding: utf8_bytes {} } } }
361+
* fields { field_name: "date" type { string { encoding: utf8_bytes {} } } } fields { field_name:
362+
* "product_code" type { int64 { encoding: big_endian_bytes {} } } } encoding { delimited_bytes {
363+
* delimiter: "#" } } } The decoded key parts would be: id = "some_id", date = "2024-04-30",
364+
* product_code = 1245427 The query "SELECT _key, product_code FROM table" will return two
365+
* columns: /------------------------------------------------------\ | _key | product_code | |
366+
* --------------------------------------|--------------| | "some_id#2024-04-30#\x00\x13\x00\xf3"
367+
* | 1245427 | \------------------------------------------------------/ The schema has the
368+
* following invariants: (1) The decoded field values are order-preserved. For read, the field
369+
* values will be decoded in sorted mode from the raw bytes. (2) Every field in the schema must
370+
* specify a non-empty name. (3) Every field must specify a type with an associated encoding. The
371+
* type is limited to scalar types only: Array, Map, Aggregate, and Struct are not allowed. (4)
372+
* The field names must not collide with existing column family names and reserved keywords "_key"
373+
* and "_timestamp". The following update operations are allowed for row_key_schema: - Update from
374+
* an empty schema to a new schema. - Remove the existing schema. This operation requires setting
375+
* the `ignore_warnings` flag to `true`, since it might be a backward incompatible change. Without
376+
* the flag, the update request will fail with an INVALID_ARGUMENT error. Any other row key schema
377+
* update operation (e.g. update existing schema columns names or types) is currently unsupported.
378+
* @param rowKeySchema rowKeySchema or {@code null} for none
379+
*/
380+
public Table setRowKeySchema(GoogleBigtableAdminV2TypeStruct rowKeySchema) {
381+
this.rowKeySchema = rowKeySchema;
382+
return this;
383+
}
384+
289385
/**
290386
* Output only. Only available with STATS_VIEW, this includes summary statistics about the entire
291387
* table contents. For statistics about a specific column family, see ColumnFamilyStats in the

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

0 commit comments

Comments
 (0)