Skip to content

Commit 4f1fb0c

Browse files
yoshi-automationsofisl
authored andcommittedAug 8, 2023
feat(bigtableadmin)!: update the API
BREAKING CHANGE: This release has breaking changes. #### bigtableadmin:v2 The following keys were deleted: - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.description - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.flatPath - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.httpMethod - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.id - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameterOrder - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.path - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.request.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.response.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.getIamPolicy.scopes - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.description - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.flatPath - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.httpMethod - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.id - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameterOrder - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.path - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.request.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.response.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.setIamPolicy.scopes - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.description - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.flatPath - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.httpMethod - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.id - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameterOrder - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.path - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.request.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.response.$ref - resources.projects.resources.instances.resources.tables.resources.views.methods.testIamPermissions.scopes The following keys were changed: - schemas.Backup.properties.expireTime.description - schemas.Cluster.properties.serveNodes.description
1 parent 4e77b1d commit 4f1fb0c

File tree

4 files changed

+9
-3545
lines changed

4 files changed

+9
-3545
lines changed
 

‎discovery/bigtableadmin-v2.json

+3-105
Original file line numberDiff line numberDiff line change
@@ -1877,108 +1877,6 @@
18771877
"https://www.googleapis.com/auth/cloud-platform"
18781878
]
18791879
}
1880-
},
1881-
"resources": {
1882-
"views": {
1883-
"methods": {
1884-
"getIamPolicy": {
1885-
"description": "Gets the access control policy for a Table resource. Returns an empty policy if the resource exists but does not have a policy set.",
1886-
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/views/{viewsId}:getIamPolicy",
1887-
"httpMethod": "POST",
1888-
"id": "bigtableadmin.projects.instances.tables.views.getIamPolicy",
1889-
"parameterOrder": [
1890-
"resource"
1891-
],
1892-
"parameters": {
1893-
"resource": {
1894-
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1895-
"location": "path",
1896-
"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/views/[^/]+$",
1897-
"required": true,
1898-
"type": "string"
1899-
}
1900-
},
1901-
"path": "v2/{+resource}:getIamPolicy",
1902-
"request": {
1903-
"$ref": "GetIamPolicyRequest"
1904-
},
1905-
"response": {
1906-
"$ref": "Policy"
1907-
},
1908-
"scopes": [
1909-
"https://www.googleapis.com/auth/bigtable.admin",
1910-
"https://www.googleapis.com/auth/bigtable.admin.table",
1911-
"https://www.googleapis.com/auth/cloud-bigtable.admin",
1912-
"https://www.googleapis.com/auth/cloud-bigtable.admin.table",
1913-
"https://www.googleapis.com/auth/cloud-platform"
1914-
]
1915-
},
1916-
"setIamPolicy": {
1917-
"description": "Sets the access control policy on a Table resource. Replaces any existing policy.",
1918-
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/views/{viewsId}:setIamPolicy",
1919-
"httpMethod": "POST",
1920-
"id": "bigtableadmin.projects.instances.tables.views.setIamPolicy",
1921-
"parameterOrder": [
1922-
"resource"
1923-
],
1924-
"parameters": {
1925-
"resource": {
1926-
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1927-
"location": "path",
1928-
"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/views/[^/]+$",
1929-
"required": true,
1930-
"type": "string"
1931-
}
1932-
},
1933-
"path": "v2/{+resource}:setIamPolicy",
1934-
"request": {
1935-
"$ref": "SetIamPolicyRequest"
1936-
},
1937-
"response": {
1938-
"$ref": "Policy"
1939-
},
1940-
"scopes": [
1941-
"https://www.googleapis.com/auth/bigtable.admin",
1942-
"https://www.googleapis.com/auth/bigtable.admin.table",
1943-
"https://www.googleapis.com/auth/cloud-bigtable.admin",
1944-
"https://www.googleapis.com/auth/cloud-bigtable.admin.table",
1945-
"https://www.googleapis.com/auth/cloud-platform"
1946-
]
1947-
},
1948-
"testIamPermissions": {
1949-
"description": "Returns permissions that the caller has on the specified table resource.",
1950-
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/views/{viewsId}:testIamPermissions",
1951-
"httpMethod": "POST",
1952-
"id": "bigtableadmin.projects.instances.tables.views.testIamPermissions",
1953-
"parameterOrder": [
1954-
"resource"
1955-
],
1956-
"parameters": {
1957-
"resource": {
1958-
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1959-
"location": "path",
1960-
"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/views/[^/]+$",
1961-
"required": true,
1962-
"type": "string"
1963-
}
1964-
},
1965-
"path": "v2/{+resource}:testIamPermissions",
1966-
"request": {
1967-
"$ref": "TestIamPermissionsRequest"
1968-
},
1969-
"response": {
1970-
"$ref": "TestIamPermissionsResponse"
1971-
},
1972-
"scopes": [
1973-
"https://www.googleapis.com/auth/bigtable.admin",
1974-
"https://www.googleapis.com/auth/bigtable.admin.table",
1975-
"https://www.googleapis.com/auth/cloud-bigtable.admin",
1976-
"https://www.googleapis.com/auth/cloud-bigtable.admin.table",
1977-
"https://www.googleapis.com/auth/cloud-platform"
1978-
]
1979-
}
1980-
}
1981-
}
19821880
}
19831881
}
19841882
}
@@ -2068,7 +1966,7 @@
20681966
}
20691967
}
20701968
},
2071-
"revision": "20230619",
1969+
"revision": "20230731",
20721970
"rootUrl": "https://bigtableadmin.googleapis.com/",
20731971
"schemas": {
20741972
"AppProfile": {
@@ -2196,7 +2094,7 @@
21962094
"type": "string"
21972095
},
21982096
"expireTime": {
2199-
"description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.",
2097+
"description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.",
22002098
"format": "google-datetime",
22012099
"type": "string"
22022100
},
@@ -2368,7 +2266,7 @@
23682266
"type": "string"
23692267
},
23702268
"serveNodes": {
2371-
"description": "The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.",
2269+
"description": "The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.",
23722270
"format": "int32",
23732271
"type": "integer"
23742272
},

‎src/apis/bigtableadmin/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function bigtableadmin(
3131
options: bigtableadmin_v2.Options
3232
): bigtableadmin_v2.Bigtableadmin;
3333
export function bigtableadmin<
34-
T = bigtableadmin_v1.Bigtableadmin | bigtableadmin_v2.Bigtableadmin
34+
T = bigtableadmin_v1.Bigtableadmin | bigtableadmin_v2.Bigtableadmin,
3535
>(
3636
this: GoogleConfigurable,
3737
versionOrOptions:

‎src/apis/bigtableadmin/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
1919
},
2020
"engines": {
21-
"node": ">=14.0.0"
21+
"node": ">=12.0.0"
2222
},
2323
"scripts": {
2424
"fix": "gts fix",
@@ -33,10 +33,10 @@
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",
3535
"@microsoft/api-extractor": "^7.8.10",
36-
"gts": "^5.0.0",
36+
"gts": "^3.1.1",
3737
"null-loader": "^4.0.0",
3838
"ts-loader": "^9.0.0",
39-
"typescript": "^5.1.6",
39+
"typescript": "~4.8.4",
4040
"webpack": "^5.0.0",
4141
"webpack-cli": "^5.0.0"
4242
}

‎src/apis/bigtableadmin/v2.ts

+2-3,436
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.