google-apis-bigquery_v2 0.83.0 → 0.84.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: b37029d95a84bf90d39393db51bff70f84c9599e567e7f2b77c9a6e16b3d2a74
|
4
|
+
data.tar.gz: 235e074c6f676d13e6ba30c6bcac6309b746174397bfa8924804324d2be21543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a130522c290cbfa8f39c5b5d3ae2afa12c42bd88cbddee4c098af57da9920469dd9f45a94ebf326f543c51a129a8a64298bf0f93d2676a81b8dcc1ac64d727
|
7
|
+
data.tar.gz: 3601f4b4a18cad014b136c6d16d8f51b78d58d06ffc3d6d609c3a12b961006443e1b1bd420ee260495c922f4832ce40dead519fbe449db11b9b4ff1be55b8d1f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.84.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250216
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.83.0 (2025-01-05)
|
4
9
|
|
5
10
|
* 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
|
@@ -3135,6 +3163,18 @@ module Google
|
|
3135
3163
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
3136
3164
|
attr_accessor :csv_options
|
3137
3165
|
|
3166
|
+
# Optional. Format used to parse DATE values. Supports C-style and SQL-style
|
3167
|
+
# values.
|
3168
|
+
# Corresponds to the JSON property `dateFormat`
|
3169
|
+
# @return [String]
|
3170
|
+
attr_accessor :date_format
|
3171
|
+
|
3172
|
+
# Optional. Format used to parse DATETIME values. Supports C-style and SQL-style
|
3173
|
+
# values.
|
3174
|
+
# Corresponds to the JSON property `datetimeFormat`
|
3175
|
+
# @return [String]
|
3176
|
+
attr_accessor :datetime_format
|
3177
|
+
|
3138
3178
|
# Defines the list of possible SQL data types to which the source decimal values
|
3139
3179
|
# are converted. This list and the precision and the scale parameters of the
|
3140
3180
|
# decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC,
|
@@ -3147,7 +3187,7 @@ module Google
|
|
3147
3187
|
# precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC
|
3148
3188
|
# cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold
|
3149
3189
|
# 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error
|
3150
|
-
# if value
|
3190
|
+
# if value exceeds supported range). This field cannot contain duplicate types.
|
3151
3191
|
# The order of the types in this field is ignored. For example, ["BIGNUMERIC", "
|
3152
3192
|
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
|
3153
3193
|
# precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["
|
@@ -3262,6 +3302,25 @@ module Google
|
|
3262
3302
|
# @return [Array<String>]
|
3263
3303
|
attr_accessor :source_uris
|
3264
3304
|
|
3305
|
+
# Optional. Format used to parse TIME values. Supports C-style and SQL-style
|
3306
|
+
# values.
|
3307
|
+
# Corresponds to the JSON property `timeFormat`
|
3308
|
+
# @return [String]
|
3309
|
+
attr_accessor :time_format
|
3310
|
+
|
3311
|
+
# Optional. Time zone used when parsing timestamp values that do not have
|
3312
|
+
# specific time zone information (e.g. 2024-04-20 12:34:56). The expected format
|
3313
|
+
# is a IANA timezone string (e.g. America/Los_Angeles).
|
3314
|
+
# Corresponds to the JSON property `timeZone`
|
3315
|
+
# @return [String]
|
3316
|
+
attr_accessor :time_zone
|
3317
|
+
|
3318
|
+
# Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-
|
3319
|
+
# style values.
|
3320
|
+
# Corresponds to the JSON property `timestampFormat`
|
3321
|
+
# @return [String]
|
3322
|
+
attr_accessor :timestamp_format
|
3323
|
+
|
3265
3324
|
def initialize(**args)
|
3266
3325
|
update!(**args)
|
3267
3326
|
end
|
@@ -3274,6 +3333,8 @@ module Google
|
|
3274
3333
|
@compression = args[:compression] if args.key?(:compression)
|
3275
3334
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
3276
3335
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
3336
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
3337
|
+
@datetime_format = args[:datetime_format] if args.key?(:datetime_format)
|
3277
3338
|
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
3278
3339
|
@file_set_spec_type = args[:file_set_spec_type] if args.key?(:file_set_spec_type)
|
3279
3340
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
@@ -3289,6 +3350,9 @@ module Google
|
|
3289
3350
|
@schema = args[:schema] if args.key?(:schema)
|
3290
3351
|
@source_format = args[:source_format] if args.key?(:source_format)
|
3291
3352
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
3353
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
3354
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3355
|
+
@timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
|
3292
3356
|
end
|
3293
3357
|
end
|
3294
3358
|
|
@@ -4600,6 +4664,16 @@ module Google
|
|
4600
4664
|
attr_accessor :create_session
|
4601
4665
|
alias_method :create_session?, :create_session
|
4602
4666
|
|
4667
|
+
# Optional. Date format used for parsing DATE values.
|
4668
|
+
# Corresponds to the JSON property `dateFormat`
|
4669
|
+
# @return [String]
|
4670
|
+
attr_accessor :date_format
|
4671
|
+
|
4672
|
+
# Optional. Date format used for parsing DATETIME values.
|
4673
|
+
# Corresponds to the JSON property `datetimeFormat`
|
4674
|
+
# @return [String]
|
4675
|
+
attr_accessor :datetime_format
|
4676
|
+
|
4603
4677
|
# Defines the list of possible SQL data types to which the source decimal values
|
4604
4678
|
# are converted. This list and the precision and the scale parameters of the
|
4605
4679
|
# decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC,
|
@@ -4612,7 +4686,7 @@ module Google
|
|
4612
4686
|
# precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC
|
4613
4687
|
# cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold
|
4614
4688
|
# 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error
|
4615
|
-
# if value
|
4689
|
+
# if value exceeds supported range). This field cannot contain duplicate types.
|
4616
4690
|
# The order of the types in this field is ignored. For example, ["BIGNUMERIC", "
|
4617
4691
|
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
|
4618
4692
|
# precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["
|
@@ -4828,12 +4902,28 @@ module Google
|
|
4828
4902
|
# @return [Array<String>]
|
4829
4903
|
attr_accessor :source_uris
|
4830
4904
|
|
4905
|
+
# Optional. Date format used for parsing TIME values.
|
4906
|
+
# Corresponds to the JSON property `timeFormat`
|
4907
|
+
# @return [String]
|
4908
|
+
attr_accessor :time_format
|
4909
|
+
|
4831
4910
|
# Time-based partitioning specification for the destination table. Only one of
|
4832
4911
|
# timePartitioning and rangePartitioning should be specified.
|
4833
4912
|
# Corresponds to the JSON property `timePartitioning`
|
4834
4913
|
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
4835
4914
|
attr_accessor :time_partitioning
|
4836
4915
|
|
4916
|
+
# Optional. [Experimental] Default time zone that will apply when parsing
|
4917
|
+
# timestamp values that have no specific time zone.
|
4918
|
+
# Corresponds to the JSON property `timeZone`
|
4919
|
+
# @return [String]
|
4920
|
+
attr_accessor :time_zone
|
4921
|
+
|
4922
|
+
# Optional. Date format used for parsing TIMESTAMP values.
|
4923
|
+
# Corresponds to the JSON property `timestampFormat`
|
4924
|
+
# @return [String]
|
4925
|
+
attr_accessor :timestamp_format
|
4926
|
+
|
4837
4927
|
# Optional. If sourceFormat is set to "AVRO", indicates whether to interpret
|
4838
4928
|
# logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
|
4839
4929
|
# instead of using the raw type (for example, INTEGER).
|
@@ -4870,6 +4960,8 @@ module Google
|
|
4870
4960
|
@copy_files_only = args[:copy_files_only] if args.key?(:copy_files_only)
|
4871
4961
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
4872
4962
|
@create_session = args[:create_session] if args.key?(:create_session)
|
4963
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
4964
|
+
@datetime_format = args[:datetime_format] if args.key?(:datetime_format)
|
4873
4965
|
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
4874
4966
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
4875
4967
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@@ -4895,7 +4987,10 @@ module Google
|
|
4895
4987
|
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
4896
4988
|
@source_format = args[:source_format] if args.key?(:source_format)
|
4897
4989
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
4990
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
4898
4991
|
@time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
|
4992
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
4993
|
+
@timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
|
4899
4994
|
@use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
|
4900
4995
|
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
4901
4996
|
end
|
@@ -5109,6 +5204,15 @@ module Google
|
|
5109
5204
|
# @return [String]
|
5110
5205
|
attr_accessor :write_disposition
|
5111
5206
|
|
5207
|
+
# Optional. This is only supported for a SELECT query using a temporary table.
|
5208
|
+
# If set, the query is allowed to write results incrementally to the temporary
|
5209
|
+
# result table. This may incur a performance penalty. This option cannot be used
|
5210
|
+
# with Legacy SQL. This feature is not yet available.
|
5211
|
+
# Corresponds to the JSON property `writeIncrementalResults`
|
5212
|
+
# @return [Boolean]
|
5213
|
+
attr_accessor :write_incremental_results
|
5214
|
+
alias_method :write_incremental_results?, :write_incremental_results
|
5215
|
+
|
5112
5216
|
def initialize(**args)
|
5113
5217
|
update!(**args)
|
5114
5218
|
end
|
@@ -5142,6 +5246,7 @@ module Google
|
|
5142
5246
|
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
|
5143
5247
|
@user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
|
5144
5248
|
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
5249
|
+
@write_incremental_results = args[:write_incremental_results] if args.key?(:write_incremental_results)
|
5145
5250
|
end
|
5146
5251
|
end
|
5147
5252
|
|
@@ -5695,7 +5800,7 @@ module Google
|
|
5695
5800
|
# @return [Google::Apis::BigqueryV2::MaterializedViewStatistics]
|
5696
5801
|
attr_accessor :materialized_view_statistics
|
5697
5802
|
|
5698
|
-
# Statistics for metadata caching in
|
5803
|
+
# Statistics for metadata caching in queried tables.
|
5699
5804
|
# Corresponds to the JSON property `metadataCacheStatistics`
|
5700
5805
|
# @return [Google::Apis::BigqueryV2::MetadataCacheStatistics]
|
5701
5806
|
attr_accessor :metadata_cache_statistics
|
@@ -6444,7 +6549,9 @@ module Google
|
|
6444
6549
|
include Google::Apis::Core::Hashable
|
6445
6550
|
|
6446
6551
|
# Optional. This option declares the intention to construct a materialized view
|
6447
|
-
# that isn't refreshed incrementally.
|
6552
|
+
# that isn't refreshed incrementally. Non-incremental materialized views support
|
6553
|
+
# an expanded range of SQL queries. The `allow_non_incremental_definition`
|
6554
|
+
# option can't be changed after the materialized view is created.
|
6448
6555
|
# Corresponds to the JSON property `allowNonIncrementalDefinition`
|
6449
6556
|
# @return [Boolean]
|
6450
6557
|
attr_accessor :allow_non_incremental_definition
|
@@ -6544,7 +6651,7 @@ module Google
|
|
6544
6651
|
end
|
6545
6652
|
end
|
6546
6653
|
|
6547
|
-
# Statistics for metadata caching in
|
6654
|
+
# Statistics for metadata caching in queried tables.
|
6548
6655
|
class MetadataCacheStatistics
|
6549
6656
|
include Google::Apis::Core::Hashable
|
6550
6657
|
|
@@ -7518,6 +7625,11 @@ module Google
|
|
7518
7625
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
7519
7626
|
attr_accessor :default_dataset
|
7520
7627
|
|
7628
|
+
# Configuration for Cloud KMS encryption settings.
|
7629
|
+
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
7630
|
+
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
7631
|
+
attr_accessor :destination_encryption_configuration
|
7632
|
+
|
7521
7633
|
# Optional. If set to true, BigQuery doesn't run the job. Instead, if the query
|
7522
7634
|
# is valid, BigQuery returns statistics about the job such as how many bytes
|
7523
7635
|
# would be processed. If the query is invalid, an error returns. The default
|
@@ -7539,6 +7651,16 @@ module Google
|
|
7539
7651
|
# @return [String]
|
7540
7652
|
attr_accessor :job_creation_mode
|
7541
7653
|
|
7654
|
+
# Optional. Job timeout in milliseconds. If this time limit is exceeded,
|
7655
|
+
# BigQuery will attempt to stop a longer job, but may not always succeed in
|
7656
|
+
# canceling it before the job completes. For example, a job that takes more than
|
7657
|
+
# 60 seconds to complete has a better chance of being stopped than a job that
|
7658
|
+
# takes 10 seconds to complete. This timeout applies to the query even if a job
|
7659
|
+
# does not need to be created.
|
7660
|
+
# Corresponds to the JSON property `jobTimeoutMs`
|
7661
|
+
# @return [Fixnum]
|
7662
|
+
attr_accessor :job_timeout_ms
|
7663
|
+
|
7542
7664
|
# The resource type of the request.
|
7543
7665
|
# Corresponds to the JSON property `kind`
|
7544
7666
|
# @return [String]
|
@@ -7654,6 +7776,15 @@ module Google
|
|
7654
7776
|
attr_accessor :use_query_cache
|
7655
7777
|
alias_method :use_query_cache?, :use_query_cache
|
7656
7778
|
|
7779
|
+
# Optional. This is only supported for SELECT query. If set, the query is
|
7780
|
+
# allowed to write results incrementally to the temporary result table. This may
|
7781
|
+
# incur a performance penalty. This option cannot be used with Legacy SQL. This
|
7782
|
+
# feature is not yet available.
|
7783
|
+
# Corresponds to the JSON property `writeIncrementalResults`
|
7784
|
+
# @return [Boolean]
|
7785
|
+
attr_accessor :write_incremental_results
|
7786
|
+
alias_method :write_incremental_results?, :write_incremental_results
|
7787
|
+
|
7657
7788
|
def initialize(**args)
|
7658
7789
|
update!(**args)
|
7659
7790
|
end
|
@@ -7664,9 +7795,11 @@ module Google
|
|
7664
7795
|
@continuous = args[:continuous] if args.key?(:continuous)
|
7665
7796
|
@create_session = args[:create_session] if args.key?(:create_session)
|
7666
7797
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
7798
|
+
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
7667
7799
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
7668
7800
|
@format_options = args[:format_options] if args.key?(:format_options)
|
7669
7801
|
@job_creation_mode = args[:job_creation_mode] if args.key?(:job_creation_mode)
|
7802
|
+
@job_timeout_ms = args[:job_timeout_ms] if args.key?(:job_timeout_ms)
|
7670
7803
|
@kind = args[:kind] if args.key?(:kind)
|
7671
7804
|
@labels = args[:labels] if args.key?(:labels)
|
7672
7805
|
@location = args[:location] if args.key?(:location)
|
@@ -7680,6 +7813,7 @@ module Google
|
|
7680
7813
|
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
|
7681
7814
|
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
7682
7815
|
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
|
7816
|
+
@write_incremental_results = args[:write_incremental_results] if args.key?(:write_incremental_results)
|
7683
7817
|
end
|
7684
7818
|
end
|
7685
7819
|
|
@@ -7693,11 +7827,23 @@ module Google
|
|
7693
7827
|
attr_accessor :cache_hit
|
7694
7828
|
alias_method :cache_hit?, :cache_hit
|
7695
7829
|
|
7830
|
+
# Output only. Creation time of this query, in milliseconds since the epoch.
|
7831
|
+
# This field will be present on all queries.
|
7832
|
+
# Corresponds to the JSON property `creationTime`
|
7833
|
+
# @return [Fixnum]
|
7834
|
+
attr_accessor :creation_time
|
7835
|
+
|
7696
7836
|
# Detailed statistics for DML statements
|
7697
7837
|
# Corresponds to the JSON property `dmlStats`
|
7698
7838
|
# @return [Google::Apis::BigqueryV2::DmlStatistics]
|
7699
7839
|
attr_accessor :dml_stats
|
7700
7840
|
|
7841
|
+
# Output only. End time of this query, in milliseconds since the epoch. This
|
7842
|
+
# field will be present whenever a query job is in the DONE state.
|
7843
|
+
# Corresponds to the JSON property `endTime`
|
7844
|
+
# @return [Fixnum]
|
7845
|
+
attr_accessor :end_time
|
7846
|
+
|
7701
7847
|
# Output only. The first errors or warnings encountered during the running of
|
7702
7848
|
# the job. The final message includes the number of errors that caused the
|
7703
7849
|
# process to stop. Errors here do not necessarily mean that the job has
|
@@ -7734,6 +7880,12 @@ module Google
|
|
7734
7880
|
# @return [String]
|
7735
7881
|
attr_accessor :kind
|
7736
7882
|
|
7883
|
+
# Output only. The geographic location of the query. For more information about
|
7884
|
+
# BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations
|
7885
|
+
# Corresponds to the JSON property `location`
|
7886
|
+
# @return [String]
|
7887
|
+
attr_accessor :location
|
7888
|
+
|
7737
7889
|
# Output only. The number of rows affected by a DML statement. Present only for
|
7738
7890
|
# DML statements INSERT, UPDATE or DELETE.
|
7739
7891
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
@@ -7772,6 +7924,21 @@ module Google
|
|
7772
7924
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
7773
7925
|
attr_accessor :session_info
|
7774
7926
|
|
7927
|
+
# Output only. Start time of this query, in milliseconds since the epoch. This
|
7928
|
+
# field will be present when the query job transitions from the PENDING state to
|
7929
|
+
# either RUNNING or DONE.
|
7930
|
+
# Corresponds to the JSON property `startTime`
|
7931
|
+
# @return [Fixnum]
|
7932
|
+
attr_accessor :start_time
|
7933
|
+
|
7934
|
+
# Output only. If the project is configured to use on-demand pricing, then this
|
7935
|
+
# field contains the total bytes billed for the job. If the project is
|
7936
|
+
# configured to use flat-rate pricing, then you are not billed for bytes and
|
7937
|
+
# this field is informational only.
|
7938
|
+
# Corresponds to the JSON property `totalBytesBilled`
|
7939
|
+
# @return [Fixnum]
|
7940
|
+
attr_accessor :total_bytes_billed
|
7941
|
+
|
7775
7942
|
# The total number of bytes processed for this query. If this query was a dry
|
7776
7943
|
# run, this is the number of bytes that would be processed if the query were run.
|
7777
7944
|
# Corresponds to the JSON property `totalBytesProcessed`
|
@@ -7784,6 +7951,11 @@ module Google
|
|
7784
7951
|
# @return [Fixnum]
|
7785
7952
|
attr_accessor :total_rows
|
7786
7953
|
|
7954
|
+
# Output only. Number of slot ms the user is actually billed for.
|
7955
|
+
# Corresponds to the JSON property `totalSlotMs`
|
7956
|
+
# @return [Fixnum]
|
7957
|
+
attr_accessor :total_slot_ms
|
7958
|
+
|
7787
7959
|
def initialize(**args)
|
7788
7960
|
update!(**args)
|
7789
7961
|
end
|
@@ -7791,20 +7963,26 @@ module Google
|
|
7791
7963
|
# Update properties of this object
|
7792
7964
|
def update!(**args)
|
7793
7965
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
7966
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
7794
7967
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
7968
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
7795
7969
|
@errors = args[:errors] if args.key?(:errors)
|
7796
7970
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
7797
7971
|
@job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
|
7798
7972
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
7799
7973
|
@kind = args[:kind] if args.key?(:kind)
|
7974
|
+
@location = args[:location] if args.key?(:location)
|
7800
7975
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
7801
7976
|
@page_token = args[:page_token] if args.key?(:page_token)
|
7802
7977
|
@query_id = args[:query_id] if args.key?(:query_id)
|
7803
7978
|
@rows = args[:rows] if args.key?(:rows)
|
7804
7979
|
@schema = args[:schema] if args.key?(:schema)
|
7805
7980
|
@session_info = args[:session_info] if args.key?(:session_info)
|
7981
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
7982
|
+
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
7806
7983
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
7807
7984
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
7985
|
+
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
7808
7986
|
end
|
7809
7987
|
end
|
7810
7988
|
|
@@ -8387,6 +8565,27 @@ module Google
|
|
8387
8565
|
# @return [String]
|
8388
8566
|
attr_accessor :filter_predicate
|
8389
8567
|
|
8568
|
+
# Optional. Input only. The optional list of iam_member users or groups that
|
8569
|
+
# specifies the initial members that the row-level access policy should be
|
8570
|
+
# created with. grantees types: - "user:alice@example.com": An email address
|
8571
|
+
# that represents a specific Google account. - "serviceAccount:my-other-app@
|
8572
|
+
# appspot.gserviceaccount.com": An email address that represents a service
|
8573
|
+
# account. - "group:admins@example.com": An email address that represents a
|
8574
|
+
# Google group. - "domain:example.com":The Google Workspace domain (primary)
|
8575
|
+
# that represents all the users of that domain. - "allAuthenticatedUsers": A
|
8576
|
+
# special identifier that represents all service accounts and all users on the
|
8577
|
+
# internet who have authenticated with a Google Account. This identifier
|
8578
|
+
# includes accounts that aren't connected to a Google Workspace or Cloud
|
8579
|
+
# Identity domain, such as personal Gmail accounts. Users who aren't
|
8580
|
+
# authenticated, such as anonymous visitors, aren't included. - "allUsers":A
|
8581
|
+
# special identifier that represents anyone who is on the internet, including
|
8582
|
+
# authenticated and unauthenticated users. Because BigQuery requires
|
8583
|
+
# authentication before a user can access the service, allUsers includes only
|
8584
|
+
# authenticated users.
|
8585
|
+
# Corresponds to the JSON property `grantees`
|
8586
|
+
# @return [Array<String>]
|
8587
|
+
attr_accessor :grantees
|
8588
|
+
|
8390
8589
|
# Output only. The time when this row access policy was last modified, in
|
8391
8590
|
# milliseconds since the epoch.
|
8392
8591
|
# Corresponds to the JSON property `lastModifiedTime`
|
@@ -8407,6 +8606,7 @@ module Google
|
|
8407
8606
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
8408
8607
|
@etag = args[:etag] if args.key?(:etag)
|
8409
8608
|
@filter_predicate = args[:filter_predicate] if args.key?(:filter_predicate)
|
8609
|
+
@grantees = args[:grantees] if args.key?(:grantees)
|
8410
8610
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
8411
8611
|
@row_access_policy_reference = args[:row_access_policy_reference] if args.key?(:row_access_policy_reference)
|
8412
8612
|
end
|
@@ -9197,6 +9397,72 @@ module Google
|
|
9197
9397
|
end
|
9198
9398
|
end
|
9199
9399
|
|
9400
|
+
# If the stored column was not used, explain why.
|
9401
|
+
class StoredColumnsUnusedReason
|
9402
|
+
include Google::Apis::Core::Hashable
|
9403
|
+
|
9404
|
+
# Specifies the high-level reason for the unused scenario, each reason must have
|
9405
|
+
# a code associated.
|
9406
|
+
# Corresponds to the JSON property `code`
|
9407
|
+
# @return [String]
|
9408
|
+
attr_accessor :code
|
9409
|
+
|
9410
|
+
# Specifies the detailed description for the scenario.
|
9411
|
+
# Corresponds to the JSON property `message`
|
9412
|
+
# @return [String]
|
9413
|
+
attr_accessor :message
|
9414
|
+
|
9415
|
+
# Specifies which columns were not covered by the stored columns for the
|
9416
|
+
# specified code up to 20 columns. This is populated when the code is
|
9417
|
+
# STORED_COLUMNS_COVER_INSUFFICIENT and BASE_TABLE_HAS_CLS.
|
9418
|
+
# Corresponds to the JSON property `uncoveredColumns`
|
9419
|
+
# @return [Array<String>]
|
9420
|
+
attr_accessor :uncovered_columns
|
9421
|
+
|
9422
|
+
def initialize(**args)
|
9423
|
+
update!(**args)
|
9424
|
+
end
|
9425
|
+
|
9426
|
+
# Update properties of this object
|
9427
|
+
def update!(**args)
|
9428
|
+
@code = args[:code] if args.key?(:code)
|
9429
|
+
@message = args[:message] if args.key?(:message)
|
9430
|
+
@uncovered_columns = args[:uncovered_columns] if args.key?(:uncovered_columns)
|
9431
|
+
end
|
9432
|
+
end
|
9433
|
+
|
9434
|
+
# Indicates the stored columns usage in the query.
|
9435
|
+
class StoredColumnsUsage
|
9436
|
+
include Google::Apis::Core::Hashable
|
9437
|
+
|
9438
|
+
# Specifies the base table.
|
9439
|
+
# Corresponds to the JSON property `baseTable`
|
9440
|
+
# @return [Google::Apis::BigqueryV2::TableReference]
|
9441
|
+
attr_accessor :base_table
|
9442
|
+
|
9443
|
+
# Specifies whether the query was accelerated with stored columns.
|
9444
|
+
# Corresponds to the JSON property `isQueryAccelerated`
|
9445
|
+
# @return [Boolean]
|
9446
|
+
attr_accessor :is_query_accelerated
|
9447
|
+
alias_method :is_query_accelerated?, :is_query_accelerated
|
9448
|
+
|
9449
|
+
# If stored columns were not used, explain why.
|
9450
|
+
# Corresponds to the JSON property `storedColumnsUnusedReasons`
|
9451
|
+
# @return [Array<Google::Apis::BigqueryV2::StoredColumnsUnusedReason>]
|
9452
|
+
attr_accessor :stored_columns_unused_reasons
|
9453
|
+
|
9454
|
+
def initialize(**args)
|
9455
|
+
update!(**args)
|
9456
|
+
end
|
9457
|
+
|
9458
|
+
# Update properties of this object
|
9459
|
+
def update!(**args)
|
9460
|
+
@base_table = args[:base_table] if args.key?(:base_table)
|
9461
|
+
@is_query_accelerated = args[:is_query_accelerated] if args.key?(:is_query_accelerated)
|
9462
|
+
@stored_columns_unused_reasons = args[:stored_columns_unused_reasons] if args.key?(:stored_columns_unused_reasons)
|
9463
|
+
end
|
9464
|
+
end
|
9465
|
+
|
9200
9466
|
#
|
9201
9467
|
class Streamingbuffer
|
9202
9468
|
include Google::Apis::Core::Hashable
|
@@ -10820,6 +11086,19 @@ module Google
|
|
10820
11086
|
attr_accessor :fit_intercept
|
10821
11087
|
alias_method :fit_intercept?, :fit_intercept
|
10822
11088
|
|
11089
|
+
# The forecast limit lower bound that was used during ARIMA model training with
|
11090
|
+
# limits. To see more details of the algorithm: https://otexts.com/fpp2/limits.
|
11091
|
+
# html
|
11092
|
+
# Corresponds to the JSON property `forecastLimitLowerBound`
|
11093
|
+
# @return [Float]
|
11094
|
+
attr_accessor :forecast_limit_lower_bound
|
11095
|
+
|
11096
|
+
# The forecast limit upper bound that was used during ARIMA model training with
|
11097
|
+
# limits.
|
11098
|
+
# Corresponds to the JSON property `forecastLimitUpperBound`
|
11099
|
+
# @return [Float]
|
11100
|
+
attr_accessor :forecast_limit_upper_bound
|
11101
|
+
|
10823
11102
|
# Hidden units for dnn models.
|
10824
11103
|
# Corresponds to the JSON property `hiddenUnits`
|
10825
11104
|
# @return [Array<Fixnum>]
|
@@ -11190,6 +11469,8 @@ module Google
|
|
11190
11469
|
@enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
|
11191
11470
|
@feedback_type = args[:feedback_type] if args.key?(:feedback_type)
|
11192
11471
|
@fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
|
11472
|
+
@forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound)
|
11473
|
+
@forecast_limit_upper_bound = args[:forecast_limit_upper_bound] if args.key?(:forecast_limit_upper_bound)
|
11193
11474
|
@hidden_units = args[:hidden_units] if args.key?(:hidden_units)
|
11194
11475
|
@holiday_region = args[:holiday_region] if args.key?(:holiday_region)
|
11195
11476
|
@holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
|
@@ -11457,6 +11738,12 @@ module Google
|
|
11457
11738
|
# @return [String]
|
11458
11739
|
attr_accessor :index_usage_mode
|
11459
11740
|
|
11741
|
+
# Specifies the usage of stored columns in the query when stored columns are
|
11742
|
+
# used in the query.
|
11743
|
+
# Corresponds to the JSON property `storedColumnsUsages`
|
11744
|
+
# @return [Array<Google::Apis::BigqueryV2::StoredColumnsUsage>]
|
11745
|
+
attr_accessor :stored_columns_usages
|
11746
|
+
|
11460
11747
|
def initialize(**args)
|
11461
11748
|
update!(**args)
|
11462
11749
|
end
|
@@ -11465,6 +11752,7 @@ module Google
|
|
11465
11752
|
def update!(**args)
|
11466
11753
|
@index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
|
11467
11754
|
@index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
|
11755
|
+
@stored_columns_usages = args[:stored_columns_usages] if args.key?(:stored_columns_usages)
|
11468
11756
|
end
|
11469
11757
|
end
|
11470
11758
|
|
@@ -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.84.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 = "20250216"
|
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
|
@@ -2081,6 +2107,8 @@ module Google
|
|
2081
2107
|
property :connection_id, as: 'connectionId'
|
2082
2108
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
2083
2109
|
|
2110
|
+
property :date_format, as: 'dateFormat'
|
2111
|
+
property :datetime_format, as: 'datetimeFormat'
|
2084
2112
|
collection :decimal_target_types, as: 'decimalTargetTypes'
|
2085
2113
|
property :file_set_spec_type, as: 'fileSetSpecType'
|
2086
2114
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
@@ -2101,6 +2129,9 @@ module Google
|
|
2101
2129
|
|
2102
2130
|
property :source_format, as: 'sourceFormat'
|
2103
2131
|
collection :source_uris, as: 'sourceUris'
|
2132
|
+
property :time_format, as: 'timeFormat'
|
2133
|
+
property :time_zone, as: 'timeZone'
|
2134
|
+
property :timestamp_format, as: 'timestampFormat'
|
2104
2135
|
end
|
2105
2136
|
end
|
2106
2137
|
|
@@ -2456,6 +2487,8 @@ module Google
|
|
2456
2487
|
property :copy_files_only, as: 'copyFilesOnly'
|
2457
2488
|
property :create_disposition, as: 'createDisposition'
|
2458
2489
|
property :create_session, as: 'createSession'
|
2490
|
+
property :date_format, as: 'dateFormat'
|
2491
|
+
property :datetime_format, as: 'datetimeFormat'
|
2459
2492
|
collection :decimal_target_types, as: 'decimalTargetTypes'
|
2460
2493
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
2461
2494
|
|
@@ -2488,8 +2521,11 @@ module Google
|
|
2488
2521
|
property :skip_leading_rows, as: 'skipLeadingRows'
|
2489
2522
|
property :source_format, as: 'sourceFormat'
|
2490
2523
|
collection :source_uris, as: 'sourceUris'
|
2524
|
+
property :time_format, as: 'timeFormat'
|
2491
2525
|
property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
|
2492
2526
|
|
2527
|
+
property :time_zone, as: 'timeZone'
|
2528
|
+
property :timestamp_format, as: 'timestampFormat'
|
2493
2529
|
property :use_avro_logical_types, as: 'useAvroLogicalTypes'
|
2494
2530
|
property :write_disposition, as: 'writeDisposition'
|
2495
2531
|
end
|
@@ -2537,6 +2573,7 @@ module Google
|
|
2537
2573
|
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
2538
2574
|
|
2539
2575
|
property :write_disposition, as: 'writeDisposition'
|
2576
|
+
property :write_incremental_results, as: 'writeIncrementalResults'
|
2540
2577
|
end
|
2541
2578
|
end
|
2542
2579
|
|
@@ -3171,10 +3208,13 @@ module Google
|
|
3171
3208
|
property :create_session, as: 'createSession'
|
3172
3209
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
3173
3210
|
|
3211
|
+
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
3212
|
+
|
3174
3213
|
property :dry_run, as: 'dryRun'
|
3175
3214
|
property :format_options, as: 'formatOptions', class: Google::Apis::BigqueryV2::DataFormatOptions, decorator: Google::Apis::BigqueryV2::DataFormatOptions::Representation
|
3176
3215
|
|
3177
3216
|
property :job_creation_mode, as: 'jobCreationMode'
|
3217
|
+
property :job_timeout_ms, :numeric_string => true, as: 'jobTimeoutMs'
|
3178
3218
|
property :kind, as: 'kind'
|
3179
3219
|
hash :labels, as: 'labels'
|
3180
3220
|
property :location, as: 'location'
|
@@ -3189,6 +3229,7 @@ module Google
|
|
3189
3229
|
property :timeout_ms, as: 'timeoutMs'
|
3190
3230
|
property :use_legacy_sql, as: 'useLegacySql'
|
3191
3231
|
property :use_query_cache, as: 'useQueryCache'
|
3232
|
+
property :write_incremental_results, as: 'writeIncrementalResults'
|
3192
3233
|
end
|
3193
3234
|
end
|
3194
3235
|
|
@@ -3196,8 +3237,10 @@ module Google
|
|
3196
3237
|
# @private
|
3197
3238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3198
3239
|
property :cache_hit, as: 'cacheHit'
|
3240
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
3199
3241
|
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
3200
3242
|
|
3243
|
+
property :end_time, :numeric_string => true, as: 'endTime'
|
3201
3244
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
3202
3245
|
|
3203
3246
|
property :job_complete, as: 'jobComplete'
|
@@ -3206,6 +3249,7 @@ module Google
|
|
3206
3249
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
3207
3250
|
|
3208
3251
|
property :kind, as: 'kind'
|
3252
|
+
property :location, as: 'location'
|
3209
3253
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
3210
3254
|
property :page_token, as: 'pageToken'
|
3211
3255
|
property :query_id, as: 'queryId'
|
@@ -3215,8 +3259,11 @@ module Google
|
|
3215
3259
|
|
3216
3260
|
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
3217
3261
|
|
3262
|
+
property :start_time, :numeric_string => true, as: 'startTime'
|
3263
|
+
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
3218
3264
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
3219
3265
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
3266
|
+
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
3220
3267
|
end
|
3221
3268
|
end
|
3222
3269
|
|
@@ -3364,6 +3411,7 @@ module Google
|
|
3364
3411
|
property :creation_time, as: 'creationTime'
|
3365
3412
|
property :etag, as: 'etag'
|
3366
3413
|
property :filter_predicate, as: 'filterPredicate'
|
3414
|
+
collection :grantees, as: 'grantees'
|
3367
3415
|
property :last_modified_time, as: 'lastModifiedTime'
|
3368
3416
|
property :row_access_policy_reference, as: 'rowAccessPolicyReference', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
|
3369
3417
|
|
@@ -3578,6 +3626,26 @@ module Google
|
|
3578
3626
|
end
|
3579
3627
|
end
|
3580
3628
|
|
3629
|
+
class StoredColumnsUnusedReason
|
3630
|
+
# @private
|
3631
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3632
|
+
property :code, as: 'code'
|
3633
|
+
property :message, as: 'message'
|
3634
|
+
collection :uncovered_columns, as: 'uncoveredColumns'
|
3635
|
+
end
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
class StoredColumnsUsage
|
3639
|
+
# @private
|
3640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3641
|
+
property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
3642
|
+
|
3643
|
+
property :is_query_accelerated, as: 'isQueryAccelerated'
|
3644
|
+
collection :stored_columns_unused_reasons, as: 'storedColumnsUnusedReasons', class: Google::Apis::BigqueryV2::StoredColumnsUnusedReason, decorator: Google::Apis::BigqueryV2::StoredColumnsUnusedReason::Representation
|
3645
|
+
|
3646
|
+
end
|
3647
|
+
end
|
3648
|
+
|
3581
3649
|
class Streamingbuffer
|
3582
3650
|
# @private
|
3583
3651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3988,6 +4056,8 @@ module Google
|
|
3988
4056
|
property :enable_global_explain, as: 'enableGlobalExplain'
|
3989
4057
|
property :feedback_type, as: 'feedbackType'
|
3990
4058
|
property :fit_intercept, as: 'fitIntercept'
|
4059
|
+
property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound'
|
4060
|
+
property :forecast_limit_upper_bound, as: 'forecastLimitUpperBound'
|
3991
4061
|
collection :hidden_units, as: 'hiddenUnits'
|
3992
4062
|
property :holiday_region, as: 'holidayRegion'
|
3993
4063
|
collection :holiday_regions, as: 'holidayRegions'
|
@@ -4111,6 +4181,8 @@ module Google
|
|
4111
4181
|
collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
|
4112
4182
|
|
4113
4183
|
property :index_usage_mode, as: 'indexUsageMode'
|
4184
|
+
collection :stored_columns_usages, as: 'storedColumnsUsages', class: Google::Apis::BigqueryV2::StoredColumnsUsage, decorator: Google::Apis::BigqueryV2::StoredColumnsUsage::Representation
|
4185
|
+
|
4114
4186
|
end
|
4115
4187
|
end
|
4116
4188
|
|
@@ -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.84.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-02 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.84.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: []
|