@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240919 → 0.0.20241027

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.
Files changed (2) hide show
  1. package/index.d.ts +23 -7
  2. 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: 20240919
12
+ // Revision: 20241027
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -49,7 +49,7 @@ declare namespace gapi.client {
49
49
  interface Argument {
50
50
  /** Optional. Defaults to FIXED_TYPE. */
51
51
  argumentKind?: string;
52
- /** Required unless argument_kind = ANY_TYPE. */
52
+ /** Set if argument_kind == FIXED_TYPE. */
53
53
  dataType?: StandardSqlDataType;
54
54
  /** Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL. */
55
55
  isAggregate?: boolean;
@@ -175,13 +175,13 @@ declare namespace gapi.client {
175
175
  biEngineReasons?: BiEngineReason[];
176
176
  }
177
177
  interface BigLakeConfiguration {
178
- /** Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}". */
178
+ /** Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}". */
179
179
  connectionId?: string;
180
- /** Required. The file format the table data is stored in. */
180
+ /** Optional. The file format the table data is stored in. */
181
181
  fileFormat?: string;
182
- /** Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` */
182
+ /** Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` */
183
183
  storageUri?: string;
184
- /** Required. The table format the metadata only snapshots are stored in. */
184
+ /** Optional. The table format the metadata only snapshots are stored in. */
185
185
  tableFormat?: string;
186
186
  }
187
187
  interface BigQueryModelTraining {
@@ -385,6 +385,8 @@ declare namespace gapi.client {
385
385
  interface Dataset {
386
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. */
387
387
  access?: Array<{
388
+ /** Optional. condition for the binding. If CEL expression in this field is true, this access binding will be considered */
389
+ condition?: Expr;
388
390
  /** [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation. */
389
391
  dataset?: DatasetAccessEntry;
390
392
  /** [Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". Maps to IAM policy member "domain:DOMAIN". */
@@ -2501,7 +2503,7 @@ declare namespace gapi.client {
2501
2503
  colsampleBynode?: number;
2502
2504
  /** Subsample ratio of columns when constructing each tree for boosted tree models. */
2503
2505
  colsampleBytree?: number;
2504
- /** The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as "SUM(x)" or "SUM(x)/SUM(y)", where x and y are column names from the base table. */
2506
+ /** The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as `SUM(x)` or `SUM(x)/SUM(y)`, where x and y are column names from the base table. */
2505
2507
  contributionMetric?: string;
2506
2508
  /** Type of normalization algorithm for boosted tree models using dart booster. */
2507
2509
  dartNormalizeType?: string;
@@ -2750,6 +2752,8 @@ declare namespace gapi.client {
2750
2752
  '$.xgafv'?: string;
2751
2753
  /** OAuth access token. */
2752
2754
  access_token?: string;
2755
+ /** Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be maped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by 'withcond' string followed by a hash value. For example : { "access": [ { "role": "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail": "user@example.com", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-withcond for more details. */
2756
+ accessPolicyVersion?: number;
2753
2757
  /** Data format for response. */
2754
2758
  alt?: string;
2755
2759
  /** JSONP */
@@ -2781,6 +2785,8 @@ declare namespace gapi.client {
2781
2785
  '$.xgafv'?: string;
2782
2786
  /** OAuth access token. */
2783
2787
  access_token?: string;
2788
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
2789
+ accessPolicyVersion?: number;
2784
2790
  /** Data format for response. */
2785
2791
  alt?: string;
2786
2792
  /** JSONP */
@@ -2810,6 +2816,8 @@ declare namespace gapi.client {
2810
2816
  '$.xgafv'?: string;
2811
2817
  /** OAuth access token. */
2812
2818
  access_token?: string;
2819
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
2820
+ accessPolicyVersion?: number;
2813
2821
  /** Data format for response. */
2814
2822
  alt?: string;
2815
2823
  /** JSONP */
@@ -2874,6 +2882,8 @@ declare namespace gapi.client {
2874
2882
  '$.xgafv'?: string;
2875
2883
  /** OAuth access token. */
2876
2884
  access_token?: string;
2885
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
2886
+ accessPolicyVersion?: number;
2877
2887
  /** Data format for response. */
2878
2888
  alt?: string;
2879
2889
  /** JSONP */
@@ -2905,6 +2915,8 @@ declare namespace gapi.client {
2905
2915
  '$.xgafv'?: string;
2906
2916
  /** OAuth access token. */
2907
2917
  access_token?: string;
2918
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
2919
+ accessPolicyVersion?: number;
2908
2920
  /** Data format for response. */
2909
2921
  alt?: string;
2910
2922
  /** JSONP */
@@ -2998,6 +3010,8 @@ declare namespace gapi.client {
2998
3010
  '$.xgafv'?: string;
2999
3011
  /** OAuth access token. */
3000
3012
  access_token?: string;
3013
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
3014
+ accessPolicyVersion?: number;
3001
3015
  /** Data format for response. */
3002
3016
  alt?: string;
3003
3017
  /** JSONP */
@@ -3029,6 +3043,8 @@ declare namespace gapi.client {
3029
3043
  '$.xgafv'?: string;
3030
3044
  /** OAuth access token. */
3031
3045
  access_token?: string;
3046
+ /** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
3047
+ accessPolicyVersion?: number;
3032
3048
  /** Data format for response. */
3033
3049
  alt?: string;
3034
3050
  /** JSONP */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20240919",
3
+ "version": "0.0.20241027",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",