Skip to content

Commit 0c44609

Browse files
feat(metastore): update the API
#### metastore:v1alpha The following keys were added: - schemas.MultiRegionMetadata.properties.continent.description - schemas.MultiRegionMetadata.properties.continent.type - schemas.MultiRegionMetadata.properties.witnessRegion.description - schemas.MultiRegionMetadata.properties.witnessRegion.type #### metastore:v2alpha The following keys were added: - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.type The following keys were changed: - schemas.GoogleCloudMetastoreV2alphaDatabaseDump.description #### metastore:v1beta The following keys were added: - schemas.MultiRegionMetadata.properties.continent.description - schemas.MultiRegionMetadata.properties.continent.type - schemas.MultiRegionMetadata.properties.witnessRegion.description - schemas.MultiRegionMetadata.properties.witnessRegion.type #### metastore:v2beta The following keys were added: - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.type The following keys were changed: - schemas.GoogleCloudMetastoreV2betaDatabaseDump.description #### metastore:v1 The following keys were added: - schemas.MultiRegionMetadata.properties.continent.description - schemas.MultiRegionMetadata.properties.continent.type - schemas.MultiRegionMetadata.properties.witnessRegion.description - schemas.MultiRegionMetadata.properties.witnessRegion.type #### metastore:v2 The following keys were added: - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1MultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1alphaMultiRegionMetadata.properties.witnessRegion.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.continent.type - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.description - schemas.GoogleCloudMetastoreV1betaMultiRegionMetadata.properties.witnessRegion.type The following keys were changed: - schemas.GoogleCloudMetastoreV2DatabaseDump.description
1 parent 1e2ee7c commit 0c44609

File tree

12 files changed

+204
-12
lines changed

12 files changed

+204
-12
lines changed

discovery/metastore-v1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@
16841684
}
16851685
}
16861686
},
1687-
"revision": "20250121",
1687+
"revision": "20250227",
16881688
"rootUrl": "https://metastore.googleapis.com/",
16891689
"schemas": {
16901690
"AlterMetadataResourceLocationRequest": {
@@ -2948,6 +2948,14 @@
29482948
"type": "string"
29492949
},
29502950
"type": "array"
2951+
},
2952+
"continent": {
2953+
"description": "The continent for this multi-region.",
2954+
"type": "string"
2955+
},
2956+
"witnessRegion": {
2957+
"description": "The Spanner witness region for this multi-region.",
2958+
"type": "string"
29512959
}
29522960
},
29532961
"type": "object"

discovery/metastore-v1alpha.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@
17961796
}
17971797
}
17981798
},
1799-
"revision": "20250121",
1799+
"revision": "20250227",
18001800
"rootUrl": "https://metastore.googleapis.com/",
18011801
"schemas": {
18021802
"AlterMetadataResourceLocationRequest": {
@@ -3153,6 +3153,14 @@
31533153
"type": "string"
31543154
},
31553155
"type": "array"
3156+
},
3157+
"continent": {
3158+
"description": "The continent for this multi-region.",
3159+
"type": "string"
3160+
},
3161+
"witnessRegion": {
3162+
"description": "The Spanner witness region for this multi-region.",
3163+
"type": "string"
31563164
}
31573165
},
31583166
"type": "object"

discovery/metastore-v1beta.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@
17961796
}
17971797
}
17981798
},
1799-
"revision": "20250121",
1799+
"revision": "20250227",
18001800
"rootUrl": "https://metastore.googleapis.com/",
18011801
"schemas": {
18021802
"AlterMetadataResourceLocationRequest": {
@@ -3153,6 +3153,14 @@
31533153
"type": "string"
31543154
},
31553155
"type": "array"
3156+
},
3157+
"continent": {
3158+
"description": "The continent for this multi-region.",
3159+
"type": "string"
3160+
},
3161+
"witnessRegion": {
3162+
"description": "The Spanner witness region for this multi-region.",
3163+
"type": "string"
31563164
}
31573165
},
31583166
"type": "object"

