Skip to content

Commit ba9ee0a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(metastore)!: update the API
BREAKING CHANGE: This release has breaking changes. #### metastore:v1alpha The following keys were deleted: - schemas.CustomRegionMetadata.description - schemas.CustomRegionMetadata.id - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.description - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.items.type - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.description - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.items.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.type - schemas.CustomRegionMetadata.properties.witnessRegion.description - schemas.CustomRegionMetadata.properties.witnessRegion.type - schemas.CustomRegionMetadata.type - schemas.LocationMetadata.properties.customRegionMetadata.description - schemas.LocationMetadata.properties.customRegionMetadata.items.$ref - schemas.LocationMetadata.properties.customRegionMetadata.type #### metastore:v1beta The following keys were deleted: - schemas.CustomRegionMetadata.description - schemas.CustomRegionMetadata.id - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.description - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.items.type - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.description - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.items.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.type - schemas.CustomRegionMetadata.properties.witnessRegion.description - schemas.CustomRegionMetadata.properties.witnessRegion.type - schemas.CustomRegionMetadata.type - schemas.LocationMetadata.properties.customRegionMetadata.description - schemas.LocationMetadata.properties.customRegionMetadata.items.$ref - schemas.LocationMetadata.properties.customRegionMetadata.type #### metastore:v1 The following keys were deleted: - schemas.CustomRegionMetadata.description - schemas.CustomRegionMetadata.id - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.description - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.items.type - schemas.CustomRegionMetadata.properties.optionalReadOnlyRegions.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.description - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.items.type - schemas.CustomRegionMetadata.properties.requiredReadWriteRegions.type - schemas.CustomRegionMetadata.properties.witnessRegion.description - schemas.CustomRegionMetadata.properties.witnessRegion.type - schemas.CustomRegionMetadata.type - schemas.LocationMetadata.properties.customRegionMetadata.description - schemas.LocationMetadata.properties.customRegionMetadata.items.$ref - schemas.LocationMetadata.properties.customRegionMetadata.type
1 parent a81ec3c commit ba9ee0a

File tree

6 files changed

+3
-162
lines changed

6 files changed

+3
-162
lines changed

