google-apis-bigquery_v2 0.91.0 → 0.93.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: d842ed8d9b1ec592876711304fae52ccda526bf4e3e9af31e08da64662c9e45f
|
4
|
+
data.tar.gz: 7887dab2ab44e700d8bc3f3e49d04fa2499ef05747807dae89b256a3e24b2ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20860e093d69d19f908393ddd0effff45ade8a0337d081077b925ad54734050eb40c30eec7b356bea4145727c799230b8efc1880bd81e704517408ea4af409c1
|
7
|
+
data.tar.gz: c1494ea8caaa41cf11296afa2e39e5c6231a8f6955ee611ba5ac39c4ab281a8d2a74a52b83d7a8eff57c9288b9cd345921947cdafb13463bf1b96ab9090f4ead
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.93.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250816
|
6
|
+
|
7
|
+
### v0.92.0 (2025-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250713
|
10
|
+
|
3
11
|
### v0.91.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250706
|
@@ -1688,6 +1688,13 @@ module Google
|
|
1688
1688
|
class DataFormatOptions
|
1689
1689
|
include Google::Apis::Core::Hashable
|
1690
1690
|
|
1691
|
+
# Optional. The API output format for a timestamp. This offers more explicit
|
1692
|
+
# control over the timestamp output format as compared to the existing `
|
1693
|
+
# use_int64_timestamp` option.
|
1694
|
+
# Corresponds to the JSON property `timestampOutputFormat`
|
1695
|
+
# @return [String]
|
1696
|
+
attr_accessor :timestamp_output_format
|
1697
|
+
|
1691
1698
|
# Optional. Output timestamp as usec int64. Default is false.
|
1692
1699
|
# Corresponds to the JSON property `useInt64Timestamp`
|
1693
1700
|
# @return [Boolean]
|
@@ -1700,6 +1707,7 @@ module Google
|
|
1700
1707
|
|
1701
1708
|
# Update properties of this object
|
1702
1709
|
def update!(**args)
|
1710
|
+
@timestamp_output_format = args[:timestamp_output_format] if args.key?(:timestamp_output_format)
|
1703
1711
|
@use_int64_timestamp = args[:use_int64_timestamp] if args.key?(:use_int64_timestamp)
|
1704
1712
|
end
|
1705
1713
|
end
|
@@ -1724,8 +1732,9 @@ module Google
|
|
1724
1732
|
end
|
1725
1733
|
end
|
1726
1734
|
|
1727
|
-
# Data policy option
|
1728
|
-
#
|
1735
|
+
# Data policy option. For more information, see [Mask data by applying data
|
1736
|
+
# policies to a column](https://cloud.google.com/bigquery/docs/column-data-
|
1737
|
+
# masking#data-policies-on-column/).
|
1729
1738
|
class DataPolicyOption
|
1730
1739
|
include Google::Apis::Core::Hashable
|
1731
1740
|
|
@@ -3418,15 +3427,19 @@ module Google
|
|
3418
3427
|
class ExternalRuntimeOptions
|
3419
3428
|
include Google::Apis::Core::Hashable
|
3420
3429
|
|
3421
|
-
# Optional. Amount of CPU provisioned for
|
3422
|
-
#
|
3430
|
+
# Optional. Amount of CPU provisioned for a Python UDF container instance. For
|
3431
|
+
# more information, see [Configure container limits for Python UDFs](https://
|
3432
|
+
# cloud.google.com/bigquery/docs/user-defined-functions-python#configure-
|
3433
|
+
# container-limits)
|
3423
3434
|
# Corresponds to the JSON property `containerCpu`
|
3424
3435
|
# @return [Float]
|
3425
3436
|
attr_accessor :container_cpu
|
3426
3437
|
|
3427
|
-
# Optional. Amount of memory provisioned for
|
3428
|
-
# number``unit` where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G,
|
3429
|
-
# If not specified, the default value is 512Mi.
|
3438
|
+
# Optional. Amount of memory provisioned for a Python UDF container instance.
|
3439
|
+
# Format: `number``unit` where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G,
|
3440
|
+
# 512Mi). If not specified, the default value is 512Mi. For more information,
|
3441
|
+
# see [Configure container limits for Python UDFs](https://cloud.google.com/
|
3442
|
+
# bigquery/docs/user-defined-functions-python#configure-container-limits)
|
3430
3443
|
# Corresponds to the JSON property `containerMemory`
|
3431
3444
|
# @return [String]
|
3432
3445
|
attr_accessor :container_memory
|
@@ -3444,7 +3457,7 @@ module Google
|
|
3444
3457
|
# @return [String]
|
3445
3458
|
attr_accessor :runtime_connection
|
3446
3459
|
|
3447
|
-
# Optional. Language runtime version
|
3460
|
+
# Optional. Language runtime version. Example: `python-3.11`.
|
3448
3461
|
# Corresponds to the JSON property `runtimeVersion`
|
3449
3462
|
# @return [String]
|
3450
3463
|
attr_accessor :runtime_version
|
@@ -4555,6 +4568,13 @@ module Google
|
|
4555
4568
|
# @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
|
4556
4569
|
attr_accessor :load
|
4557
4570
|
|
4571
|
+
# Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
|
4572
|
+
# for this job. If set, the number of slots used to execute the job will be
|
4573
|
+
# throttled to try and keep its slot consumption below the requested rate.
|
4574
|
+
# Corresponds to the JSON property `maxSlots`
|
4575
|
+
# @return [Fixnum]
|
4576
|
+
attr_accessor :max_slots
|
4577
|
+
|
4558
4578
|
# JobConfigurationQuery configures a BigQuery query job.
|
4559
4579
|
# Corresponds to the JSON property `query`
|
4560
4580
|
# @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
|
@@ -4581,6 +4601,7 @@ module Google
|
|
4581
4601
|
@job_type = args[:job_type] if args.key?(:job_type)
|
4582
4602
|
@labels = args[:labels] if args.key?(:labels)
|
4583
4603
|
@load = args[:load] if args.key?(:load)
|
4604
|
+
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
4584
4605
|
@query = args[:query] if args.key?(:query)
|
4585
4606
|
@reservation = args[:reservation] if args.key?(:reservation)
|
4586
4607
|
end
|
@@ -7570,13 +7591,16 @@ module Google
|
|
7570
7591
|
class PythonOptions
|
7571
7592
|
include Google::Apis::Core::Hashable
|
7572
7593
|
|
7573
|
-
# Required. The
|
7594
|
+
# Required. The name of the function defined in Python code as the entry point
|
7595
|
+
# when the Python UDF is invoked.
|
7574
7596
|
# Corresponds to the JSON property `entryPoint`
|
7575
7597
|
# @return [String]
|
7576
7598
|
attr_accessor :entry_point
|
7577
7599
|
|
7578
|
-
# Optional. A list of package names along with versions to be installed.
|
7579
|
-
#
|
7600
|
+
# Optional. A list of Python package names along with versions to be installed.
|
7601
|
+
# Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For more information,
|
7602
|
+
# see [Use third-party packages](https://cloud.google.com/bigquery/docs/user-
|
7603
|
+
# defined-functions-python#third-party-packages).
|
7580
7604
|
# Corresponds to the JSON property `packages`
|
7581
7605
|
# @return [Array<String>]
|
7582
7606
|
attr_accessor :packages
|
@@ -7663,6 +7687,13 @@ module Google
|
|
7663
7687
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameterType::StructType>]
|
7664
7688
|
attr_accessor :struct_types
|
7665
7689
|
|
7690
|
+
# Optional. Precision (maximum number of total digits in base 10) for seconds of
|
7691
|
+
# TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with
|
7692
|
+
# microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
|
7693
|
+
# Corresponds to the JSON property `timestampPrecision`
|
7694
|
+
# @return [Fixnum]
|
7695
|
+
attr_accessor :timestamp_precision
|
7696
|
+
|
7666
7697
|
# Required. The top level type of this field.
|
7667
7698
|
# Corresponds to the JSON property `type`
|
7668
7699
|
# @return [String]
|
@@ -7677,6 +7708,7 @@ module Google
|
|
7677
7708
|
@array_type = args[:array_type] if args.key?(:array_type)
|
7678
7709
|
@range_element_type = args[:range_element_type] if args.key?(:range_element_type)
|
7679
7710
|
@struct_types = args[:struct_types] if args.key?(:struct_types)
|
7711
|
+
@timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision)
|
7680
7712
|
@type = args[:type] if args.key?(:type)
|
7681
7713
|
end
|
7682
7714
|
|
@@ -7845,6 +7877,14 @@ module Google
|
|
7845
7877
|
# @return [Fixnum]
|
7846
7878
|
attr_accessor :max_results
|
7847
7879
|
|
7880
|
+
# Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
|
7881
|
+
# for this job. If set, the number of slots used to execute the job will be
|
7882
|
+
# throttled to try and keep its slot consumption below the requested rate. This
|
7883
|
+
# limit is best effort.
|
7884
|
+
# Corresponds to the JSON property `maxSlots`
|
7885
|
+
# @return [Fixnum]
|
7886
|
+
attr_accessor :max_slots
|
7887
|
+
|
7848
7888
|
# Optional. Limits the bytes billed for this query. Queries with bytes billed
|
7849
7889
|
# above this limit will fail (without incurring a charge). If unspecified, the
|
7850
7890
|
# project default is used.
|
@@ -7965,6 +8005,7 @@ module Google
|
|
7965
8005
|
@labels = args[:labels] if args.key?(:labels)
|
7966
8006
|
@location = args[:location] if args.key?(:location)
|
7967
8007
|
@max_results = args[:max_results] if args.key?(:max_results)
|
8008
|
+
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
7968
8009
|
@maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
|
7969
8010
|
@parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
|
7970
8011
|
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
|
@@ -8521,15 +8562,16 @@ module Google
|
|
8521
8562
|
attr_accessor :data_governance_type
|
8522
8563
|
|
8523
8564
|
# Required. The body of the routine. For functions, this is the expression in
|
8524
|
-
# the AS clause. If language=SQL
|
8525
|
-
# parentheses. For example, for the function created with the
|
8526
|
-
# statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(
|
8527
|
-
# y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced
|
8528
|
-
# linebreak). If language=JAVASCRIPT
|
8529
|
-
# clause. For example, for the function created with the following statement:
|
8530
|
-
# CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The
|
8565
|
+
# the AS clause. If `language = "SQL"`, it is the substring inside (but
|
8566
|
+
# excluding) the parentheses. For example, for the function created with the
|
8567
|
+
# following statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(
|
8568
|
+
# x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced
|
8569
|
+
# with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the
|
8570
|
+
# AS clause. For example, for the function created with the following statement:
|
8571
|
+
# `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The
|
8531
8572
|
# definition_body is `return "\n";\n` Note that both \n are replaced with
|
8532
|
-
# linebreaks.
|
8573
|
+
# linebreaks. If `definition_body` references another routine, then that routine
|
8574
|
+
# must be fully qualified with its project ID.
|
8533
8575
|
# Corresponds to the JSON property `definitionBody`
|
8534
8576
|
# @return [String]
|
8535
8577
|
attr_accessor :definition_body
|
@@ -10463,7 +10505,8 @@ module Google
|
|
10463
10505
|
# @return [String]
|
10464
10506
|
attr_accessor :collation
|
10465
10507
|
|
10466
|
-
# Optional. Data
|
10508
|
+
# Optional. Data policies attached to this field, used for field-level access
|
10509
|
+
# control.
|
10467
10510
|
# Corresponds to the JSON property `dataPolicies`
|
10468
10511
|
# @return [Array<Google::Apis::BigqueryV2::DataPolicyOption>]
|
10469
10512
|
attr_accessor :data_policies
|
@@ -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.93.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250816"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1763,6 +1763,7 @@ module Google
|
|
1763
1763
|
class DataFormatOptions
|
1764
1764
|
# @private
|
1765
1765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1766
|
+
property :timestamp_output_format, as: 'timestampOutputFormat'
|
1766
1767
|
property :use_int64_timestamp, as: 'useInt64Timestamp'
|
1767
1768
|
end
|
1768
1769
|
end
|
@@ -2477,6 +2478,7 @@ module Google
|
|
2477
2478
|
hash :labels, as: 'labels'
|
2478
2479
|
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
|
2479
2480
|
|
2481
|
+
property :max_slots, as: 'maxSlots'
|
2480
2482
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
|
2481
2483
|
|
2482
2484
|
property :reservation, as: 'reservation'
|
@@ -3212,6 +3214,7 @@ module Google
|
|
3212
3214
|
|
3213
3215
|
collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
|
3214
3216
|
|
3217
|
+
property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision'
|
3215
3218
|
property :type, as: 'type'
|
3216
3219
|
end
|
3217
3220
|
|
@@ -3259,6 +3262,7 @@ module Google
|
|
3259
3262
|
hash :labels, as: 'labels'
|
3260
3263
|
property :location, as: 'location'
|
3261
3264
|
property :max_results, as: 'maxResults'
|
3265
|
+
property :max_slots, as: 'maxSlots'
|
3262
3266
|
property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
|
3263
3267
|
property :parameter_mode, as: 'parameterMode'
|
3264
3268
|
property :preserve_nulls, as: 'preserveNulls'
|
@@ -516,6 +516,10 @@ module Google
|
|
516
516
|
# Required. Project ID of the query job.
|
517
517
|
# @param [String] job_id
|
518
518
|
# Required. Job ID of the query job.
|
519
|
+
# @param [String] format_options_timestamp_output_format
|
520
|
+
# Optional. The API output format for a timestamp. This offers more explicit
|
521
|
+
# control over the timestamp output format as compared to the existing `
|
522
|
+
# use_int64_timestamp` option.
|
519
523
|
# @param [Boolean] format_options_use_int64_timestamp
|
520
524
|
# Optional. Output timestamp as usec int64. Default is false.
|
521
525
|
# @param [String] location
|
@@ -558,12 +562,13 @@ module Google
|
|
558
562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
559
563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
560
564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
561
|
-
def get_job_query_results(project_id, job_id, format_options_use_int64_timestamp: nil, location: nil, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, options: nil, &block)
|
565
|
+
def get_job_query_results(project_id, job_id, format_options_timestamp_output_format: nil, format_options_use_int64_timestamp: nil, location: nil, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, options: nil, &block)
|
562
566
|
command = make_simple_command(:get, 'projects/{+projectId}/queries/{+jobId}', options)
|
563
567
|
command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation
|
564
568
|
command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse
|
565
569
|
command.params['projectId'] = project_id unless project_id.nil?
|
566
570
|
command.params['jobId'] = job_id unless job_id.nil?
|
571
|
+
command.query['formatOptions.timestampOutputFormat'] = format_options_timestamp_output_format unless format_options_timestamp_output_format.nil?
|
567
572
|
command.query['formatOptions.useInt64Timestamp'] = format_options_use_int64_timestamp unless format_options_use_int64_timestamp.nil?
|
568
573
|
command.query['location'] = location unless location.nil?
|
569
574
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1616,6 +1621,10 @@ module Google
|
|
1616
1621
|
# Required. Dataset id of the table to list.
|
1617
1622
|
# @param [String] table_id
|
1618
1623
|
# Required. Table id of the table to list.
|
1624
|
+
# @param [String] format_options_timestamp_output_format
|
1625
|
+
# Optional. The API output format for a timestamp. This offers more explicit
|
1626
|
+
# control over the timestamp output format as compared to the existing `
|
1627
|
+
# use_int64_timestamp` option.
|
1619
1628
|
# @param [Boolean] format_options_use_int64_timestamp
|
1620
1629
|
# Optional. Output timestamp as usec int64. Default is false.
|
1621
1630
|
# @param [Fixnum] max_results
|
@@ -1646,13 +1655,14 @@ module Google
|
|
1646
1655
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1647
1656
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1648
1657
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1649
|
-
def list_table_data(project_id, dataset_id, table_id, format_options_use_int64_timestamp: nil, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1658
|
+
def list_table_data(project_id, dataset_id, table_id, format_options_timestamp_output_format: nil, format_options_use_int64_timestamp: nil, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1650
1659
|
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/data', options)
|
1651
1660
|
command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
|
1652
1661
|
command.response_class = Google::Apis::BigqueryV2::TableDataList
|
1653
1662
|
command.params['projectId'] = project_id unless project_id.nil?
|
1654
1663
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1655
1664
|
command.params['tableId'] = table_id unless table_id.nil?
|
1665
|
+
command.query['formatOptions.timestampOutputFormat'] = format_options_timestamp_output_format unless format_options_timestamp_output_format.nil?
|
1656
1666
|
command.query['formatOptions.useInt64Timestamp'] = format_options_use_int64_timestamp unless format_options_use_int64_timestamp.nil?
|
1657
1667
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1658
1668
|
command.query['pageToken'] = page_token unless page_token.nil?
|
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.93.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.93.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:
|