|
13 | 13 | // limitations under the License. |
14 | 14 |
|
15 | 15 | /** |
16 | | - * Discovery Revision: 20260328 |
| 16 | + * Discovery Revision: 20260429 |
17 | 17 | */ |
18 | 18 |
|
19 | 19 | /** |
@@ -891,6 +891,16 @@ declare namespace bigquery { |
891 | 891 | dataMaskingApplied?: boolean; |
892 | 892 | }; |
893 | 893 |
|
| 894 | + /** |
| 895 | + * A list of data policy options. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column). |
| 896 | + */ |
| 897 | + type IDataPolicyList = { |
| 898 | + /** |
| 899 | + * Contains a list of data policy options. At most 9 data policies are allowed per field. |
| 900 | + */ |
| 901 | + dataPolicies?: Array<IDataPolicyOption>; |
| 902 | + }; |
| 903 | + |
894 | 904 | /** |
895 | 905 | * Data policy option. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column). |
896 | 906 | */ |
@@ -1787,6 +1797,10 @@ declare namespace bigquery { |
1787 | 1797 | * Optional. Amount of memory provisioned for a Python UDF container instance. Format: {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) |
1788 | 1798 | */ |
1789 | 1799 | containerMemory?: string; |
| 1800 | + /** |
| 1801 | + * Optional. Maximum number of requests that a Cloud Run instance can handle concurrently. If absent or if `0`, a default concurrency is used. |
| 1802 | + */ |
| 1803 | + containerRequestConcurrency?: string; |
1790 | 1804 | /** |
1791 | 1805 | * Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0, BigQuery dynamically decides the number of rows in a batch. |
1792 | 1806 | */ |
@@ -1883,6 +1897,16 @@ declare namespace bigquery { |
1883 | 1897 | errors?: Array<string>; |
1884 | 1898 | }; |
1885 | 1899 |
|
| 1900 | + /** |
| 1901 | + * Provides cache statistics for a GenAi function call. |
| 1902 | + */ |
| 1903 | + type IGenAiFunctionCacheStats = { |
| 1904 | + /** |
| 1905 | + * Number of rows served from cache. |
| 1906 | + */ |
| 1907 | + numCacheHitRows?: string; |
| 1908 | + }; |
| 1909 | + |
1886 | 1910 | /** |
1887 | 1911 | * Provides cost optimization statistics for a GenAi function call. |
1888 | 1912 | */ |
@@ -1915,6 +1939,10 @@ declare namespace bigquery { |
1915 | 1939 | * Provides statistics for each Ai function call within a query. |
1916 | 1940 | */ |
1917 | 1941 | type IGenAiFunctionStats = { |
| 1942 | + /** |
| 1943 | + * Cache stats for the function. |
| 1944 | + */ |
| 1945 | + cacheStats?: IGenAiFunctionCacheStats; |
1918 | 1946 | /** |
1919 | 1947 | * Cost optimization stats if applied on the rows processed by the function. |
1920 | 1948 | */ |
@@ -3728,6 +3756,20 @@ declare namespace bigquery { |
3728 | 3756 | refreshWatermark?: string; |
3729 | 3757 | }; |
3730 | 3758 |
|
| 3759 | + /** |
| 3760 | + * Column Metadata Index staleness detailed infnormation. |
| 3761 | + */ |
| 3762 | + type IMetadataCacheStalenessInsight = { |
| 3763 | + /** |
| 3764 | + * Output only. Average column metadata index staleness of previous runs with the same query hash. |
| 3765 | + */ |
| 3766 | + avgPreviousStalenessMs?: string; |
| 3767 | + /** |
| 3768 | + * Output only. The percent increase in staleness between the current job and the average staleness of previous jobs with the same query hash. |
| 3769 | + */ |
| 3770 | + stalenessPercentageIncrease?: number; |
| 3771 | + }; |
| 3772 | + |
3731 | 3773 | /** |
3732 | 3774 | * Statistics for metadata caching in queried tables. |
3733 | 3775 | */ |
@@ -4027,6 +4069,10 @@ declare namespace bigquery { |
4027 | 4069 | * Output only. Standalone query stage performance insights, for exploring potential improvements. |
4028 | 4070 | */ |
4029 | 4071 | stagePerformanceStandaloneInsights?: Array<IStagePerformanceStandaloneInsight>; |
| 4072 | + /** |
| 4073 | + * Output only. Performance insights for table-level attributes that changed compared to previous runs. |
| 4074 | + */ |
| 4075 | + tableChangeInsights?: Array<ITableChangeInsight>; |
4030 | 4076 | }; |
4031 | 4077 |
|
4032 | 4078 | /** |
@@ -5576,6 +5622,24 @@ declare namespace bigquery { |
5576 | 5622 |
|
5577 | 5623 | type ITableCell = {v?: any}; |
5578 | 5624 |
|
| 5625 | + /** |
| 5626 | + * Table-level performance insights compared to previous runs. These insights don't apply to specific query stages, rather they apply to the whole table. |
| 5627 | + */ |
| 5628 | + type ITableChangeInsight = { |
| 5629 | + /** |
| 5630 | + * Output only. True if the table's column metadata index was not used in the current job, but was used in a previous job with the same query hash. |
| 5631 | + */ |
| 5632 | + metadataCacheNotUsedButUsedPreviously?: boolean; |
| 5633 | + /** |
| 5634 | + * Output only. If present, indicates that the table's metadata column index staleness has increased significantly compared to previous jobs with the same query hash. |
| 5635 | + */ |
| 5636 | + metadataCacheStalenessInsight?: IMetadataCacheStalenessInsight; |
| 5637 | + /** |
| 5638 | + * Output only. The table that was queried. |
| 5639 | + */ |
| 5640 | + tableReference?: ITableReference; |
| 5641 | + }; |
| 5642 | + |
5579 | 5643 | /** |
5580 | 5644 | * The TableConstraints defines the primary key and foreign key. |
5581 | 5645 | */ |
@@ -5717,10 +5781,23 @@ declare namespace bigquery { |
5717 | 5781 | * 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. |
5718 | 5782 | */ |
5719 | 5783 | collation?: string; |
| 5784 | + /** |
| 5785 | + * Optional. Specifies the data governance tags on this field. This field works with other column-level security fields as follows: - Precedence: If a data governance tag is attached to a column, it takes precedence over the policy tag attached to the column. However, if a data policy is attached to a column, it takes precedence over the data governance tag. - Patching behavior (how this field behaves during a `Table.patch` schema update): - Unset: If the `data_governance_tags_info` field is omitted from the update request, the existing tags on the column are preserved. - Empty Field: To clear data governance tags from a column, send the `data_governance_tags_info` field as an empty object. This will remove all tags from the column. - Updating tags: To replace existing tag, send the field with the new tag. |
| 5786 | + */ |
| 5787 | + dataGovernanceTagsInfo?: { |
| 5788 | + /** |
| 5789 | + * Optional. The data governance tags added to this field are used for field-level access control. Only one data governance tag is currently supported on a field. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example "123456789012/pii" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example "sensitive". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) for more details. For example: "123456789012/pii": "sensitive", "myProject/cost_center": "sales" |
| 5790 | + */ |
| 5791 | + dataGovernanceTags?: {[key: string]: string}; |
| 5792 | + }; |
5720 | 5793 | /** |
5721 | 5794 | * Optional. Data policies attached to this field, used for field-level access control. |
5722 | 5795 | */ |
5723 | 5796 | dataPolicies?: Array<IDataPolicyOption>; |
| 5797 | + /** |
| 5798 | + * Optional. Specifies data policies attached to this field, used for field-level access control. When set, this will be the source of truth for data policy information. |
| 5799 | + */ |
| 5800 | + dataPolicyList?: IDataPolicyList; |
5724 | 5801 | /** |
5725 | 5802 | * Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. |
5726 | 5803 | */ |
|
0 commit comments