google-apis-bigquery_v2 0.87.0 → 0.89.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: d5723f47c5c6e8789c4135e55514e0c6994fabbc6e340bc5977aa3fd389d3029
|
4
|
+
data.tar.gz: 68339d2cf221117dcbe8a37bd9c4bb67ed0227138abd0d8928badd0690cbc9b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02f8160e3b7966d7dcbd22733e154ed6564ac144e3f18794c4c5b7455b8fd85cd9e714be4f361da93e6e87f81a0f40b29913fc0244a320dd713e6dead1333052
|
7
|
+
data.tar.gz: 1b69200646bb7af9ccc6be3243a6e09f91d45ec0802be31b2fd05bf242582a2a58ccb8893f4d190adf84e1acaf36bce2b7bc7890265aae1c46c6fb036561dcfb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.89.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250511
|
6
|
+
|
7
|
+
### v0.88.0 (2025-05-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250427
|
10
|
+
* Regenerated using generator version 0.17.0
|
11
|
+
|
3
12
|
### v0.87.0 (2025-04-20)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250404
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/bigquery/) may provide guid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -2268,6 +2268,11 @@ module Google
|
|
2268
2268
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
2269
2269
|
attr_accessor :dataset_reference
|
2270
2270
|
|
2271
|
+
# Configures the access a dataset defined in an external metadata storage.
|
2272
|
+
# Corresponds to the JSON property `externalDatasetReference`
|
2273
|
+
# @return [Google::Apis::BigqueryV2::ExternalDatasetReference]
|
2274
|
+
attr_accessor :external_dataset_reference
|
2275
|
+
|
2271
2276
|
# An alternate name for the dataset. The friendly name is purely decorative in
|
2272
2277
|
# nature.
|
2273
2278
|
# Corresponds to the JSON property `friendlyName`
|
@@ -2302,6 +2307,7 @@ module Google
|
|
2302
2307
|
# Update properties of this object
|
2303
2308
|
def update!(**args)
|
2304
2309
|
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
|
2310
|
+
@external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
|
2305
2311
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
2306
2312
|
@id = args[:id] if args.key?(:id)
|
2307
2313
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -4967,8 +4973,8 @@ module Google
|
|
4967
4973
|
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
4968
4974
|
attr_accessor :time_partitioning
|
4969
4975
|
|
4970
|
-
# Optional.
|
4971
|
-
#
|
4976
|
+
# Optional. Default time zone that will apply when parsing timestamp values that
|
4977
|
+
# have no specific time zone.
|
4972
4978
|
# Corresponds to the JSON property `timeZone`
|
4973
4979
|
# @return [String]
|
4974
4980
|
attr_accessor :time_zone
|
@@ -4989,12 +4995,14 @@ module Google
|
|
4989
4995
|
# Optional. Specifies the action that occurs if the destination table already
|
4990
4996
|
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
|
4991
4997
|
# already exists, BigQuery overwrites the data, removes the constraints and uses
|
4992
|
-
# the schema from the load job. *
|
4993
|
-
# BigQuery
|
4994
|
-
#
|
4995
|
-
#
|
4996
|
-
#
|
4997
|
-
#
|
4998
|
+
# the schema from the load job. * WRITE_TRUNCATE_DATA: If the table already
|
4999
|
+
# exists, BigQuery overwrites the data, but keeps the constraints and schema of
|
5000
|
+
# the existing table. * WRITE_APPEND: If the table already exists, BigQuery
|
5001
|
+
# appends the data to the table. * WRITE_EMPTY: If the table already exists and
|
5002
|
+
# contains data, a 'duplicate' error is returned in the job result. The default
|
5003
|
+
# value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is
|
5004
|
+
# able to complete the job successfully. Creation, truncation and append actions
|
5005
|
+
# occur as one atomic update upon job completion.
|
4998
5006
|
# Corresponds to the JSON property `writeDisposition`
|
4999
5007
|
# @return [String]
|
5000
5008
|
attr_accessor :write_disposition
|
@@ -5250,12 +5258,14 @@ module Google
|
|
5250
5258
|
# Optional. Specifies the action that occurs if the destination table already
|
5251
5259
|
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
|
5252
5260
|
# already exists, BigQuery overwrites the data, removes the constraints, and
|
5253
|
-
# uses the schema from the query result. *
|
5254
|
-
# exists, BigQuery
|
5255
|
-
#
|
5256
|
-
#
|
5257
|
-
#
|
5258
|
-
#
|
5261
|
+
# uses the schema from the query result. * WRITE_TRUNCATE_DATA: If the table
|
5262
|
+
# already exists, BigQuery overwrites the data, but keeps the constraints and
|
5263
|
+
# schema of the existing table. * WRITE_APPEND: If the table already exists,
|
5264
|
+
# BigQuery appends the data to the table. * WRITE_EMPTY: If the table already
|
5265
|
+
# exists and contains data, a 'duplicate' error is returned in the job result.
|
5266
|
+
# The default value is WRITE_EMPTY. Each action is atomic and only occurs if
|
5267
|
+
# BigQuery is able to complete the job successfully. Creation, truncation and
|
5268
|
+
# append actions occur as one atomic update upon job completion.
|
5259
5269
|
# Corresponds to the JSON property `writeDisposition`
|
5260
5270
|
# @return [String]
|
5261
5271
|
attr_accessor :write_disposition
|
@@ -5907,8 +5917,7 @@ module Google
|
|
5907
5917
|
# @return [Array<Google::Apis::BigqueryV2::RoutineReference>]
|
5908
5918
|
attr_accessor :referenced_routines
|
5909
5919
|
|
5910
|
-
# Output only. Referenced tables for the job.
|
5911
|
-
# 50 tables will not have a complete list.
|
5920
|
+
# Output only. Referenced tables for the job.
|
5912
5921
|
# Corresponds to the JSON property `referencedTables`
|
5913
5922
|
# @return [Array<Google::Apis::BigqueryV2::TableReference>]
|
5914
5923
|
attr_accessor :referenced_tables
|
@@ -8083,6 +8092,12 @@ module Google
|
|
8083
8092
|
# @return [Fixnum]
|
8084
8093
|
attr_accessor :pending_units
|
8085
8094
|
|
8095
|
+
# Total shuffle usage ratio in shuffle RAM per reservation of this query. This
|
8096
|
+
# will be provided for reservation customers only.
|
8097
|
+
# Corresponds to the JSON property `shuffleRamUsageRatio`
|
8098
|
+
# @return [Float]
|
8099
|
+
attr_accessor :shuffle_ram_usage_ratio
|
8100
|
+
|
8086
8101
|
# Cumulative slot-ms consumed by the query.
|
8087
8102
|
# Corresponds to the JSON property `totalSlotMs`
|
8088
8103
|
# @return [Fixnum]
|
@@ -8099,6 +8114,7 @@ module Google
|
|
8099
8114
|
@elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
|
8100
8115
|
@estimated_runnable_units = args[:estimated_runnable_units] if args.key?(:estimated_runnable_units)
|
8101
8116
|
@pending_units = args[:pending_units] if args.key?(:pending_units)
|
8117
|
+
@shuffle_ram_usage_ratio = args[:shuffle_ram_usage_ratio] if args.key?(:shuffle_ram_usage_ratio)
|
8102
8118
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
8103
8119
|
end
|
8104
8120
|
end
|
@@ -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.89.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1879,6 +1879,8 @@ module Google
|
|
1879
1879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1880
1880
|
property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
1881
1881
|
|
1882
|
+
property :external_dataset_reference, as: 'externalDatasetReference', class: Google::Apis::BigqueryV2::ExternalDatasetReference, decorator: Google::Apis::BigqueryV2::ExternalDatasetReference::Representation
|
1883
|
+
|
1882
1884
|
property :friendly_name, as: 'friendlyName'
|
1883
1885
|
property :id, as: 'id'
|
1884
1886
|
property :kind, as: 'kind'
|
@@ -3281,6 +3283,7 @@ module Google
|
|
3281
3283
|
property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
|
3282
3284
|
property :estimated_runnable_units, :numeric_string => true, as: 'estimatedRunnableUnits'
|
3283
3285
|
property :pending_units, :numeric_string => true, as: 'pendingUnits'
|
3286
|
+
property :shuffle_ram_usage_ratio, as: 'shuffleRamUsageRatio'
|
3284
3287
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
3285
3288
|
end
|
3286
3289
|
end
|
@@ -258,6 +258,9 @@ module Google
|
|
258
258
|
# value is used for dataset with conditional bindings, request will be rejected.
|
259
259
|
# This field will be mapped to IAM Policy version (https://cloud.google.com/iam/
|
260
260
|
# docs/policies#versions) and will be used to set policy in IAM.
|
261
|
+
# @param [String] update_mode
|
262
|
+
# Optional. Specifies the fields of dataset that update/patch operation is
|
263
|
+
# targeting By default, both metadata and ACL fields are updated.
|
261
264
|
# @param [String] fields
|
262
265
|
# Selector specifying which fields to include in a partial response.
|
263
266
|
# @param [String] quota_user
|
@@ -275,7 +278,7 @@ module Google
|
|
275
278
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
276
279
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
277
280
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
278
|
-
def patch_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
281
|
+
def patch_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, update_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
279
282
|
command = make_simple_command(:patch, 'projects/{+projectId}/datasets/{+datasetId}', options)
|
280
283
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
281
284
|
command.request_object = dataset_object
|
@@ -284,6 +287,7 @@ module Google
|
|
284
287
|
command.params['projectId'] = project_id unless project_id.nil?
|
285
288
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
286
289
|
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
290
|
+
command.query['updateMode'] = update_mode unless update_mode.nil?
|
287
291
|
command.query['fields'] = fields unless fields.nil?
|
288
292
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
293
|
execute_or_queue_command(command, &block)
|
@@ -349,6 +353,9 @@ module Google
|
|
349
353
|
# value is used for dataset with conditional bindings, request will be rejected.
|
350
354
|
# This field will be mapped to IAM Policy version (https://cloud.google.com/iam/
|
351
355
|
# docs/policies#versions) and will be used to set policy in IAM.
|
356
|
+
# @param [String] update_mode
|
357
|
+
# Optional. Specifies the fields of dataset that update/patch operation is
|
358
|
+
# targeting By default, both metadata and ACL fields are updated.
|
352
359
|
# @param [String] fields
|
353
360
|
# Selector specifying which fields to include in a partial response.
|
354
361
|
# @param [String] quota_user
|
@@ -366,7 +373,7 @@ module Google
|
|
366
373
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
367
374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
368
375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
369
|
-
def update_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
376
|
+
def update_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, update_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
370
377
|
command = make_simple_command(:put, 'projects/{+projectId}/datasets/{+datasetId}', options)
|
371
378
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
372
379
|
command.request_object = dataset_object
|
@@ -375,6 +382,7 @@ module Google
|
|
375
382
|
command.params['projectId'] = project_id unless project_id.nil?
|
376
383
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
377
384
|
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
385
|
+
command.query['updateMode'] = update_mode unless update_mode.nil?
|
378
386
|
command.query['fields'] = fields unless fields.nil?
|
379
387
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
380
388
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,13 +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.89.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.89.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for BigQuery API V2
|
79
79
|
test_files: []
|