google-apis-bigquery_v2 0.106.0 → 0.107.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ccbd623d1b62f433c9e7c0642b452d6a3804bb652e1367d55865740cdb1d17f
|
|
4
|
+
data.tar.gz: 0daf627d27475657a33731877bf324ef0fe33febd3c67c02d66f3976871fa0ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1939b73a5ccb09bdc060ff7573c33e731501b0ece3c99be62638ec800408e2c4e25e1d5baee656e767db8319862b53831c95e27eb1de416332b81ad16c9fd4e5
|
|
7
|
+
data.tar.gz: 40e71ed24fae3b5bc25d16918d5e589ae46e5e948160f0efa5c84fa9faaa0db54930b25735f8efa2095bd1b5272054325a6d421b6912d888264008097051c372
|
data/CHANGELOG.md
CHANGED
|
@@ -3974,8 +3974,9 @@ module Google
|
|
|
3974
3974
|
# @return [Google::Apis::BigqueryV2::GenAiErrorStats]
|
|
3975
3975
|
attr_accessor :error_stats
|
|
3976
3976
|
|
|
3977
|
-
# Function level stats for
|
|
3978
|
-
# bigquery/docs/generative-
|
|
3977
|
+
# Function level stats for GenAI Functions. For more information, see [
|
|
3978
|
+
# Generative AI overview](https://docs.cloud.google.com/bigquery/docs/generative-
|
|
3979
|
+
# ai-overview).
|
|
3979
3980
|
# Corresponds to the JSON property `functionStats`
|
|
3980
3981
|
# @return [Array<Google::Apis::BigqueryV2::GenAiFunctionStats>]
|
|
3981
3982
|
attr_accessor :function_stats
|
|
@@ -8925,6 +8926,99 @@ module Google
|
|
|
8925
8926
|
# @return [Fixnum]
|
|
8926
8927
|
attr_accessor :start_time
|
|
8927
8928
|
|
|
8929
|
+
# Output only. The type of query statement, if valid. Possible values: * `SELECT`
|
|
8930
|
+
# : [`SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8931
|
+
# query-syntax#select_list) statement. * `ASSERT`: [`ASSERT`](https://cloud.
|
|
8932
|
+
# google.com/bigquery/docs/reference/standard-sql/debugging-statements#assert)
|
|
8933
|
+
# statement. * `INSERT`: [`INSERT`](https://cloud.google.com/bigquery/docs/
|
|
8934
|
+
# reference/standard-sql/dml-syntax#insert_statement) statement. * `UPDATE`: [`
|
|
8935
|
+
# UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-
|
|
8936
|
+
# syntax#update_statement) statement. * `DELETE`: [`DELETE`](https://cloud.
|
|
8937
|
+
# google.com/bigquery/docs/reference/standard-sql/data-manipulation-language)
|
|
8938
|
+
# statement. * `MERGE`: [`MERGE`](https://cloud.google.com/bigquery/docs/
|
|
8939
|
+
# reference/standard-sql/data-manipulation-language) statement. * `CREATE_TABLE`:
|
|
8940
|
+
# [`CREATE TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-
|
|
8941
|
+
# sql/data-definition-language#create_table_statement) statement, without `AS
|
|
8942
|
+
# SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE AS SELECT`](https://cloud.
|
|
8943
|
+
# google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8944
|
+
# create_table_statement) statement. * `CREATE_VIEW`: [`CREATE VIEW`](https://
|
|
8945
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8946
|
+
# create_view_statement) statement. * `CREATE_MODEL`: [`CREATE MODEL`](https://
|
|
8947
|
+
# cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-
|
|
8948
|
+
# create#create_model_statement) statement. * `CREATE_MATERIALIZED_VIEW`: [`
|
|
8949
|
+
# CREATE MATERIALIZED VIEW`](https://cloud.google.com/bigquery/docs/reference/
|
|
8950
|
+
# standard-sql/data-definition-language#create_materialized_view_statement)
|
|
8951
|
+
# statement. * `CREATE_FUNCTION`: [`CREATE FUNCTION`](https://cloud.google.com/
|
|
8952
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8953
|
+
# create_function_statement) statement. * `CREATE_TABLE_FUNCTION`: [`CREATE
|
|
8954
|
+
# TABLE FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8955
|
+
# data-definition-language#create_table_function_statement) statement. * `
|
|
8956
|
+
# CREATE_PROCEDURE`: [`CREATE PROCEDURE`](https://cloud.google.com/bigquery/docs/
|
|
8957
|
+
# reference/standard-sql/data-definition-language#create_procedure) statement. *
|
|
8958
|
+
# `CREATE_ROW_ACCESS_POLICY`: [`CREATE ROW ACCESS POLICY`](https://cloud.google.
|
|
8959
|
+
# com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8960
|
+
# create_row_access_policy_statement) statement. * `CREATE_SCHEMA`: [`CREATE
|
|
8961
|
+
# SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8962
|
+
# definition-language#create_schema_statement) statement. * `
|
|
8963
|
+
# CREATE_SNAPSHOT_TABLE`: [`CREATE SNAPSHOT TABLE`](https://cloud.google.com/
|
|
8964
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8965
|
+
# create_snapshot_table_statement) statement. * `CREATE_SEARCH_INDEX`: [`CREATE
|
|
8966
|
+
# SEARCH INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8967
|
+
# data-definition-language#create_search_index_statement) statement. * `
|
|
8968
|
+
# DROP_TABLE`: [`DROP TABLE`](https://cloud.google.com/bigquery/docs/reference/
|
|
8969
|
+
# standard-sql/data-definition-language#drop_table_statement) statement. * `
|
|
8970
|
+
# DROP_EXTERNAL_TABLE`: [`DROP EXTERNAL TABLE`](https://cloud.google.com/
|
|
8971
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8972
|
+
# drop_external_table_statement) statement. * `DROP_VIEW`: [`DROP VIEW`](https://
|
|
8973
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8974
|
+
# drop_view_statement) statement. * `DROP_MODEL`: [`DROP MODEL`](https://cloud.
|
|
8975
|
+
# google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-
|
|
8976
|
+
# model) statement. * `DROP_MATERIALIZED_VIEW`: [`DROP MATERIALIZED VIEW`](https:
|
|
8977
|
+
# //cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-
|
|
8978
|
+
# language#drop_materialized_view_statement) statement. * `DROP_FUNCTION` : [`
|
|
8979
|
+
# DROP FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8980
|
+
# data-definition-language#drop_function_statement) statement. * `
|
|
8981
|
+
# DROP_TABLE_FUNCTION` : [`DROP TABLE FUNCTION`](https://cloud.google.com/
|
|
8982
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8983
|
+
# drop_table_function) statement. * `DROP_PROCEDURE`: [`DROP PROCEDURE`](https://
|
|
8984
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8985
|
+
# drop_procedure_statement) statement. * `DROP_SEARCH_INDEX`: [`DROP SEARCH
|
|
8986
|
+
# INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8987
|
+
# definition-language#drop_search_index) statement. * `DROP_SCHEMA`: [`DROP
|
|
8988
|
+
# SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8989
|
+
# definition-language#drop_schema_statement) statement. * `DROP_SNAPSHOT_TABLE`:
|
|
8990
|
+
# [`DROP SNAPSHOT TABLE`](https://cloud.google.com/bigquery/docs/reference/
|
|
8991
|
+
# standard-sql/data-definition-language#drop_snapshot_table_statement) statement.
|
|
8992
|
+
# * `DROP_ROW_ACCESS_POLICY`: [`DROP [ALL] ROW ACCESS POLICY|POLICIES`](https://
|
|
8993
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8994
|
+
# drop_row_access_policy_statement) statement. * `ALTER_TABLE`: [`ALTER TABLE`](
|
|
8995
|
+
# https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-
|
|
8996
|
+
# language#alter_table_set_options_statement) statement. * `ALTER_VIEW`: [`ALTER
|
|
8997
|
+
# VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8998
|
+
# definition-language#alter_view_set_options_statement) statement. * `
|
|
8999
|
+
# ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED VIEW`](https://cloud.google.com/
|
|
9000
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
9001
|
+
# alter_materialized_view_set_options_statement) statement. * `ALTER_SCHEMA`: [`
|
|
9002
|
+
# ALTER SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9003
|
+
# data-definition-language#alter_schema_set_options_statement) statement. * `
|
|
9004
|
+
# SCRIPT`: [`SCRIPT`](https://cloud.google.com/bigquery/docs/reference/standard-
|
|
9005
|
+
# sql/procedural-language). * `TRUNCATE_TABLE`: [`TRUNCATE TABLE`](https://cloud.
|
|
9006
|
+
# google.com/bigquery/docs/reference/standard-sql/dml-syntax#
|
|
9007
|
+
# truncate_table_statement) statement. * `CREATE_EXTERNAL_TABLE`: [`CREATE
|
|
9008
|
+
# EXTERNAL TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9009
|
+
# data-definition-language#create_external_table_statement) statement. * `
|
|
9010
|
+
# EXPORT_DATA`: [`EXPORT DATA`](https://cloud.google.com/bigquery/docs/reference/
|
|
9011
|
+
# standard-sql/other-statements#export_data_statement) statement. * `
|
|
9012
|
+
# EXPORT_MODEL`: [`EXPORT MODEL`](https://cloud.google.com/bigquery-ml/docs/
|
|
9013
|
+
# reference/standard-sql/bigqueryml-syntax-export-model) statement. * `LOAD_DATA`
|
|
9014
|
+
# : [`LOAD DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9015
|
+
# other-statements#load_data_statement) statement. * `CALL`: [`CALL`](https://
|
|
9016
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call)
|
|
9017
|
+
# statement.
|
|
9018
|
+
# Corresponds to the JSON property `statementType`
|
|
9019
|
+
# @return [String]
|
|
9020
|
+
attr_accessor :statement_type
|
|
9021
|
+
|
|
8928
9022
|
# Output only. If the project is configured to use on-demand pricing, then this
|
|
8929
9023
|
# field contains the total bytes billed for the job. If the project is
|
|
8930
9024
|
# configured to use flat-rate pricing, then you are not billed for bytes and
|
|
@@ -8976,6 +9070,7 @@ module Google
|
|
|
8976
9070
|
@schema = args[:schema] if args.key?(:schema)
|
|
8977
9071
|
@session_info = args[:session_info] if args.key?(:session_info)
|
|
8978
9072
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
9073
|
+
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
|
8979
9074
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
|
8980
9075
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
|
8981
9076
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
|
@@ -10006,6 +10101,22 @@ module Google
|
|
|
10006
10101
|
class SkewSource
|
|
10007
10102
|
include Google::Apis::Core::Hashable
|
|
10008
10103
|
|
|
10104
|
+
# Output only. Max partition output size (in bytes) for this stage.
|
|
10105
|
+
# Corresponds to the JSON property `outputBytesMax`
|
|
10106
|
+
# @return [Fixnum]
|
|
10107
|
+
attr_accessor :output_bytes_max
|
|
10108
|
+
|
|
10109
|
+
# Output only. Median partition output size (in bytes) for this stage.
|
|
10110
|
+
# Corresponds to the JSON property `outputBytesMedian`
|
|
10111
|
+
# @return [Fixnum]
|
|
10112
|
+
attr_accessor :output_bytes_median
|
|
10113
|
+
|
|
10114
|
+
# Output only. 95-th percentile of partition output size (in bytes) for this
|
|
10115
|
+
# stage.
|
|
10116
|
+
# Corresponds to the JSON property `outputBytesP95`
|
|
10117
|
+
# @return [Fixnum]
|
|
10118
|
+
attr_accessor :output_bytes_p95
|
|
10119
|
+
|
|
10009
10120
|
# Output only. Stage id of the skew source stage.
|
|
10010
10121
|
# Corresponds to the JSON property `stageId`
|
|
10011
10122
|
# @return [Fixnum]
|
|
@@ -10017,6 +10128,9 @@ module Google
|
|
|
10017
10128
|
|
|
10018
10129
|
# Update properties of this object
|
|
10019
10130
|
def update!(**args)
|
|
10131
|
+
@output_bytes_max = args[:output_bytes_max] if args.key?(:output_bytes_max)
|
|
10132
|
+
@output_bytes_median = args[:output_bytes_median] if args.key?(:output_bytes_median)
|
|
10133
|
+
@output_bytes_p95 = args[:output_bytes_p95] if args.key?(:output_bytes_p95)
|
|
10020
10134
|
@stage_id = args[:stage_id] if args.key?(:stage_id)
|
|
10021
10135
|
end
|
|
10022
10136
|
end
|
|
@@ -11396,16 +11510,17 @@ module Google
|
|
|
11396
11510
|
attr_accessor :collation
|
|
11397
11511
|
|
|
11398
11512
|
# Optional. Specifies the data governance tags on this field. This field works
|
|
11399
|
-
# with other column-level security fields as follows:
|
|
11400
|
-
# governance tag is attached to a column, it takes precedence over the
|
|
11401
|
-
# tag attached to the column. However, if a data policy is attached to a
|
|
11402
|
-
# it takes precedence over the data governance tag.
|
|
11403
|
-
# this field behaves during a `Table.patch` schema
|
|
11404
|
-
# data_governance_tags_info` field is omitted from
|
|
11405
|
-
# existing tags on the column are preserved.
|
|
11406
|
-
# governance tags from a column, send the `
|
|
11407
|
-
# an empty object. This
|
|
11408
|
-
# To replace existing tag, send the
|
|
11513
|
+
# with other column-level security fields as follows: * **Precedence**: If a
|
|
11514
|
+
# data governance tag is attached to a column, it takes precedence over the
|
|
11515
|
+
# policy tag attached to the column. However, if a data policy is attached to a
|
|
11516
|
+
# column, it takes precedence over the data governance tag. * **Patching
|
|
11517
|
+
# behavior**: Describes how this field behaves during a `Table.patch` schema
|
|
11518
|
+
# update: * **Unset**: If the `data_governance_tags_info` field is omitted from
|
|
11519
|
+
# the update request, the existing tags on the column are preserved. * **Empty
|
|
11520
|
+
# Field**: To clear data governance tags from a column, send the `
|
|
11521
|
+
# data_governance_tags_info` field as an empty object. This removes all tags
|
|
11522
|
+
# from the column. * **Updating tags**: To replace an existing tag, send the
|
|
11523
|
+
# field with the new tag.
|
|
11409
11524
|
# Corresponds to the JSON property `dataGovernanceTagsInfo`
|
|
11410
11525
|
# @return [Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo]
|
|
11411
11526
|
attr_accessor :data_governance_tags_info
|
|
@@ -11581,28 +11696,29 @@ module Google
|
|
|
11581
11696
|
end
|
|
11582
11697
|
|
|
11583
11698
|
# Optional. Specifies the data governance tags on this field. This field works
|
|
11584
|
-
# with other column-level security fields as follows:
|
|
11585
|
-
# governance tag is attached to a column, it takes precedence over the
|
|
11586
|
-
# tag attached to the column. However, if a data policy is attached to a
|
|
11587
|
-
# it takes precedence over the data governance tag.
|
|
11588
|
-
# this field behaves during a `Table.patch` schema
|
|
11589
|
-
# data_governance_tags_info` field is omitted from
|
|
11590
|
-
# existing tags on the column are preserved.
|
|
11591
|
-
# governance tags from a column, send the `
|
|
11592
|
-
# an empty object. This
|
|
11593
|
-
# To replace existing tag, send the
|
|
11699
|
+
# with other column-level security fields as follows: * **Precedence**: If a
|
|
11700
|
+
# data governance tag is attached to a column, it takes precedence over the
|
|
11701
|
+
# policy tag attached to the column. However, if a data policy is attached to a
|
|
11702
|
+
# column, it takes precedence over the data governance tag. * **Patching
|
|
11703
|
+
# behavior**: Describes how this field behaves during a `Table.patch` schema
|
|
11704
|
+
# update: * **Unset**: If the `data_governance_tags_info` field is omitted from
|
|
11705
|
+
# the update request, the existing tags on the column are preserved. * **Empty
|
|
11706
|
+
# Field**: To clear data governance tags from a column, send the `
|
|
11707
|
+
# data_governance_tags_info` field as an empty object. This removes all tags
|
|
11708
|
+
# from the column. * **Updating tags**: To replace an existing tag, send the
|
|
11709
|
+
# field with the new tag.
|
|
11594
11710
|
class DataGovernanceTagsInfo
|
|
11595
11711
|
include Google::Apis::Core::Hashable
|
|
11596
11712
|
|
|
11597
11713
|
# Optional. The data governance tags added to this field are used for field-
|
|
11598
11714
|
# level access control. Only one data governance tag is currently supported on a
|
|
11599
11715
|
# field. Tag keys are globally unique. Tag key is expected to be in the
|
|
11600
|
-
# namespaced format, for example "
|
|
11601
|
-
#
|
|
11716
|
+
# namespaced format, for example "parent-id/pii" where parent-id is the ID of
|
|
11717
|
+
# the parent organization or project resource for this tag key. Tag value is
|
|
11602
11718
|
# expected to be the short name, for example "sensitive". See [Tag definitions](
|
|
11603
11719
|
# https://cloud.google.com/iam/docs/tags-access-control#definitions) for more
|
|
11604
|
-
# details. For example: "
|
|
11605
|
-
#
|
|
11720
|
+
# details. For example: "parent-id/pii": "sensitive", "myProject/cost_center": "
|
|
11721
|
+
# sales"
|
|
11606
11722
|
# Corresponds to the JSON property `dataGovernanceTags`
|
|
11607
11723
|
# @return [Hash<String,String>]
|
|
11608
11724
|
attr_accessor :data_governance_tags
|
|
@@ -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.107.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260811"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -3644,6 +3644,7 @@ module Google
|
|
|
3644
3644
|
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
|
3645
3645
|
|
|
3646
3646
|
property :start_time, :numeric_string => true, as: 'startTime'
|
|
3647
|
+
property :statement_type, as: 'statementType'
|
|
3647
3648
|
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
|
3648
3649
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
|
3649
3650
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
|
@@ -3907,6 +3908,9 @@ module Google
|
|
|
3907
3908
|
class SkewSource
|
|
3908
3909
|
# @private
|
|
3909
3910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3911
|
+
property :output_bytes_max, :numeric_string => true, as: 'outputBytesMax'
|
|
3912
|
+
property :output_bytes_median, :numeric_string => true, as: 'outputBytesMedian'
|
|
3913
|
+
property :output_bytes_p95, :numeric_string => true, as: 'outputBytesP95'
|
|
3910
3914
|
property :stage_id, :numeric_string => true, as: 'stageId'
|
|
3911
3915
|
end
|
|
3912
3916
|
end
|
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.107.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.107.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:
|