@google-cloud/bigquery
Advanced tools
Comparing version 5.4.0 to 5.5.0
@@ -19,4 +19,4 @@ /*! | ||
export { CancelCallback, CancelResponse, Job, JobMetadata, JobOptions, QueryResultsOptions, } from './job'; | ||
export { CopyTableMetadata, CreateCopyJobMetadata, CreateExtractJobOptions, File, FormattedMetadata, GetRowsOptions, InsertRowsCallback, InsertRowsOptions, InsertRowsResponse, JobCallback, JobLoadMetadata, JobMetadataCallback, JobMetadataResponse, JobResponse, RowMetadata, RowsCallback, RowsResponse, SetTableMetadataOptions, Table, TableField, TableMetadata, TableOptions, TableRow, TableRowField, TableRowValue, TableSchema, ViewDefinition, } from './table'; | ||
export { CopyTableMetadata, CreateCopyJobMetadata, CreateExtractJobOptions, File, FormattedMetadata, GetPolicyOptions, GetRowsOptions, InsertRowsCallback, InsertRowsOptions, InsertRowsResponse, JobCallback, JobLoadMetadata, JobMetadataCallback, JobMetadataResponse, JobResponse, PermissionsCallback, PermissionsResponse, Policy, PolicyCallback, PolicyRequest, PolicyResponse, RowMetadata, RowsCallback, RowsResponse, SetPolicyOptions, SetTableMetadataOptions, Table, TableField, TableMetadata, TableOptions, TableRow, TableRowField, TableRowValue, TableSchema, ViewDefinition, } from './table'; | ||
export { Routine } from './routine'; | ||
export { Model } from './model'; |
@@ -81,2 +81,10 @@ /*! | ||
} | ||
export declare type Policy = bigquery.IPolicy; | ||
export declare type GetPolicyOptions = bigquery.IGetPolicyOptions; | ||
export declare type SetPolicyOptions = Omit<bigquery.ISetIamPolicyRequest, 'policy'>; | ||
export declare type PolicyRequest = bigquery.IGetIamPolicyRequest; | ||
export declare type PolicyResponse = [Policy]; | ||
export declare type PolicyCallback = RequestCallback<PolicyResponse>; | ||
export declare type PermissionsResponse = [bigquery.ITestIamPermissionsResponse]; | ||
export declare type PermissionsCallback = RequestCallback<PermissionsResponse>; | ||
export interface TableOptions { | ||
@@ -303,2 +311,9 @@ location?: string; | ||
setMetadata(metadata: SetTableMetadataOptions, callback: common.ResponseCallback): void; | ||
getIamPolicy(optionsOrCallback?: GetPolicyOptions | PolicyCallback): Promise<PolicyResponse>; | ||
getIamPolicy(options: GetPolicyOptions, callback: PolicyCallback): void; | ||
setIamPolicy(policy: Policy, options?: SetPolicyOptions): Promise<PolicyResponse>; | ||
setIamPolicy(policy: Policy, options: SetPolicyOptions, callback: PolicyCallback): void; | ||
setIamPolicy(policy: Policy, callback: PolicyCallback): void; | ||
testIamPermissions(permissions: string | string[]): Promise<PermissionsResponse>; | ||
testIamPermissions(permissions: string | string[], callback: PermissionsCallback): void; | ||
} | ||
@@ -305,0 +320,0 @@ /** |
@@ -7,2 +7,14 @@ # Changelog | ||
## [5.5.0](https://www.github.com/googleapis/nodejs-bigquery/compare/v5.4.0...v5.5.0) (2020-11-10) | ||
### Features | ||
* Add support for Table IAM policies ([#892](https://www.github.com/googleapis/nodejs-bigquery/issues/892)) ([005422a](https://www.github.com/googleapis/nodejs-bigquery/commit/005422a07a46edd0eaf3fba3035753b42a86dadb)) | ||
### Bug Fixes | ||
* update returned Job with API-determined location ([#890](https://www.github.com/googleapis/nodejs-bigquery/issues/890)) ([3894140](https://www.github.com/googleapis/nodejs-bigquery/commit/38941409c63221bf704ee8580ab3b032802ddc4e)) | ||
## [5.4.0](https://www.github.com/googleapis/nodejs-bigquery/compare/v5.3.0...v5.4.0) (2020-11-02) | ||
@@ -9,0 +21,0 @@ |
{ | ||
"name": "@google-cloud/bigquery", | ||
"description": "Google BigQuery Client Library for Node.js", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google LLC", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
531469
10674