google-apis-bigquery_v2 0.100.0 → 0.102.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/bigquery_v2/classes.rb +480 -4
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +213 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0efe7da22f3b1c900d921c582bae3eed5affe8a01d068fa80c3c37a3946ca6d
|
|
4
|
+
data.tar.gz: 2cfcd88e4b0efb2e1173ad5a7db703ff9952f096979acae80fa58139c825abfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da46b96058b36625b0e7687fa9a79310852e08a09075eb24c55cb911c72c1e3931d832d1109c2cd3d978d084a1f929e5288fdddb6d47729480e73b0bd0aae180
|
|
7
|
+
data.tar.gz: c3003f6585e0dc38fcf3ec0c2d7490beea459268e626e72b0f4dcc296c23dfc79b0db9a598b779dee688e00436a337b284e472a68ed97d9f76cbf6ce26eb33bd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
|
2
2
|
|
|
3
|
+
### v0.102.0 (2026-05-24)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260429
|
|
6
|
+
|
|
7
|
+
### v0.101.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260314
|
|
10
|
+
|
|
3
11
|
### v0.100.0 (2026-03-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260224
|
|
@@ -1778,6 +1778,28 @@ module Google
|
|
|
1778
1778
|
end
|
|
1779
1779
|
end
|
|
1780
1780
|
|
|
1781
|
+
# A list of data policy options. For more information, see [Mask data by
|
|
1782
|
+
# applying data policies to a column](https://docs.cloud.google.com/bigquery/
|
|
1783
|
+
# docs/column-data-masking#data-policies-on-column).
|
|
1784
|
+
class DataPolicyList
|
|
1785
|
+
include Google::Apis::Core::Hashable
|
|
1786
|
+
|
|
1787
|
+
# Contains a list of data policy options. At most 9 data policies are allowed
|
|
1788
|
+
# per field.
|
|
1789
|
+
# Corresponds to the JSON property `dataPolicies`
|
|
1790
|
+
# @return [Array<Google::Apis::BigqueryV2::DataPolicyOption>]
|
|
1791
|
+
attr_accessor :data_policies
|
|
1792
|
+
|
|
1793
|
+
def initialize(**args)
|
|
1794
|
+
update!(**args)
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
# Update properties of this object
|
|
1798
|
+
def update!(**args)
|
|
1799
|
+
@data_policies = args[:data_policies] if args.key?(:data_policies)
|
|
1800
|
+
end
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1781
1803
|
# Data policy option. For more information, see [Mask data by applying data
|
|
1782
1804
|
# policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-
|
|
1783
1805
|
# masking#data-policies-on-column).
|
|
@@ -1850,6 +1872,13 @@ module Google
|
|
|
1850
1872
|
# @return [Array<Google::Apis::BigqueryV2::Dataset::Access>]
|
|
1851
1873
|
attr_accessor :access
|
|
1852
1874
|
|
|
1875
|
+
# Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery
|
|
1876
|
+
# Dataset * BIGLAKE - Dataset is backed by a namespace stored natively in
|
|
1877
|
+
# Biglake
|
|
1878
|
+
# Corresponds to the JSON property `catalogSource`
|
|
1879
|
+
# @return [String]
|
|
1880
|
+
attr_accessor :catalog_source
|
|
1881
|
+
|
|
1853
1882
|
# Output only. The time when this dataset was created, in milliseconds since the
|
|
1854
1883
|
# epoch.
|
|
1855
1884
|
# Corresponds to the JSON property `creationTime`
|
|
@@ -2053,7 +2082,9 @@ module Google
|
|
|
2053
2082
|
# Output only. Same as `type` in `ListFormatDataset`. The type of the dataset,
|
|
2054
2083
|
# one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC
|
|
2055
2084
|
# - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with
|
|
2056
|
-
# definition in external metadata catalog
|
|
2085
|
+
# definition in external metadata catalog, * BIGLAKE_ICEBERG - a Biglake dataset
|
|
2086
|
+
# accessible through the Iceberg API, * BIGLAKE_HIVE - a Biglake dataset
|
|
2087
|
+
# accessible through the Hive API.
|
|
2057
2088
|
# Corresponds to the JSON property `type`
|
|
2058
2089
|
# @return [String]
|
|
2059
2090
|
attr_accessor :type
|
|
@@ -2065,6 +2096,7 @@ module Google
|
|
|
2065
2096
|
# Update properties of this object
|
|
2066
2097
|
def update!(**args)
|
|
2067
2098
|
@access = args[:access] if args.key?(:access)
|
|
2099
|
+
@catalog_source = args[:catalog_source] if args.key?(:catalog_source)
|
|
2068
2100
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
2069
2101
|
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
|
|
2070
2102
|
@default_collation = args[:default_collation] if args.key?(:default_collation)
|
|
@@ -2318,6 +2350,13 @@ module Google
|
|
|
2318
2350
|
class Dataset
|
|
2319
2351
|
include Google::Apis::Core::Hashable
|
|
2320
2352
|
|
|
2353
|
+
# Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery
|
|
2354
|
+
# Dataset. * BIGLAKE - Dataset is backed by a namespace stored natively in
|
|
2355
|
+
# Biglake.
|
|
2356
|
+
# Corresponds to the JSON property `catalogSource`
|
|
2357
|
+
# @return [String]
|
|
2358
|
+
attr_accessor :catalog_source
|
|
2359
|
+
|
|
2321
2360
|
# Identifier for a dataset.
|
|
2322
2361
|
# Corresponds to the JSON property `datasetReference`
|
|
2323
2362
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
|
@@ -2355,12 +2394,23 @@ module Google
|
|
|
2355
2394
|
# @return [String]
|
|
2356
2395
|
attr_accessor :location
|
|
2357
2396
|
|
|
2397
|
+
# Output only. Same as `type` in `Dataset`. The type of the dataset, one of: *
|
|
2398
|
+
# DEFAULT - only accessible by owner and authorized accounts, * PUBLIC -
|
|
2399
|
+
# accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with
|
|
2400
|
+
# definition in external metadata catalog, * BIGLAKE_ICEBERG - a Biglake dataset
|
|
2401
|
+
# accessible through the Iceberg API, * BIGLAKE_HIVE - a Biglake dataset
|
|
2402
|
+
# accessible through the Hive API.
|
|
2403
|
+
# Corresponds to the JSON property `type`
|
|
2404
|
+
# @return [String]
|
|
2405
|
+
attr_accessor :type
|
|
2406
|
+
|
|
2358
2407
|
def initialize(**args)
|
|
2359
2408
|
update!(**args)
|
|
2360
2409
|
end
|
|
2361
2410
|
|
|
2362
2411
|
# Update properties of this object
|
|
2363
2412
|
def update!(**args)
|
|
2413
|
+
@catalog_source = args[:catalog_source] if args.key?(:catalog_source)
|
|
2364
2414
|
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
|
|
2365
2415
|
@external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
|
|
2366
2416
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
|
@@ -2368,6 +2418,7 @@ module Google
|
|
|
2368
2418
|
@kind = args[:kind] if args.key?(:kind)
|
|
2369
2419
|
@labels = args[:labels] if args.key?(:labels)
|
|
2370
2420
|
@location = args[:location] if args.key?(:location)
|
|
2421
|
+
@type = args[:type] if args.key?(:type)
|
|
2371
2422
|
end
|
|
2372
2423
|
end
|
|
2373
2424
|
end
|
|
@@ -3422,7 +3473,7 @@ module Google
|
|
|
3422
3473
|
|
|
3423
3474
|
# Precisions (maximum number of total digits in base 10) for seconds of
|
|
3424
3475
|
# TIMESTAMP types that are allowed to the destination table for autodetection
|
|
3425
|
-
# mode. Available for the formats: CSV
|
|
3476
|
+
# mode. Available for the formats: CSV, PARQUET, and AVRO. Possible values
|
|
3426
3477
|
# include: Not Specified, [], or [6]: timestamp(6) for all auto detected
|
|
3427
3478
|
# TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP
|
|
3428
3479
|
# columns that have less than 6 digits of subseconds. timestamp(12) for all auto
|
|
@@ -3517,6 +3568,12 @@ module Google
|
|
|
3517
3568
|
# @return [String]
|
|
3518
3569
|
attr_accessor :container_memory
|
|
3519
3570
|
|
|
3571
|
+
# Optional. Maximum number of requests that a Cloud Run instance can handle
|
|
3572
|
+
# concurrently. If absent or if `0`, a default concurrency is used.
|
|
3573
|
+
# Corresponds to the JSON property `containerRequestConcurrency`
|
|
3574
|
+
# @return [Fixnum]
|
|
3575
|
+
attr_accessor :container_request_concurrency
|
|
3576
|
+
|
|
3520
3577
|
# Optional. Maximum number of rows in each batch sent to the external runtime.
|
|
3521
3578
|
# If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
|
|
3522
3579
|
# Corresponds to the JSON property `maxBatchingRows`
|
|
@@ -3543,6 +3600,7 @@ module Google
|
|
|
3543
3600
|
def update!(**args)
|
|
3544
3601
|
@container_cpu = args[:container_cpu] if args.key?(:container_cpu)
|
|
3545
3602
|
@container_memory = args[:container_memory] if args.key?(:container_memory)
|
|
3603
|
+
@container_request_concurrency = args[:container_request_concurrency] if args.key?(:container_request_concurrency)
|
|
3546
3604
|
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
|
3547
3605
|
@runtime_connection = args[:runtime_connection] if args.key?(:runtime_connection)
|
|
3548
3606
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
|
@@ -3688,6 +3746,230 @@ module Google
|
|
|
3688
3746
|
end
|
|
3689
3747
|
end
|
|
3690
3748
|
|
|
3749
|
+
# Provides error statistics for the query job across all AI function calls.
|
|
3750
|
+
class GenAiErrorStats
|
|
3751
|
+
include Google::Apis::Core::Hashable
|
|
3752
|
+
|
|
3753
|
+
# A list of unique errors at query level (up to 5, truncated to 100 chars)
|
|
3754
|
+
# Corresponds to the JSON property `errors`
|
|
3755
|
+
# @return [Array<String>]
|
|
3756
|
+
attr_accessor :errors
|
|
3757
|
+
|
|
3758
|
+
def initialize(**args)
|
|
3759
|
+
update!(**args)
|
|
3760
|
+
end
|
|
3761
|
+
|
|
3762
|
+
# Update properties of this object
|
|
3763
|
+
def update!(**args)
|
|
3764
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
3765
|
+
end
|
|
3766
|
+
end
|
|
3767
|
+
|
|
3768
|
+
# Provides cache statistics for a GenAi function call.
|
|
3769
|
+
class GenAiFunctionCacheStats
|
|
3770
|
+
include Google::Apis::Core::Hashable
|
|
3771
|
+
|
|
3772
|
+
# Number of rows served from cache.
|
|
3773
|
+
# Corresponds to the JSON property `numCacheHitRows`
|
|
3774
|
+
# @return [Fixnum]
|
|
3775
|
+
attr_accessor :num_cache_hit_rows
|
|
3776
|
+
|
|
3777
|
+
def initialize(**args)
|
|
3778
|
+
update!(**args)
|
|
3779
|
+
end
|
|
3780
|
+
|
|
3781
|
+
# Update properties of this object
|
|
3782
|
+
def update!(**args)
|
|
3783
|
+
@num_cache_hit_rows = args[:num_cache_hit_rows] if args.key?(:num_cache_hit_rows)
|
|
3784
|
+
end
|
|
3785
|
+
end
|
|
3786
|
+
|
|
3787
|
+
# Provides cost optimization statistics for a GenAi function call.
|
|
3788
|
+
class GenAiFunctionCostOptimizationStats
|
|
3789
|
+
include Google::Apis::Core::Hashable
|
|
3790
|
+
|
|
3791
|
+
# System generated message to provide insights into cost optimization state.
|
|
3792
|
+
# Corresponds to the JSON property `message`
|
|
3793
|
+
# @return [String]
|
|
3794
|
+
attr_accessor :message
|
|
3795
|
+
|
|
3796
|
+
# Number of rows inferred via cost optimized workflow.
|
|
3797
|
+
# Corresponds to the JSON property `numCostOptimizedRows`
|
|
3798
|
+
# @return [Fixnum]
|
|
3799
|
+
attr_accessor :num_cost_optimized_rows
|
|
3800
|
+
|
|
3801
|
+
def initialize(**args)
|
|
3802
|
+
update!(**args)
|
|
3803
|
+
end
|
|
3804
|
+
|
|
3805
|
+
# Update properties of this object
|
|
3806
|
+
def update!(**args)
|
|
3807
|
+
@message = args[:message] if args.key?(:message)
|
|
3808
|
+
@num_cost_optimized_rows = args[:num_cost_optimized_rows] if args.key?(:num_cost_optimized_rows)
|
|
3809
|
+
end
|
|
3810
|
+
end
|
|
3811
|
+
|
|
3812
|
+
# Provides error statistics for a GenAi function call.
|
|
3813
|
+
class GenAiFunctionErrorStats
|
|
3814
|
+
include Google::Apis::Core::Hashable
|
|
3815
|
+
|
|
3816
|
+
# A list of unique errors at function level (up to 5, truncated to 100 chars).
|
|
3817
|
+
# Corresponds to the JSON property `errors`
|
|
3818
|
+
# @return [Array<String>]
|
|
3819
|
+
attr_accessor :errors
|
|
3820
|
+
|
|
3821
|
+
# Number of failed rows processed by the function
|
|
3822
|
+
# Corresponds to the JSON property `numFailedRows`
|
|
3823
|
+
# @return [Fixnum]
|
|
3824
|
+
attr_accessor :num_failed_rows
|
|
3825
|
+
|
|
3826
|
+
def initialize(**args)
|
|
3827
|
+
update!(**args)
|
|
3828
|
+
end
|
|
3829
|
+
|
|
3830
|
+
# Update properties of this object
|
|
3831
|
+
def update!(**args)
|
|
3832
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
3833
|
+
@num_failed_rows = args[:num_failed_rows] if args.key?(:num_failed_rows)
|
|
3834
|
+
end
|
|
3835
|
+
end
|
|
3836
|
+
|
|
3837
|
+
# Provides statistics for each Ai function call within a query.
|
|
3838
|
+
class GenAiFunctionStats
|
|
3839
|
+
include Google::Apis::Core::Hashable
|
|
3840
|
+
|
|
3841
|
+
# Provides cache statistics for a GenAi function call.
|
|
3842
|
+
# Corresponds to the JSON property `cacheStats`
|
|
3843
|
+
# @return [Google::Apis::BigqueryV2::GenAiFunctionCacheStats]
|
|
3844
|
+
attr_accessor :cache_stats
|
|
3845
|
+
|
|
3846
|
+
# Provides cost optimization statistics for a GenAi function call.
|
|
3847
|
+
# Corresponds to the JSON property `costOptimizationStats`
|
|
3848
|
+
# @return [Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats]
|
|
3849
|
+
attr_accessor :cost_optimization_stats
|
|
3850
|
+
|
|
3851
|
+
# Provides error statistics for a GenAi function call.
|
|
3852
|
+
# Corresponds to the JSON property `errorStats`
|
|
3853
|
+
# @return [Google::Apis::BigqueryV2::GenAiFunctionErrorStats]
|
|
3854
|
+
attr_accessor :error_stats
|
|
3855
|
+
|
|
3856
|
+
# Name of the function.
|
|
3857
|
+
# Corresponds to the JSON property `functionName`
|
|
3858
|
+
# @return [String]
|
|
3859
|
+
attr_accessor :function_name
|
|
3860
|
+
|
|
3861
|
+
# Number of rows processed by this GenAi function. This includes all
|
|
3862
|
+
# cost_optimized, llm_inferred and failed_rows.
|
|
3863
|
+
# Corresponds to the JSON property `numProcessedRows`
|
|
3864
|
+
# @return [Fixnum]
|
|
3865
|
+
attr_accessor :num_processed_rows
|
|
3866
|
+
|
|
3867
|
+
# User input prompt of the function (truncated to 20 chars).
|
|
3868
|
+
# Corresponds to the JSON property `prompt`
|
|
3869
|
+
# @return [String]
|
|
3870
|
+
attr_accessor :prompt
|
|
3871
|
+
|
|
3872
|
+
def initialize(**args)
|
|
3873
|
+
update!(**args)
|
|
3874
|
+
end
|
|
3875
|
+
|
|
3876
|
+
# Update properties of this object
|
|
3877
|
+
def update!(**args)
|
|
3878
|
+
@cache_stats = args[:cache_stats] if args.key?(:cache_stats)
|
|
3879
|
+
@cost_optimization_stats = args[:cost_optimization_stats] if args.key?(:cost_optimization_stats)
|
|
3880
|
+
@error_stats = args[:error_stats] if args.key?(:error_stats)
|
|
3881
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
3882
|
+
@num_processed_rows = args[:num_processed_rows] if args.key?(:num_processed_rows)
|
|
3883
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
3884
|
+
end
|
|
3885
|
+
end
|
|
3886
|
+
|
|
3887
|
+
# GenAi stats for the query job.
|
|
3888
|
+
class GenAiStats
|
|
3889
|
+
include Google::Apis::Core::Hashable
|
|
3890
|
+
|
|
3891
|
+
# Provides error statistics for the query job across all AI function calls.
|
|
3892
|
+
# Corresponds to the JSON property `errorStats`
|
|
3893
|
+
# @return [Google::Apis::BigqueryV2::GenAiErrorStats]
|
|
3894
|
+
attr_accessor :error_stats
|
|
3895
|
+
|
|
3896
|
+
# Function level stats for GenAi Functions. See https://docs.cloud.google.com/
|
|
3897
|
+
# bigquery/docs/generative-ai-overview
|
|
3898
|
+
# Corresponds to the JSON property `functionStats`
|
|
3899
|
+
# @return [Array<Google::Apis::BigqueryV2::GenAiFunctionStats>]
|
|
3900
|
+
attr_accessor :function_stats
|
|
3901
|
+
|
|
3902
|
+
def initialize(**args)
|
|
3903
|
+
update!(**args)
|
|
3904
|
+
end
|
|
3905
|
+
|
|
3906
|
+
# Update properties of this object
|
|
3907
|
+
def update!(**args)
|
|
3908
|
+
@error_stats = args[:error_stats] if args.key?(:error_stats)
|
|
3909
|
+
@function_stats = args[:function_stats] if args.key?(:function_stats)
|
|
3910
|
+
end
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
# Optional. Definition of how values are generated for the field. Only valid for
|
|
3914
|
+
# top-level schema fields (not nested fields).
|
|
3915
|
+
class GeneratedColumn
|
|
3916
|
+
include Google::Apis::Core::Hashable
|
|
3917
|
+
|
|
3918
|
+
# Definition of the expression used to generate the field.
|
|
3919
|
+
# Corresponds to the JSON property `generatedExpressionInfo`
|
|
3920
|
+
# @return [Google::Apis::BigqueryV2::GeneratedExpressionInfo]
|
|
3921
|
+
attr_accessor :generated_expression_info
|
|
3922
|
+
|
|
3923
|
+
# Optional. Dictates when system generated values are used to populate the field.
|
|
3924
|
+
# Corresponds to the JSON property `generatedMode`
|
|
3925
|
+
# @return [String]
|
|
3926
|
+
attr_accessor :generated_mode
|
|
3927
|
+
|
|
3928
|
+
def initialize(**args)
|
|
3929
|
+
update!(**args)
|
|
3930
|
+
end
|
|
3931
|
+
|
|
3932
|
+
# Update properties of this object
|
|
3933
|
+
def update!(**args)
|
|
3934
|
+
@generated_expression_info = args[:generated_expression_info] if args.key?(:generated_expression_info)
|
|
3935
|
+
@generated_mode = args[:generated_mode] if args.key?(:generated_mode)
|
|
3936
|
+
end
|
|
3937
|
+
end
|
|
3938
|
+
|
|
3939
|
+
# Definition of the expression used to generate the field.
|
|
3940
|
+
class GeneratedExpressionInfo
|
|
3941
|
+
include Google::Apis::Core::Hashable
|
|
3942
|
+
|
|
3943
|
+
# Optional. Whether the column generation is done asynchronously.
|
|
3944
|
+
# Corresponds to the JSON property `asynchronous`
|
|
3945
|
+
# @return [Boolean]
|
|
3946
|
+
attr_accessor :asynchronous
|
|
3947
|
+
alias_method :asynchronous?, :asynchronous
|
|
3948
|
+
|
|
3949
|
+
# Optional. The generation expression (e.g. AI.EMBED(...)) used to generated the
|
|
3950
|
+
# field.
|
|
3951
|
+
# Corresponds to the JSON property `generationExpression`
|
|
3952
|
+
# @return [String]
|
|
3953
|
+
attr_accessor :generation_expression
|
|
3954
|
+
|
|
3955
|
+
# Optional. Whether the generated column is stored in the table.
|
|
3956
|
+
# Corresponds to the JSON property `stored`
|
|
3957
|
+
# @return [Boolean]
|
|
3958
|
+
attr_accessor :stored
|
|
3959
|
+
alias_method :stored?, :stored
|
|
3960
|
+
|
|
3961
|
+
def initialize(**args)
|
|
3962
|
+
update!(**args)
|
|
3963
|
+
end
|
|
3964
|
+
|
|
3965
|
+
# Update properties of this object
|
|
3966
|
+
def update!(**args)
|
|
3967
|
+
@asynchronous = args[:asynchronous] if args.key?(:asynchronous)
|
|
3968
|
+
@generation_expression = args[:generation_expression] if args.key?(:generation_expression)
|
|
3969
|
+
@stored = args[:stored] if args.key?(:stored)
|
|
3970
|
+
end
|
|
3971
|
+
end
|
|
3972
|
+
|
|
3691
3973
|
# Request message for `GetIamPolicy` method.
|
|
3692
3974
|
class GetIamPolicyRequest
|
|
3693
3975
|
include Google::Apis::Core::Hashable
|
|
@@ -5241,7 +5523,7 @@ module Google
|
|
|
5241
5523
|
|
|
5242
5524
|
# Precisions (maximum number of total digits in base 10) for seconds of
|
|
5243
5525
|
# TIMESTAMP types that are allowed to the destination table for autodetection
|
|
5244
|
-
# mode. Available for the formats: CSV
|
|
5526
|
+
# mode. Available for the formats: CSV, PARQUET, and AVRO. Possible values
|
|
5245
5527
|
# include: Not Specified, [], or [6]: timestamp(6) for all auto detected
|
|
5246
5528
|
# TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP
|
|
5247
5529
|
# columns that have less than 6 digits of subseconds. timestamp(12) for all auto
|
|
@@ -6136,6 +6418,11 @@ module Google
|
|
|
6136
6418
|
# @return [Array<Google::Apis::BigqueryV2::ExternalServiceCost>]
|
|
6137
6419
|
attr_accessor :external_service_costs
|
|
6138
6420
|
|
|
6421
|
+
# GenAi stats for the query job.
|
|
6422
|
+
# Corresponds to the JSON property `genAiStats`
|
|
6423
|
+
# @return [Google::Apis::BigqueryV2::GenAiStats]
|
|
6424
|
+
attr_accessor :gen_ai_stats
|
|
6425
|
+
|
|
6139
6426
|
# Statistics related to Incremental Query Results. Populated as part of
|
|
6140
6427
|
# JobStatistics2. This feature is not yet available.
|
|
6141
6428
|
# Corresponds to the JSON property `incrementalResultStats`
|
|
@@ -6414,6 +6701,7 @@ module Google
|
|
|
6414
6701
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
|
6415
6702
|
@export_data_statistics = args[:export_data_statistics] if args.key?(:export_data_statistics)
|
|
6416
6703
|
@external_service_costs = args[:external_service_costs] if args.key?(:external_service_costs)
|
|
6704
|
+
@gen_ai_stats = args[:gen_ai_stats] if args.key?(:gen_ai_stats)
|
|
6417
6705
|
@incremental_result_stats = args[:incremental_result_stats] if args.key?(:incremental_result_stats)
|
|
6418
6706
|
@load_query_statistics = args[:load_query_statistics] if args.key?(:load_query_statistics)
|
|
6419
6707
|
@materialized_view_statistics = args[:materialized_view_statistics] if args.key?(:materialized_view_statistics)
|
|
@@ -7019,6 +7307,33 @@ module Google
|
|
|
7019
7307
|
end
|
|
7020
7308
|
end
|
|
7021
7309
|
|
|
7310
|
+
# Column Metadata Index staleness detailed infnormation.
|
|
7311
|
+
class MetadataCacheStalenessInsight
|
|
7312
|
+
include Google::Apis::Core::Hashable
|
|
7313
|
+
|
|
7314
|
+
# Output only. Average column metadata index staleness of previous runs with the
|
|
7315
|
+
# same query hash.
|
|
7316
|
+
# Corresponds to the JSON property `avgPreviousStalenessMs`
|
|
7317
|
+
# @return [String]
|
|
7318
|
+
attr_accessor :avg_previous_staleness_ms
|
|
7319
|
+
|
|
7320
|
+
# Output only. The percent increase in staleness between the current job and the
|
|
7321
|
+
# average staleness of previous jobs with the same query hash.
|
|
7322
|
+
# Corresponds to the JSON property `stalenessPercentageIncrease`
|
|
7323
|
+
# @return [Float]
|
|
7324
|
+
attr_accessor :staleness_percentage_increase
|
|
7325
|
+
|
|
7326
|
+
def initialize(**args)
|
|
7327
|
+
update!(**args)
|
|
7328
|
+
end
|
|
7329
|
+
|
|
7330
|
+
# Update properties of this object
|
|
7331
|
+
def update!(**args)
|
|
7332
|
+
@avg_previous_staleness_ms = args[:avg_previous_staleness_ms] if args.key?(:avg_previous_staleness_ms)
|
|
7333
|
+
@staleness_percentage_increase = args[:staleness_percentage_increase] if args.key?(:staleness_percentage_increase)
|
|
7334
|
+
end
|
|
7335
|
+
end
|
|
7336
|
+
|
|
7022
7337
|
# Statistics for metadata caching in queried tables.
|
|
7023
7338
|
class MetadataCacheStatistics
|
|
7024
7339
|
include Google::Apis::Core::Hashable
|
|
@@ -7517,6 +7832,12 @@ module Google
|
|
|
7517
7832
|
# @return [Array<Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight>]
|
|
7518
7833
|
attr_accessor :stage_performance_standalone_insights
|
|
7519
7834
|
|
|
7835
|
+
# Output only. Performance insights for table-level attributes that changed
|
|
7836
|
+
# compared to previous runs.
|
|
7837
|
+
# Corresponds to the JSON property `tableChangeInsights`
|
|
7838
|
+
# @return [Array<Google::Apis::BigqueryV2::TableChangeInsight>]
|
|
7839
|
+
attr_accessor :table_change_insights
|
|
7840
|
+
|
|
7520
7841
|
def initialize(**args)
|
|
7521
7842
|
update!(**args)
|
|
7522
7843
|
end
|
|
@@ -7526,6 +7847,7 @@ module Google
|
|
|
7526
7847
|
@avg_previous_execution_ms = args[:avg_previous_execution_ms] if args.key?(:avg_previous_execution_ms)
|
|
7527
7848
|
@stage_performance_change_insights = args[:stage_performance_change_insights] if args.key?(:stage_performance_change_insights)
|
|
7528
7849
|
@stage_performance_standalone_insights = args[:stage_performance_standalone_insights] if args.key?(:stage_performance_standalone_insights)
|
|
7850
|
+
@table_change_insights = args[:table_change_insights] if args.key?(:table_change_insights)
|
|
7529
7851
|
end
|
|
7530
7852
|
end
|
|
7531
7853
|
|
|
@@ -7716,7 +8038,8 @@ module Google
|
|
|
7716
8038
|
# @return [String]
|
|
7717
8039
|
attr_accessor :next_page_token
|
|
7718
8040
|
|
|
7719
|
-
# Projects to which the user has at least READ access.
|
|
8041
|
+
# Projects to which the user has at least READ access. This field can be omitted
|
|
8042
|
+
# if `totalItems` is 0.
|
|
7720
8043
|
# Corresponds to the JSON property `projects`
|
|
7721
8044
|
# @return [Array<Google::Apis::BigqueryV2::ProjectList::Project>]
|
|
7722
8045
|
attr_accessor :projects
|
|
@@ -8830,6 +9153,11 @@ module Google
|
|
|
8830
9153
|
# @return [Array<Google::Apis::BigqueryV2::Argument>]
|
|
8831
9154
|
attr_accessor :arguments
|
|
8832
9155
|
|
|
9156
|
+
# The status of a routine build.
|
|
9157
|
+
# Corresponds to the JSON property `buildStatus`
|
|
9158
|
+
# @return [Google::Apis::BigqueryV2::RoutineBuildStatus]
|
|
9159
|
+
attr_accessor :build_status
|
|
9160
|
+
|
|
8833
9161
|
# Output only. The time when this routine was created, in milliseconds since the
|
|
8834
9162
|
# epoch.
|
|
8835
9163
|
# Corresponds to the JSON property `creationTime`
|
|
@@ -8965,6 +9293,7 @@ module Google
|
|
|
8965
9293
|
# Update properties of this object
|
|
8966
9294
|
def update!(**args)
|
|
8967
9295
|
@arguments = args[:arguments] if args.key?(:arguments)
|
|
9296
|
+
@build_status = args[:build_status] if args.key?(:build_status)
|
|
8968
9297
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
8969
9298
|
@data_governance_type = args[:data_governance_type] if args.key?(:data_governance_type)
|
|
8970
9299
|
@definition_body = args[:definition_body] if args.key?(:definition_body)
|
|
@@ -8987,6 +9316,51 @@ module Google
|
|
|
8987
9316
|
end
|
|
8988
9317
|
end
|
|
8989
9318
|
|
|
9319
|
+
# The status of a routine build.
|
|
9320
|
+
class RoutineBuildStatus
|
|
9321
|
+
include Google::Apis::Core::Hashable
|
|
9322
|
+
|
|
9323
|
+
# Output only. The time taken for the image build. Populated only after the
|
|
9324
|
+
# build succeeds or fails.
|
|
9325
|
+
# Corresponds to the JSON property `buildDuration`
|
|
9326
|
+
# @return [String]
|
|
9327
|
+
attr_accessor :build_duration
|
|
9328
|
+
|
|
9329
|
+
# Output only. The current build state of the routine.
|
|
9330
|
+
# Corresponds to the JSON property `buildState`
|
|
9331
|
+
# @return [String]
|
|
9332
|
+
attr_accessor :build_state
|
|
9333
|
+
|
|
9334
|
+
# Output only. The time when the build state was updated last.
|
|
9335
|
+
# Corresponds to the JSON property `buildStateUpdateTime`
|
|
9336
|
+
# @return [String]
|
|
9337
|
+
attr_accessor :build_state_update_time
|
|
9338
|
+
|
|
9339
|
+
# Error details.
|
|
9340
|
+
# Corresponds to the JSON property `errorResult`
|
|
9341
|
+
# @return [Google::Apis::BigqueryV2::ErrorProto]
|
|
9342
|
+
attr_accessor :error_result
|
|
9343
|
+
|
|
9344
|
+
# Output only. The size of the image in bytes. Populated only after the build
|
|
9345
|
+
# succeeds.
|
|
9346
|
+
# Corresponds to the JSON property `imageSizeBytes`
|
|
9347
|
+
# @return [Fixnum]
|
|
9348
|
+
attr_accessor :image_size_bytes
|
|
9349
|
+
|
|
9350
|
+
def initialize(**args)
|
|
9351
|
+
update!(**args)
|
|
9352
|
+
end
|
|
9353
|
+
|
|
9354
|
+
# Update properties of this object
|
|
9355
|
+
def update!(**args)
|
|
9356
|
+
@build_duration = args[:build_duration] if args.key?(:build_duration)
|
|
9357
|
+
@build_state = args[:build_state] if args.key?(:build_state)
|
|
9358
|
+
@build_state_update_time = args[:build_state_update_time] if args.key?(:build_state_update_time)
|
|
9359
|
+
@error_result = args[:error_result] if args.key?(:error_result)
|
|
9360
|
+
@image_size_bytes = args[:image_size_bytes] if args.key?(:image_size_bytes)
|
|
9361
|
+
end
|
|
9362
|
+
end
|
|
9363
|
+
|
|
8990
9364
|
# Id path of a routine.
|
|
8991
9365
|
class RoutineReference
|
|
8992
9366
|
include Google::Apis::Core::Hashable
|
|
@@ -10463,6 +10837,40 @@ module Google
|
|
|
10463
10837
|
end
|
|
10464
10838
|
end
|
|
10465
10839
|
|
|
10840
|
+
# Table-level performance insights compared to previous runs. These insights don'
|
|
10841
|
+
# t apply to specific query stages, rather they apply to the whole table.
|
|
10842
|
+
class TableChangeInsight
|
|
10843
|
+
include Google::Apis::Core::Hashable
|
|
10844
|
+
|
|
10845
|
+
# Output only. True if the table's column metadata index was not used in the
|
|
10846
|
+
# current job, but was used in a previous job with the same query hash.
|
|
10847
|
+
# Corresponds to the JSON property `metadataCacheNotUsedButUsedPreviously`
|
|
10848
|
+
# @return [Boolean]
|
|
10849
|
+
attr_accessor :metadata_cache_not_used_but_used_previously
|
|
10850
|
+
alias_method :metadata_cache_not_used_but_used_previously?, :metadata_cache_not_used_but_used_previously
|
|
10851
|
+
|
|
10852
|
+
# Column Metadata Index staleness detailed infnormation.
|
|
10853
|
+
# Corresponds to the JSON property `metadataCacheStalenessInsight`
|
|
10854
|
+
# @return [Google::Apis::BigqueryV2::MetadataCacheStalenessInsight]
|
|
10855
|
+
attr_accessor :metadata_cache_staleness_insight
|
|
10856
|
+
|
|
10857
|
+
# Output only. The table that was queried.
|
|
10858
|
+
# Corresponds to the JSON property `tableReference`
|
|
10859
|
+
# @return [Google::Apis::BigqueryV2::TableReference]
|
|
10860
|
+
attr_accessor :table_reference
|
|
10861
|
+
|
|
10862
|
+
def initialize(**args)
|
|
10863
|
+
update!(**args)
|
|
10864
|
+
end
|
|
10865
|
+
|
|
10866
|
+
# Update properties of this object
|
|
10867
|
+
def update!(**args)
|
|
10868
|
+
@metadata_cache_not_used_but_used_previously = args[:metadata_cache_not_used_but_used_previously] if args.key?(:metadata_cache_not_used_but_used_previously)
|
|
10869
|
+
@metadata_cache_staleness_insight = args[:metadata_cache_staleness_insight] if args.key?(:metadata_cache_staleness_insight)
|
|
10870
|
+
@table_reference = args[:table_reference] if args.key?(:table_reference)
|
|
10871
|
+
end
|
|
10872
|
+
end
|
|
10873
|
+
|
|
10466
10874
|
# The TableConstraints defines the primary key and foreign key.
|
|
10467
10875
|
class TableConstraints
|
|
10468
10876
|
include Google::Apis::Core::Hashable
|
|
@@ -10797,12 +11205,34 @@ module Google
|
|
|
10797
11205
|
# @return [String]
|
|
10798
11206
|
attr_accessor :collation
|
|
10799
11207
|
|
|
11208
|
+
# Optional. Specifies the data governance tags on this field. This field works
|
|
11209
|
+
# with other column-level security fields as follows: - Precedence: If a data
|
|
11210
|
+
# governance tag is attached to a column, it takes precedence over the policy
|
|
11211
|
+
# tag attached to the column. However, if a data policy is attached to a column,
|
|
11212
|
+
# it takes precedence over the data governance tag. - Patching behavior (how
|
|
11213
|
+
# this field behaves during a `Table.patch` schema update): - Unset: If the `
|
|
11214
|
+
# data_governance_tags_info` field is omitted from the update request, the
|
|
11215
|
+
# existing tags on the column are preserved. - Empty Field: To clear data
|
|
11216
|
+
# governance tags from a column, send the `data_governance_tags_info` field as
|
|
11217
|
+
# an empty object. This will remove all tags from the column. - Updating tags:
|
|
11218
|
+
# To replace existing tag, send the field with the new tag.
|
|
11219
|
+
# Corresponds to the JSON property `dataGovernanceTagsInfo`
|
|
11220
|
+
# @return [Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo]
|
|
11221
|
+
attr_accessor :data_governance_tags_info
|
|
11222
|
+
|
|
10800
11223
|
# Optional. Data policies attached to this field, used for field-level access
|
|
10801
11224
|
# control.
|
|
10802
11225
|
# Corresponds to the JSON property `dataPolicies`
|
|
10803
11226
|
# @return [Array<Google::Apis::BigqueryV2::DataPolicyOption>]
|
|
10804
11227
|
attr_accessor :data_policies
|
|
10805
11228
|
|
|
11229
|
+
# A list of data policy options. For more information, see [Mask data by
|
|
11230
|
+
# applying data policies to a column](https://docs.cloud.google.com/bigquery/
|
|
11231
|
+
# docs/column-data-masking#data-policies-on-column).
|
|
11232
|
+
# Corresponds to the JSON property `dataPolicyList`
|
|
11233
|
+
# @return [Google::Apis::BigqueryV2::DataPolicyList]
|
|
11234
|
+
attr_accessor :data_policy_list
|
|
11235
|
+
|
|
10806
11236
|
# Optional. A SQL expression to specify the [default value] (https://cloud.
|
|
10807
11237
|
# google.com/bigquery/docs/default-values) for this field.
|
|
10808
11238
|
# Corresponds to the JSON property `defaultValueExpression`
|
|
@@ -10826,6 +11256,12 @@ module Google
|
|
|
10826
11256
|
# @return [String]
|
|
10827
11257
|
attr_accessor :foreign_type_definition
|
|
10828
11258
|
|
|
11259
|
+
# Optional. Definition of how values are generated for the field. Only valid for
|
|
11260
|
+
# top-level schema fields (not nested fields).
|
|
11261
|
+
# Corresponds to the JSON property `generatedColumn`
|
|
11262
|
+
# @return [Google::Apis::BigqueryV2::GeneratedColumn]
|
|
11263
|
+
attr_accessor :generated_column
|
|
11264
|
+
|
|
10829
11265
|
# Optional. Maximum length of values of this field for STRINGS or BYTES. If
|
|
10830
11266
|
# max_length is not specified, no maximum length constraint is imposed on this
|
|
10831
11267
|
# field. If type = "STRING", then max_length represents the maximum UTF-8 length
|
|
@@ -10915,11 +11351,14 @@ module Google
|
|
|
10915
11351
|
def update!(**args)
|
|
10916
11352
|
@categories = args[:categories] if args.key?(:categories)
|
|
10917
11353
|
@collation = args[:collation] if args.key?(:collation)
|
|
11354
|
+
@data_governance_tags_info = args[:data_governance_tags_info] if args.key?(:data_governance_tags_info)
|
|
10918
11355
|
@data_policies = args[:data_policies] if args.key?(:data_policies)
|
|
11356
|
+
@data_policy_list = args[:data_policy_list] if args.key?(:data_policy_list)
|
|
10919
11357
|
@default_value_expression = args[:default_value_expression] if args.key?(:default_value_expression)
|
|
10920
11358
|
@description = args[:description] if args.key?(:description)
|
|
10921
11359
|
@fields = args[:fields] if args.key?(:fields)
|
|
10922
11360
|
@foreign_type_definition = args[:foreign_type_definition] if args.key?(:foreign_type_definition)
|
|
11361
|
+
@generated_column = args[:generated_column] if args.key?(:generated_column)
|
|
10923
11362
|
@max_length = args[:max_length] if args.key?(:max_length)
|
|
10924
11363
|
@mode = args[:mode] if args.key?(:mode)
|
|
10925
11364
|
@name = args[:name] if args.key?(:name)
|
|
@@ -10951,6 +11390,43 @@ module Google
|
|
|
10951
11390
|
end
|
|
10952
11391
|
end
|
|
10953
11392
|
|
|
11393
|
+
# Optional. Specifies the data governance tags on this field. This field works
|
|
11394
|
+
# with other column-level security fields as follows: - Precedence: If a data
|
|
11395
|
+
# governance tag is attached to a column, it takes precedence over the policy
|
|
11396
|
+
# tag attached to the column. However, if a data policy is attached to a column,
|
|
11397
|
+
# it takes precedence over the data governance tag. - Patching behavior (how
|
|
11398
|
+
# this field behaves during a `Table.patch` schema update): - Unset: If the `
|
|
11399
|
+
# data_governance_tags_info` field is omitted from the update request, the
|
|
11400
|
+
# existing tags on the column are preserved. - Empty Field: To clear data
|
|
11401
|
+
# governance tags from a column, send the `data_governance_tags_info` field as
|
|
11402
|
+
# an empty object. This will remove all tags from the column. - Updating tags:
|
|
11403
|
+
# To replace existing tag, send the field with the new tag.
|
|
11404
|
+
class DataGovernanceTagsInfo
|
|
11405
|
+
include Google::Apis::Core::Hashable
|
|
11406
|
+
|
|
11407
|
+
# Optional. The data governance tags added to this field are used for field-
|
|
11408
|
+
# level access control. Only one data governance tag is currently supported on a
|
|
11409
|
+
# field. Tag keys are globally unique. Tag key is expected to be in the
|
|
11410
|
+
# namespaced format, for example "123456789012/pii" where 123456789012 is the ID
|
|
11411
|
+
# of the parent organization or project resource for this tag key. Tag value is
|
|
11412
|
+
# expected to be the short name, for example "sensitive". See [Tag definitions](
|
|
11413
|
+
# https://cloud.google.com/iam/docs/tags-access-control#definitions) for more
|
|
11414
|
+
# details. For example: "123456789012/pii": "sensitive", "myProject/cost_center":
|
|
11415
|
+
# "sales"
|
|
11416
|
+
# Corresponds to the JSON property `dataGovernanceTags`
|
|
11417
|
+
# @return [Hash<String,String>]
|
|
11418
|
+
attr_accessor :data_governance_tags
|
|
11419
|
+
|
|
11420
|
+
def initialize(**args)
|
|
11421
|
+
update!(**args)
|
|
11422
|
+
end
|
|
11423
|
+
|
|
11424
|
+
# Update properties of this object
|
|
11425
|
+
def update!(**args)
|
|
11426
|
+
@data_governance_tags = args[:data_governance_tags] if args.key?(:data_governance_tags)
|
|
11427
|
+
end
|
|
11428
|
+
end
|
|
11429
|
+
|
|
10954
11430
|
# Optional. The policy tags attached to this field, used for field-level access
|
|
10955
11431
|
# control. If not set, defaults to empty policy_tags.
|
|
10956
11432
|
class PolicyTags
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BigqueryV2
|
|
18
18
|
# Version of the google-apis-bigquery_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.102.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260429"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -262,6 +262,12 @@ module Google
|
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
+
class DataPolicyList
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
265
271
|
class DataPolicyOption
|
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
273
|
|
|
@@ -466,6 +472,54 @@ module Google
|
|
|
466
472
|
include Google::Apis::Core::JsonObjectSupport
|
|
467
473
|
end
|
|
468
474
|
|
|
475
|
+
class GenAiErrorStats
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
class GenAiFunctionCacheStats
|
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
+
|
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
class GenAiFunctionCostOptimizationStats
|
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
+
|
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
class GenAiFunctionErrorStats
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
class GenAiFunctionStats
|
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
+
|
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
class GenAiStats
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
class GeneratedColumn
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
class GeneratedExpressionInfo
|
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
519
|
+
|
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
521
|
+
end
|
|
522
|
+
|
|
469
523
|
class GetIamPolicyRequest
|
|
470
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
525
|
|
|
@@ -778,6 +832,12 @@ module Google
|
|
|
778
832
|
include Google::Apis::Core::JsonObjectSupport
|
|
779
833
|
end
|
|
780
834
|
|
|
835
|
+
class MetadataCacheStalenessInsight
|
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
837
|
+
|
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
839
|
+
end
|
|
840
|
+
|
|
781
841
|
class MetadataCacheStatistics
|
|
782
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
843
|
|
|
@@ -1012,6 +1072,12 @@ module Google
|
|
|
1012
1072
|
include Google::Apis::Core::JsonObjectSupport
|
|
1013
1073
|
end
|
|
1014
1074
|
|
|
1075
|
+
class RoutineBuildStatus
|
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1077
|
+
|
|
1078
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1015
1081
|
class RoutineReference
|
|
1016
1082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1017
1083
|
|
|
@@ -1198,6 +1264,12 @@ module Google
|
|
|
1198
1264
|
include Google::Apis::Core::JsonObjectSupport
|
|
1199
1265
|
end
|
|
1200
1266
|
|
|
1267
|
+
class TableChangeInsight
|
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1269
|
+
|
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1201
1273
|
class TableConstraints
|
|
1202
1274
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1203
1275
|
|
|
@@ -1267,6 +1339,12 @@ module Google
|
|
|
1267
1339
|
include Google::Apis::Core::JsonObjectSupport
|
|
1268
1340
|
end
|
|
1269
1341
|
|
|
1342
|
+
class DataGovernanceTagsInfo
|
|
1343
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1344
|
+
|
|
1345
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1270
1348
|
class PolicyTags
|
|
1271
1349
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1272
1350
|
|
|
@@ -1817,6 +1895,14 @@ module Google
|
|
|
1817
1895
|
end
|
|
1818
1896
|
end
|
|
1819
1897
|
|
|
1898
|
+
class DataPolicyList
|
|
1899
|
+
# @private
|
|
1900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1901
|
+
collection :data_policies, as: 'dataPolicies', class: Google::Apis::BigqueryV2::DataPolicyOption, decorator: Google::Apis::BigqueryV2::DataPolicyOption::Representation
|
|
1902
|
+
|
|
1903
|
+
end
|
|
1904
|
+
end
|
|
1905
|
+
|
|
1820
1906
|
class DataPolicyOption
|
|
1821
1907
|
# @private
|
|
1822
1908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1841,6 +1927,7 @@ module Google
|
|
|
1841
1927
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1842
1928
|
collection :access, as: 'access', class: Google::Apis::BigqueryV2::Dataset::Access, decorator: Google::Apis::BigqueryV2::Dataset::Access::Representation
|
|
1843
1929
|
|
|
1930
|
+
property :catalog_source, as: 'catalogSource'
|
|
1844
1931
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
|
1845
1932
|
property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
|
1846
1933
|
|
|
@@ -1932,6 +2019,7 @@ module Google
|
|
|
1932
2019
|
class Dataset
|
|
1933
2020
|
# @private
|
|
1934
2021
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2022
|
+
property :catalog_source, as: 'catalogSource'
|
|
1935
2023
|
property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
|
1936
2024
|
|
|
1937
2025
|
property :external_dataset_reference, as: 'externalDatasetReference', class: Google::Apis::BigqueryV2::ExternalDatasetReference, decorator: Google::Apis::BigqueryV2::ExternalDatasetReference::Representation
|
|
@@ -1941,6 +2029,7 @@ module Google
|
|
|
1941
2029
|
property :kind, as: 'kind'
|
|
1942
2030
|
hash :labels, as: 'labels'
|
|
1943
2031
|
property :location, as: 'location'
|
|
2032
|
+
property :type, as: 'type'
|
|
1944
2033
|
end
|
|
1945
2034
|
end
|
|
1946
2035
|
end
|
|
@@ -2210,6 +2299,7 @@ module Google
|
|
|
2210
2299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2211
2300
|
property :container_cpu, as: 'containerCpu'
|
|
2212
2301
|
property :container_memory, as: 'containerMemory'
|
|
2302
|
+
property :container_request_concurrency, :numeric_string => true, as: 'containerRequestConcurrency'
|
|
2213
2303
|
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
|
2214
2304
|
property :runtime_connection, as: 'runtimeConnection'
|
|
2215
2305
|
property :runtime_version, as: 'runtimeVersion'
|
|
@@ -2253,6 +2343,79 @@ module Google
|
|
|
2253
2343
|
end
|
|
2254
2344
|
end
|
|
2255
2345
|
|
|
2346
|
+
class GenAiErrorStats
|
|
2347
|
+
# @private
|
|
2348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2349
|
+
collection :errors, as: 'errors'
|
|
2350
|
+
end
|
|
2351
|
+
end
|
|
2352
|
+
|
|
2353
|
+
class GenAiFunctionCacheStats
|
|
2354
|
+
# @private
|
|
2355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2356
|
+
property :num_cache_hit_rows, :numeric_string => true, as: 'numCacheHitRows'
|
|
2357
|
+
end
|
|
2358
|
+
end
|
|
2359
|
+
|
|
2360
|
+
class GenAiFunctionCostOptimizationStats
|
|
2361
|
+
# @private
|
|
2362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2363
|
+
property :message, as: 'message'
|
|
2364
|
+
property :num_cost_optimized_rows, :numeric_string => true, as: 'numCostOptimizedRows'
|
|
2365
|
+
end
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2368
|
+
class GenAiFunctionErrorStats
|
|
2369
|
+
# @private
|
|
2370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2371
|
+
collection :errors, as: 'errors'
|
|
2372
|
+
property :num_failed_rows, :numeric_string => true, as: 'numFailedRows'
|
|
2373
|
+
end
|
|
2374
|
+
end
|
|
2375
|
+
|
|
2376
|
+
class GenAiFunctionStats
|
|
2377
|
+
# @private
|
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2379
|
+
property :cache_stats, as: 'cacheStats', class: Google::Apis::BigqueryV2::GenAiFunctionCacheStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionCacheStats::Representation
|
|
2380
|
+
|
|
2381
|
+
property :cost_optimization_stats, as: 'costOptimizationStats', class: Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats::Representation
|
|
2382
|
+
|
|
2383
|
+
property :error_stats, as: 'errorStats', class: Google::Apis::BigqueryV2::GenAiFunctionErrorStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionErrorStats::Representation
|
|
2384
|
+
|
|
2385
|
+
property :function_name, as: 'functionName'
|
|
2386
|
+
property :num_processed_rows, :numeric_string => true, as: 'numProcessedRows'
|
|
2387
|
+
property :prompt, as: 'prompt'
|
|
2388
|
+
end
|
|
2389
|
+
end
|
|
2390
|
+
|
|
2391
|
+
class GenAiStats
|
|
2392
|
+
# @private
|
|
2393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2394
|
+
property :error_stats, as: 'errorStats', class: Google::Apis::BigqueryV2::GenAiErrorStats, decorator: Google::Apis::BigqueryV2::GenAiErrorStats::Representation
|
|
2395
|
+
|
|
2396
|
+
collection :function_stats, as: 'functionStats', class: Google::Apis::BigqueryV2::GenAiFunctionStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionStats::Representation
|
|
2397
|
+
|
|
2398
|
+
end
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2401
|
+
class GeneratedColumn
|
|
2402
|
+
# @private
|
|
2403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2404
|
+
property :generated_expression_info, as: 'generatedExpressionInfo', class: Google::Apis::BigqueryV2::GeneratedExpressionInfo, decorator: Google::Apis::BigqueryV2::GeneratedExpressionInfo::Representation
|
|
2405
|
+
|
|
2406
|
+
property :generated_mode, as: 'generatedMode'
|
|
2407
|
+
end
|
|
2408
|
+
end
|
|
2409
|
+
|
|
2410
|
+
class GeneratedExpressionInfo
|
|
2411
|
+
# @private
|
|
2412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2413
|
+
property :asynchronous, as: 'asynchronous'
|
|
2414
|
+
property :generation_expression, as: 'generationExpression'
|
|
2415
|
+
property :stored, as: 'stored'
|
|
2416
|
+
end
|
|
2417
|
+
end
|
|
2418
|
+
|
|
2256
2419
|
class GetIamPolicyRequest
|
|
2257
2420
|
# @private
|
|
2258
2421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2826,6 +2989,8 @@ module Google
|
|
|
2826
2989
|
|
|
2827
2990
|
collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation
|
|
2828
2991
|
|
|
2992
|
+
property :gen_ai_stats, as: 'genAiStats', class: Google::Apis::BigqueryV2::GenAiStats, decorator: Google::Apis::BigqueryV2::GenAiStats::Representation
|
|
2993
|
+
|
|
2829
2994
|
property :incremental_result_stats, as: 'incrementalResultStats', class: Google::Apis::BigqueryV2::IncrementalResultStats, decorator: Google::Apis::BigqueryV2::IncrementalResultStats::Representation
|
|
2830
2995
|
|
|
2831
2996
|
property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation
|
|
@@ -3044,6 +3209,14 @@ module Google
|
|
|
3044
3209
|
end
|
|
3045
3210
|
end
|
|
3046
3211
|
|
|
3212
|
+
class MetadataCacheStalenessInsight
|
|
3213
|
+
# @private
|
|
3214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3215
|
+
property :avg_previous_staleness_ms, as: 'avgPreviousStalenessMs'
|
|
3216
|
+
property :staleness_percentage_increase, as: 'stalenessPercentageIncrease'
|
|
3217
|
+
end
|
|
3218
|
+
end
|
|
3219
|
+
|
|
3047
3220
|
class MetadataCacheStatistics
|
|
3048
3221
|
# @private
|
|
3049
3222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3186,6 +3359,8 @@ module Google
|
|
|
3186
3359
|
|
|
3187
3360
|
collection :stage_performance_standalone_insights, as: 'stagePerformanceStandaloneInsights', class: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight, decorator: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight::Representation
|
|
3188
3361
|
|
|
3362
|
+
collection :table_change_insights, as: 'tableChangeInsights', class: Google::Apis::BigqueryV2::TableChangeInsight, decorator: Google::Apis::BigqueryV2::TableChangeInsight::Representation
|
|
3363
|
+
|
|
3189
3364
|
end
|
|
3190
3365
|
end
|
|
3191
3366
|
|
|
@@ -3501,6 +3676,8 @@ module Google
|
|
|
3501
3676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3502
3677
|
collection :arguments, as: 'arguments', class: Google::Apis::BigqueryV2::Argument, decorator: Google::Apis::BigqueryV2::Argument::Representation
|
|
3503
3678
|
|
|
3679
|
+
property :build_status, as: 'buildStatus', class: Google::Apis::BigqueryV2::RoutineBuildStatus, decorator: Google::Apis::BigqueryV2::RoutineBuildStatus::Representation
|
|
3680
|
+
|
|
3504
3681
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
|
3505
3682
|
property :data_governance_type, as: 'dataGovernanceType'
|
|
3506
3683
|
property :definition_body, as: 'definitionBody'
|
|
@@ -3530,6 +3707,18 @@ module Google
|
|
|
3530
3707
|
end
|
|
3531
3708
|
end
|
|
3532
3709
|
|
|
3710
|
+
class RoutineBuildStatus
|
|
3711
|
+
# @private
|
|
3712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3713
|
+
property :build_duration, as: 'buildDuration'
|
|
3714
|
+
property :build_state, as: 'buildState'
|
|
3715
|
+
property :build_state_update_time, as: 'buildStateUpdateTime'
|
|
3716
|
+
property :error_result, as: 'errorResult', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
|
3717
|
+
|
|
3718
|
+
property :image_size_bytes, :numeric_string => true, as: 'imageSizeBytes'
|
|
3719
|
+
end
|
|
3720
|
+
end
|
|
3721
|
+
|
|
3533
3722
|
class RoutineReference
|
|
3534
3723
|
# @private
|
|
3535
3724
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3902,6 +4091,17 @@ module Google
|
|
|
3902
4091
|
end
|
|
3903
4092
|
end
|
|
3904
4093
|
|
|
4094
|
+
class TableChangeInsight
|
|
4095
|
+
# @private
|
|
4096
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4097
|
+
property :metadata_cache_not_used_but_used_previously, as: 'metadataCacheNotUsedButUsedPreviously'
|
|
4098
|
+
property :metadata_cache_staleness_insight, as: 'metadataCacheStalenessInsight', class: Google::Apis::BigqueryV2::MetadataCacheStalenessInsight, decorator: Google::Apis::BigqueryV2::MetadataCacheStalenessInsight::Representation
|
|
4099
|
+
|
|
4100
|
+
property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
|
4101
|
+
|
|
4102
|
+
end
|
|
4103
|
+
end
|
|
4104
|
+
|
|
3905
4105
|
class TableConstraints
|
|
3906
4106
|
# @private
|
|
3907
4107
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4004,13 +4204,19 @@ module Google
|
|
|
4004
4204
|
property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
|
|
4005
4205
|
|
|
4006
4206
|
property :collation, as: 'collation'
|
|
4207
|
+
property :data_governance_tags_info, as: 'dataGovernanceTagsInfo', class: Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo, decorator: Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo::Representation
|
|
4208
|
+
|
|
4007
4209
|
collection :data_policies, as: 'dataPolicies', class: Google::Apis::BigqueryV2::DataPolicyOption, decorator: Google::Apis::BigqueryV2::DataPolicyOption::Representation
|
|
4008
4210
|
|
|
4211
|
+
property :data_policy_list, as: 'dataPolicyList', class: Google::Apis::BigqueryV2::DataPolicyList, decorator: Google::Apis::BigqueryV2::DataPolicyList::Representation
|
|
4212
|
+
|
|
4009
4213
|
property :default_value_expression, as: 'defaultValueExpression'
|
|
4010
4214
|
property :description, as: 'description'
|
|
4011
4215
|
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
|
|
4012
4216
|
|
|
4013
4217
|
property :foreign_type_definition, as: 'foreignTypeDefinition'
|
|
4218
|
+
property :generated_column, as: 'generatedColumn', class: Google::Apis::BigqueryV2::GeneratedColumn, decorator: Google::Apis::BigqueryV2::GeneratedColumn::Representation
|
|
4219
|
+
|
|
4014
4220
|
property :max_length, :numeric_string => true, as: 'maxLength'
|
|
4015
4221
|
property :mode, as: 'mode'
|
|
4016
4222
|
property :name, as: 'name'
|
|
@@ -4032,6 +4238,13 @@ module Google
|
|
|
4032
4238
|
end
|
|
4033
4239
|
end
|
|
4034
4240
|
|
|
4241
|
+
class DataGovernanceTagsInfo
|
|
4242
|
+
# @private
|
|
4243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4244
|
+
hash :data_governance_tags, as: 'dataGovernanceTags'
|
|
4245
|
+
end
|
|
4246
|
+
end
|
|
4247
|
+
|
|
4035
4248
|
class PolicyTags
|
|
4036
4249
|
# @private
|
|
4037
4250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-bigquery_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.102.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.102.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|