google-apis-bigquery_v2 0.89.0 → 0.90.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: 3cb7f1c3b2570236d8efed4c13e2c5e59e749485836a6c00506eb8887720c8ab
|
4
|
+
data.tar.gz: f09fb4aa7b13ccaef22d75ce391edcc004f92cd933314f0d0c0b8dd636e46248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d83d53ce9a930a29271e8963f3fd6c4cc27401a43343254e775054376c5896b299276e2c46f705a0ae76dc788bf78bd2cdac54dde9ff80e0850d2b01c574ebf8
|
7
|
+
data.tar.gz: 1dbe39539d6d0640c0b93de5c1c130a1cac81be5a387f4caebeb43ac9d3f3642a31305d19b10f0bea443854f21b9f94d9bffd09773a3d970f4399b13a4215735
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.90.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250615
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
3
8
|
### v0.89.0 (2025-05-18)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250511
|
@@ -3414,6 +3414,55 @@ module Google
|
|
3414
3414
|
end
|
3415
3415
|
end
|
3416
3416
|
|
3417
|
+
# Options for the runtime of the external system.
|
3418
|
+
class ExternalRuntimeOptions
|
3419
|
+
include Google::Apis::Core::Hashable
|
3420
|
+
|
3421
|
+
# Optional. Amount of CPU provisioned for the container instance. If not
|
3422
|
+
# specified, the default value is 0.33 vCPUs.
|
3423
|
+
# Corresponds to the JSON property `containerCpu`
|
3424
|
+
# @return [Float]
|
3425
|
+
attr_accessor :container_cpu
|
3426
|
+
|
3427
|
+
# Optional. Amount of memory provisioned for the container instance. Format: `
|
3428
|
+
# number``unit` where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi).
|
3429
|
+
# If not specified, the default value is 512Mi.
|
3430
|
+
# Corresponds to the JSON property `containerMemory`
|
3431
|
+
# @return [String]
|
3432
|
+
attr_accessor :container_memory
|
3433
|
+
|
3434
|
+
# Optional. Maximum number of rows in each batch sent to the external runtime.
|
3435
|
+
# If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
|
3436
|
+
# Corresponds to the JSON property `maxBatchingRows`
|
3437
|
+
# @return [Fixnum]
|
3438
|
+
attr_accessor :max_batching_rows
|
3439
|
+
|
3440
|
+
# Optional. Fully qualified name of the connection whose service account will be
|
3441
|
+
# used to execute the code in the container. Format: ```"projects/`project_id`/
|
3442
|
+
# locations/`location_id`/connections/`connection_id`"```
|
3443
|
+
# Corresponds to the JSON property `runtimeConnection`
|
3444
|
+
# @return [String]
|
3445
|
+
attr_accessor :runtime_connection
|
3446
|
+
|
3447
|
+
# Optional. Language runtime version (e.g. python-3.11).
|
3448
|
+
# Corresponds to the JSON property `runtimeVersion`
|
3449
|
+
# @return [String]
|
3450
|
+
attr_accessor :runtime_version
|
3451
|
+
|
3452
|
+
def initialize(**args)
|
3453
|
+
update!(**args)
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# Update properties of this object
|
3457
|
+
def update!(**args)
|
3458
|
+
@container_cpu = args[:container_cpu] if args.key?(:container_cpu)
|
3459
|
+
@container_memory = args[:container_memory] if args.key?(:container_memory)
|
3460
|
+
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
3461
|
+
@runtime_connection = args[:runtime_connection] if args.key?(:runtime_connection)
|
3462
|
+
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
3463
|
+
end
|
3464
|
+
end
|
3465
|
+
|
3417
3466
|
# The external service cost is a portion of the total cost, these costs are not
|
3418
3467
|
# additive with total_bytes_billed. Moreover, this field only track external
|
3419
3468
|
# service costs that will show up as BigQuery costs (e.g. training BigQuery ML
|
@@ -4355,8 +4404,7 @@ module Google
|
|
4355
4404
|
# com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `
|
4356
4405
|
# JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.
|
4357
4406
|
# google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will
|
4358
|
-
# always be `REQUESTED`.
|
4359
|
-
# launch-stages)
|
4407
|
+
# always be `REQUESTED`.
|
4360
4408
|
# Corresponds to the JSON property `jobCreationReason`
|
4361
4409
|
# @return [Google::Apis::BigqueryV2::JobCreationReason]
|
4362
4410
|
attr_accessor :job_creation_reason
|
@@ -5397,8 +5445,7 @@ module Google
|
|
5397
5445
|
# com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `
|
5398
5446
|
# JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.
|
5399
5447
|
# google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will
|
5400
|
-
# always be `REQUESTED`.
|
5401
|
-
# launch-stages)
|
5448
|
+
# always be `REQUESTED`.
|
5402
5449
|
class JobCreationReason
|
5403
5450
|
include Google::Apis::Core::Hashable
|
5404
5451
|
|
@@ -7502,6 +7549,32 @@ module Google
|
|
7502
7549
|
end
|
7503
7550
|
end
|
7504
7551
|
|
7552
|
+
# Options for a user-defined Python function.
|
7553
|
+
class PythonOptions
|
7554
|
+
include Google::Apis::Core::Hashable
|
7555
|
+
|
7556
|
+
# Required. The entry point function in the user's Python code.
|
7557
|
+
# Corresponds to the JSON property `entryPoint`
|
7558
|
+
# @return [String]
|
7559
|
+
attr_accessor :entry_point
|
7560
|
+
|
7561
|
+
# Optional. A list of package names along with versions to be installed. Follows
|
7562
|
+
# requirements.txt syntax (e.g. numpy==2.0, permutation, urllib3<2.2.1)
|
7563
|
+
# Corresponds to the JSON property `packages`
|
7564
|
+
# @return [Array<String>]
|
7565
|
+
attr_accessor :packages
|
7566
|
+
|
7567
|
+
def initialize(**args)
|
7568
|
+
update!(**args)
|
7569
|
+
end
|
7570
|
+
|
7571
|
+
# Update properties of this object
|
7572
|
+
def update!(**args)
|
7573
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
7574
|
+
@packages = args[:packages] if args.key?(:packages)
|
7575
|
+
end
|
7576
|
+
end
|
7577
|
+
|
7505
7578
|
# Query optimization information for a QUERY job.
|
7506
7579
|
class QueryInfo
|
7507
7580
|
include Google::Apis::Core::Hashable
|
@@ -7710,8 +7783,7 @@ module Google
|
|
7710
7783
|
attr_accessor :format_options
|
7711
7784
|
|
7712
7785
|
# Optional. If not set, jobs are always required. If set, the query request will
|
7713
|
-
# follow the behavior described JobCreationMode.
|
7714
|
-
# com/products/#product-launch-stages)
|
7786
|
+
# follow the behavior described JobCreationMode.
|
7715
7787
|
# Corresponds to the JSON property `jobCreationMode`
|
7716
7788
|
# @return [String]
|
7717
7789
|
attr_accessor :job_creation_mode
|
@@ -7937,8 +8009,7 @@ module Google
|
|
7937
8009
|
# com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `
|
7938
8010
|
# JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.
|
7939
8011
|
# google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will
|
7940
|
-
# always be `REQUESTED`.
|
7941
|
-
# launch-stages)
|
8012
|
+
# always be `REQUESTED`.
|
7942
8013
|
# Corresponds to the JSON property `jobCreationReason`
|
7943
8014
|
# @return [Google::Apis::BigqueryV2::JobCreationReason]
|
7944
8015
|
attr_accessor :job_creation_reason
|
@@ -7974,8 +8045,7 @@ module Google
|
|
7974
8045
|
# @return [String]
|
7975
8046
|
attr_accessor :page_token
|
7976
8047
|
|
7977
|
-
# Auto-generated ID for the query.
|
7978
|
-
# product-launch-stages)
|
8048
|
+
# Auto-generated ID for the query.
|
7979
8049
|
# Corresponds to the JSON property `queryId`
|
7980
8050
|
# @return [String]
|
7981
8051
|
attr_accessor :query_id
|
@@ -8462,6 +8532,11 @@ module Google
|
|
8462
8532
|
# @return [String]
|
8463
8533
|
attr_accessor :etag
|
8464
8534
|
|
8535
|
+
# Options for the runtime of the external system.
|
8536
|
+
# Corresponds to the JSON property `externalRuntimeOptions`
|
8537
|
+
# @return [Google::Apis::BigqueryV2::ExternalRuntimeOptions]
|
8538
|
+
attr_accessor :external_runtime_options
|
8539
|
+
|
8465
8540
|
# Optional. If language = "JAVASCRIPT", this field stores the path of the
|
8466
8541
|
# imported JAVASCRIPT libraries.
|
8467
8542
|
# Corresponds to the JSON property `importedLibraries`
|
@@ -8480,6 +8555,11 @@ module Google
|
|
8480
8555
|
# @return [Fixnum]
|
8481
8556
|
attr_accessor :last_modified_time
|
8482
8557
|
|
8558
|
+
# Options for a user-defined Python function.
|
8559
|
+
# Corresponds to the JSON property `pythonOptions`
|
8560
|
+
# @return [Google::Apis::BigqueryV2::PythonOptions]
|
8561
|
+
attr_accessor :python_options
|
8562
|
+
|
8483
8563
|
# Options for a remote user-defined function.
|
8484
8564
|
# Corresponds to the JSON property `remoteFunctionOptions`
|
8485
8565
|
# @return [Google::Apis::BigqueryV2::RemoteFunctionOptions]
|
@@ -8549,9 +8629,11 @@ module Google
|
|
8549
8629
|
@description = args[:description] if args.key?(:description)
|
8550
8630
|
@determinism_level = args[:determinism_level] if args.key?(:determinism_level)
|
8551
8631
|
@etag = args[:etag] if args.key?(:etag)
|
8632
|
+
@external_runtime_options = args[:external_runtime_options] if args.key?(:external_runtime_options)
|
8552
8633
|
@imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
|
8553
8634
|
@language = args[:language] if args.key?(:language)
|
8554
8635
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
8636
|
+
@python_options = args[:python_options] if args.key?(:python_options)
|
8555
8637
|
@remote_function_options = args[:remote_function_options] if args.key?(:remote_function_options)
|
8556
8638
|
@return_table_type = args[:return_table_type] if args.key?(:return_table_type)
|
8557
8639
|
@return_type = args[:return_type] if args.key?(:return_type)
|
@@ -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.90.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -430,6 +430,12 @@ module Google
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
431
431
|
end
|
432
432
|
|
433
|
+
class ExternalRuntimeOptions
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
433
439
|
class ExternalServiceCost
|
434
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
441
|
|
@@ -868,6 +874,12 @@ module Google
|
|
868
874
|
include Google::Apis::Core::JsonObjectSupport
|
869
875
|
end
|
870
876
|
|
877
|
+
class PythonOptions
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
871
883
|
class QueryInfo
|
872
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
885
|
|
@@ -2147,6 +2159,17 @@ module Google
|
|
2147
2159
|
end
|
2148
2160
|
end
|
2149
2161
|
|
2162
|
+
class ExternalRuntimeOptions
|
2163
|
+
# @private
|
2164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2165
|
+
property :container_cpu, as: 'containerCpu'
|
2166
|
+
property :container_memory, as: 'containerMemory'
|
2167
|
+
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
2168
|
+
property :runtime_connection, as: 'runtimeConnection'
|
2169
|
+
property :runtime_version, as: 'runtimeVersion'
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2150
2173
|
class ExternalServiceCost
|
2151
2174
|
# @private
|
2152
2175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3152,6 +3175,14 @@ module Google
|
|
3152
3175
|
end
|
3153
3176
|
end
|
3154
3177
|
|
3178
|
+
class PythonOptions
|
3179
|
+
# @private
|
3180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3181
|
+
property :entry_point, as: 'entryPoint'
|
3182
|
+
collection :packages, as: 'packages'
|
3183
|
+
end
|
3184
|
+
end
|
3185
|
+
|
3155
3186
|
class QueryInfo
|
3156
3187
|
# @private
|
3157
3188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3377,9 +3408,13 @@ module Google
|
|
3377
3408
|
property :description, as: 'description'
|
3378
3409
|
property :determinism_level, as: 'determinismLevel'
|
3379
3410
|
property :etag, as: 'etag'
|
3411
|
+
property :external_runtime_options, as: 'externalRuntimeOptions', class: Google::Apis::BigqueryV2::ExternalRuntimeOptions, decorator: Google::Apis::BigqueryV2::ExternalRuntimeOptions::Representation
|
3412
|
+
|
3380
3413
|
collection :imported_libraries, as: 'importedLibraries'
|
3381
3414
|
property :language, as: 'language'
|
3382
3415
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
3416
|
+
property :python_options, as: 'pythonOptions', class: Google::Apis::BigqueryV2::PythonOptions, decorator: Google::Apis::BigqueryV2::PythonOptions::Representation
|
3417
|
+
|
3383
3418
|
property :remote_function_options, as: 'remoteFunctionOptions', class: Google::Apis::BigqueryV2::RemoteFunctionOptions, decorator: Google::Apis::BigqueryV2::RemoteFunctionOptions::Representation
|
3384
3419
|
|
3385
3420
|
property :return_table_type, as: 'returnTableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
|
@@ -1173,6 +1173,45 @@ module Google
|
|
1173
1173
|
execute_or_queue_command(command, &block)
|
1174
1174
|
end
|
1175
1175
|
|
1176
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1177
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1178
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1179
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1180
|
+
# This operation may "fail open" without warning.
|
1181
|
+
# @param [String] resource
|
1182
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1183
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1184
|
+
# appropriate value for this field.
|
1185
|
+
# @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1186
|
+
# @param [String] fields
|
1187
|
+
# Selector specifying which fields to include in a partial response.
|
1188
|
+
# @param [String] quota_user
|
1189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1191
|
+
# @param [Google::Apis::RequestOptions] options
|
1192
|
+
# Request-specific options
|
1193
|
+
#
|
1194
|
+
# @yield [result, err] Result & error if block supplied
|
1195
|
+
# @yieldparam result [Google::Apis::BigqueryV2::TestIamPermissionsResponse] parsed result object
|
1196
|
+
# @yieldparam err [StandardError] error object if request failed
|
1197
|
+
#
|
1198
|
+
# @return [Google::Apis::BigqueryV2::TestIamPermissionsResponse]
|
1199
|
+
#
|
1200
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1201
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1202
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1203
|
+
def test_routine_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1204
|
+
command = make_simple_command(:post, '{+resource}:testIamPermissions', options)
|
1205
|
+
command.request_representation = Google::Apis::BigqueryV2::TestIamPermissionsRequest::Representation
|
1206
|
+
command.request_object = test_iam_permissions_request_object
|
1207
|
+
command.response_representation = Google::Apis::BigqueryV2::TestIamPermissionsResponse::Representation
|
1208
|
+
command.response_class = Google::Apis::BigqueryV2::TestIamPermissionsResponse
|
1209
|
+
command.params['resource'] = resource unless resource.nil?
|
1210
|
+
command.query['fields'] = fields unless fields.nil?
|
1211
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1212
|
+
execute_or_queue_command(command, &block)
|
1213
|
+
end
|
1214
|
+
|
1176
1215
|
# Updates information in an existing routine. The update method replaces the
|
1177
1216
|
# entire Routine resource.
|
1178
1217
|
# @param [String] project_id
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigquery_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.90.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:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for BigQuery API V2
|
79
79
|
test_files: []
|