google-apis-bigquery_v2 0.31.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de535e40c0a238213412a4b2d71153532c42c35f4ca37ad798904ffe393229a4
|
4
|
+
data.tar.gz: 6e34878a46e99f39808e914782365c88c4d3d51cad338d2cdeba48c81ee24698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bc9e4f4cd91299485de574b3790f6614a2ac866795dfdbbdd5ce9487ba22dca27f063c6004ef04260a0b978e29dcda4cee2f5ffea375a2a2c6afcb883609f30
|
7
|
+
data.tar.gz: 7974c52a47328cff9c7df19955b7e245e6718f9d997010faefd349a0fab69e6089da367f07b098e5bf75a8b39073f1afe537c854dcde79fc56600218359aa9a8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.34.0 (2022-06-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220528
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.33.0 (2022-05-13)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220507
|
11
|
+
|
12
|
+
### v0.32.0 (2022-05-06)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220429
|
15
|
+
|
3
16
|
### v0.31.0 (2022-04-30)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220422
|
@@ -481,8 +481,8 @@ module Google
|
|
481
481
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
482
482
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
483
483
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
484
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
485
|
-
# DATA_WRITE logging.
|
484
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
485
|
+
# from DATA_WRITE logging.
|
486
486
|
class AuditConfig
|
487
487
|
include Google::Apis::Core::Hashable
|
488
488
|
|
@@ -3250,6 +3250,46 @@ module Google
|
|
3250
3250
|
end
|
3251
3251
|
end
|
3252
3252
|
|
3253
|
+
#
|
3254
|
+
class IndexUnusedReason
|
3255
|
+
include Google::Apis::Core::Hashable
|
3256
|
+
|
3257
|
+
# [Output-only] Specifies the base table involved in the reason that no search
|
3258
|
+
# index was used.
|
3259
|
+
# Corresponds to the JSON property `base_table`
|
3260
|
+
# @return [Google::Apis::BigqueryV2::TableReference]
|
3261
|
+
attr_accessor :base_table
|
3262
|
+
|
3263
|
+
# [Output-only] Specifies the high-level reason for the scenario when no search
|
3264
|
+
# index was used.
|
3265
|
+
# Corresponds to the JSON property `code`
|
3266
|
+
# @return [String]
|
3267
|
+
attr_accessor :code
|
3268
|
+
|
3269
|
+
# [Output-only] Specifies the name of the unused search index, if available.
|
3270
|
+
# Corresponds to the JSON property `index_name`
|
3271
|
+
# @return [String]
|
3272
|
+
attr_accessor :index_name
|
3273
|
+
|
3274
|
+
# [Output-only] Free form human-readable reason for the scenario when no search
|
3275
|
+
# index was used.
|
3276
|
+
# Corresponds to the JSON property `message`
|
3277
|
+
# @return [String]
|
3278
|
+
attr_accessor :message
|
3279
|
+
|
3280
|
+
def initialize(**args)
|
3281
|
+
update!(**args)
|
3282
|
+
end
|
3283
|
+
|
3284
|
+
# Update properties of this object
|
3285
|
+
def update!(**args)
|
3286
|
+
@base_table = args[:base_table] if args.key?(:base_table)
|
3287
|
+
@code = args[:code] if args.key?(:code)
|
3288
|
+
@index_name = args[:index_name] if args.key?(:index_name)
|
3289
|
+
@message = args[:message] if args.key?(:message)
|
3290
|
+
end
|
3291
|
+
end
|
3292
|
+
|
3253
3293
|
# An array of int.
|
3254
3294
|
class IntArray
|
3255
3295
|
include Google::Apis::Core::Hashable
|
@@ -4677,6 +4717,11 @@ module Google
|
|
4677
4717
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
4678
4718
|
attr_accessor :schema
|
4679
4719
|
|
4720
|
+
# [Output-only] Search query specific statistics.
|
4721
|
+
# Corresponds to the JSON property `searchStatistics`
|
4722
|
+
# @return [Google::Apis::BigqueryV2::SearchStatistics]
|
4723
|
+
attr_accessor :search_statistics
|
4724
|
+
|
4680
4725
|
# The type of query statement, if valid. Possible values (new values might be
|
4681
4726
|
# added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
|
4682
4727
|
# https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
@@ -4766,6 +4811,7 @@ module Google
|
|
4766
4811
|
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
|
4767
4812
|
@reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
|
4768
4813
|
@schema = args[:schema] if args.key?(:schema)
|
4814
|
+
@search_statistics = args[:search_statistics] if args.key?(:search_statistics)
|
4769
4815
|
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
4770
4816
|
@timeline = args[:timeline] if args.key?(:timeline)
|
4771
4817
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
@@ -6665,6 +6711,33 @@ module Google
|
|
6665
6711
|
end
|
6666
6712
|
end
|
6667
6713
|
|
6714
|
+
#
|
6715
|
+
class SearchStatistics
|
6716
|
+
include Google::Apis::Core::Hashable
|
6717
|
+
|
6718
|
+
# When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why
|
6719
|
+
# index was not used in all or part of the search query. If index_usage_mode is
|
6720
|
+
# FULLLY_USED, this field is not populated.
|
6721
|
+
# Corresponds to the JSON property `indexUnusedReason`
|
6722
|
+
# @return [Array<Google::Apis::BigqueryV2::IndexUnusedReason>]
|
6723
|
+
attr_accessor :index_unused_reason
|
6724
|
+
|
6725
|
+
# Specifies index usage mode for the query.
|
6726
|
+
# Corresponds to the JSON property `indexUsageMode`
|
6727
|
+
# @return [String]
|
6728
|
+
attr_accessor :index_usage_mode
|
6729
|
+
|
6730
|
+
def initialize(**args)
|
6731
|
+
update!(**args)
|
6732
|
+
end
|
6733
|
+
|
6734
|
+
# Update properties of this object
|
6735
|
+
def update!(**args)
|
6736
|
+
@index_unused_reason = args[:index_unused_reason] if args.key?(:index_unused_reason)
|
6737
|
+
@index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
|
6738
|
+
end
|
6739
|
+
end
|
6740
|
+
|
6668
6741
|
#
|
6669
6742
|
class SessionInfo
|
6670
6743
|
include Google::Apis::Core::Hashable
|
@@ -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.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220528"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -424,6 +424,12 @@ module Google
|
|
424
424
|
include Google::Apis::Core::JsonObjectSupport
|
425
425
|
end
|
426
426
|
|
427
|
+
class IndexUnusedReason
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
427
433
|
class IntArray
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
@@ -790,6 +796,12 @@ module Google
|
|
790
796
|
include Google::Apis::Core::JsonObjectSupport
|
791
797
|
end
|
792
798
|
|
799
|
+
class SearchStatistics
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
793
805
|
class SessionInfo
|
794
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
807
|
|
@@ -1797,6 +1809,17 @@ module Google
|
|
1797
1809
|
end
|
1798
1810
|
end
|
1799
1811
|
|
1812
|
+
class IndexUnusedReason
|
1813
|
+
# @private
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1815
|
+
property :base_table, as: 'base_table', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1816
|
+
|
1817
|
+
property :code, as: 'code'
|
1818
|
+
property :index_name, as: 'index_name'
|
1819
|
+
property :message, as: 'message'
|
1820
|
+
end
|
1821
|
+
end
|
1822
|
+
|
1800
1823
|
class IntArray
|
1801
1824
|
# @private
|
1802
1825
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2136,6 +2159,8 @@ module Google
|
|
2136
2159
|
|
2137
2160
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
2138
2161
|
|
2162
|
+
property :search_statistics, as: 'searchStatistics', class: Google::Apis::BigqueryV2::SearchStatistics, decorator: Google::Apis::BigqueryV2::SearchStatistics::Representation
|
2163
|
+
|
2139
2164
|
property :statement_type, as: 'statementType'
|
2140
2165
|
collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
|
2141
2166
|
|
@@ -2628,6 +2653,15 @@ module Google
|
|
2628
2653
|
end
|
2629
2654
|
end
|
2630
2655
|
|
2656
|
+
class SearchStatistics
|
2657
|
+
# @private
|
2658
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2659
|
+
collection :index_unused_reason, as: 'indexUnusedReason', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
|
2660
|
+
|
2661
|
+
property :index_usage_mode, as: 'indexUsageMode'
|
2662
|
+
end
|
2663
|
+
end
|
2664
|
+
|
2631
2665
|
class SessionInfo
|
2632
2666
|
# @private
|
2633
2667
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1076,8 +1076,9 @@ module Google
|
|
1076
1076
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1077
1077
|
# resource exists and does not have a policy set.
|
1078
1078
|
# @param [String] resource
|
1079
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1080
|
-
#
|
1079
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1080
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1081
|
+
# appropriate value for this field.
|
1081
1082
|
# @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
|
1082
1083
|
# @param [String] fields
|
1083
1084
|
# Selector specifying which fields to include in a partial response.
|
@@ -1161,8 +1162,9 @@ module Google
|
|
1161
1162
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1162
1163
|
# PERMISSION_DENIED` errors.
|
1163
1164
|
# @param [String] resource
|
1164
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1165
|
-
#
|
1165
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1166
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1167
|
+
# appropriate value for this field.
|
1166
1168
|
# @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
|
1167
1169
|
# @param [String] fields
|
1168
1170
|
# Selector specifying which fields to include in a partial response.
|
@@ -1202,8 +1204,9 @@ module Google
|
|
1202
1204
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1203
1205
|
# This operation may "fail open" without warning.
|
1204
1206
|
# @param [String] resource
|
1205
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1206
|
-
#
|
1207
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1208
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1209
|
+
# appropriate value for this field.
|
1207
1210
|
# @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1208
1211
|
# @param [String] fields
|
1209
1212
|
# Selector specifying which fields to include in a partial response.
|
@@ -1383,6 +1386,10 @@ module Google
|
|
1383
1386
|
# @param [String] selected_fields
|
1384
1387
|
# List of fields to return (comma-separated). If unspecified, all fields are
|
1385
1388
|
# returned
|
1389
|
+
# @param [String] view
|
1390
|
+
# Specifies the view that determines which table information is returned. By
|
1391
|
+
# default, basic table information and storage statistics (STORAGE_STATS) are
|
1392
|
+
# returned.
|
1386
1393
|
# @param [String] fields
|
1387
1394
|
# Selector specifying which fields to include in a partial response.
|
1388
1395
|
# @param [String] quota_user
|
@@ -1402,7 +1409,7 @@ module Google
|
|
1402
1409
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1403
1410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1404
1411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1405
|
-
def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1412
|
+
def get_table(project_id, dataset_id, table_id, selected_fields: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1406
1413
|
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
1407
1414
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
1408
1415
|
command.response_class = Google::Apis::BigqueryV2::Table
|
@@ -1410,6 +1417,7 @@ module Google
|
|
1410
1417
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1411
1418
|
command.params['tableId'] = table_id unless table_id.nil?
|
1412
1419
|
command.query['selectedFields'] = selected_fields unless selected_fields.nil?
|
1420
|
+
command.query['view'] = view unless view.nil?
|
1413
1421
|
command.query['fields'] = fields unless fields.nil?
|
1414
1422
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1415
1423
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1419,8 +1427,9 @@ module Google
|
|
1419
1427
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1420
1428
|
# resource exists and does not have a policy set.
|
1421
1429
|
# @param [String] resource
|
1422
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1423
|
-
#
|
1430
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1431
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1432
|
+
# appropriate value for this field.
|
1424
1433
|
# @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
|
1425
1434
|
# @param [String] fields
|
1426
1435
|
# Selector specifying which fields to include in a partial response.
|
@@ -1586,8 +1595,9 @@ module Google
|
|
1586
1595
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1587
1596
|
# PERMISSION_DENIED` errors.
|
1588
1597
|
# @param [String] resource
|
1589
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1590
|
-
#
|
1598
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1599
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1600
|
+
# appropriate value for this field.
|
1591
1601
|
# @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
|
1592
1602
|
# @param [String] fields
|
1593
1603
|
# Selector specifying which fields to include in a partial response.
|
@@ -1627,8 +1637,9 @@ module Google
|
|
1627
1637
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1628
1638
|
# This operation may "fail open" without warning.
|
1629
1639
|
# @param [String] resource
|
1630
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1631
|
-
#
|
1640
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1641
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1642
|
+
# appropriate value for this field.
|
1632
1643
|
# @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1633
1644
|
# @param [String] fields
|
1634
1645
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery API V2
|