google-apis-bigquery_v2 0.83.0 → 0.85.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: 61b53c4716137572f6011b445f68f50456148d3d6d994c5c8f2caf649be34156
|
4
|
+
data.tar.gz: bc5a5f698a5d1e48dbb34849c8b90d25e78f9bb6ed93f543f5b44ea3c7c3a9cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ea55ceca5a8b1766b22cf47ad668a132ad205102a8926725c6c284689a19873813b35299b0a0f5050e7aad985264469170319466fd6a1d612bb46965d28d45
|
7
|
+
data.tar.gz: f35fa4bafdb456ecd7bd97e026297cd985e141b413806f9bf763a75e705c755dbbc299292ee3fe6a951cd24695ce68d9cf7291a7a90baa3addca0cac2fe24dd8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.85.0 (2025-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250302
|
6
|
+
|
7
|
+
### v0.84.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250216
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.83.0 (2025-01-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241222
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
attr_accessor :roc_auc
|
67
67
|
|
68
68
|
# Threshold at which the metrics are computed. For binary classification models
|
69
|
-
# this is the positive class threshold. For multi-class
|
69
|
+
# this is the positive class threshold. For multi-class classification models
|
70
70
|
# this is the confidence threshold.
|
71
71
|
# Corresponds to the JSON property `threshold`
|
72
72
|
# @return [Float]
|
@@ -601,6 +601,34 @@ module Google
|
|
601
601
|
end
|
602
602
|
end
|
603
603
|
|
604
|
+
# Request message for the BatchDeleteRowAccessPoliciesRequest method.
|
605
|
+
class BatchDeleteRowAccessPoliciesRequest
|
606
|
+
include Google::Apis::Core::Hashable
|
607
|
+
|
608
|
+
# If set to true, it deletes the row access policy even if it's the last row
|
609
|
+
# access policy on the table and the deletion will widen the access rather
|
610
|
+
# narrowing it.
|
611
|
+
# Corresponds to the JSON property `force`
|
612
|
+
# @return [Boolean]
|
613
|
+
attr_accessor :force
|
614
|
+
alias_method :force?, :force
|
615
|
+
|
616
|
+
# Required. Policy IDs of the row access policies.
|
617
|
+
# Corresponds to the JSON property `policyIds`
|
618
|
+
# @return [Array<String>]
|
619
|
+
attr_accessor :policy_ids
|
620
|
+
|
621
|
+
def initialize(**args)
|
622
|
+
update!(**args)
|
623
|
+
end
|
624
|
+
|
625
|
+
# Update properties of this object
|
626
|
+
def update!(**args)
|
627
|
+
@force = args[:force] if args.key?(:force)
|
628
|
+
@policy_ids = args[:policy_ids] if args.key?(:policy_ids)
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
604
632
|
# Reason why BI Engine didn't accelerate the query (or sub-query).
|
605
633
|
class BiEngineReason
|
606
634
|
include Google::Apis::Core::Hashable
|
@@ -1578,6 +1606,17 @@ module Google
|
|
1578
1606
|
# @return [String]
|
1579
1607
|
attr_accessor :null_marker
|
1580
1608
|
|
1609
|
+
# Optional. A list of strings represented as SQL NULL value in a CSV file.
|
1610
|
+
# null_marker and null_markers can't be set at the same time. If null_marker is
|
1611
|
+
# set, null_markers has to be not set. If null_markers is set, null_marker has
|
1612
|
+
# to be not set. If both null_marker and null_markers are set at the same time,
|
1613
|
+
# a user error would be thrown. Any strings listed in null_markers, including
|
1614
|
+
# empty string would be interpreted as SQL NULL. This applies to all column
|
1615
|
+
# types.
|
1616
|
+
# Corresponds to the JSON property `nullMarkers`
|
1617
|
+
# @return [Array<String>]
|
1618
|
+
attr_accessor :null_markers
|
1619
|
+
|
1581
1620
|
# Optional. Indicates if the embedded ASCII control characters (the first 32
|
1582
1621
|
# characters in the ASCII-table, from '\x00' to '\x1F') are preserved.
|
1583
1622
|
# Corresponds to the JSON property `preserveAsciiControlCharacters`
|
@@ -1613,6 +1652,18 @@ module Google
|
|
1613
1652
|
# @return [Fixnum]
|
1614
1653
|
attr_accessor :skip_leading_rows
|
1615
1654
|
|
1655
|
+
# Optional. Controls the strategy used to match loaded columns to the schema. If
|
1656
|
+
# not set, a sensible default is chosen based on how the schema is provided. If
|
1657
|
+
# autodetect is used, then columns are matched by name. Otherwise, columns are
|
1658
|
+
# matched by position. This is done to keep the behavior backward-compatible.
|
1659
|
+
# Acceptable values are: POSITION - matches by position. This assumes that the
|
1660
|
+
# columns are ordered the same way as the schema. NAME - matches by name. This
|
1661
|
+
# reads the header row as column names and reorders columns to match the field
|
1662
|
+
# names in the schema.
|
1663
|
+
# Corresponds to the JSON property `sourceColumnMatch`
|
1664
|
+
# @return [String]
|
1665
|
+
attr_accessor :source_column_match
|
1666
|
+
|
1616
1667
|
def initialize(**args)
|
1617
1668
|
update!(**args)
|
1618
1669
|
end
|
@@ -1624,9 +1675,11 @@ module Google
|
|
1624
1675
|
@encoding = args[:encoding] if args.key?(:encoding)
|
1625
1676
|
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
1626
1677
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
1678
|
+
@null_markers = args[:null_markers] if args.key?(:null_markers)
|
1627
1679
|
@preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
|
1628
1680
|
@quote = args[:quote] if args.key?(:quote)
|
1629
1681
|
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
1682
|
+
@source_column_match = args[:source_column_match] if args.key?(:source_column_match)
|
1630
1683
|
end
|
1631
1684
|
end
|
1632
1685
|
|
@@ -3135,6 +3188,18 @@ module Google
|
|
3135
3188
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
3136
3189
|
attr_accessor :csv_options
|
3137
3190
|
|
3191
|
+
# Optional. Format used to parse DATE values. Supports C-style and SQL-style
|
3192
|
+
# values.
|
3193
|
+
# Corresponds to the JSON property `dateFormat`
|
3194
|
+
# @return [String]
|
3195
|
+
attr_accessor :date_format
|
3196
|
+
|
3197
|
+
# Optional. Format used to parse DATETIME values. Supports C-style and SQL-style
|
3198
|
+
# values.
|
3199
|
+
# Corresponds to the JSON property `datetimeFormat`
|
3200
|
+
# @return [String]
|
3201
|
+
attr_accessor :datetime_format
|
3202
|
+
|
3138
3203
|
# Defines the list of possible SQL data types to which the source decimal values
|
3139
3204
|
# are converted. This list and the precision and the scale parameters of the
|
3140
3205
|
# decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC,
|
@@ -3147,7 +3212,7 @@ module Google
|
|
3147
3212
|
# precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC
|
3148
3213
|
# cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold
|
3149
3214
|
# 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error
|
3150
|
-
# if value
|
3215
|
+
# if value exceeds supported range). This field cannot contain duplicate types.
|
3151
3216
|
# The order of the types in this field is ignored. For example, ["BIGNUMERIC", "
|
3152
3217
|
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
|
3153
3218
|
# precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["
|
@@ -3262,6 +3327,25 @@ module Google
|
|
3262
3327
|
# @return [Array<String>]
|
3263
3328
|
attr_accessor :source_uris
|
3264
3329
|
|
3330
|
+
# Optional. Format used to parse TIME values. Supports C-style and SQL-style
|
3331
|
+
# values.
|
3332
|
+
# Corresponds to the JSON property `timeFormat`
|
3333
|
+
# @return [String]
|
3334
|
+
attr_accessor :time_format
|
3335
|
+
|
3336
|
+
# Optional. Time zone used when parsing timestamp values that do not have
|
3337
|
+
# specific time zone information (e.g. 2024-04-20 12:34:56). The expected format
|
3338
|
+
# is a IANA timezone string (e.g. America/Los_Angeles).
|
3339
|
+
# Corresponds to the JSON property `timeZone`
|
3340
|
+
# @return [String]
|
3341
|
+
attr_accessor :time_zone
|
3342
|
+
|
3343
|
+
# Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-
|
3344
|
+
# style values.
|
3345
|
+
# Corresponds to the JSON property `timestampFormat`
|
3346
|
+
# @return [String]
|
3347
|
+
attr_accessor :timestamp_format
|
3348
|
+
|
3265
3349
|
def initialize(**args)
|
3266
3350
|
update!(**args)
|
3267
3351
|
end
|
@@ -3274,6 +3358,8 @@ module Google
|
|
3274
3358
|
@compression = args[:compression] if args.key?(:compression)
|
3275
3359
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
3276
3360
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
3361
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
3362
|
+
@datetime_format = args[:datetime_format] if args.key?(:datetime_format)
|
3277
3363
|
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
3278
3364
|
@file_set_spec_type = args[:file_set_spec_type] if args.key?(:file_set_spec_type)
|
3279
3365
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
@@ -3289,6 +3375,9 @@ module Google
|
|
3289
3375
|
@schema = args[:schema] if args.key?(:schema)
|
3290
3376
|
@source_format = args[:source_format] if args.key?(:source_format)
|
3291
3377
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
3378
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
3379
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3380
|
+
@timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
|
3292
3381
|
end
|
3293
3382
|
end
|
3294
3383
|
|
@@ -4600,6 +4689,16 @@ module Google
|
|
4600
4689
|
attr_accessor :create_session
|
4601
4690
|
alias_method :create_session?, :create_session
|
4602
4691
|
|
4692
|
+
# Optional. Date format used for parsing DATE values.
|
4693
|
+
# Corresponds to the JSON property `dateFormat`
|
4694
|
+
# @return [String]
|
4695
|
+
attr_accessor :date_format
|
4696
|
+
|
4697
|
+
# Optional. Date format used for parsing DATETIME values.
|
4698
|
+
# Corresponds to the JSON property `datetimeFormat`
|
4699
|
+
# @return [String]
|
4700
|
+
attr_accessor :datetime_format
|
4701
|
+
|
4603
4702
|
# Defines the list of possible SQL data types to which the source decimal values
|
4604
4703
|
# are converted. This list and the precision and the scale parameters of the
|
4605
4704
|
# decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC,
|
@@ -4612,7 +4711,7 @@ module Google
|
|
4612
4711
|
# precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC
|
4613
4712
|
# cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold
|
4614
4713
|
# 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error
|
4615
|
-
# if value
|
4714
|
+
# if value exceeds supported range). This field cannot contain duplicate types.
|
4616
4715
|
# The order of the types in this field is ignored. For example, ["BIGNUMERIC", "
|
4617
4716
|
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
|
4618
4717
|
# precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["
|
@@ -4717,6 +4816,17 @@ module Google
|
|
4717
4816
|
# @return [String]
|
4718
4817
|
attr_accessor :null_marker
|
4719
4818
|
|
4819
|
+
# Optional. A list of strings represented as SQL NULL value in a CSV file.
|
4820
|
+
# null_marker and null_markers can't be set at the same time. If null_marker is
|
4821
|
+
# set, null_markers has to be not set. If null_markers is set, null_marker has
|
4822
|
+
# to be not set. If both null_marker and null_markers are set at the same time,
|
4823
|
+
# a user error would be thrown. Any strings listed in null_markers, including
|
4824
|
+
# empty string would be interpreted as SQL NULL. This applies to all column
|
4825
|
+
# types.
|
4826
|
+
# Corresponds to the JSON property `nullMarkers`
|
4827
|
+
# @return [Array<String>]
|
4828
|
+
attr_accessor :null_markers
|
4829
|
+
|
4720
4830
|
# Parquet Options for load and make external tables.
|
4721
4831
|
# Corresponds to the JSON property `parquetOptions`
|
4722
4832
|
# @return [Google::Apis::BigqueryV2::ParquetOptions]
|
@@ -4809,6 +4919,14 @@ module Google
|
|
4809
4919
|
# @return [Fixnum]
|
4810
4920
|
attr_accessor :skip_leading_rows
|
4811
4921
|
|
4922
|
+
# Optional. Controls the strategy used to match loaded columns to the schema. If
|
4923
|
+
# not set, a sensible default is chosen based on how the schema is provided. If
|
4924
|
+
# autodetect is used, then columns are matched by name. Otherwise, columns are
|
4925
|
+
# matched by position. This is done to keep the behavior backward-compatible.
|
4926
|
+
# Corresponds to the JSON property `sourceColumnMatch`
|
4927
|
+
# @return [String]
|
4928
|
+
attr_accessor :source_column_match
|
4929
|
+
|
4812
4930
|
# Optional. The format of the data files. For CSV files, specify "CSV". For
|
4813
4931
|
# datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
|
4814
4932
|
# specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet,
|
@@ -4828,12 +4946,28 @@ module Google
|
|
4828
4946
|
# @return [Array<String>]
|
4829
4947
|
attr_accessor :source_uris
|
4830
4948
|
|
4949
|
+
# Optional. Date format used for parsing TIME values.
|
4950
|
+
# Corresponds to the JSON property `timeFormat`
|
4951
|
+
# @return [String]
|
4952
|
+
attr_accessor :time_format
|
4953
|
+
|
4831
4954
|
# Time-based partitioning specification for the destination table. Only one of
|
4832
4955
|
# timePartitioning and rangePartitioning should be specified.
|
4833
4956
|
# Corresponds to the JSON property `timePartitioning`
|
4834
4957
|
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
4835
4958
|
attr_accessor :time_partitioning
|
4836
4959
|
|
4960
|
+
# Optional. [Experimental] Default time zone that will apply when parsing
|
4961
|
+
# timestamp values that have no specific time zone.
|
4962
|
+
# Corresponds to the JSON property `timeZone`
|
4963
|
+
# @return [String]
|
4964
|
+
attr_accessor :time_zone
|
4965
|
+
|
4966
|
+
# Optional. Date format used for parsing TIMESTAMP values.
|
4967
|
+
# Corresponds to the JSON property `timestampFormat`
|
4968
|
+
# @return [String]
|
4969
|
+
attr_accessor :timestamp_format
|
4970
|
+
|
4837
4971
|
# Optional. If sourceFormat is set to "AVRO", indicates whether to interpret
|
4838
4972
|
# logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
|
4839
4973
|
# instead of using the raw type (for example, INTEGER).
|
@@ -4870,6 +5004,8 @@ module Google
|
|
4870
5004
|
@copy_files_only = args[:copy_files_only] if args.key?(:copy_files_only)
|
4871
5005
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
4872
5006
|
@create_session = args[:create_session] if args.key?(:create_session)
|
5007
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
5008
|
+
@datetime_format = args[:datetime_format] if args.key?(:datetime_format)
|
4873
5009
|
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
4874
5010
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
4875
5011
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@@ -4882,6 +5018,7 @@ module Google
|
|
4882
5018
|
@json_extension = args[:json_extension] if args.key?(:json_extension)
|
4883
5019
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
4884
5020
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
5021
|
+
@null_markers = args[:null_markers] if args.key?(:null_markers)
|
4885
5022
|
@parquet_options = args[:parquet_options] if args.key?(:parquet_options)
|
4886
5023
|
@preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
|
4887
5024
|
@projection_fields = args[:projection_fields] if args.key?(:projection_fields)
|
@@ -4893,9 +5030,13 @@ module Google
|
|
4893
5030
|
@schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
|
4894
5031
|
@schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options)
|
4895
5032
|
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
5033
|
+
@source_column_match = args[:source_column_match] if args.key?(:source_column_match)
|
4896
5034
|
@source_format = args[:source_format] if args.key?(:source_format)
|
4897
5035
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
5036
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
4898
5037
|
@time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
|
5038
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
5039
|
+
@timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
|
4899
5040
|
@use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
|
4900
5041
|
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
4901
5042
|
end
|
@@ -5109,6 +5250,15 @@ module Google
|
|
5109
5250
|
# @return [String]
|
5110
5251
|
attr_accessor :write_disposition
|
5111
5252
|
|
5253
|
+
# Optional. This is only supported for a SELECT query using a temporary table.
|
5254
|
+
# If set, the query is allowed to write results incrementally to the temporary
|
5255
|
+
# result table. This may incur a performance penalty. This option cannot be used
|
5256
|
+
# with Legacy SQL. This feature is not yet available.
|
5257
|
+
# Corresponds to the JSON property `writeIncrementalResults`
|
5258
|
+
# @return [Boolean]
|
5259
|
+
attr_accessor :write_incremental_results
|
5260
|
+
alias_method :write_incremental_results?, :write_incremental_results
|
5261
|
+
|
5112
5262
|
def initialize(**args)
|
5113
5263
|
update!(**args)
|
5114
5264
|
end
|
@@ -5142,6 +5292,7 @@ module Google
|
|
5142
5292
|
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
|
5143
5293
|
@user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
|
5144
5294
|
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
5295
|
+
@write_incremental_results = args[:write_incremental_results] if args.key?(:write_incremental_results)
|
5145
5296
|
end
|
5146
5297
|
end
|
5147
5298
|
|
@@ -5695,7 +5846,7 @@ module Google
|
|
5695
5846
|
# @return [Google::Apis::BigqueryV2::MaterializedViewStatistics]
|
5696
5847
|
attr_accessor :materialized_view_statistics
|
5697
5848
|
|
5698
|
-
# Statistics for metadata caching in
|
5849
|
+
# Statistics for metadata caching in queried tables.
|
5699
5850
|
# Corresponds to the JSON property `metadataCacheStatistics`
|
5700
5851
|
# @return [Google::Apis::BigqueryV2::MetadataCacheStatistics]
|
5701
5852
|
attr_accessor :metadata_cache_statistics
|
@@ -6444,7 +6595,9 @@ module Google
|
|
6444
6595
|
include Google::Apis::Core::Hashable
|
6445
6596
|
|
6446
6597
|
# Optional. This option declares the intention to construct a materialized view
|
6447
|
-
# that isn't refreshed incrementally.
|
6598
|
+
# that isn't refreshed incrementally. Non-incremental materialized views support
|
6599
|
+
# an expanded range of SQL queries. The `allow_non_incremental_definition`
|
6600
|
+
# option can't be changed after the materialized view is created.
|
6448
6601
|
# Corresponds to the JSON property `allowNonIncrementalDefinition`
|
6449
6602
|
# @return [Boolean]
|
6450
6603
|
attr_accessor :allow_non_incremental_definition
|
@@ -6544,7 +6697,7 @@ module Google
|
|
6544
6697
|
end
|
6545
6698
|
end
|
6546
6699
|
|
6547
|
-
# Statistics for metadata caching in
|
6700
|
+
# Statistics for metadata caching in queried tables.
|
6548
6701
|
class MetadataCacheStatistics
|
6549
6702
|
include Google::Apis::Core::Hashable
|
6550
6703
|
|
@@ -7518,6 +7671,11 @@ module Google
|
|
7518
7671
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
7519
7672
|
attr_accessor :default_dataset
|
7520
7673
|
|
7674
|
+
# Configuration for Cloud KMS encryption settings.
|
7675
|
+
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
7676
|
+
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
7677
|
+
attr_accessor :destination_encryption_configuration
|
7678
|
+
|
7521
7679
|
# Optional. If set to true, BigQuery doesn't run the job. Instead, if the query
|
7522
7680
|
# is valid, BigQuery returns statistics about the job such as how many bytes
|
7523
7681
|
# would be processed. If the query is invalid, an error returns. The default
|
@@ -7539,6 +7697,16 @@ module Google
|
|
7539
7697
|
# @return [String]
|
7540
7698
|
attr_accessor :job_creation_mode
|
7541
7699
|
|
7700
|
+
# Optional. Job timeout in milliseconds. If this time limit is exceeded,
|
7701
|
+
# BigQuery will attempt to stop a longer job, but may not always succeed in
|
7702
|
+
# canceling it before the job completes. For example, a job that takes more than
|
7703
|
+
# 60 seconds to complete has a better chance of being stopped than a job that
|
7704
|
+
# takes 10 seconds to complete. This timeout applies to the query even if a job
|
7705
|
+
# does not need to be created.
|
7706
|
+
# Corresponds to the JSON property `jobTimeoutMs`
|
7707
|
+
# @return [Fixnum]
|
7708
|
+
attr_accessor :job_timeout_ms
|
7709
|
+
|
7542
7710
|
# The resource type of the request.
|
7543
7711
|
# Corresponds to the JSON property `kind`
|
7544
7712
|
# @return [String]
|
@@ -7654,6 +7822,15 @@ module Google
|
|
7654
7822
|
attr_accessor :use_query_cache
|
7655
7823
|
alias_method :use_query_cache?, :use_query_cache
|
7656
7824
|
|
7825
|
+
# Optional. This is only supported for SELECT query. If set, the query is
|
7826
|
+
# allowed to write results incrementally to the temporary result table. This may
|
7827
|
+
# incur a performance penalty. This option cannot be used with Legacy SQL. This
|
7828
|
+
# feature is not yet available.
|
7829
|
+
# Corresponds to the JSON property `writeIncrementalResults`
|
7830
|
+
# @return [Boolean]
|
7831
|
+
attr_accessor :write_incremental_results
|
7832
|
+
alias_method :write_incremental_results?, :write_incremental_results
|
7833
|
+
|
7657
7834
|
def initialize(**args)
|
7658
7835
|
update!(**args)
|
7659
7836
|
end
|
@@ -7664,9 +7841,11 @@ module Google
|
|
7664
7841
|
@continuous = args[:continuous] if args.key?(:continuous)
|
7665
7842
|
@create_session = args[:create_session] if args.key?(:create_session)
|
7666
7843
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
7844
|
+
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
7667
7845
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
7668
7846
|
@format_options = args[:format_options] if args.key?(:format_options)
|
7669
7847
|
@job_creation_mode = args[:job_creation_mode] if args.key?(:job_creation_mode)
|
7848
|
+
@job_timeout_ms = args[:job_timeout_ms] if args.key?(:job_timeout_ms)
|
7670
7849
|
@kind = args[:kind] if args.key?(:kind)
|
7671
7850
|
@labels = args[:labels] if args.key?(:labels)
|
7672
7851
|
@location = args[:location] if args.key?(:location)
|
@@ -7680,6 +7859,7 @@ module Google
|
|
7680
7859
|
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
|
7681
7860
|
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
7682
7861
|
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
|
7862
|
+
@write_incremental_results = args[:write_incremental_results] if args.key?(:write_incremental_results)
|
7683
7863
|
end
|
7684
7864
|
end
|
7685
7865
|
|
@@ -7693,11 +7873,23 @@ module Google
|
|
7693
7873
|
attr_accessor :cache_hit
|
7694
7874
|
alias_method :cache_hit?, :cache_hit
|
7695
7875
|
|
7876
|
+
# Output only. Creation time of this query, in milliseconds since the epoch.
|
7877
|
+
# This field will be present on all queries.
|
7878
|
+
# Corresponds to the JSON property `creationTime`
|
7879
|
+
# @return [Fixnum]
|
7880
|
+
attr_accessor :creation_time
|
7881
|
+
|
7696
7882
|
# Detailed statistics for DML statements
|
7697
7883
|
# Corresponds to the JSON property `dmlStats`
|
7698
7884
|
# @return [Google::Apis::BigqueryV2::DmlStatistics]
|
7699
7885
|
attr_accessor :dml_stats
|
7700
7886
|
|
7887
|
+
# Output only. End time of this query, in milliseconds since the epoch. This
|
7888
|
+
# field will be present whenever a query job is in the DONE state.
|
7889
|
+
# Corresponds to the JSON property `endTime`
|
7890
|
+
# @return [Fixnum]
|
7891
|
+
attr_accessor :end_time
|
7892
|
+
|
7701
7893
|
# Output only. The first errors or warnings encountered during the running of
|
7702
7894
|
# the job. The final message includes the number of errors that caused the
|
7703
7895
|
# process to stop. Errors here do not necessarily mean that the job has
|
@@ -7734,6 +7926,12 @@ module Google
|
|
7734
7926
|
# @return [String]
|
7735
7927
|
attr_accessor :kind
|
7736
7928
|
|
7929
|
+
# Output only. The geographic location of the query. For more information about
|
7930
|
+
# BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations
|
7931
|
+
# Corresponds to the JSON property `location`
|
7932
|
+
# @return [String]
|
7933
|
+
attr_accessor :location
|
7934
|
+
|
7737
7935
|
# Output only. The number of rows affected by a DML statement. Present only for
|
7738
7936
|
# DML statements INSERT, UPDATE or DELETE.
|
7739
7937
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
@@ -7772,6 +7970,21 @@ module Google
|
|
7772
7970
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
7773
7971
|
attr_accessor :session_info
|
7774
7972
|
|
7973
|
+
# Output only. Start time of this query, in milliseconds since the epoch. This
|
7974
|
+
# field will be present when the query job transitions from the PENDING state to
|
7975
|
+
# either RUNNING or DONE.
|
7976
|
+
# Corresponds to the JSON property `startTime`
|
7977
|
+
# @return [Fixnum]
|
7978
|
+
attr_accessor :start_time
|
7979
|
+
|
7980
|
+
# Output only. If the project is configured to use on-demand pricing, then this
|
7981
|
+
# field contains the total bytes billed for the job. If the project is
|
7982
|
+
# configured to use flat-rate pricing, then you are not billed for bytes and
|
7983
|
+
# this field is informational only.
|
7984
|
+
# Corresponds to the JSON property `totalBytesBilled`
|
7985
|
+
# @return [Fixnum]
|
7986
|
+
attr_accessor :total_bytes_billed
|
7987
|
+
|
7775
7988
|
# The total number of bytes processed for this query. If this query was a dry
|
7776
7989
|
# run, this is the number of bytes that would be processed if the query were run.
|
7777
7990
|
# Corresponds to the JSON property `totalBytesProcessed`
|
@@ -7784,6 +7997,11 @@ module Google
|
|
7784
7997
|
# @return [Fixnum]
|
7785
7998
|
attr_accessor :total_rows
|
7786
7999
|
|
8000
|
+
# Output only. Number of slot ms the user is actually billed for.
|
8001
|
+
# Corresponds to the JSON property `totalSlotMs`
|
8002
|
+
# @return [Fixnum]
|
8003
|
+
attr_accessor :total_slot_ms
|
8004
|
+
|
7787
8005
|
def initialize(**args)
|
7788
8006
|
update!(**args)
|
7789
8007
|
end
|
@@ -7791,20 +8009,26 @@ module Google
|
|
7791
8009
|
# Update properties of this object
|
7792
8010
|
def update!(**args)
|
7793
8011
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
8012
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
7794
8013
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
8014
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
7795
8015
|
@errors = args[:errors] if args.key?(:errors)
|
7796
8016
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
7797
8017
|
@job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
|
7798
8018
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
7799
8019
|
@kind = args[:kind] if args.key?(:kind)
|
8020
|
+
@location = args[:location] if args.key?(:location)
|
7800
8021
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
7801
8022
|
@page_token = args[:page_token] if args.key?(:page_token)
|
7802
8023
|
@query_id = args[:query_id] if args.key?(:query_id)
|
7803
8024
|
@rows = args[:rows] if args.key?(:rows)
|
7804
8025
|
@schema = args[:schema] if args.key?(:schema)
|
7805
8026
|
@session_info = args[:session_info] if args.key?(:session_info)
|
8027
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
8028
|
+
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
7806
8029
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
7807
8030
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
8031
|
+
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
7808
8032
|
end
|
7809
8033
|
end
|
7810
8034
|
|
@@ -8387,6 +8611,27 @@ module Google
|
|
8387
8611
|
# @return [String]
|
8388
8612
|
attr_accessor :filter_predicate
|
8389
8613
|
|
8614
|
+
# Optional. Input only. The optional list of iam_member users or groups that
|
8615
|
+
# specifies the initial members that the row-level access policy should be
|
8616
|
+
# created with. grantees types: - "user:alice@example.com": An email address
|
8617
|
+
# that represents a specific Google account. - "serviceAccount:my-other-app@
|
8618
|
+
# appspot.gserviceaccount.com": An email address that represents a service
|
8619
|
+
# account. - "group:admins@example.com": An email address that represents a
|
8620
|
+
# Google group. - "domain:example.com":The Google Workspace domain (primary)
|
8621
|
+
# that represents all the users of that domain. - "allAuthenticatedUsers": A
|
8622
|
+
# special identifier that represents all service accounts and all users on the
|
8623
|
+
# internet who have authenticated with a Google Account. This identifier
|
8624
|
+
# includes accounts that aren't connected to a Google Workspace or Cloud
|
8625
|
+
# Identity domain, such as personal Gmail accounts. Users who aren't
|
8626
|
+
# authenticated, such as anonymous visitors, aren't included. - "allUsers":A
|
8627
|
+
# special identifier that represents anyone who is on the internet, including
|
8628
|
+
# authenticated and unauthenticated users. Because BigQuery requires
|
8629
|
+
# authentication before a user can access the service, allUsers includes only
|
8630
|
+
# authenticated users.
|
8631
|
+
# Corresponds to the JSON property `grantees`
|
8632
|
+
# @return [Array<String>]
|
8633
|
+
attr_accessor :grantees
|
8634
|
+
|
8390
8635
|
# Output only. The time when this row access policy was last modified, in
|
8391
8636
|
# milliseconds since the epoch.
|
8392
8637
|
# Corresponds to the JSON property `lastModifiedTime`
|
@@ -8407,6 +8652,7 @@ module Google
|
|
8407
8652
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
8408
8653
|
@etag = args[:etag] if args.key?(:etag)
|
8409
8654
|
@filter_predicate = args[:filter_predicate] if args.key?(:filter_predicate)
|
8655
|
+
@grantees = args[:grantees] if args.key?(:grantees)
|
8410
8656
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
8411
8657
|
@row_access_policy_reference = args[:row_access_policy_reference] if args.key?(:row_access_policy_reference)
|
8412
8658
|
end
|
@@ -9197,6 +9443,72 @@ module Google
|
|
9197
9443
|
end
|
9198
9444
|
end
|
9199
9445
|
|
9446
|
+
# If the stored column was not used, explain why.
|
9447
|
+
class StoredColumnsUnusedReason
|
9448
|
+
include Google::Apis::Core::Hashable
|
9449
|
+
|
9450
|
+
# Specifies the high-level reason for the unused scenario, each reason must have
|
9451
|
+
# a code associated.
|
9452
|
+
# Corresponds to the JSON property `code`
|
9453
|
+
# @return [String]
|
9454
|
+
attr_accessor :code
|
9455
|
+
|
9456
|
+
# Specifies the detailed description for the scenario.
|
9457
|
+
# Corresponds to the JSON property `message`
|
9458
|
+
# @return [String]
|
9459
|
+
attr_accessor :message
|
9460
|
+
|
9461
|
+
# Specifies which columns were not covered by the stored columns for the
|
9462
|
+
# specified code up to 20 columns. This is populated when the code is
|
9463
|
+
# STORED_COLUMNS_COVER_INSUFFICIENT and BASE_TABLE_HAS_CLS.
|
9464
|
+
# Corresponds to the JSON property `uncoveredColumns`
|
9465
|
+
# @return [Array<String>]
|
9466
|
+
attr_accessor :uncovered_columns
|
9467
|
+
|
9468
|
+
def initialize(**args)
|
9469
|
+
update!(**args)
|
9470
|
+
end
|
9471
|
+
|
9472
|
+
# Update properties of this object
|
9473
|
+
def update!(**args)
|
9474
|
+
@code = args[:code] if args.key?(:code)
|
9475
|
+
@message = args[:message] if args.key?(:message)
|
9476
|
+
@uncovered_columns = args[:uncovered_columns] if args.key?(:uncovered_columns)
|
9477
|
+
end
|
9478
|
+
end
|
9479
|
+
|
9480
|
+
# Indicates the stored columns usage in the query.
|
9481
|
+
class StoredColumnsUsage
|
9482
|
+
include Google::Apis::Core::Hashable
|
9483
|
+
|
9484
|
+
# Specifies the base table.
|
9485
|
+
# Corresponds to the JSON property `baseTable`
|
9486
|
+
# @return [Google::Apis::BigqueryV2::TableReference]
|
9487
|
+
attr_accessor :base_table
|
9488
|
+
|
9489
|
+
# Specifies whether the query was accelerated with stored columns.
|
9490
|
+
# Corresponds to the JSON property `isQueryAccelerated`
|
9491
|
+
# @return [Boolean]
|
9492
|
+
attr_accessor :is_query_accelerated
|
9493
|
+
alias_method :is_query_accelerated?, :is_query_accelerated
|
9494
|
+
|
9495
|
+
# If stored columns were not used, explain why.
|
9496
|
+
# Corresponds to the JSON property `storedColumnsUnusedReasons`
|
9497
|
+
# @return [Array<Google::Apis::BigqueryV2::StoredColumnsUnusedReason>]
|
9498
|
+
attr_accessor :stored_columns_unused_reasons
|
9499
|
+
|
9500
|
+
def initialize(**args)
|
9501
|
+
update!(**args)
|
9502
|
+
end
|
9503
|
+
|
9504
|
+
# Update properties of this object
|
9505
|
+
def update!(**args)
|
9506
|
+
@base_table = args[:base_table] if args.key?(:base_table)
|
9507
|
+
@is_query_accelerated = args[:is_query_accelerated] if args.key?(:is_query_accelerated)
|
9508
|
+
@stored_columns_unused_reasons = args[:stored_columns_unused_reasons] if args.key?(:stored_columns_unused_reasons)
|
9509
|
+
end
|
9510
|
+
end
|
9511
|
+
|
9200
9512
|
#
|
9201
9513
|
class Streamingbuffer
|
9202
9514
|
include Google::Apis::Core::Hashable
|
@@ -10820,6 +11132,19 @@ module Google
|
|
10820
11132
|
attr_accessor :fit_intercept
|
10821
11133
|
alias_method :fit_intercept?, :fit_intercept
|
10822
11134
|
|
11135
|
+
# The forecast limit lower bound that was used during ARIMA model training with
|
11136
|
+
# limits. To see more details of the algorithm: https://otexts.com/fpp2/limits.
|
11137
|
+
# html
|
11138
|
+
# Corresponds to the JSON property `forecastLimitLowerBound`
|
11139
|
+
# @return [Float]
|
11140
|
+
attr_accessor :forecast_limit_lower_bound
|
11141
|
+
|
11142
|
+
# The forecast limit upper bound that was used during ARIMA model training with
|
11143
|
+
# limits.
|
11144
|
+
# Corresponds to the JSON property `forecastLimitUpperBound`
|
11145
|
+
# @return [Float]
|
11146
|
+
attr_accessor :forecast_limit_upper_bound
|
11147
|
+
|
10823
11148
|
# Hidden units for dnn models.
|
10824
11149
|
# Corresponds to the JSON property `hiddenUnits`
|
10825
11150
|
# @return [Array<Fixnum>]
|
@@ -11190,6 +11515,8 @@ module Google
|
|
11190
11515
|
@enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
|
11191
11516
|
@feedback_type = args[:feedback_type] if args.key?(:feedback_type)
|
11192
11517
|
@fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
|
11518
|
+
@forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound)
|
11519
|
+
@forecast_limit_upper_bound = args[:forecast_limit_upper_bound] if args.key?(:forecast_limit_upper_bound)
|
11193
11520
|
@hidden_units = args[:hidden_units] if args.key?(:hidden_units)
|
11194
11521
|
@holiday_region = args[:holiday_region] if args.key?(:holiday_region)
|
11195
11522
|
@holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
|
@@ -11457,6 +11784,12 @@ module Google
|
|
11457
11784
|
# @return [String]
|
11458
11785
|
attr_accessor :index_usage_mode
|
11459
11786
|
|
11787
|
+
# Specifies the usage of stored columns in the query when stored columns are
|
11788
|
+
# used in the query.
|
11789
|
+
# Corresponds to the JSON property `storedColumnsUsages`
|
11790
|
+
# @return [Array<Google::Apis::BigqueryV2::StoredColumnsUsage>]
|
11791
|
+
attr_accessor :stored_columns_usages
|
11792
|
+
|
11460
11793
|
def initialize(**args)
|
11461
11794
|
update!(**args)
|
11462
11795
|
end
|
@@ -11465,6 +11798,7 @@ module Google
|
|
11465
11798
|
def update!(**args)
|
11466
11799
|
@index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
|
11467
11800
|
@index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
|
11801
|
+
@stored_columns_usages = args[:stored_columns_usages] if args.key?(:stored_columns_usages)
|
11468
11802
|
end
|
11469
11803
|
end
|
11470
11804
|
|
@@ -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.85.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250302"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class BatchDeleteRowAccessPoliciesRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class BiEngineReason
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -1108,6 +1114,18 @@ module Google
|
|
1108
1114
|
include Google::Apis::Core::JsonObjectSupport
|
1109
1115
|
end
|
1110
1116
|
|
1117
|
+
class StoredColumnsUnusedReason
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
class StoredColumnsUsage
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
|
+
|
1126
|
+
include Google::Apis::Core::JsonObjectSupport
|
1127
|
+
end
|
1128
|
+
|
1111
1129
|
class Streamingbuffer
|
1112
1130
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
1131
|
|
@@ -1480,6 +1498,14 @@ module Google
|
|
1480
1498
|
end
|
1481
1499
|
end
|
1482
1500
|
|
1501
|
+
class BatchDeleteRowAccessPoliciesRequest
|
1502
|
+
# @private
|
1503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1504
|
+
property :force, as: 'force'
|
1505
|
+
collection :policy_ids, as: 'policyIds'
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1483
1509
|
class BiEngineReason
|
1484
1510
|
# @private
|
1485
1511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1714,9 +1740,11 @@ module Google
|
|
1714
1740
|
property :encoding, as: 'encoding'
|
1715
1741
|
property :field_delimiter, as: 'fieldDelimiter'
|
1716
1742
|
property :null_marker, as: 'nullMarker'
|
1743
|
+
collection :null_markers, as: 'nullMarkers'
|
1717
1744
|
property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
|
1718
1745
|
property :quote, as: 'quote'
|
1719
1746
|
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
1747
|
+
property :source_column_match, as: 'sourceColumnMatch'
|
1720
1748
|
end
|
1721
1749
|
end
|
1722
1750
|
|
@@ -2081,6 +2109,8 @@ module Google
|
|
2081
2109
|
property :connection_id, as: 'connectionId'
|
2082
2110
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
2083
2111
|
|
2112
|
+
property :date_format, as: 'dateFormat'
|
2113
|
+
property :datetime_format, as: 'datetimeFormat'
|
2084
2114
|
collection :decimal_target_types, as: 'decimalTargetTypes'
|
2085
2115
|
property :file_set_spec_type, as: 'fileSetSpecType'
|
2086
2116
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
@@ -2101,6 +2131,9 @@ module Google
|
|
2101
2131
|
|
2102
2132
|
property :source_format, as: 'sourceFormat'
|
2103
2133
|
collection :source_uris, as: 'sourceUris'
|
2134
|
+
property :time_format, as: 'timeFormat'
|
2135
|
+
property :time_zone, as: 'timeZone'
|
2136
|
+
property :timestamp_format, as: 'timestampFormat'
|
2104
2137
|
end
|
2105
2138
|
end
|
2106
2139
|
|
@@ -2456,6 +2489,8 @@ module Google
|
|
2456
2489
|
property :copy_files_only, as: 'copyFilesOnly'
|
2457
2490
|
property :create_disposition, as: 'createDisposition'
|
2458
2491
|
property :create_session, as: 'createSession'
|
2492
|
+
property :date_format, as: 'dateFormat'
|
2493
|
+
property :datetime_format, as: 'datetimeFormat'
|
2459
2494
|
collection :decimal_target_types, as: 'decimalTargetTypes'
|
2460
2495
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
2461
2496
|
|
@@ -2472,6 +2507,7 @@ module Google
|
|
2472
2507
|
property :json_extension, as: 'jsonExtension'
|
2473
2508
|
property :max_bad_records, as: 'maxBadRecords'
|
2474
2509
|
property :null_marker, as: 'nullMarker'
|
2510
|
+
collection :null_markers, as: 'nullMarkers'
|
2475
2511
|
property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
|
2476
2512
|
|
2477
2513
|
property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
|
@@ -2486,10 +2522,14 @@ module Google
|
|
2486
2522
|
property :schema_inline_format, as: 'schemaInlineFormat'
|
2487
2523
|
collection :schema_update_options, as: 'schemaUpdateOptions'
|
2488
2524
|
property :skip_leading_rows, as: 'skipLeadingRows'
|
2525
|
+
property :source_column_match, as: 'sourceColumnMatch'
|
2489
2526
|
property :source_format, as: 'sourceFormat'
|
2490
2527
|
collection :source_uris, as: 'sourceUris'
|
2528
|
+
property :time_format, as: 'timeFormat'
|
2491
2529
|
property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
|
2492
2530
|
|
2531
|
+
property :time_zone, as: 'timeZone'
|
2532
|
+
property :timestamp_format, as: 'timestampFormat'
|
2493
2533
|
property :use_avro_logical_types, as: 'useAvroLogicalTypes'
|
2494
2534
|
property :write_disposition, as: 'writeDisposition'
|
2495
2535
|
end
|
@@ -2537,6 +2577,7 @@ module Google
|
|
2537
2577
|
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
2538
2578
|
|
2539
2579
|
property :write_disposition, as: 'writeDisposition'
|
2580
|
+
property :write_incremental_results, as: 'writeIncrementalResults'
|
2540
2581
|
end
|
2541
2582
|
end
|
2542
2583
|
|
@@ -3171,10 +3212,13 @@ module Google
|
|
3171
3212
|
property :create_session, as: 'createSession'
|
3172
3213
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
3173
3214
|
|
3215
|
+
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
3216
|
+
|
3174
3217
|
property :dry_run, as: 'dryRun'
|
3175
3218
|
property :format_options, as: 'formatOptions', class: Google::Apis::BigqueryV2::DataFormatOptions, decorator: Google::Apis::BigqueryV2::DataFormatOptions::Representation
|
3176
3219
|
|
3177
3220
|
property :job_creation_mode, as: 'jobCreationMode'
|
3221
|
+
property :job_timeout_ms, :numeric_string => true, as: 'jobTimeoutMs'
|
3178
3222
|
property :kind, as: 'kind'
|
3179
3223
|
hash :labels, as: 'labels'
|
3180
3224
|
property :location, as: 'location'
|
@@ -3189,6 +3233,7 @@ module Google
|
|
3189
3233
|
property :timeout_ms, as: 'timeoutMs'
|
3190
3234
|
property :use_legacy_sql, as: 'useLegacySql'
|
3191
3235
|
property :use_query_cache, as: 'useQueryCache'
|
3236
|
+
property :write_incremental_results, as: 'writeIncrementalResults'
|
3192
3237
|
end
|
3193
3238
|
end
|
3194
3239
|
|
@@ -3196,8 +3241,10 @@ module Google
|
|
3196
3241
|
# @private
|
3197
3242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3198
3243
|
property :cache_hit, as: 'cacheHit'
|
3244
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
3199
3245
|
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
3200
3246
|
|
3247
|
+
property :end_time, :numeric_string => true, as: 'endTime'
|
3201
3248
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
3202
3249
|
|
3203
3250
|
property :job_complete, as: 'jobComplete'
|
@@ -3206,6 +3253,7 @@ module Google
|
|
3206
3253
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
3207
3254
|
|
3208
3255
|
property :kind, as: 'kind'
|
3256
|
+
property :location, as: 'location'
|
3209
3257
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
3210
3258
|
property :page_token, as: 'pageToken'
|
3211
3259
|
property :query_id, as: 'queryId'
|
@@ -3215,8 +3263,11 @@ module Google
|
|
3215
3263
|
|
3216
3264
|
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
3217
3265
|
|
3266
|
+
property :start_time, :numeric_string => true, as: 'startTime'
|
3267
|
+
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
3218
3268
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
3219
3269
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
3270
|
+
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
3220
3271
|
end
|
3221
3272
|
end
|
3222
3273
|
|
@@ -3364,6 +3415,7 @@ module Google
|
|
3364
3415
|
property :creation_time, as: 'creationTime'
|
3365
3416
|
property :etag, as: 'etag'
|
3366
3417
|
property :filter_predicate, as: 'filterPredicate'
|
3418
|
+
collection :grantees, as: 'grantees'
|
3367
3419
|
property :last_modified_time, as: 'lastModifiedTime'
|
3368
3420
|
property :row_access_policy_reference, as: 'rowAccessPolicyReference', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
|
3369
3421
|
|
@@ -3578,6 +3630,26 @@ module Google
|
|
3578
3630
|
end
|
3579
3631
|
end
|
3580
3632
|
|
3633
|
+
class StoredColumnsUnusedReason
|
3634
|
+
# @private
|
3635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3636
|
+
property :code, as: 'code'
|
3637
|
+
property :message, as: 'message'
|
3638
|
+
collection :uncovered_columns, as: 'uncoveredColumns'
|
3639
|
+
end
|
3640
|
+
end
|
3641
|
+
|
3642
|
+
class StoredColumnsUsage
|
3643
|
+
# @private
|
3644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3645
|
+
property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
3646
|
+
|
3647
|
+
property :is_query_accelerated, as: 'isQueryAccelerated'
|
3648
|
+
collection :stored_columns_unused_reasons, as: 'storedColumnsUnusedReasons', class: Google::Apis::BigqueryV2::StoredColumnsUnusedReason, decorator: Google::Apis::BigqueryV2::StoredColumnsUnusedReason::Representation
|
3649
|
+
|
3650
|
+
end
|
3651
|
+
end
|
3652
|
+
|
3581
3653
|
class Streamingbuffer
|
3582
3654
|
# @private
|
3583
3655
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3988,6 +4060,8 @@ module Google
|
|
3988
4060
|
property :enable_global_explain, as: 'enableGlobalExplain'
|
3989
4061
|
property :feedback_type, as: 'feedbackType'
|
3990
4062
|
property :fit_intercept, as: 'fitIntercept'
|
4063
|
+
property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound'
|
4064
|
+
property :forecast_limit_upper_bound, as: 'forecastLimitUpperBound'
|
3991
4065
|
collection :hidden_units, as: 'hiddenUnits'
|
3992
4066
|
property :holiday_region, as: 'holidayRegion'
|
3993
4067
|
collection :holiday_regions, as: 'holidayRegions'
|
@@ -4111,6 +4185,8 @@ module Google
|
|
4111
4185
|
collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
|
4112
4186
|
|
4113
4187
|
property :index_usage_mode, as: 'indexUsageMode'
|
4188
|
+
collection :stored_columns_usages, as: 'storedColumnsUsages', class: Google::Apis::BigqueryV2::StoredColumnsUsage, decorator: Google::Apis::BigqueryV2::StoredColumnsUsage::Representation
|
4189
|
+
|
4114
4190
|
end
|
4115
4191
|
end
|
4116
4192
|
|
@@ -195,7 +195,7 @@ module Google
|
|
195
195
|
# Whether to list all datasets, including hidden ones
|
196
196
|
# @param [String] filter
|
197
197
|
# An expression for filtering the results of the request by label. The syntax is
|
198
|
-
# `labels.[:]`. Multiple filters can be
|
198
|
+
# `labels.[:]`. Multiple filters can be AND-ed together by connecting with a
|
199
199
|
# space. Example: `labels.department:receiving labels.active`. See [Filtering
|
200
200
|
# datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#
|
201
201
|
# filtering_datasets_using_labels) for details.
|
@@ -1205,6 +1205,124 @@ module Google
|
|
1205
1205
|
execute_or_queue_command(command, &block)
|
1206
1206
|
end
|
1207
1207
|
|
1208
|
+
# Deletes provided row access policies.
|
1209
|
+
# @param [String] project_id
|
1210
|
+
# Required. Project ID of the table to delete the row access policies.
|
1211
|
+
# @param [String] dataset_id
|
1212
|
+
# Required. Dataset ID of the table to delete the row access policies.
|
1213
|
+
# @param [String] table_id
|
1214
|
+
# Required. Table ID of the table to delete the row access policies.
|
1215
|
+
# @param [Google::Apis::BigqueryV2::BatchDeleteRowAccessPoliciesRequest] batch_delete_row_access_policies_request_object
|
1216
|
+
# @param [String] fields
|
1217
|
+
# Selector specifying which fields to include in a partial response.
|
1218
|
+
# @param [String] quota_user
|
1219
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1220
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1221
|
+
# @param [Google::Apis::RequestOptions] options
|
1222
|
+
# Request-specific options
|
1223
|
+
#
|
1224
|
+
# @yield [result, err] Result & error if block supplied
|
1225
|
+
# @yieldparam result [NilClass] No result returned for this method
|
1226
|
+
# @yieldparam err [StandardError] error object if request failed
|
1227
|
+
#
|
1228
|
+
# @return [void]
|
1229
|
+
#
|
1230
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1231
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1232
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1233
|
+
def batch_row_access_policy_delete_row_access_policies(project_id, dataset_id, table_id, batch_delete_row_access_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1234
|
+
command = make_simple_command(:post, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies:batchDelete', options)
|
1235
|
+
command.request_representation = Google::Apis::BigqueryV2::BatchDeleteRowAccessPoliciesRequest::Representation
|
1236
|
+
command.request_object = batch_delete_row_access_policies_request_object
|
1237
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1238
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1239
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1240
|
+
command.query['fields'] = fields unless fields.nil?
|
1241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1242
|
+
execute_or_queue_command(command, &block)
|
1243
|
+
end
|
1244
|
+
|
1245
|
+
# Deletes a row access policy.
|
1246
|
+
# @param [String] project_id
|
1247
|
+
# Required. Project ID of the table to delete the row access policy.
|
1248
|
+
# @param [String] dataset_id
|
1249
|
+
# Required. Dataset ID of the table to delete the row access policy.
|
1250
|
+
# @param [String] table_id
|
1251
|
+
# Required. Table ID of the table to delete the row access policy.
|
1252
|
+
# @param [String] policy_id
|
1253
|
+
# Required. Policy ID of the row access policy.
|
1254
|
+
# @param [Boolean] force
|
1255
|
+
# If set to true, it deletes the row access policy even if it's the last row
|
1256
|
+
# access policy on the table and the deletion will widen the access rather
|
1257
|
+
# narrowing it.
|
1258
|
+
# @param [String] fields
|
1259
|
+
# Selector specifying which fields to include in a partial response.
|
1260
|
+
# @param [String] quota_user
|
1261
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1262
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1263
|
+
# @param [Google::Apis::RequestOptions] options
|
1264
|
+
# Request-specific options
|
1265
|
+
#
|
1266
|
+
# @yield [result, err] Result & error if block supplied
|
1267
|
+
# @yieldparam result [NilClass] No result returned for this method
|
1268
|
+
# @yieldparam err [StandardError] error object if request failed
|
1269
|
+
#
|
1270
|
+
# @return [void]
|
1271
|
+
#
|
1272
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1273
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1274
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1275
|
+
def delete_row_access_policy(project_id, dataset_id, table_id, policy_id, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1276
|
+
command = make_simple_command(:delete, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}', options)
|
1277
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1278
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1279
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1280
|
+
command.params['policyId'] = policy_id unless policy_id.nil?
|
1281
|
+
command.query['force'] = force unless force.nil?
|
1282
|
+
command.query['fields'] = fields unless fields.nil?
|
1283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1284
|
+
execute_or_queue_command(command, &block)
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Gets the specified row access policy by policy ID.
|
1288
|
+
# @param [String] project_id
|
1289
|
+
# Required. Project ID of the table to get the row access policy.
|
1290
|
+
# @param [String] dataset_id
|
1291
|
+
# Required. Dataset ID of the table to get the row access policy.
|
1292
|
+
# @param [String] table_id
|
1293
|
+
# Required. Table ID of the table to get the row access policy.
|
1294
|
+
# @param [String] policy_id
|
1295
|
+
# Required. Policy ID of the row access policy.
|
1296
|
+
# @param [String] fields
|
1297
|
+
# Selector specifying which fields to include in a partial response.
|
1298
|
+
# @param [String] quota_user
|
1299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1301
|
+
# @param [Google::Apis::RequestOptions] options
|
1302
|
+
# Request-specific options
|
1303
|
+
#
|
1304
|
+
# @yield [result, err] Result & error if block supplied
|
1305
|
+
# @yieldparam result [Google::Apis::BigqueryV2::RowAccessPolicy] parsed result object
|
1306
|
+
# @yieldparam err [StandardError] error object if request failed
|
1307
|
+
#
|
1308
|
+
# @return [Google::Apis::BigqueryV2::RowAccessPolicy]
|
1309
|
+
#
|
1310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1313
|
+
def get_row_access_policy(project_id, dataset_id, table_id, policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
1314
|
+
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}', options)
|
1315
|
+
command.response_representation = Google::Apis::BigqueryV2::RowAccessPolicy::Representation
|
1316
|
+
command.response_class = Google::Apis::BigqueryV2::RowAccessPolicy
|
1317
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1318
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1319
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1320
|
+
command.params['policyId'] = policy_id unless policy_id.nil?
|
1321
|
+
command.query['fields'] = fields unless fields.nil?
|
1322
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1323
|
+
execute_or_queue_command(command, &block)
|
1324
|
+
end
|
1325
|
+
|
1208
1326
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1209
1327
|
# resource exists and does not have a policy set.
|
1210
1328
|
# @param [String] resource
|
@@ -1241,6 +1359,45 @@ module Google
|
|
1241
1359
|
execute_or_queue_command(command, &block)
|
1242
1360
|
end
|
1243
1361
|
|
1362
|
+
# Creates a row access policy.
|
1363
|
+
# @param [String] project_id
|
1364
|
+
# Required. Project ID of the table to get the row access policy.
|
1365
|
+
# @param [String] dataset_id
|
1366
|
+
# Required. Dataset ID of the table to get the row access policy.
|
1367
|
+
# @param [String] table_id
|
1368
|
+
# Required. Table ID of the table to get the row access policy.
|
1369
|
+
# @param [Google::Apis::BigqueryV2::RowAccessPolicy] row_access_policy_object
|
1370
|
+
# @param [String] fields
|
1371
|
+
# Selector specifying which fields to include in a partial response.
|
1372
|
+
# @param [String] quota_user
|
1373
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1374
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1375
|
+
# @param [Google::Apis::RequestOptions] options
|
1376
|
+
# Request-specific options
|
1377
|
+
#
|
1378
|
+
# @yield [result, err] Result & error if block supplied
|
1379
|
+
# @yieldparam result [Google::Apis::BigqueryV2::RowAccessPolicy] parsed result object
|
1380
|
+
# @yieldparam err [StandardError] error object if request failed
|
1381
|
+
#
|
1382
|
+
# @return [Google::Apis::BigqueryV2::RowAccessPolicy]
|
1383
|
+
#
|
1384
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1385
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1386
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1387
|
+
def insert_row_access_policy(project_id, dataset_id, table_id, row_access_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1388
|
+
command = make_simple_command(:post, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies', options)
|
1389
|
+
command.request_representation = Google::Apis::BigqueryV2::RowAccessPolicy::Representation
|
1390
|
+
command.request_object = row_access_policy_object
|
1391
|
+
command.response_representation = Google::Apis::BigqueryV2::RowAccessPolicy::Representation
|
1392
|
+
command.response_class = Google::Apis::BigqueryV2::RowAccessPolicy
|
1393
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1394
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1395
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1396
|
+
command.query['fields'] = fields unless fields.nil?
|
1397
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1398
|
+
execute_or_queue_command(command, &block)
|
1399
|
+
end
|
1400
|
+
|
1244
1401
|
# Lists all row access policies on the specified table.
|
1245
1402
|
# @param [String] project_id
|
1246
1403
|
# Required. Project ID of the row access policies to list.
|
@@ -1323,6 +1480,48 @@ module Google
|
|
1323
1480
|
execute_or_queue_command(command, &block)
|
1324
1481
|
end
|
1325
1482
|
|
1483
|
+
# Updates a row access policy.
|
1484
|
+
# @param [String] project_id
|
1485
|
+
# Required. Project ID of the table to get the row access policy.
|
1486
|
+
# @param [String] dataset_id
|
1487
|
+
# Required. Dataset ID of the table to get the row access policy.
|
1488
|
+
# @param [String] table_id
|
1489
|
+
# Required. Table ID of the table to get the row access policy.
|
1490
|
+
# @param [String] policy_id
|
1491
|
+
# Required. Policy ID of the row access policy.
|
1492
|
+
# @param [Google::Apis::BigqueryV2::RowAccessPolicy] row_access_policy_object
|
1493
|
+
# @param [String] fields
|
1494
|
+
# Selector specifying which fields to include in a partial response.
|
1495
|
+
# @param [String] quota_user
|
1496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1498
|
+
# @param [Google::Apis::RequestOptions] options
|
1499
|
+
# Request-specific options
|
1500
|
+
#
|
1501
|
+
# @yield [result, err] Result & error if block supplied
|
1502
|
+
# @yieldparam result [Google::Apis::BigqueryV2::RowAccessPolicy] parsed result object
|
1503
|
+
# @yieldparam err [StandardError] error object if request failed
|
1504
|
+
#
|
1505
|
+
# @return [Google::Apis::BigqueryV2::RowAccessPolicy]
|
1506
|
+
#
|
1507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1510
|
+
def update_row_access_policy(project_id, dataset_id, table_id, policy_id, row_access_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1511
|
+
command = make_simple_command(:put, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}', options)
|
1512
|
+
command.request_representation = Google::Apis::BigqueryV2::RowAccessPolicy::Representation
|
1513
|
+
command.request_object = row_access_policy_object
|
1514
|
+
command.response_representation = Google::Apis::BigqueryV2::RowAccessPolicy::Representation
|
1515
|
+
command.response_class = Google::Apis::BigqueryV2::RowAccessPolicy
|
1516
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1517
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1518
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1519
|
+
command.params['policyId'] = policy_id unless policy_id.nil?
|
1520
|
+
command.query['fields'] = fields unless fields.nil?
|
1521
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1522
|
+
execute_or_queue_command(command, &block)
|
1523
|
+
end
|
1524
|
+
|
1326
1525
|
# Streams data into BigQuery one record at a time without needing to run a load
|
1327
1526
|
# job.
|
1328
1527
|
# @param [String] project_id
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.85.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for BigQuery API V2
|
82
79
|
test_files: []
|