discovery/metastore-v2.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
}
638638
}
639639
},
640-
"revision": "20241203",
640+
"revision": "20250227",
641641
"rootUrl": "https://metastore.googleapis.com/",
642642
"schemas": {
643643
"GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": {
@@ -741,6 +741,14 @@
741741
"type": "string"
742742
},
743743
"type": "array"
744+
},
745+
"continent": {
746+
"description": "The continent for this multi-region.",
747+
"type": "string"
748+
},
749+
"witnessRegion": {
750+
"description": "The Spanner witness region for this multi-region.",
751+
"type": "string"
744752
}
745753
},
746754
"type": "object"
@@ -923,6 +931,14 @@
923931
"type": "string"
924932
},
925933
"type": "array"
934+
},
935+
"continent": {
936+
"description": "The continent for this multi-region.",
937+
"type": "string"
938+
},
939+
"witnessRegion": {
940+
"description": "The Spanner witness region for this multi-region.",
941+
"type": "string"
926942
}
927943
},
928944
"type": "object"
@@ -1105,6 +1121,14 @@
11051121
"type": "string"
11061122
},
11071123
"type": "array"
1124+
},
1125+
"continent": {
1126+
"description": "The continent for this multi-region.",
1127+
"type": "string"
1128+
},
1129+
"witnessRegion": {
1130+
"description": "The Spanner witness region for this multi-region.",
1131+
"type": "string"
11081132
}
11091133
},
11101134
"type": "object"
@@ -1301,7 +1325,7 @@
13011325
"type": "object"
13021326
},
13031327
"GoogleCloudMetastoreV2DatabaseDump": {
1304-
"description": "A specification of the location of and metadata about a database dump from a relational database management system.",
1328+
"description": "A specification of the location and metadata type for a database dump from a relational database management system.",
13051329
"id": "GoogleCloudMetastoreV2DatabaseDump",
13061330
"properties": {
13071331
"gcsUri": {

discovery/metastore-v2alpha.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@
854854
}
855855
}
856856
},
857-
"revision": "20241203",
857+
"revision": "20250227",
858858
"rootUrl": "https://metastore.googleapis.com/",
859859
"schemas": {
860860
"GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": {
@@ -958,6 +958,14 @@
958958
"type": "string"
959959
},
960960
"type": "array"
961+
},
962+
"continent": {
963+
"description": "The continent for this multi-region.",
964+
"type": "string"
965+
},
966+
"witnessRegion": {
967+
"description": "The Spanner witness region for this multi-region.",
968+
"type": "string"
961969
}
962970
},
963971
"type": "object"
@@ -1140,6 +1148,14 @@
11401148
"type": "string"
11411149
},
11421150
"type": "array"
1151+
},
1152+
"continent": {
1153+
"description": "The continent for this multi-region.",
1154+
"type": "string"
1155+
},
1156+
"witnessRegion": {
1157+
"description": "The Spanner witness region for this multi-region.",
1158+
"type": "string"
11431159
}
11441160
},
11451161
"type": "object"
@@ -1322,6 +1338,14 @@
13221338
"type": "string"
13231339
},
13241340
"type": "array"
1341+
},
1342+
"continent": {
1343+
"description": "The continent for this multi-region.",
1344+
"type": "string"
1345+
},
1346+
"witnessRegion": {
1347+
"description": "The Spanner witness region for this multi-region.",
1348+
"type": "string"
13251349
}
13261350
},
13271351
"type": "object"
@@ -1641,7 +1665,7 @@
16411665
"type": "object"
16421666
},
16431667
"GoogleCloudMetastoreV2alphaDatabaseDump": {
1644-
"description": "A specification of the location of and metadata about a database dump from a relational database management system.",
1668+
"description": "A specification of the location and metadata type for a database dump from a relational database management system.",
16451669
"id": "GoogleCloudMetastoreV2alphaDatabaseDump",
16461670
"properties": {
16471671
"gcsUri": {

discovery/metastore-v2beta.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@
854854
}
855855
}
856856
},
857-
"revision": "20241203",
857+
"revision": "20250227",
858858
"rootUrl": "https://metastore.googleapis.com/",
859859
"schemas": {
860860
"GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": {
@@ -958,6 +958,14 @@
958958
"type": "string"
959959
},
960960
"type": "array"
961+
},
962+
"continent": {
963+
"description": "The continent for this multi-region.",
964+
"type": "string"
965+
},
966+
"witnessRegion": {
967+
"description": "The Spanner witness region for this multi-region.",
968+
"type": "string"
961969
}
962970
},
963971
"type": "object"
@@ -1140,6 +1148,14 @@
11401148
"type": "string"
11411149
},
11421150
"type": "array"
1151+
},
1152+
"continent": {
1153+
"description": "The continent for this multi-region.",
1154+
"type": "string"
1155+
},
1156+
"witnessRegion": {
1157+
"description": "The Spanner witness region for this multi-region.",
1158+
"type": "string"
11431159
}
11441160
},
11451161
"type": "object"
@@ -1322,6 +1338,14 @@
13221338
"type": "string"
13231339
},
13241340
"type": "array"
1341+
},
1342+
"continent": {
1343+
"description": "The continent for this multi-region.",
1344+
"type": "string"
1345+
},
1346+
"witnessRegion": {
1347+
"description": "The Spanner witness region for this multi-region.",
1348+
"type": "string"
13251349
}
13261350
},
13271351
"type": "object"
@@ -1641,7 +1665,7 @@
16411665
"type": "object"
16421666
},
16431667
"GoogleCloudMetastoreV2betaDatabaseDump": {
1644-
"description": "A specification of the location of and metadata about a database dump from a relational database management system.",
1668+
"description": "A specification of the location and metadata type for a database dump from a relational database management system.",
16451669
"id": "GoogleCloudMetastoreV2betaDatabaseDump",
16461670
"properties": {
16471671
"gcsUri": {

src/apis/metastore/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,14 @@ export namespace metastore_v1 {
942942
* The regions constituting the multi-region.
943943
*/
944944
constituentRegions?: string[] | null;
945+
/**
946+
* The continent for this multi-region.
947+
*/
948+
continent?: string | null;
949+
/**
950+
* The Spanner witness region for this multi-region.
951+
*/
952+
witnessRegion?: string | null;
945953
}
946954
/**
947955
* Network configuration for the Dataproc Metastore service.

src/apis/metastore/v1alpha.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,14 @@ export namespace metastore_v1alpha {
10051005
* The regions constituting the multi-region.
10061006
*/
10071007
constituentRegions?: string[] | null;
1008+
/**
1009+
* The continent for this multi-region.
1010+
*/
1011+
continent?: string | null;
1012+
/**
1013+
* The Spanner witness region for this multi-region.
1014+
*/
1015+
witnessRegion?: string | null;
10081016
}
10091017
/**
10101018
* Network configuration for the Dataproc Metastore service.

src/apis/metastore/v1beta.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,14 @@ export namespace metastore_v1beta {
10051005
* The regions constituting the multi-region.
10061006
*/
10071007
constituentRegions?: string[] | null;
1008+
/**
1009+
* The continent for this multi-region.
1010+
*/
1011+
continent?: string | null;
1012+
/**
1013+
* The Spanner witness region for this multi-region.
1014+
*/
1015+
witnessRegion?: string | null;
10081016
}
10091017
/**
10101018
* Network configuration for the Dataproc Metastore service.

src/apis/metastore/v2.ts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,14 @@ export namespace metastore_v2 {
214214
* The regions constituting the multi-region.
215215
*/
216216
constituentRegions?: string[] | null;
217+
/**
218+
* The continent for this multi-region.
219+
*/
220+
continent?: string | null;
221+
/**
222+
* The Spanner witness region for this multi-region.
223+
*/
224+
witnessRegion?: string | null;
217225
}
218226
/**
219227
* Represents the metadata of a long-running operation.
@@ -351,6 +359,14 @@ export namespace metastore_v2 {
351359
* The regions constituting the multi-region.
352360
*/
353361
constituentRegions?: string[] | null;
362+
/**
363+
* The continent for this multi-region.
364+
*/
365+
continent?: string | null;
366+
/**
367+
* The Spanner witness region for this multi-region.
368+
*/
369+
witnessRegion?: string | null;
354370
}
355371
/**
356372
* Represents the metadata of a long-running operation.
@@ -462,6 +478,14 @@ export namespace metastore_v2 {
462478
* The regions constituting the multi-region.
463479
*/
464480
constituentRegions?: string[] | null;
481+
/**
482+
* The continent for this multi-region.
483+
*/
484+
continent?: string | null;
485+
/**
486+
* The Spanner witness region for this multi-region.
487+
*/
488+
witnessRegion?: string | null;
465489
}
466490
/**
467491
* Represents the metadata of a long-running operation.
@@ -586,7 +610,7 @@ export namespace metastore_v2 {
586610
state?: string | null;
587611
}
588612
/**
589-
* A specification of the location of and metadata about a database dump from a relational database management system.
613+
* A specification of the location and metadata type for a database dump from a relational database management system.
590614
*/
591615
export interface Schema$GoogleCloudMetastoreV2DatabaseDump {
592616
/**

0 commit comments

Comments
 (0)