Skip to content

Commit 4eac9c0

Browse files
yoshi-automationsofisl
authored andcommitted
feat(bigtableadmin): update the API
#### bigtableadmin:v2 The following keys were added: - resources.projects.resources.instances.resources.tables.resources.schemaBundles.methods.list.parameters.view.description - resources.projects.resources.instances.resources.tables.resources.schemaBundles.methods.list.parameters.view.enum - resources.projects.resources.instances.resources.tables.resources.schemaBundles.methods.list.parameters.view.enumDescriptions - resources.projects.resources.instances.resources.tables.resources.schemaBundles.methods.list.parameters.view.location - resources.projects.resources.instances.resources.tables.resources.schemaBundles.methods.list.parameters.view.type - schemas.GoogleBigtableAdminV2TypeEnum.description - schemas.GoogleBigtableAdminV2TypeEnum.id - schemas.GoogleBigtableAdminV2TypeEnum.properties.enumName.description - schemas.GoogleBigtableAdminV2TypeEnum.properties.enumName.type - schemas.GoogleBigtableAdminV2TypeEnum.properties.schemaBundleId.description - schemas.GoogleBigtableAdminV2TypeEnum.properties.schemaBundleId.type - schemas.GoogleBigtableAdminV2TypeEnum.type - schemas.GoogleBigtableAdminV2TypeProto.description - schemas.GoogleBigtableAdminV2TypeProto.id - schemas.GoogleBigtableAdminV2TypeProto.properties.messageName.description - schemas.GoogleBigtableAdminV2TypeProto.properties.messageName.type - schemas.GoogleBigtableAdminV2TypeProto.properties.schemaBundleId.description - schemas.GoogleBigtableAdminV2TypeProto.properties.schemaBundleId.type - schemas.GoogleBigtableAdminV2TypeProto.type - schemas.Type.properties.enumType.$ref - schemas.Type.properties.enumType.description - schemas.Type.properties.protoType.$ref - schemas.Type.properties.protoType.description
1 parent 1d9cc8b commit 4eac9c0

File tree

2 files changed

+96
-1
lines changed

2 files changed

+96
-1
lines changed

