google-apis-bigquery_v2 0.90.0 → 0.92.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: e6688ea793c403f3e507fc682f6c6f00feb0c6d2a6bb3f8003579f8b0c7d7f95
|
4
|
+
data.tar.gz: 507add9ff75d94b451533ac577465533ca8a90154a750073a88ff47e74150476
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f55da4a5d2ad70b9b9ec59bbad5e50e85f0372df0f94f137ea005af6d63d8c87e9b35c72bf1957bb4a01f0277e1a84150a75b209c7eb4601271fcef3595a3ec
|
7
|
+
data.tar.gz: d28563ca44ff1b740431fd3be0fcca5fe9fdafa280510cfd37537c8bbcec7bffe8bffa9566c1fecdf18aa2df7c23e7f5d44b471783a05396a17aba336468e5c7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.92.0 (2025-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250713
|
6
|
+
|
7
|
+
### v0.91.0 (2025-07-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250706
|
10
|
+
|
3
11
|
### v0.90.0 (2025-06-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250615
|
@@ -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
|
@@ -3418,15 +3426,19 @@ module Google
|
|
3418
3426
|
class ExternalRuntimeOptions
|
3419
3427
|
include Google::Apis::Core::Hashable
|
3420
3428
|
|
3421
|
-
# Optional. Amount of CPU provisioned for
|
3422
|
-
#
|
3429
|
+
# Optional. Amount of CPU provisioned for a Python UDF container instance. For
|
3430
|
+
# more information, see [Configure container limits for Python UDFs](https://
|
3431
|
+
# cloud.google.com/bigquery/docs/user-defined-functions-python#configure-
|
3432
|
+
# container-limits)
|
3423
3433
|
# Corresponds to the JSON property `containerCpu`
|
3424
3434
|
# @return [Float]
|
3425
3435
|
attr_accessor :container_cpu
|
3426
3436
|
|
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.
|
3437
|
+
# Optional. Amount of memory provisioned for a Python UDF container instance.
|
3438
|
+
# Format: `number``unit` where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G,
|
3439
|
+
# 512Mi). If not specified, the default value is 512Mi. For more information,
|
3440
|
+
# see [Configure container limits for Python UDFs](https://cloud.google.com/
|
3441
|
+
# bigquery/docs/user-defined-functions-python#configure-container-limits)
|
3430
3442
|
# Corresponds to the JSON property `containerMemory`
|
3431
3443
|
# @return [String]
|
3432
3444
|
attr_accessor :container_memory
|
@@ -3444,7 +3456,7 @@ module Google
|
|
3444
3456
|
# @return [String]
|
3445
3457
|
attr_accessor :runtime_connection
|
3446
3458
|
|
3447
|
-
# Optional. Language runtime version
|
3459
|
+
# Optional. Language runtime version. Example: `python-3.11`.
|
3448
3460
|
# Corresponds to the JSON property `runtimeVersion`
|
3449
3461
|
# @return [String]
|
3450
3462
|
attr_accessor :runtime_version
|
@@ -3476,6 +3488,13 @@ module Google
|
|
3476
3488
|
class ExternalServiceCost
|
3477
3489
|
include Google::Apis::Core::Hashable
|
3478
3490
|
|
3491
|
+
# The billing method used for the external job. This field is only used when
|
3492
|
+
# billed on the services sku, set to "SERVICES_SKU". Otherwise, it is
|
3493
|
+
# unspecified for backward compatibility.
|
3494
|
+
# Corresponds to the JSON property `billingMethod`
|
3495
|
+
# @return [String]
|
3496
|
+
attr_accessor :billing_method
|
3497
|
+
|
3479
3498
|
# External service cost in terms of bigquery bytes billed.
|
3480
3499
|
# Corresponds to the JSON property `bytesBilled`
|
3481
3500
|
# @return [Fixnum]
|
@@ -3509,6 +3528,7 @@ module Google
|
|
3509
3528
|
|
3510
3529
|
# Update properties of this object
|
3511
3530
|
def update!(**args)
|
3531
|
+
@billing_method = args[:billing_method] if args.key?(:billing_method)
|
3512
3532
|
@bytes_billed = args[:bytes_billed] if args.key?(:bytes_billed)
|
3513
3533
|
@bytes_processed = args[:bytes_processed] if args.key?(:bytes_processed)
|
3514
3534
|
@external_service = args[:external_service] if args.key?(:external_service)
|
@@ -6116,6 +6136,14 @@ module Google
|
|
6116
6136
|
# @return [Fixnum]
|
6117
6137
|
attr_accessor :total_partitions_processed
|
6118
6138
|
|
6139
|
+
# Output only. Total slot-milliseconds for the job that run on external services
|
6140
|
+
# and billed on the service SKU. This field is only populated for jobs that have
|
6141
|
+
# external service costs, and is the total of the usage for costs whose billing
|
6142
|
+
# method is "SERVICES_SKU".
|
6143
|
+
# Corresponds to the JSON property `totalServicesSkuSlotMs`
|
6144
|
+
# @return [Fixnum]
|
6145
|
+
attr_accessor :total_services_sku_slot_ms
|
6146
|
+
|
6119
6147
|
# Output only. Slot-milliseconds for the job.
|
6120
6148
|
# Corresponds to the JSON property `totalSlotMs`
|
6121
6149
|
# @return [Fixnum]
|
@@ -6184,6 +6212,7 @@ module Google
|
|
6184
6212
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
6185
6213
|
@total_bytes_processed_accuracy = args[:total_bytes_processed_accuracy] if args.key?(:total_bytes_processed_accuracy)
|
6186
6214
|
@total_partitions_processed = args[:total_partitions_processed] if args.key?(:total_partitions_processed)
|
6215
|
+
@total_services_sku_slot_ms = args[:total_services_sku_slot_ms] if args.key?(:total_services_sku_slot_ms)
|
6187
6216
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
6188
6217
|
@transferred_bytes = args[:transferred_bytes] if args.key?(:transferred_bytes)
|
6189
6218
|
@undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters)
|
@@ -7553,13 +7582,16 @@ module Google
|
|
7553
7582
|
class PythonOptions
|
7554
7583
|
include Google::Apis::Core::Hashable
|
7555
7584
|
|
7556
|
-
# Required. The
|
7585
|
+
# Required. The name of the function defined in Python code as the entry point
|
7586
|
+
# when the Python UDF is invoked.
|
7557
7587
|
# Corresponds to the JSON property `entryPoint`
|
7558
7588
|
# @return [String]
|
7559
7589
|
attr_accessor :entry_point
|
7560
7590
|
|
7561
|
-
# Optional. A list of package names along with versions to be installed.
|
7562
|
-
#
|
7591
|
+
# Optional. A list of Python package names along with versions to be installed.
|
7592
|
+
# Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For more information,
|
7593
|
+
# see [Use third-party packages](https://cloud.google.com/bigquery/docs/user-
|
7594
|
+
# defined-functions-python#third-party-packages).
|
7563
7595
|
# Corresponds to the JSON property `packages`
|
7564
7596
|
# @return [Array<String>]
|
7565
7597
|
attr_accessor :packages
|
@@ -7646,6 +7678,13 @@ module Google
|
|
7646
7678
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameterType::StructType>]
|
7647
7679
|
attr_accessor :struct_types
|
7648
7680
|
|
7681
|
+
# Optional. Precision (maximum number of total digits in base 10) for seconds of
|
7682
|
+
# TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with
|
7683
|
+
# microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
|
7684
|
+
# Corresponds to the JSON property `timestampPrecision`
|
7685
|
+
# @return [Fixnum]
|
7686
|
+
attr_accessor :timestamp_precision
|
7687
|
+
|
7649
7688
|
# Required. The top level type of this field.
|
7650
7689
|
# Corresponds to the JSON property `type`
|
7651
7690
|
# @return [String]
|
@@ -7660,6 +7699,7 @@ module Google
|
|
7660
7699
|
@array_type = args[:array_type] if args.key?(:array_type)
|
7661
7700
|
@range_element_type = args[:range_element_type] if args.key?(:range_element_type)
|
7662
7701
|
@struct_types = args[:struct_types] if args.key?(:struct_types)
|
7702
|
+
@timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision)
|
7663
7703
|
@type = args[:type] if args.key?(:type)
|
7664
7704
|
end
|
7665
7705
|
|
@@ -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.92.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 = "20250713"
|
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
|
@@ -2173,6 +2174,7 @@ module Google
|
|
2173
2174
|
class ExternalServiceCost
|
2174
2175
|
# @private
|
2175
2176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2177
|
+
property :billing_method, as: 'billingMethod'
|
2176
2178
|
property :bytes_billed, :numeric_string => true, as: 'bytesBilled'
|
2177
2179
|
property :bytes_processed, :numeric_string => true, as: 'bytesProcessed'
|
2178
2180
|
property :external_service, as: 'externalService'
|
@@ -2790,6 +2792,7 @@ module Google
|
|
2790
2792
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
2791
2793
|
property :total_bytes_processed_accuracy, as: 'totalBytesProcessedAccuracy'
|
2792
2794
|
property :total_partitions_processed, :numeric_string => true, as: 'totalPartitionsProcessed'
|
2795
|
+
property :total_services_sku_slot_ms, :numeric_string => true, as: 'totalServicesSkuSlotMs'
|
2793
2796
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
2794
2797
|
property :transferred_bytes, :numeric_string => true, as: 'transferredBytes'
|
2795
2798
|
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
@@ -3210,6 +3213,7 @@ module Google
|
|
3210
3213
|
|
3211
3214
|
collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
|
3212
3215
|
|
3216
|
+
property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision'
|
3213
3217
|
property :type, as: 'type'
|
3214
3218
|
end
|
3215
3219
|
|
@@ -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.92.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.92.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:
|