@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240727 → 0.0.20240815
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 +13 -17
- package/package.json +1 -1
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: 20240815
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -378,6 +378,10 @@ declare namespace gapi.client {
|
|
|
378
378
|
/** Whether any accessed data was protected by the data masking. */
|
|
379
379
|
dataMaskingApplied?: boolean;
|
|
380
380
|
}
|
|
381
|
+
interface DataPolicyOption {
|
|
382
|
+
/** Data policy resource name in the form of projects/project_id/locations/location_id/dataPolicies/data_policy_id. */
|
|
383
|
+
name?: string;
|
|
384
|
+
}
|
|
381
385
|
interface Dataset {
|
|
382
386
|
/** Optional. An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; If you patch a dataset, then this field is overwritten by the patched dataset's access field. To add entities, you must supply the entire existing access array in addition to any new entities that you want to add. */
|
|
383
387
|
access?: Array<{
|
|
@@ -927,14 +931,6 @@ declare namespace gapi.client {
|
|
|
927
931
|
/** 1-based index of the trial. */
|
|
928
932
|
trialId?: string;
|
|
929
933
|
}
|
|
930
|
-
interface IdentityColumnInfo {
|
|
931
|
-
/** Optional. Dictates when system generated values are used to populate the field. */
|
|
932
|
-
generatedMode?: string;
|
|
933
|
-
/** Optional. The minimum difference between two successive generated values. Should be INTEGER compatible. Can be negative or positive but not 0. The default value is 1 if the field is not specified. */
|
|
934
|
-
increment?: string;
|
|
935
|
-
/** Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if the field is not specified. */
|
|
936
|
-
start?: string;
|
|
937
|
-
}
|
|
938
934
|
interface IndexUnusedReason {
|
|
939
935
|
/** Specifies the base table involved in the reason that no search index was used. */
|
|
940
936
|
baseTable?: TableReference;
|
|
@@ -998,7 +994,7 @@ declare namespace gapi.client {
|
|
|
998
994
|
etag?: string;
|
|
999
995
|
/** Output only. Opaque ID field of the job. */
|
|
1000
996
|
id?: string;
|
|
1001
|
-
/** Output only.
|
|
997
|
+
/** Output only. The reason why a Job was created. [Preview](/products/#product-launch-stages) */
|
|
1002
998
|
jobCreationReason?: JobCreationReason;
|
|
1003
999
|
/** Optional. Reference describing the unique-per-user name of the job. */
|
|
1004
1000
|
jobReference?: JobReference;
|
|
@@ -1753,7 +1749,7 @@ declare namespace gapi.client {
|
|
|
1753
1749
|
dryRun?: boolean;
|
|
1754
1750
|
/** Optional. Output format adjustments. */
|
|
1755
1751
|
formatOptions?: DataFormatOptions;
|
|
1756
|
-
/** Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode.
|
|
1752
|
+
/** Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. [Preview](/products/#product-launch-stages) */
|
|
1757
1753
|
jobCreationMode?: string;
|
|
1758
1754
|
/** The resource type of the request. */
|
|
1759
1755
|
kind?: string;
|
|
@@ -1791,9 +1787,9 @@ declare namespace gapi.client {
|
|
|
1791
1787
|
errors?: ErrorProto[];
|
|
1792
1788
|
/** Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available. */
|
|
1793
1789
|
jobComplete?: boolean;
|
|
1794
|
-
/** Optional. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset.
|
|
1790
|
+
/** Optional. The reason why a Job was created. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset. [Preview](/products/#product-launch-stages) */
|
|
1795
1791
|
jobCreationReason?: JobCreationReason;
|
|
1796
|
-
/** Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). */
|
|
1792
|
+
/** Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). If job_creation_mode was set to `JOB_CREATION_OPTIONAL` and the query completes without creating a job, this field will be empty. */
|
|
1797
1793
|
jobReference?: JobReference;
|
|
1798
1794
|
/** The resource type. */
|
|
1799
1795
|
kind?: string;
|
|
@@ -1801,7 +1797,7 @@ declare namespace gapi.client {
|
|
|
1801
1797
|
numDmlAffectedRows?: string;
|
|
1802
1798
|
/** A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results). */
|
|
1803
1799
|
pageToken?: string;
|
|
1804
|
-
/**
|
|
1800
|
+
/** Auto-generated ID for the query. [Preview](/products/#product-launch-stages) */
|
|
1805
1801
|
queryId?: string;
|
|
1806
1802
|
/** An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. */
|
|
1807
1803
|
rows?: TableRow[];
|
|
@@ -2331,6 +2327,8 @@ declare namespace gapi.client {
|
|
|
2331
2327
|
};
|
|
2332
2328
|
/** Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */
|
|
2333
2329
|
collation?: string;
|
|
2330
|
+
/** Optional. Data policy options, will replace the data_policies. */
|
|
2331
|
+
dataPolicies?: DataPolicyOption[];
|
|
2334
2332
|
/** Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. */
|
|
2335
2333
|
defaultValueExpression?: string;
|
|
2336
2334
|
/** Optional. The field description. The maximum length is 1,024 characters. */
|
|
@@ -2339,8 +2337,6 @@ declare namespace gapi.client {
|
|
|
2339
2337
|
fields?: TableFieldSchema[];
|
|
2340
2338
|
/** Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required. */
|
|
2341
2339
|
foreignTypeDefinition?: string;
|
|
2342
|
-
/** Optional. Definition of how values are generated for the field. Setting this option means that the field is an identity column. Only valid for top-level schema INTEGER fields (not nested fields). */
|
|
2343
|
-
identityColumnInfo?: IdentityColumnInfo;
|
|
2344
2340
|
/** Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not specified, no maximum length constraint is imposed on this field. If type = "STRING", then max_length represents the maximum UTF-8 length of strings in this field. If type = "BYTES", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type ≠ "STRING" and ≠ "BYTES". */
|
|
2345
2341
|
maxLength?: string;
|
|
2346
2342
|
/** Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. */
|
|
@@ -2363,7 +2359,7 @@ declare namespace gapi.client {
|
|
|
2363
2359
|
roundingMode?: string;
|
|
2364
2360
|
/** Optional. See documentation for precision. */
|
|
2365
2361
|
scale?: string;
|
|
2366
|
-
/** Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE
|
|
2362
|
+
/** Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE Use of RECORD/STRUCT indicates that the field contains a nested schema. */
|
|
2367
2363
|
type?: string;
|
|
2368
2364
|
}
|
|
2369
2365
|
interface TableList {
|