discovery/bigtableadmin-v2.json

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2933,6 +2933,23 @@
29332933
"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$",
29342934
"required": true,
29352935
"type": "string"
2936+
},
2937+
"view": {
2938+
"description": "Optional. The resource_view to be applied to the returned SchemaBundles' fields. Defaults to NAME_ONLY.",
2939+
"enum": [
2940+
"SCHEMA_BUNDLE_VIEW_UNSPECIFIED",
2941+
"NAME_ONLY",
2942+
"BASIC",
2943+
"FULL"
2944+
],
2945+
"enumDescriptions": [
2946+
"Uses the default view for each method as documented in the request.",
2947+
"Only populates `name`.",
2948+
"Only populates the SchemaBundle's basic metadata. This includes: name, etag, create_time, update_time.",
2949+
"Populates every field."
2950+
],
2951+
"location": "query",
2952+
"type": "string"
29362953
}
29372954
},
29382955
"path": "v2/{+parent}/schemaBundles",
@@ -3151,7 +3168,7 @@
31513168
}
31523169
}
31533170
},
3154-
"revision": "20250624",
3171+
"revision": "20250724",
31553172
"rootUrl": "https://bigtableadmin.googleapis.com/",
31563173
"schemas": {
31573174
"AppProfile": {
@@ -4343,6 +4360,21 @@
43434360
"properties": {},
43444361
"type": "object"
43454362
},
4363+
"GoogleBigtableAdminV2TypeEnum": {
4364+
"description": "A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`.",
4365+
"id": "GoogleBigtableAdminV2TypeEnum",
4366+
"properties": {
4367+
"enumName": {
4368+
"description": "The fully qualified name of the protobuf enum message, including package. In the format of \"foo.bar.EnumMessage\".",
4369+
"type": "string"
4370+
},
4371+
"schemaBundleId": {
4372+
"description": "The ID of the schema bundle that this enum is defined in.",
4373+
"type": "string"
4374+
}
4375+
},
4376+
"type": "object"
4377+
},
43464378
"GoogleBigtableAdminV2TypeFloat32": {
43474379
"description": "Float32 Values of type `Float32` are stored in `Value.float_value`.",
43484380
"id": "GoogleBigtableAdminV2TypeFloat32",
@@ -4414,6 +4446,21 @@
44144446
},
44154447
"type": "object"
44164448
},
4449+
"GoogleBigtableAdminV2TypeProto": {
4450+
"description": "A protobuf message type. Values of type `Proto` are stored in `Value.bytes_value`.",
4451+
"id": "GoogleBigtableAdminV2TypeProto",
4452+
"properties": {
4453+
"messageName": {
4454+
"description": "The fully qualified name of the protobuf message, including package. In the format of \"foo.bar.Message\".",
4455+
"type": "string"
4456+
},
4457+
"schemaBundleId": {
4458+
"description": "The ID of the schema bundle that this proto is defined in.",
4459+
"type": "string"
4460+
}
4461+
},
4462+
"type": "object"
4463+
},
44174464
"GoogleBigtableAdminV2TypeString": {
44184465
"description": "String Values of type `String` are stored in `Value.string_value`.",
44194466
"id": "GoogleBigtableAdminV2TypeString",
@@ -5628,6 +5675,10 @@
56285675
"$ref": "GoogleBigtableAdminV2TypeDate",
56295676
"description": "Date"
56305677
},
5678+
"enumType": {
5679+
"$ref": "GoogleBigtableAdminV2TypeEnum",
5680+
"description": "Enum"
5681+
},
56315682
"float32Type": {
56325683
"$ref": "GoogleBigtableAdminV2TypeFloat32",
56335684
"description": "Float32"
@@ -5644,6 +5695,10 @@
56445695
"$ref": "GoogleBigtableAdminV2TypeMap",
56455696
"description": "Map"
56465697
},
5698+
"protoType": {
5699+
"$ref": "GoogleBigtableAdminV2TypeProto",
5700+
"description": "Proto"
5701+
},
56475702
"stringType": {
56485703
"$ref": "GoogleBigtableAdminV2TypeString",
56495704
"description": "String"

src/apis/bigtableadmin/v2.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,19 @@ export namespace bigtableadmin_v2 {
994994
* Date Values of type `Date` are stored in `Value.date_value`.
995995
*/
996996
export interface Schema$GoogleBigtableAdminV2TypeDate {}
997+
/**
998+
* A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`.
999+
*/
1000+
export interface Schema$GoogleBigtableAdminV2TypeEnum {
1001+
/**
1002+
* The fully qualified name of the protobuf enum message, including package. In the format of "foo.bar.EnumMessage".
1003+
*/
1004+
enumName?: string | null;
1005+
/**
1006+
* The ID of the schema bundle that this enum is defined in.
1007+
*/
1008+
schemaBundleId?: string | null;
1009+
}
9971010
/**
9981011
* Float32 Values of type `Float32` are stored in `Value.float_value`.
9991012
*/
@@ -1050,6 +1063,19 @@ export namespace bigtableadmin_v2 {
10501063
*/
10511064
valueType?: Schema$Type;
10521065
}
1066+
/**
1067+
* A protobuf message type. Values of type `Proto` are stored in `Value.bytes_value`.
1068+
*/
1069+
export interface Schema$GoogleBigtableAdminV2TypeProto {
1070+
/**
1071+
* The fully qualified name of the protobuf message, including package. In the format of "foo.bar.Message".
1072+
*/
1073+
messageName?: string | null;
1074+
/**
1075+
* The ID of the schema bundle that this proto is defined in.
1076+
*/
1077+
schemaBundleId?: string | null;
1078+
}
10531079
/**
10541080
* String Values of type `String` are stored in `Value.string_value`.
10551081
*/
@@ -1934,6 +1960,10 @@ export namespace bigtableadmin_v2 {
19341960
* Date
19351961
*/
19361962
dateType?: Schema$GoogleBigtableAdminV2TypeDate;
1963+
/**
1964+
* Enum
1965+
*/
1966+
enumType?: Schema$GoogleBigtableAdminV2TypeEnum;
19371967
/**
19381968
* Float32
19391969
*/
@@ -1950,6 +1980,10 @@ export namespace bigtableadmin_v2 {
19501980
* Map
19511981
*/
19521982
mapType?: Schema$GoogleBigtableAdminV2TypeMap;
1983+
/**
1984+
* Proto
1985+
*/
1986+
protoType?: Schema$GoogleBigtableAdminV2TypeProto;
19531987
/**
19541988
* String
19551989
*/
@@ -15047,6 +15081,8 @@ export namespace bigtableadmin_v2 {
1504715081
* pageToken: 'placeholder-value',
1504815082
* // Required. The parent, which owns this collection of schema bundles. Values are of the form `projects/{project\}/instances/{instance\}/tables/{table\}`.
1504915083
* parent: 'projects/my-project/instances/my-instance/tables/my-table',
15084+
* // Optional. The resource_view to be applied to the returned SchemaBundles' fields. Defaults to NAME_ONLY.
15085+
* view: 'placeholder-value',
1505015086
* });
1505115087
* console.log(res.data);
1505215088
*
@@ -15701,6 +15737,10 @@ export namespace bigtableadmin_v2 {
1570115737
* Required. The parent, which owns this collection of schema bundles. Values are of the form `projects/{project\}/instances/{instance\}/tables/{table\}`.
1570215738
*/
1570315739
parent?: string;
15740+
/**
15741+
* Optional. The resource_view to be applied to the returned SchemaBundles' fields. Defaults to NAME_ONLY.
15742+
*/
15743+
view?: string;
1570415744
}
1570515745
export interface Params$Resource$Projects$Instances$Tables$Schemabundles$Patch
1570615746
extends StandardParameters {

0 commit comments

Comments
 (0)