@maxim_mazurok/gapi.client.bigquery-v2 0.1.20260513 → 0.1.20260605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +41 -41
- package/package.json +1 -1
- package/readme.md +39 -39
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260605
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1711,7 +1711,7 @@ declare namespace gapi.client {
|
|
|
1711
1711
|
totalServicesSkuSlotMs?: string;
|
|
1712
1712
|
/** Output only. Slot-milliseconds for the job. */
|
|
1713
1713
|
totalSlotMs?: string;
|
|
1714
|
-
/** Output only. Total bytes transferred for
|
|
1714
|
+
/** Output only. Total bytes transferred for BigQuery Omni queries from the remote cloud back to Google Cloud. This tracks data movement over Google-managed connections (like query results). It doesn't include input data read from the external data lake (for example, S3) because that data stays within the remote cloud. */
|
|
1715
1715
|
transferredBytes?: string;
|
|
1716
1716
|
/** Output only. GoogleSQL only: list of undeclared query parameters detected during a dry run validation. */
|
|
1717
1717
|
undeclaredQueryParameters?: QueryParameter[];
|
|
@@ -3531,7 +3531,7 @@ declare namespace gapi.client {
|
|
|
3531
3531
|
userDefinedFunctionResources?: UserDefinedFunctionResource[];
|
|
3532
3532
|
}
|
|
3533
3533
|
interface DatasetsResource {
|
|
3534
|
-
/** Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. */
|
|
3534
|
+
/** Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. # IAM Permissions Requires the `bigquery.datasets.delete` permission on the dataset. */
|
|
3535
3535
|
delete(request?: {
|
|
3536
3536
|
/** V1 error format. */
|
|
3537
3537
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3562,7 +3562,7 @@ declare namespace gapi.client {
|
|
|
3562
3562
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3563
3563
|
uploadType?: string;
|
|
3564
3564
|
}): Request<void>;
|
|
3565
|
-
/** Returns the dataset specified by datasetID. */
|
|
3565
|
+
/** Returns the dataset specified by datasetID. # IAM Permissions Requires the `bigquery.datasets.get` permission on the dataset. */
|
|
3566
3566
|
get(request?: {
|
|
3567
3567
|
/** V1 error format. */
|
|
3568
3568
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3595,7 +3595,7 @@ declare namespace gapi.client {
|
|
|
3595
3595
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3596
3596
|
uploadType?: string;
|
|
3597
3597
|
}): Request<Dataset>;
|
|
3598
|
-
/** Creates a new empty dataset. */
|
|
3598
|
+
/** Creates a new empty dataset. # IAM Permissions Requires the `bigquery.datasets.create` permission on the project. */
|
|
3599
3599
|
insert(request: {
|
|
3600
3600
|
/** V1 error format. */
|
|
3601
3601
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3657,7 +3657,7 @@ declare namespace gapi.client {
|
|
|
3657
3657
|
},
|
|
3658
3658
|
body: Dataset,
|
|
3659
3659
|
): Request<Dataset>;
|
|
3660
|
-
/** Lists all datasets in the specified project to which the user has been granted the READER dataset role. */
|
|
3660
|
+
/** Lists all datasets in the specified project to which the user has been granted the READER dataset role. # IAM Permissions Requires no specific IAM permission(s) to use this method. Results are filtered to only include datasets on which the caller has the `bigquery.datasets.get` permission. */
|
|
3661
3661
|
list(request?: {
|
|
3662
3662
|
/** V1 error format. */
|
|
3663
3663
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3692,7 +3692,7 @@ declare namespace gapi.client {
|
|
|
3692
3692
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3693
3693
|
uploadType?: string;
|
|
3694
3694
|
}): Request<DatasetList>;
|
|
3695
|
-
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics. */
|
|
3695
|
+
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.datasets.update` on the dataset. - `bigquery.datasets.get` on the dataset. */
|
|
3696
3696
|
patch(request: {
|
|
3697
3697
|
/** V1 error format. */
|
|
3698
3698
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3770,7 +3770,7 @@ declare namespace gapi.client {
|
|
|
3770
3770
|
},
|
|
3771
3771
|
body: Dataset,
|
|
3772
3772
|
): Request<Dataset>;
|
|
3773
|
-
/** Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. */
|
|
3773
|
+
/** Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.datasets.create` on the project. - `bigquery.datasets.get` on the dataset. */
|
|
3774
3774
|
undelete(request: {
|
|
3775
3775
|
/** V1 error format. */
|
|
3776
3776
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3832,7 +3832,7 @@ declare namespace gapi.client {
|
|
|
3832
3832
|
},
|
|
3833
3833
|
body: UndeleteDatasetRequest,
|
|
3834
3834
|
): Request<Dataset>;
|
|
3835
|
-
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. */
|
|
3835
|
+
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. # IAM Permissions Requires the `bigquery.datasets.update` permission on the dataset. */
|
|
3836
3836
|
update(request: {
|
|
3837
3837
|
/** V1 error format. */
|
|
3838
3838
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3912,7 +3912,7 @@ declare namespace gapi.client {
|
|
|
3912
3912
|
): Request<Dataset>;
|
|
3913
3913
|
}
|
|
3914
3914
|
interface JobsResource {
|
|
3915
|
-
/** Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs. */
|
|
3915
|
+
/** Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs. # IAM Permissions Requires the `bigquery.jobs.update` permission on the job resource. If the user matches the creator of the job, the `bigquery.jobs.create` permission on the project is required instead. */
|
|
3916
3916
|
cancel(request?: {
|
|
3917
3917
|
/** V1 error format. */
|
|
3918
3918
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3943,7 +3943,7 @@ declare namespace gapi.client {
|
|
|
3943
3943
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3944
3944
|
uploadType?: string;
|
|
3945
3945
|
}): Request<JobCancelResponse>;
|
|
3946
|
-
/** Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted. */
|
|
3946
|
+
/** Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted. # IAM Permissions Requires the `bigquery.jobs.delete` permission on the job resource. */
|
|
3947
3947
|
delete(request?: {
|
|
3948
3948
|
/** V1 error format. */
|
|
3949
3949
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3974,7 +3974,7 @@ declare namespace gapi.client {
|
|
|
3974
3974
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3975
3975
|
uploadType?: string;
|
|
3976
3976
|
}): Request<void>;
|
|
3977
|
-
/** Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. */
|
|
3977
|
+
/** Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. # IAM Permissions Requires the `bigquery.jobs.get` permission on the job resource. If the user matches the creator of the job, the `bigquery.jobs.create` permission on the project is required instead. */
|
|
3978
3978
|
get(request?: {
|
|
3979
3979
|
/** V1 error format. */
|
|
3980
3980
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4005,7 +4005,7 @@ declare namespace gapi.client {
|
|
|
4005
4005
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4006
4006
|
uploadType?: string;
|
|
4007
4007
|
}): Request<Job>;
|
|
4008
|
-
/** RPC to get the results of a query job. */
|
|
4008
|
+
/** RPC to get the results of a query job. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.jobs.get` on the job. - `bigquery.tables.getData` on the destination table. If the user matches the creator of the job, the following IAM permission(s) are required instead: - `bigquery.jobs.create` on the project. - `bigquery.tables.getData` on the destination table. */
|
|
4009
4009
|
getQueryResults(request?: {
|
|
4010
4010
|
/** V1 error format. */
|
|
4011
4011
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4052,7 +4052,7 @@ declare namespace gapi.client {
|
|
|
4052
4052
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4053
4053
|
uploadType?: string;
|
|
4054
4054
|
}): Request<GetQueryResultsResponse>;
|
|
4055
|
-
/** Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts. */
|
|
4055
|
+
/** Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts. # IAM Permissions Requires the `bigquery.jobs.create` permission on the project resource. Additional permissions are required depending on the job type: - **Load, Export, and Copy jobs**: Generally require data-level permissions such as `bigquery.tables.export` or access to external storage. - **Query jobs**: Permissions are dependent on the SQL statement. Complex queries (DDL, DCL) may require additional permissions to create reservations, modify IAM policies, or update project settings. */
|
|
4056
4056
|
insert(request: {
|
|
4057
4057
|
/** V1 error format. */
|
|
4058
4058
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4110,7 +4110,7 @@ declare namespace gapi.client {
|
|
|
4110
4110
|
},
|
|
4111
4111
|
body: Job,
|
|
4112
4112
|
): Request<Job>;
|
|
4113
|
-
/** Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. */
|
|
4113
|
+
/** Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. # IAM Permissions Requires no specific IAM permission(s) to use this method. Users are able to list the jobs they created. Additional access is granted based on the following permissions: - Users with the `bigquery.jobs.listAll` permission can list all jobs with all metadata. - Users with the `bigquery.jobs.list` permission can list all jobs, but with redacted information for jobs they did not create. */
|
|
4114
4114
|
list(request?: {
|
|
4115
4115
|
/** V1 error format. */
|
|
4116
4116
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4157,7 +4157,7 @@ declare namespace gapi.client {
|
|
|
4157
4157
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4158
4158
|
uploadType?: string;
|
|
4159
4159
|
}): Request<JobList>;
|
|
4160
|
-
/** Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. */
|
|
4160
|
+
/** Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. # IAM Permissions Requires the `bigquery.jobs.create` permission on the project resource. Data-level permissions are highly dependent on the SQL statement being executed. While standard queries require data access (such as `bigquery.tables.getData`), complex operations like DDL or DCL may require permissions to manage reservations, IAM policies, or project settings. */
|
|
4161
4161
|
query(request: {
|
|
4162
4162
|
/** V1 error format. */
|
|
4163
4163
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4217,7 +4217,7 @@ declare namespace gapi.client {
|
|
|
4217
4217
|
): Request<QueryResponse>;
|
|
4218
4218
|
}
|
|
4219
4219
|
interface ModelsResource {
|
|
4220
|
-
/** Deletes the model specified by modelId from the dataset. */
|
|
4220
|
+
/** Deletes the model specified by modelId from the dataset. # IAM Permissions Requires the `bigquery.models.delete` permission on the model. */
|
|
4221
4221
|
delete(request?: {
|
|
4222
4222
|
/** V1 error format. */
|
|
4223
4223
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4248,7 +4248,7 @@ declare namespace gapi.client {
|
|
|
4248
4248
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4249
4249
|
uploadType?: string;
|
|
4250
4250
|
}): Request<void>;
|
|
4251
|
-
/** Gets the specified model resource by model ID. */
|
|
4251
|
+
/** Gets the specified model resource by model ID. # IAM Permissions Requires the `bigquery.models.getMetadata` permission on the model. */
|
|
4252
4252
|
get(request?: {
|
|
4253
4253
|
/** V1 error format. */
|
|
4254
4254
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4279,7 +4279,7 @@ declare namespace gapi.client {
|
|
|
4279
4279
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4280
4280
|
uploadType?: string;
|
|
4281
4281
|
}): Request<Model>;
|
|
4282
|
-
/** Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method. */
|
|
4282
|
+
/** Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method. # IAM Permissions Requires the `bigquery.models.list` permission on the dataset. */
|
|
4283
4283
|
list(request?: {
|
|
4284
4284
|
/** V1 error format. */
|
|
4285
4285
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4312,7 +4312,7 @@ declare namespace gapi.client {
|
|
|
4312
4312
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4313
4313
|
uploadType?: string;
|
|
4314
4314
|
}): Request<ListModelsResponse>;
|
|
4315
|
-
/** Patch specific fields in the specified model. */
|
|
4315
|
+
/** Patch specific fields in the specified model. # IAM Permissions Requires the `bigquery.models.updateMetadata` permission on the model. */
|
|
4316
4316
|
patch(request: {
|
|
4317
4317
|
/** V1 error format. */
|
|
4318
4318
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4380,7 +4380,7 @@ declare namespace gapi.client {
|
|
|
4380
4380
|
): Request<Model>;
|
|
4381
4381
|
}
|
|
4382
4382
|
interface ProjectsResource {
|
|
4383
|
-
/** RPC to get the service account for a project used for interactions with Google Cloud KMS */
|
|
4383
|
+
/** RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the `bigquery.jobs.create` permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration. */
|
|
4384
4384
|
getServiceAccount(request?: {
|
|
4385
4385
|
/** V1 error format. */
|
|
4386
4386
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4407,7 +4407,7 @@ declare namespace gapi.client {
|
|
|
4407
4407
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4408
4408
|
uploadType?: string;
|
|
4409
4409
|
}): Request<GetServiceAccountResponse>;
|
|
4410
|
-
/** RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities. */
|
|
4410
|
+
/** RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities. # IAM Permissions Requires no specific IAM permission(s) to use this method. The results are filtered to only include projects on which the caller has been granted a project-level role such as a BigQuery predefined IAM role or a basic role such as Viewer or Owner. */
|
|
4411
4411
|
list(request?: {
|
|
4412
4412
|
/** V1 error format. */
|
|
4413
4413
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4438,7 +4438,7 @@ declare namespace gapi.client {
|
|
|
4438
4438
|
}): Request<ProjectList>;
|
|
4439
4439
|
}
|
|
4440
4440
|
interface RoutinesResource {
|
|
4441
|
-
/** Deletes the routine specified by routineId from the dataset. */
|
|
4441
|
+
/** Deletes the routine specified by routineId from the dataset. # IAM Permissions Requires the `bigquery.routines.delete` permission on the routine. */
|
|
4442
4442
|
delete(request?: {
|
|
4443
4443
|
/** V1 error format. */
|
|
4444
4444
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4469,7 +4469,7 @@ declare namespace gapi.client {
|
|
|
4469
4469
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4470
4470
|
uploadType?: string;
|
|
4471
4471
|
}): Request<void>;
|
|
4472
|
-
/** Gets the specified routine resource by routine ID. */
|
|
4472
|
+
/** Gets the specified routine resource by routine ID. # IAM Permissions Requires the `bigquery.routines.get` permission on the routine. */
|
|
4473
4473
|
get(request?: {
|
|
4474
4474
|
/** V1 error format. */
|
|
4475
4475
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4532,7 +4532,7 @@ declare namespace gapi.client {
|
|
|
4532
4532
|
},
|
|
4533
4533
|
body: GetIamPolicyRequest,
|
|
4534
4534
|
): Request<Policy>;
|
|
4535
|
-
/** Creates a new routine in the dataset. */
|
|
4535
|
+
/** Creates a new routine in the dataset. # IAM Permissions Requires the `bigquery.routines.create` permission on the dataset. */
|
|
4536
4536
|
insert(request: {
|
|
4537
4537
|
/** V1 error format. */
|
|
4538
4538
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4594,7 +4594,7 @@ declare namespace gapi.client {
|
|
|
4594
4594
|
},
|
|
4595
4595
|
body: Routine,
|
|
4596
4596
|
): Request<Routine>;
|
|
4597
|
-
/** Lists all routines in the specified dataset. Requires the READER dataset role. */
|
|
4597
|
+
/** Lists all routines in the specified dataset. Requires the READER dataset role. # IAM Permissions Requires the `bigquery.routines.list` permission on the dataset. */
|
|
4598
4598
|
list(request?: {
|
|
4599
4599
|
/** V1 error format. */
|
|
4600
4600
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4691,7 +4691,7 @@ declare namespace gapi.client {
|
|
|
4691
4691
|
},
|
|
4692
4692
|
body: TestIamPermissionsRequest,
|
|
4693
4693
|
): Request<TestIamPermissionsResponse>;
|
|
4694
|
-
/** Updates information in an existing routine. The update method replaces the entire Routine resource. */
|
|
4694
|
+
/** Updates information in an existing routine. The update method replaces the entire Routine resource. # IAM Permissions Requires the `bigquery.routines.update` permission on the routine. */
|
|
4695
4695
|
update(request: {
|
|
4696
4696
|
/** V1 error format. */
|
|
4697
4697
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4759,7 +4759,7 @@ declare namespace gapi.client {
|
|
|
4759
4759
|
): Request<Routine>;
|
|
4760
4760
|
}
|
|
4761
4761
|
interface RowAccessPoliciesResource {
|
|
4762
|
-
/** Deletes provided row access policies. */
|
|
4762
|
+
/** Deletes provided row access policies. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.rowAccessPolicies.setIamPolicy` */
|
|
4763
4763
|
batchDelete(request: {
|
|
4764
4764
|
/** V1 error format. */
|
|
4765
4765
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4825,7 +4825,7 @@ declare namespace gapi.client {
|
|
|
4825
4825
|
},
|
|
4826
4826
|
body: BatchDeleteRowAccessPoliciesRequest,
|
|
4827
4827
|
): Request<void>;
|
|
4828
|
-
/** Deletes a row access policy. */
|
|
4828
|
+
/** Deletes a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.rowAccessPolicies.setIamPolicy` */
|
|
4829
4829
|
delete(request?: {
|
|
4830
4830
|
/** V1 error format. */
|
|
4831
4831
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4860,7 +4860,7 @@ declare namespace gapi.client {
|
|
|
4860
4860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4861
4861
|
uploadType?: string;
|
|
4862
4862
|
}): Request<void>;
|
|
4863
|
-
/** Gets the specified row access policy by policy ID. */
|
|
4863
|
+
/** Gets the specified row access policy by policy ID. # IAM Permissions Requires the `bigquery.rowAccessPolicies.get` permission on the table. */
|
|
4864
4864
|
get(request?: {
|
|
4865
4865
|
/** V1 error format. */
|
|
4866
4866
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4923,7 +4923,7 @@ declare namespace gapi.client {
|
|
|
4923
4923
|
},
|
|
4924
4924
|
body: GetIamPolicyRequest,
|
|
4925
4925
|
): Request<Policy>;
|
|
4926
|
-
/** Creates a row access policy. */
|
|
4926
|
+
/** Creates a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.create` - `bigquery.rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData` */
|
|
4927
4927
|
insert(request: {
|
|
4928
4928
|
/** V1 error format. */
|
|
4929
4929
|
'$.xgafv'?: '1' | '2';
|
|
@@ -4989,7 +4989,7 @@ declare namespace gapi.client {
|
|
|
4989
4989
|
},
|
|
4990
4990
|
body: RowAccessPolicy,
|
|
4991
4991
|
): Request<RowAccessPolicy>;
|
|
4992
|
-
/** Lists all row access policies on the specified table. */
|
|
4992
|
+
/** Lists all row access policies on the specified table. # IAM Permissions Requires the `bigquery.rowAccessPolicies.list` permission on the table. */
|
|
4993
4993
|
list(request?: {
|
|
4994
4994
|
/** V1 error format. */
|
|
4995
4995
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5054,7 +5054,7 @@ declare namespace gapi.client {
|
|
|
5054
5054
|
},
|
|
5055
5055
|
body: TestIamPermissionsRequest,
|
|
5056
5056
|
): Request<TestIamPermissionsResponse>;
|
|
5057
|
-
/** Updates a row access policy. */
|
|
5057
|
+
/** Updates a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.update` - `bigquery.rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData` */
|
|
5058
5058
|
update(request: {
|
|
5059
5059
|
/** V1 error format. */
|
|
5060
5060
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5126,7 +5126,7 @@ declare namespace gapi.client {
|
|
|
5126
5126
|
): Request<RowAccessPolicy>;
|
|
5127
5127
|
}
|
|
5128
5128
|
interface TabledataResource {
|
|
5129
|
-
/** Streams data into BigQuery one record at a time without needing to run a load job. */
|
|
5129
|
+
/** Streams data into BigQuery one record at a time without needing to run a load job. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.tables.updateData` on the table. - `bigquery.tables.get` on the table. - `bigquery.datasets.get` on the dataset. */
|
|
5130
5130
|
insertAll(request: {
|
|
5131
5131
|
/** V1 error format. */
|
|
5132
5132
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5192,7 +5192,7 @@ declare namespace gapi.client {
|
|
|
5192
5192
|
},
|
|
5193
5193
|
body: TableDataInsertAllRequest,
|
|
5194
5194
|
): Request<TableDataInsertAllResponse>;
|
|
5195
|
-
/** List the content of a table in rows. */
|
|
5195
|
+
/** List the content of a table in rows. # IAM Permissions Requires the `bigquery.tables.getData` permission on the table. */
|
|
5196
5196
|
list(request?: {
|
|
5197
5197
|
/** V1 error format. */
|
|
5198
5198
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5241,7 +5241,7 @@ declare namespace gapi.client {
|
|
|
5241
5241
|
}): Request<TableDataList>;
|
|
5242
5242
|
}
|
|
5243
5243
|
interface TablesResource {
|
|
5244
|
-
/** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. */
|
|
5244
|
+
/** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. # IAM Permissions Requires the `bigquery.tables.delete` permission on the table. */
|
|
5245
5245
|
delete(request?: {
|
|
5246
5246
|
/** V1 error format. */
|
|
5247
5247
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5272,7 +5272,7 @@ declare namespace gapi.client {
|
|
|
5272
5272
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5273
5273
|
uploadType?: string;
|
|
5274
5274
|
}): Request<void>;
|
|
5275
|
-
/** Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. */
|
|
5275
|
+
/** Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. # IAM Permissions Requires the `bigquery.tables.get` permission on the table. */
|
|
5276
5276
|
get(request?: {
|
|
5277
5277
|
/** V1 error format. */
|
|
5278
5278
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5341,7 +5341,7 @@ declare namespace gapi.client {
|
|
|
5341
5341
|
},
|
|
5342
5342
|
body: GetIamPolicyRequest,
|
|
5343
5343
|
): Request<Policy>;
|
|
5344
|
-
/** Creates a new, empty table in the dataset. */
|
|
5344
|
+
/** Creates a new, empty table in the dataset. # IAM Permissions Requires the `bigquery.tables.create` permission on the dataset. */
|
|
5345
5345
|
insert(request: {
|
|
5346
5346
|
/** V1 error format. */
|
|
5347
5347
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5403,7 +5403,7 @@ declare namespace gapi.client {
|
|
|
5403
5403
|
},
|
|
5404
5404
|
body: Table,
|
|
5405
5405
|
): Request<Table>;
|
|
5406
|
-
/** Lists all tables in the specified dataset. Requires the READER dataset role. */
|
|
5406
|
+
/** Lists all tables in the specified dataset. Requires the READER dataset role. # IAM Permissions Requires the `bigquery.tables.list` permission on the dataset. */
|
|
5407
5407
|
list(request?: {
|
|
5408
5408
|
/** V1 error format. */
|
|
5409
5409
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5436,7 +5436,7 @@ declare namespace gapi.client {
|
|
|
5436
5436
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5437
5437
|
uploadType?: string;
|
|
5438
5438
|
}): Request<TableList>;
|
|
5439
|
-
/** Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics. */
|
|
5439
|
+
/** Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.tables.update` - `bigquery.tables.get` */
|
|
5440
5440
|
patch(request: {
|
|
5441
5441
|
/** V1 error format. */
|
|
5442
5442
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5566,7 +5566,7 @@ declare namespace gapi.client {
|
|
|
5566
5566
|
},
|
|
5567
5567
|
body: TestIamPermissionsRequest,
|
|
5568
5568
|
): Request<TestIamPermissionsResponse>;
|
|
5569
|
-
/** Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource. */
|
|
5569
|
+
/** Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource. # IAM Permissions Requires the `bigquery.tables.update` permission on the table. */
|
|
5570
5570
|
update(request: {
|
|
5571
5571
|
/** V1 error format. */
|
|
5572
5572
|
'$.xgafv'?: '1' | '2';
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -100,7 +100,7 @@ After that you can use BigQuery API resources: <!-- TODO: make this work for mul
|
|
|
100
100
|
|
|
101
101
|
```typescript
|
|
102
102
|
/*
|
|
103
|
-
Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.
|
|
103
|
+
Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. # IAM Permissions Requires the `bigquery.datasets.delete` permission on the dataset.
|
|
104
104
|
*/
|
|
105
105
|
await gapi.client.bigquery.datasets.delete({
|
|
106
106
|
datasetId: 'datasetId',
|
|
@@ -108,7 +108,7 @@ await gapi.client.bigquery.datasets.delete({
|
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
/*
|
|
111
|
-
Returns the dataset specified by datasetID.
|
|
111
|
+
Returns the dataset specified by datasetID. # IAM Permissions Requires the `bigquery.datasets.get` permission on the dataset.
|
|
112
112
|
*/
|
|
113
113
|
await gapi.client.bigquery.datasets.get({
|
|
114
114
|
datasetId: 'datasetId',
|
|
@@ -116,17 +116,17 @@ await gapi.client.bigquery.datasets.get({
|
|
|
116
116
|
});
|
|
117
117
|
|
|
118
118
|
/*
|
|
119
|
-
Creates a new empty dataset.
|
|
119
|
+
Creates a new empty dataset. # IAM Permissions Requires the `bigquery.datasets.create` permission on the project.
|
|
120
120
|
*/
|
|
121
121
|
await gapi.client.bigquery.datasets.insert({projectId: 'projectId'});
|
|
122
122
|
|
|
123
123
|
/*
|
|
124
|
-
Lists all datasets in the specified project to which the user has been granted the READER dataset role.
|
|
124
|
+
Lists all datasets in the specified project to which the user has been granted the READER dataset role. # IAM Permissions Requires no specific IAM permission(s) to use this method. Results are filtered to only include datasets on which the caller has the `bigquery.datasets.get` permission.
|
|
125
125
|
*/
|
|
126
126
|
await gapi.client.bigquery.datasets.list({projectId: 'projectId'});
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
|
-
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.
|
|
129
|
+
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.datasets.update` on the dataset. - `bigquery.datasets.get` on the dataset.
|
|
130
130
|
*/
|
|
131
131
|
await gapi.client.bigquery.datasets.patch({
|
|
132
132
|
datasetId: 'datasetId',
|
|
@@ -134,7 +134,7 @@ await gapi.client.bigquery.datasets.patch({
|
|
|
134
134
|
});
|
|
135
135
|
|
|
136
136
|
/*
|
|
137
|
-
Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.
|
|
137
|
+
Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.datasets.create` on the project. - `bigquery.datasets.get` on the dataset.
|
|
138
138
|
*/
|
|
139
139
|
await gapi.client.bigquery.datasets.undelete({
|
|
140
140
|
datasetId: 'datasetId',
|
|
@@ -142,7 +142,7 @@ await gapi.client.bigquery.datasets.undelete({
|
|
|
142
142
|
});
|
|
143
143
|
|
|
144
144
|
/*
|
|
145
|
-
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
|
|
145
|
+
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. # IAM Permissions Requires the `bigquery.datasets.update` permission on the dataset.
|
|
146
146
|
*/
|
|
147
147
|
await gapi.client.bigquery.datasets.update({
|
|
148
148
|
datasetId: 'datasetId',
|
|
@@ -150,7 +150,7 @@ await gapi.client.bigquery.datasets.update({
|
|
|
150
150
|
});
|
|
151
151
|
|
|
152
152
|
/*
|
|
153
|
-
Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.
|
|
153
|
+
Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs. # IAM Permissions Requires the `bigquery.jobs.update` permission on the job resource. If the user matches the creator of the job, the `bigquery.jobs.create` permission on the project is required instead.
|
|
154
154
|
*/
|
|
155
155
|
await gapi.client.bigquery.jobs.cancel({
|
|
156
156
|
jobId: 'jobId',
|
|
@@ -158,7 +158,7 @@ await gapi.client.bigquery.jobs.cancel({
|
|
|
158
158
|
});
|
|
159
159
|
|
|
160
160
|
/*
|
|
161
|
-
Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted.
|
|
161
|
+
Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted. # IAM Permissions Requires the `bigquery.jobs.delete` permission on the job resource.
|
|
162
162
|
*/
|
|
163
163
|
await gapi.client.bigquery.jobs.delete({
|
|
164
164
|
jobId: 'jobId',
|
|
@@ -166,12 +166,12 @@ await gapi.client.bigquery.jobs.delete({
|
|
|
166
166
|
});
|
|
167
167
|
|
|
168
168
|
/*
|
|
169
|
-
Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.
|
|
169
|
+
Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. # IAM Permissions Requires the `bigquery.jobs.get` permission on the job resource. If the user matches the creator of the job, the `bigquery.jobs.create` permission on the project is required instead.
|
|
170
170
|
*/
|
|
171
171
|
await gapi.client.bigquery.jobs.get({jobId: 'jobId', projectId: 'projectId'});
|
|
172
172
|
|
|
173
173
|
/*
|
|
174
|
-
RPC to get the results of a query job.
|
|
174
|
+
RPC to get the results of a query job. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.jobs.get` on the job. - `bigquery.tables.getData` on the destination table. If the user matches the creator of the job, the following IAM permission(s) are required instead: - `bigquery.jobs.create` on the project. - `bigquery.tables.getData` on the destination table.
|
|
175
175
|
*/
|
|
176
176
|
await gapi.client.bigquery.jobs.getQueryResults({
|
|
177
177
|
jobId: 'jobId',
|
|
@@ -179,22 +179,22 @@ await gapi.client.bigquery.jobs.getQueryResults({
|
|
|
179
179
|
});
|
|
180
180
|
|
|
181
181
|
/*
|
|
182
|
-
Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.
|
|
182
|
+
Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts. # IAM Permissions Requires the `bigquery.jobs.create` permission on the project resource. Additional permissions are required depending on the job type: - **Load, Export, and Copy jobs**: Generally require data-level permissions such as `bigquery.tables.export` or access to external storage. - **Query jobs**: Permissions are dependent on the SQL statement. Complex queries (DDL, DCL) may require additional permissions to create reservations, modify IAM policies, or update project settings.
|
|
183
183
|
*/
|
|
184
184
|
await gapi.client.bigquery.jobs.insert({projectId: 'projectId'});
|
|
185
185
|
|
|
186
186
|
/*
|
|
187
|
-
Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
|
|
187
|
+
Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. # IAM Permissions Requires no specific IAM permission(s) to use this method. Users are able to list the jobs they created. Additional access is granted based on the following permissions: - Users with the `bigquery.jobs.listAll` permission can list all jobs with all metadata. - Users with the `bigquery.jobs.list` permission can list all jobs, but with redacted information for jobs they did not create.
|
|
188
188
|
*/
|
|
189
189
|
await gapi.client.bigquery.jobs.list({projectId: 'projectId'});
|
|
190
190
|
|
|
191
191
|
/*
|
|
192
|
-
Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.
|
|
192
|
+
Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. # IAM Permissions Requires the `bigquery.jobs.create` permission on the project resource. Data-level permissions are highly dependent on the SQL statement being executed. While standard queries require data access (such as `bigquery.tables.getData`), complex operations like DDL or DCL may require permissions to manage reservations, IAM policies, or project settings.
|
|
193
193
|
*/
|
|
194
194
|
await gapi.client.bigquery.jobs.query({projectId: 'projectId'});
|
|
195
195
|
|
|
196
196
|
/*
|
|
197
|
-
Deletes the model specified by modelId from the dataset.
|
|
197
|
+
Deletes the model specified by modelId from the dataset. # IAM Permissions Requires the `bigquery.models.delete` permission on the model.
|
|
198
198
|
*/
|
|
199
199
|
await gapi.client.bigquery.models.delete({
|
|
200
200
|
datasetId: 'datasetId',
|
|
@@ -203,7 +203,7 @@ await gapi.client.bigquery.models.delete({
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
/*
|
|
206
|
-
Gets the specified model resource by model ID.
|
|
206
|
+
Gets the specified model resource by model ID. # IAM Permissions Requires the `bigquery.models.getMetadata` permission on the model.
|
|
207
207
|
*/
|
|
208
208
|
await gapi.client.bigquery.models.get({
|
|
209
209
|
datasetId: 'datasetId',
|
|
@@ -212,7 +212,7 @@ await gapi.client.bigquery.models.get({
|
|
|
212
212
|
});
|
|
213
213
|
|
|
214
214
|
/*
|
|
215
|
-
Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.
|
|
215
|
+
Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method. # IAM Permissions Requires the `bigquery.models.list` permission on the dataset.
|
|
216
216
|
*/
|
|
217
217
|
await gapi.client.bigquery.models.list({
|
|
218
218
|
datasetId: 'datasetId',
|
|
@@ -220,7 +220,7 @@ await gapi.client.bigquery.models.list({
|
|
|
220
220
|
});
|
|
221
221
|
|
|
222
222
|
/*
|
|
223
|
-
Patch specific fields in the specified model.
|
|
223
|
+
Patch specific fields in the specified model. # IAM Permissions Requires the `bigquery.models.updateMetadata` permission on the model.
|
|
224
224
|
*/
|
|
225
225
|
await gapi.client.bigquery.models.patch({
|
|
226
226
|
datasetId: 'datasetId',
|
|
@@ -229,17 +229,17 @@ await gapi.client.bigquery.models.patch({
|
|
|
229
229
|
});
|
|
230
230
|
|
|
231
231
|
/*
|
|
232
|
-
RPC to get the service account for a project used for interactions with Google Cloud KMS
|
|
232
|
+
RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the `bigquery.jobs.create` permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration.
|
|
233
233
|
*/
|
|
234
234
|
await gapi.client.bigquery.projects.getServiceAccount({projectId: 'projectId'});
|
|
235
235
|
|
|
236
236
|
/*
|
|
237
|
-
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.
|
|
237
|
+
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities. # IAM Permissions Requires no specific IAM permission(s) to use this method. The results are filtered to only include projects on which the caller has been granted a project-level role such as a BigQuery predefined IAM role or a basic role such as Viewer or Owner.
|
|
238
238
|
*/
|
|
239
239
|
await gapi.client.bigquery.projects.list({});
|
|
240
240
|
|
|
241
241
|
/*
|
|
242
|
-
Deletes the routine specified by routineId from the dataset.
|
|
242
|
+
Deletes the routine specified by routineId from the dataset. # IAM Permissions Requires the `bigquery.routines.delete` permission on the routine.
|
|
243
243
|
*/
|
|
244
244
|
await gapi.client.bigquery.routines.delete({
|
|
245
245
|
datasetId: 'datasetId',
|
|
@@ -248,7 +248,7 @@ await gapi.client.bigquery.routines.delete({
|
|
|
248
248
|
});
|
|
249
249
|
|
|
250
250
|
/*
|
|
251
|
-
Gets the specified routine resource by routine ID.
|
|
251
|
+
Gets the specified routine resource by routine ID. # IAM Permissions Requires the `bigquery.routines.get` permission on the routine.
|
|
252
252
|
*/
|
|
253
253
|
await gapi.client.bigquery.routines.get({
|
|
254
254
|
datasetId: 'datasetId',
|
|
@@ -262,7 +262,7 @@ Gets the access control policy for a resource. Returns an empty policy if the re
|
|
|
262
262
|
await gapi.client.bigquery.routines.getIamPolicy({resource: 'resource'});
|
|
263
263
|
|
|
264
264
|
/*
|
|
265
|
-
Creates a new routine in the dataset.
|
|
265
|
+
Creates a new routine in the dataset. # IAM Permissions Requires the `bigquery.routines.create` permission on the dataset.
|
|
266
266
|
*/
|
|
267
267
|
await gapi.client.bigquery.routines.insert({
|
|
268
268
|
datasetId: 'datasetId',
|
|
@@ -270,7 +270,7 @@ await gapi.client.bigquery.routines.insert({
|
|
|
270
270
|
});
|
|
271
271
|
|
|
272
272
|
/*
|
|
273
|
-
Lists all routines in the specified dataset. Requires the READER dataset role.
|
|
273
|
+
Lists all routines in the specified dataset. Requires the READER dataset role. # IAM Permissions Requires the `bigquery.routines.list` permission on the dataset.
|
|
274
274
|
*/
|
|
275
275
|
await gapi.client.bigquery.routines.list({
|
|
276
276
|
datasetId: 'datasetId',
|
|
@@ -288,7 +288,7 @@ Returns permissions that a caller has on the specified resource. If the resource
|
|
|
288
288
|
await gapi.client.bigquery.routines.testIamPermissions({resource: 'resource'});
|
|
289
289
|
|
|
290
290
|
/*
|
|
291
|
-
Updates information in an existing routine. The update method replaces the entire Routine resource.
|
|
291
|
+
Updates information in an existing routine. The update method replaces the entire Routine resource. # IAM Permissions Requires the `bigquery.routines.update` permission on the routine.
|
|
292
292
|
*/
|
|
293
293
|
await gapi.client.bigquery.routines.update({
|
|
294
294
|
datasetId: 'datasetId',
|
|
@@ -297,7 +297,7 @@ await gapi.client.bigquery.routines.update({
|
|
|
297
297
|
});
|
|
298
298
|
|
|
299
299
|
/*
|
|
300
|
-
Deletes provided row access policies.
|
|
300
|
+
Deletes provided row access policies. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.rowAccessPolicies.setIamPolicy`
|
|
301
301
|
*/
|
|
302
302
|
await gapi.client.bigquery.rowAccessPolicies.batchDelete({
|
|
303
303
|
datasetId: 'datasetId',
|
|
@@ -306,7 +306,7 @@ await gapi.client.bigquery.rowAccessPolicies.batchDelete({
|
|
|
306
306
|
});
|
|
307
307
|
|
|
308
308
|
/*
|
|
309
|
-
Deletes a row access policy.
|
|
309
|
+
Deletes a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.rowAccessPolicies.setIamPolicy`
|
|
310
310
|
*/
|
|
311
311
|
await gapi.client.bigquery.rowAccessPolicies.delete({
|
|
312
312
|
datasetId: 'datasetId',
|
|
@@ -316,7 +316,7 @@ await gapi.client.bigquery.rowAccessPolicies.delete({
|
|
|
316
316
|
});
|
|
317
317
|
|
|
318
318
|
/*
|
|
319
|
-
Gets the specified row access policy by policy ID.
|
|
319
|
+
Gets the specified row access policy by policy ID. # IAM Permissions Requires the `bigquery.rowAccessPolicies.get` permission on the table.
|
|
320
320
|
*/
|
|
321
321
|
await gapi.client.bigquery.rowAccessPolicies.get({
|
|
322
322
|
datasetId: 'datasetId',
|
|
@@ -333,7 +333,7 @@ await gapi.client.bigquery.rowAccessPolicies.getIamPolicy({
|
|
|
333
333
|
});
|
|
334
334
|
|
|
335
335
|
/*
|
|
336
|
-
Creates a row access policy.
|
|
336
|
+
Creates a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.create` - `bigquery.rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData`
|
|
337
337
|
*/
|
|
338
338
|
await gapi.client.bigquery.rowAccessPolicies.insert({
|
|
339
339
|
datasetId: 'datasetId',
|
|
@@ -342,7 +342,7 @@ await gapi.client.bigquery.rowAccessPolicies.insert({
|
|
|
342
342
|
});
|
|
343
343
|
|
|
344
344
|
/*
|
|
345
|
-
Lists all row access policies on the specified table.
|
|
345
|
+
Lists all row access policies on the specified table. # IAM Permissions Requires the `bigquery.rowAccessPolicies.list` permission on the table.
|
|
346
346
|
*/
|
|
347
347
|
await gapi.client.bigquery.rowAccessPolicies.list({
|
|
348
348
|
datasetId: 'datasetId',
|
|
@@ -358,7 +358,7 @@ await gapi.client.bigquery.rowAccessPolicies.testIamPermissions({
|
|
|
358
358
|
});
|
|
359
359
|
|
|
360
360
|
/*
|
|
361
|
-
Updates a row access policy.
|
|
361
|
+
Updates a row access policy. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.update` - `bigquery.rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData`
|
|
362
362
|
*/
|
|
363
363
|
await gapi.client.bigquery.rowAccessPolicies.update({
|
|
364
364
|
datasetId: 'datasetId',
|
|
@@ -368,7 +368,7 @@ await gapi.client.bigquery.rowAccessPolicies.update({
|
|
|
368
368
|
});
|
|
369
369
|
|
|
370
370
|
/*
|
|
371
|
-
Streams data into BigQuery one record at a time without needing to run a load job.
|
|
371
|
+
Streams data into BigQuery one record at a time without needing to run a load job. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.tables.updateData` on the table. - `bigquery.tables.get` on the table. - `bigquery.datasets.get` on the dataset.
|
|
372
372
|
*/
|
|
373
373
|
await gapi.client.bigquery.tabledata.insertAll({
|
|
374
374
|
datasetId: 'datasetId',
|
|
@@ -377,7 +377,7 @@ await gapi.client.bigquery.tabledata.insertAll({
|
|
|
377
377
|
});
|
|
378
378
|
|
|
379
379
|
/*
|
|
380
|
-
List the content of a table in rows.
|
|
380
|
+
List the content of a table in rows. # IAM Permissions Requires the `bigquery.tables.getData` permission on the table.
|
|
381
381
|
*/
|
|
382
382
|
await gapi.client.bigquery.tabledata.list({
|
|
383
383
|
datasetId: 'datasetId',
|
|
@@ -386,7 +386,7 @@ await gapi.client.bigquery.tabledata.list({
|
|
|
386
386
|
});
|
|
387
387
|
|
|
388
388
|
/*
|
|
389
|
-
Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.
|
|
389
|
+
Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. # IAM Permissions Requires the `bigquery.tables.delete` permission on the table.
|
|
390
390
|
*/
|
|
391
391
|
await gapi.client.bigquery.tables.delete({
|
|
392
392
|
datasetId: 'datasetId',
|
|
@@ -395,7 +395,7 @@ await gapi.client.bigquery.tables.delete({
|
|
|
395
395
|
});
|
|
396
396
|
|
|
397
397
|
/*
|
|
398
|
-
Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.
|
|
398
|
+
Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. # IAM Permissions Requires the `bigquery.tables.get` permission on the table.
|
|
399
399
|
*/
|
|
400
400
|
await gapi.client.bigquery.tables.get({
|
|
401
401
|
datasetId: 'datasetId',
|
|
@@ -409,7 +409,7 @@ Gets the access control policy for a resource. Returns an empty policy if the re
|
|
|
409
409
|
await gapi.client.bigquery.tables.getIamPolicy({resource: 'resource'});
|
|
410
410
|
|
|
411
411
|
/*
|
|
412
|
-
Creates a new, empty table in the dataset.
|
|
412
|
+
Creates a new, empty table in the dataset. # IAM Permissions Requires the `bigquery.tables.create` permission on the dataset.
|
|
413
413
|
*/
|
|
414
414
|
await gapi.client.bigquery.tables.insert({
|
|
415
415
|
datasetId: 'datasetId',
|
|
@@ -417,7 +417,7 @@ await gapi.client.bigquery.tables.insert({
|
|
|
417
417
|
});
|
|
418
418
|
|
|
419
419
|
/*
|
|
420
|
-
Lists all tables in the specified dataset. Requires the READER dataset role.
|
|
420
|
+
Lists all tables in the specified dataset. Requires the READER dataset role. # IAM Permissions Requires the `bigquery.tables.list` permission on the dataset.
|
|
421
421
|
*/
|
|
422
422
|
await gapi.client.bigquery.tables.list({
|
|
423
423
|
datasetId: 'datasetId',
|
|
@@ -425,7 +425,7 @@ await gapi.client.bigquery.tables.list({
|
|
|
425
425
|
});
|
|
426
426
|
|
|
427
427
|
/*
|
|
428
|
-
Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.
|
|
428
|
+
Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.tables.update` - `bigquery.tables.get`
|
|
429
429
|
*/
|
|
430
430
|
await gapi.client.bigquery.tables.patch({
|
|
431
431
|
datasetId: 'datasetId',
|
|
@@ -444,7 +444,7 @@ Returns permissions that a caller has on the specified resource. If the resource
|
|
|
444
444
|
await gapi.client.bigquery.tables.testIamPermissions({resource: 'resource'});
|
|
445
445
|
|
|
446
446
|
/*
|
|
447
|
-
Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.
|
|
447
|
+
Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource. # IAM Permissions Requires the `bigquery.tables.update` permission on the table.
|
|
448
448
|
*/
|
|
449
449
|
await gapi.client.bigquery.tables.update({
|
|
450
450
|
datasetId: 'datasetId',
|