discovery/metastore-v1.json

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@
14951495
}
14961496
}
14971497
},
1498-
"revision": "20240516",
1498+
"revision": "20240613",
14991499
"rootUrl": "https://metastore.googleapis.com/",
15001500
"schemas": {
15011501
"AlterMetadataResourceLocationRequest": {
@@ -1748,31 +1748,6 @@
17481748
},
17491749
"type": "object"
17501750
},
1751-
"CustomRegionMetadata": {
1752-
"description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.",
1753-
"id": "CustomRegionMetadata",
1754-
"properties": {
1755-
"optionalReadOnlyRegions": {
1756-
"description": "The read-only regions for this custom region.",
1757-
"items": {
1758-
"type": "string"
1759-
},
1760-
"type": "array"
1761-
},
1762-
"requiredReadWriteRegions": {
1763-
"description": "The read-write regions for this custom region.",
1764-
"items": {
1765-
"type": "string"
1766-
},
1767-
"type": "array"
1768-
},
1769-
"witnessRegion": {
1770-
"description": "The Spanner witness region for this custom region.",
1771-
"type": "string"
1772-
}
1773-
},
1774-
"type": "object"
1775-
},
17761751
"DataCatalogConfig": {
17771752
"description": "Specifies how metastore metadata should be integrated with the Data Catalog service.",
17781753
"id": "DataCatalogConfig",
@@ -2279,13 +2254,6 @@
22792254
"description": "Metadata about the service in a location.",
22802255
"id": "LocationMetadata",
22812256
"properties": {
2282-
"customRegionMetadata": {
2283-
"description": "Possible configurations supported if the current region is a custom region.",
2284-
"items": {
2285-
"$ref": "CustomRegionMetadata"
2286-
},
2287-
"type": "array"
2288-
},
22892257
"multiRegionMetadata": {
22902258
"$ref": "MultiRegionMetadata",
22912259
"description": "The multi-region metadata if the current region is a multi-region."

discovery/metastore-v1alpha.json

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@
17961796
}
17971797
}
17981798
},
1799-
"revision": "20240516",
1799+
"revision": "20240613",
18001800
"rootUrl": "https://metastore.googleapis.com/",
18011801
"schemas": {
18021802
"AlterMetadataResourceLocationRequest": {
@@ -2196,31 +2196,6 @@
21962196
},
21972197
"type": "object"
21982198
},
2199-
"CustomRegionMetadata": {
2200-
"description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.",
2201-
"id": "CustomRegionMetadata",
2202-
"properties": {
2203-
"optionalReadOnlyRegions": {
2204-
"description": "The read-only regions for this custom region.",
2205-
"items": {
2206-
"type": "string"
2207-
},
2208-
"type": "array"
2209-
},
2210-
"requiredReadWriteRegions": {
2211-
"description": "The read-write regions for this custom region.",
2212-
"items": {
2213-
"type": "string"
2214-
},
2215-
"type": "array"
2216-
},
2217-
"witnessRegion": {
2218-
"description": "The Spanner witness region for this custom region.",
2219-
"type": "string"
2220-
}
2221-
},
2222-
"type": "object"
2223-
},
22242199
"DataCatalogConfig": {
22252200
"description": "Specifies how metastore metadata should be integrated with the Data Catalog service.",
22262201
"id": "DataCatalogConfig",
@@ -2794,13 +2769,6 @@
27942769
"description": "Metadata about the service in a location.",
27952770
"id": "LocationMetadata",
27962771
"properties": {
2797-
"customRegionMetadata": {
2798-
"description": "Possible configurations supported if the current region is a custom region.",
2799-
"items": {
2800-
"$ref": "CustomRegionMetadata"
2801-
},
2802-
"type": "array"
2803-
},
28042772
"multiRegionMetadata": {
28052773
"$ref": "MultiRegionMetadata",
28062774
"description": "The multi-region metadata if the current region is a multi-region."

discovery/metastore-v1beta.json

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@
17961796
}
17971797
}
17981798
},
1799-
"revision": "20240516",
1799+
"revision": "20240613",
18001800
"rootUrl": "https://metastore.googleapis.com/",
18011801
"schemas": {
18021802
"AlterMetadataResourceLocationRequest": {
@@ -2196,31 +2196,6 @@
21962196
},
21972197
"type": "object"
21982198
},
2199-
"CustomRegionMetadata": {
2200-
"description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.",
2201-
"id": "CustomRegionMetadata",
2202-
"properties": {
2203-
"optionalReadOnlyRegions": {
2204-
"description": "The read-only regions for this custom region.",
2205-
"items": {
2206-
"type": "string"
2207-
},
2208-
"type": "array"
2209-
},
2210-
"requiredReadWriteRegions": {
2211-
"description": "The read-write regions for this custom region.",
2212-
"items": {
2213-
"type": "string"
2214-
},
2215-
"type": "array"
2216-
},
2217-
"witnessRegion": {
2218-
"description": "The Spanner witness region for this custom region.",
2219-
"type": "string"
2220-
}
2221-
},
2222-
"type": "object"
2223-
},
22242199
"DataCatalogConfig": {
22252200
"description": "Specifies how metastore metadata should be integrated with the Data Catalog service.",
22262201
"id": "DataCatalogConfig",
@@ -2794,13 +2769,6 @@
27942769
"description": "Metadata about the service in a location.",
27952770
"id": "LocationMetadata",
27962771
"properties": {
2797-
"customRegionMetadata": {
2798-
"description": "Possible configurations supported if the current region is a custom region.",
2799-
"items": {
2800-
"$ref": "CustomRegionMetadata"
2801-
},
2802-
"type": "array"
2803-
},
28042772
"multiRegionMetadata": {
28052773
"$ref": "MultiRegionMetadata",
28062774
"description": "The multi-region metadata if the current region is a multi-region."

src/apis/metastore/v1.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -285,23 +285,6 @@ export namespace metastore_v1 {
285285
*/
286286
subnetwork?: string | null;
287287
}
288-
/**
289-
* Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.
290-
*/
291-
export interface Schema$CustomRegionMetadata {
292-
/**
293-
* The read-only regions for this custom region.
294-
*/
295-
optionalReadOnlyRegions?: string[] | null;
296-
/**
297-
* The read-write regions for this custom region.
298-
*/
299-
requiredReadWriteRegions?: string[] | null;
300-
/**
301-
* The Spanner witness region for this custom region.
302-
*/
303-
witnessRegion?: string | null;
304-
}
305288
/**
306289
* A specification of the location of and metadata about a database dump from a relational database management system.
307290
*/
@@ -636,10 +619,6 @@ export namespace metastore_v1 {
636619
* Metadata about the service in a location.
637620
*/
638621
export interface Schema$LocationMetadata {
639-
/**
640-
* Possible configurations supported if the current region is a custom region.
641-
*/
642-
customRegionMetadata?: Schema$CustomRegionMetadata[];
643622
/**
644623
* The multi-region metadata if the current region is a multi-region.
645624
*/

src/apis/metastore/v1alpha.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -411,23 +411,6 @@ export namespace metastore_v1alpha {
411411
*/
412412
subnetwork?: string | null;
413413
}
414-
/**
415-
* Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.
416-
*/
417-
export interface Schema$CustomRegionMetadata {
418-
/**
419-
* The read-only regions for this custom region.
420-
*/
421-
optionalReadOnlyRegions?: string[] | null;
422-
/**
423-
* The read-write regions for this custom region.
424-
*/
425-
requiredReadWriteRegions?: string[] | null;
426-
/**
427-
* The Spanner witness region for this custom region.
428-
*/
429-
witnessRegion?: string | null;
430-
}
431414
/**
432415
* A specification of the location of and metadata about a database dump from a relational database management system.
433416
*/
@@ -810,10 +793,6 @@ export namespace metastore_v1alpha {
810793
* Metadata about the service in a location.
811794
*/
812795
export interface Schema$LocationMetadata {
813-
/**
814-
* Possible configurations supported if the current region is a custom region.
815-
*/
816-
customRegionMetadata?: Schema$CustomRegionMetadata[];
817796
/**
818797
* The multi-region metadata if the current region is a multi-region.
819798
*/

src/apis/metastore/v1beta.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -411,23 +411,6 @@ export namespace metastore_v1beta {
411411
*/
412412
subnetwork?: string | null;
413413
}
414-
/**
415-
* Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.
416-
*/
417-
export interface Schema$CustomRegionMetadata {
418-
/**
419-
* The read-only regions for this custom region.
420-
*/
421-
optionalReadOnlyRegions?: string[] | null;
422-
/**
423-
* The read-write regions for this custom region.
424-
*/
425-
requiredReadWriteRegions?: string[] | null;
426-
/**
427-
* The Spanner witness region for this custom region.
428-
*/
429-
witnessRegion?: string | null;
430-
}
431414
/**
432415
* A specification of the location of and metadata about a database dump from a relational database management system.
433416
*/
@@ -810,10 +793,6 @@ export namespace metastore_v1beta {
810793
* Metadata about the service in a location.
811794
*/
812795
export interface Schema$LocationMetadata {
813-
/**
814-
* Possible configurations supported if the current region is a custom region.
815-
*/
816-
customRegionMetadata?: Schema$CustomRegionMetadata[];
817796
/**
818797
* The multi-region metadata if the current region is a multi-region.
819798
*/

0 commit comments

Comments
 (0)