google-apis-bigquery_v2 0.30.0 → 0.33.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: 55d6fbbdb7d320d03d97edeaac7f6b7d2ff81173764a9f5beaafa2f842a2c4fd
|
4
|
+
data.tar.gz: 778e05984e1433baf6f002c05f34b52344440c154ef053a87909f3c287005987
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e01be86b60da52918baf60aff0cf9d3ef6f54211a6162e9c838cb2c808f1f8e61cdb00d36f029fb0752349909b47827f1c43a8e715a79761cb073cb48b0d9fdd
|
7
|
+
data.tar.gz: 7e80756fc857dda76910d6d90ae9ce09326cac8d311ac5910f4209164443dc840c8463ed1d6553659bc38d588c517b434202866f448089aabb82ad491ad5d726
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.33.0 (2022-05-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220507
|
6
|
+
|
7
|
+
### v0.32.0 (2022-05-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220429
|
10
|
+
|
11
|
+
### v0.31.0 (2022-04-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220422
|
14
|
+
|
3
15
|
### v0.30.0 (2022-04-07)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220326
|
@@ -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
|
|
@@ -947,7 +947,7 @@ module Google
|
|
947
947
|
# @return [Google::Apis::BigqueryV2::Expr]
|
948
948
|
attr_accessor :condition
|
949
949
|
|
950
|
-
# Specifies the principals requesting access for a Cloud
|
950
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
951
951
|
# members` can have the following values: * `allUsers`: A special identifier
|
952
952
|
# that represents anyone who is on the internet; with or without a Google
|
953
953
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -1644,7 +1644,7 @@ module Google
|
|
1644
1644
|
attr_accessor :max_time_travel_hours
|
1645
1645
|
|
1646
1646
|
# [Output-only] Reserved for future use.
|
1647
|
-
# Corresponds to the JSON property `
|
1647
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
1648
1648
|
# @return [Boolean]
|
1649
1649
|
attr_accessor :satisfies_pzs
|
1650
1650
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
@@ -5054,6 +5054,13 @@ module Google
|
|
5054
5054
|
# @return [Fixnum]
|
5055
5055
|
attr_accessor :last_refresh_time
|
5056
5056
|
|
5057
|
+
# [Optional] Max staleness of data that could be returned when materizlized view
|
5058
|
+
# is queried (formatted as Google SQL Interval type).
|
5059
|
+
# Corresponds to the JSON property `maxStaleness`
|
5060
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5061
|
+
# @return [String]
|
5062
|
+
attr_accessor :max_staleness
|
5063
|
+
|
5057
5064
|
# [Required] A query whose result is persisted.
|
5058
5065
|
# Corresponds to the JSON property `query`
|
5059
5066
|
# @return [String]
|
@@ -5073,6 +5080,7 @@ module Google
|
|
5073
5080
|
def update!(**args)
|
5074
5081
|
@enable_refresh = args[:enable_refresh] if args.key?(:enable_refresh)
|
5075
5082
|
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
5083
|
+
@max_staleness = args[:max_staleness] if args.key?(:max_staleness)
|
5076
5084
|
@query = args[:query] if args.key?(:query)
|
5077
5085
|
@refresh_interval_ms = args[:refresh_interval_ms] if args.key?(:refresh_interval_ms)
|
5078
5086
|
end
|
@@ -6245,6 +6253,50 @@ module Google
|
|
6245
6253
|
end
|
6246
6254
|
end
|
6247
6255
|
|
6256
|
+
# Options for a remote user-defined function.
|
6257
|
+
class RemoteFunctionOptions
|
6258
|
+
include Google::Apis::Core::Hashable
|
6259
|
+
|
6260
|
+
# Fully qualified name of the user-provided connection object which holds the
|
6261
|
+
# authentication information to send requests to the remote service. projects/`
|
6262
|
+
# project_id`/locations/`location_id`/connections/`connection_id`
|
6263
|
+
# Corresponds to the JSON property `connection`
|
6264
|
+
# @return [String]
|
6265
|
+
attr_accessor :connection
|
6266
|
+
|
6267
|
+
# Endpoint of the user-provided remote service (e.g. a function url in Google
|
6268
|
+
# Cloud Functions).
|
6269
|
+
# Corresponds to the JSON property `endpoint`
|
6270
|
+
# @return [String]
|
6271
|
+
attr_accessor :endpoint
|
6272
|
+
|
6273
|
+
# Max number of rows in each batch sent to the remote service. If absent or if 0,
|
6274
|
+
# it means no limit.
|
6275
|
+
# Corresponds to the JSON property `maxBatchingRows`
|
6276
|
+
# @return [Fixnum]
|
6277
|
+
attr_accessor :max_batching_rows
|
6278
|
+
|
6279
|
+
# User-defined context as a set of key/value pairs, which will be sent as
|
6280
|
+
# function invocation context together with batched arguments in the requests to
|
6281
|
+
# the remote service. The total number of bytes of keys and values must be less
|
6282
|
+
# than 8KB.
|
6283
|
+
# Corresponds to the JSON property `userDefinedContext`
|
6284
|
+
# @return [Hash<String,String>]
|
6285
|
+
attr_accessor :user_defined_context
|
6286
|
+
|
6287
|
+
def initialize(**args)
|
6288
|
+
update!(**args)
|
6289
|
+
end
|
6290
|
+
|
6291
|
+
# Update properties of this object
|
6292
|
+
def update!(**args)
|
6293
|
+
@connection = args[:connection] if args.key?(:connection)
|
6294
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6295
|
+
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
6296
|
+
@user_defined_context = args[:user_defined_context] if args.key?(:user_defined_context)
|
6297
|
+
end
|
6298
|
+
end
|
6299
|
+
|
6248
6300
|
# A user-defined function or a stored procedure.
|
6249
6301
|
class Routine
|
6250
6302
|
include Google::Apis::Core::Hashable
|
@@ -6306,6 +6358,11 @@ module Google
|
|
6306
6358
|
# @return [Fixnum]
|
6307
6359
|
attr_accessor :last_modified_time
|
6308
6360
|
|
6361
|
+
# Options for a remote user-defined function.
|
6362
|
+
# Corresponds to the JSON property `remoteFunctionOptions`
|
6363
|
+
# @return [Google::Apis::BigqueryV2::RemoteFunctionOptions]
|
6364
|
+
attr_accessor :remote_function_options
|
6365
|
+
|
6309
6366
|
# A table type
|
6310
6367
|
# Corresponds to the JSON property `returnTableType`
|
6311
6368
|
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
|
@@ -6356,6 +6413,7 @@ module Google
|
|
6356
6413
|
@imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
|
6357
6414
|
@language = args[:language] if args.key?(:language)
|
6358
6415
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
6416
|
+
@remote_function_options = args[:remote_function_options] if args.key?(:remote_function_options)
|
6359
6417
|
@return_table_type = args[:return_table_type] if args.key?(:return_table_type)
|
6360
6418
|
@return_type = args[:return_type] if args.key?(:return_type)
|
6361
6419
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
@@ -7364,9 +7422,21 @@ module Google
|
|
7364
7422
|
|
7365
7423
|
# Optional. Collation specification of the field. It only can be set on string
|
7366
7424
|
# type field.
|
7367
|
-
# Corresponds to the JSON property `
|
7425
|
+
# Corresponds to the JSON property `collation`
|
7426
|
+
# @return [String]
|
7427
|
+
attr_accessor :collation
|
7428
|
+
|
7429
|
+
# Optional. A SQL expression to specify the default value for this field. It can
|
7430
|
+
# only be set for top level fields (columns). You can use struct or array
|
7431
|
+
# expression to specify default value for the entire struct or array. The valid
|
7432
|
+
# SQL expressions are: - Literals for all data types, including STRUCT and ARRAY.
|
7433
|
+
# - Following functions: - CURRENT_TIMESTAMP - CURRENT_TIME - CURRENT_DATE -
|
7434
|
+
# CURRENT_DATETIME - GENERATE_UUID - RAND - SESSION_USER - ST_GEOGPOINT - Struct
|
7435
|
+
# or array composed with the above allowed functions, for example, [CURRENT_DATE(
|
7436
|
+
# ), DATE '2020-01-01']
|
7437
|
+
# Corresponds to the JSON property `defaultValueExpression`
|
7368
7438
|
# @return [String]
|
7369
|
-
attr_accessor :
|
7439
|
+
attr_accessor :default_value_expression
|
7370
7440
|
|
7371
7441
|
# [Optional] The field description. The maximum length is 1,024 characters.
|
7372
7442
|
# Corresponds to the JSON property `description`
|
@@ -7448,7 +7518,8 @@ module Google
|
|
7448
7518
|
# Update properties of this object
|
7449
7519
|
def update!(**args)
|
7450
7520
|
@categories = args[:categories] if args.key?(:categories)
|
7451
|
-
@
|
7521
|
+
@collation = args[:collation] if args.key?(:collation)
|
7522
|
+
@default_value_expression = args[:default_value_expression] if args.key?(:default_value_expression)
|
7452
7523
|
@description = args[:description] if args.key?(:description)
|
7453
7524
|
@fields = args[:fields] if args.key?(:fields)
|
7454
7525
|
@max_length = args[:max_length] if args.key?(:max_length)
|
@@ -7728,7 +7799,7 @@ module Google
|
|
7728
7799
|
include Google::Apis::Core::Hashable
|
7729
7800
|
|
7730
7801
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
7731
|
-
# (such as
|
7802
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
7732
7803
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
7733
7804
|
# Corresponds to the JSON property `permissions`
|
7734
7805
|
# @return [Array<String>]
|
@@ -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.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220507"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -736,6 +736,12 @@ module Google
|
|
736
736
|
include Google::Apis::Core::JsonObjectSupport
|
737
737
|
end
|
738
738
|
|
739
|
+
class RemoteFunctionOptions
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
|
+
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
743
|
+
end
|
744
|
+
|
739
745
|
class Routine
|
740
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
747
|
|
@@ -1379,7 +1385,7 @@ module Google
|
|
1379
1385
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
1380
1386
|
property :location, as: 'location'
|
1381
1387
|
property :max_time_travel_hours, :numeric_string => true, as: 'maxTimeTravelHours'
|
1382
|
-
property :satisfies_pzs, as: '
|
1388
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
1383
1389
|
property :self_link, as: 'selfLink'
|
1384
1390
|
collection :tags, as: 'tags', class: Google::Apis::BigqueryV2::Dataset::Tag, decorator: Google::Apis::BigqueryV2::Dataset::Tag::Representation
|
1385
1391
|
|
@@ -2228,6 +2234,7 @@ module Google
|
|
2228
2234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2229
2235
|
property :enable_refresh, as: 'enableRefresh'
|
2230
2236
|
property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
|
2237
|
+
property :max_staleness, :base64 => true, as: 'maxStaleness'
|
2231
2238
|
property :query, as: 'query'
|
2232
2239
|
property :refresh_interval_ms, :numeric_string => true, as: 'refreshIntervalMs'
|
2233
2240
|
end
|
@@ -2517,6 +2524,16 @@ module Google
|
|
2517
2524
|
end
|
2518
2525
|
end
|
2519
2526
|
|
2527
|
+
class RemoteFunctionOptions
|
2528
|
+
# @private
|
2529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2530
|
+
property :connection, as: 'connection'
|
2531
|
+
property :endpoint, as: 'endpoint'
|
2532
|
+
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
2533
|
+
hash :user_defined_context, as: 'userDefinedContext'
|
2534
|
+
end
|
2535
|
+
end
|
2536
|
+
|
2520
2537
|
class Routine
|
2521
2538
|
# @private
|
2522
2539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2530,6 +2547,8 @@ module Google
|
|
2530
2547
|
collection :imported_libraries, as: 'importedLibraries'
|
2531
2548
|
property :language, as: 'language'
|
2532
2549
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
2550
|
+
property :remote_function_options, as: 'remoteFunctionOptions', class: Google::Apis::BigqueryV2::RemoteFunctionOptions, decorator: Google::Apis::BigqueryV2::RemoteFunctionOptions::Representation
|
2551
|
+
|
2533
2552
|
property :return_table_type, as: 'returnTableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
|
2534
2553
|
|
2535
2554
|
property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
@@ -2807,7 +2826,8 @@ module Google
|
|
2807
2826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2808
2827
|
property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
|
2809
2828
|
|
2810
|
-
property :
|
2829
|
+
property :collation, as: 'collation'
|
2830
|
+
property :default_value_expression, as: 'defaultValueExpression'
|
2811
2831
|
property :description, as: 'description'
|
2812
2832
|
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
|
2813
2833
|
|
@@ -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.
|
@@ -1419,8 +1422,9 @@ module Google
|
|
1419
1422
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1420
1423
|
# resource exists and does not have a policy set.
|
1421
1424
|
# @param [String] resource
|
1422
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1423
|
-
#
|
1425
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1426
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1427
|
+
# appropriate value for this field.
|
1424
1428
|
# @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
|
1425
1429
|
# @param [String] fields
|
1426
1430
|
# Selector specifying which fields to include in a partial response.
|
@@ -1586,8 +1590,9 @@ module Google
|
|
1586
1590
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1587
1591
|
# PERMISSION_DENIED` errors.
|
1588
1592
|
# @param [String] resource
|
1589
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1590
|
-
#
|
1593
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1594
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1595
|
+
# appropriate value for this field.
|
1591
1596
|
# @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
|
1592
1597
|
# @param [String] fields
|
1593
1598
|
# Selector specifying which fields to include in a partial response.
|
@@ -1627,8 +1632,9 @@ module Google
|
|
1627
1632
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1628
1633
|
# This operation may "fail open" without warning.
|
1629
1634
|
# @param [String] resource
|
1630
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1631
|
-
#
|
1635
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1636
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1637
|
+
# appropriate value for this field.
|
1632
1638
|
# @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1633
1639
|
# @param [String] fields
|
1634
1640
|
# 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.33.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-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.33.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: []
|