google-apis-bigquery_v2 0.15.0 → 0.16.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: c56bd25eff0f8c009964ca73eb8ae1476978917197c494063e3a780d2d2e4392
|
4
|
+
data.tar.gz: 7b9698870bca8b7ef465ae71e914b1c16b97e8227c7288d080cc820cffa7a5e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e12cdba6cd580092483799616e4a5b6f07acdc881f099efb063dc1272a81d7a7d110cdada197090ed08a5600f3f76b8b9bc1b571f6ea6b8b0905cae8400fd0df
|
7
|
+
data.tar.gz: d2025d016e4e7f6438c887c10efa7898edeead00694b7f9d24c4b198cea6f93b23ab4faded61e10d74a0f2b547607d06e6159b391afafa86d41b2a230dfdf9d5
|
data/CHANGELOG.md
CHANGED
@@ -537,6 +537,28 @@ module Google
|
|
537
537
|
end
|
538
538
|
end
|
539
539
|
|
540
|
+
#
|
541
|
+
class AvroOptions
|
542
|
+
include Google::Apis::Core::Hashable
|
543
|
+
|
544
|
+
# [Optional] If set to true will enable interpreting logical types into their
|
545
|
+
# corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie.
|
546
|
+
# INTEGER).
|
547
|
+
# Corresponds to the JSON property `useAvroLogicalTypes`
|
548
|
+
# @return [Boolean]
|
549
|
+
attr_accessor :use_avro_logical_types
|
550
|
+
alias_method :use_avro_logical_types?, :use_avro_logical_types
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
540
562
|
#
|
541
563
|
class BiEngineReason
|
542
564
|
include Google::Apis::Core::Hashable
|
@@ -1387,6 +1409,12 @@ module Google
|
|
1387
1409
|
# @return [String]
|
1388
1410
|
attr_accessor :field_delimiter
|
1389
1411
|
|
1412
|
+
# [Optional] An custom string that will represent a NULL value in CSV import
|
1413
|
+
# data.
|
1414
|
+
# Corresponds to the JSON property `null_marker`
|
1415
|
+
# @return [String]
|
1416
|
+
attr_accessor :null_marker
|
1417
|
+
|
1390
1418
|
# [Optional] The value that is used to quote data sections in a CSV file.
|
1391
1419
|
# BigQuery converts the string to ISO-8859-1 encoding, and then uses the first
|
1392
1420
|
# byte of the encoded string to split the data in its raw, binary state. The
|
@@ -1423,6 +1451,7 @@ module Google
|
|
1423
1451
|
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
1424
1452
|
@encoding = args[:encoding] if args.key?(:encoding)
|
1425
1453
|
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
1454
|
+
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
1426
1455
|
@quote = args[:quote] if args.key?(:quote)
|
1427
1456
|
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
1428
1457
|
end
|
@@ -1539,6 +1568,12 @@ module Google
|
|
1539
1568
|
# @return [String]
|
1540
1569
|
attr_accessor :id
|
1541
1570
|
|
1571
|
+
# [Optional] Indicates if table names are case insensitive in the dataset.
|
1572
|
+
# Corresponds to the JSON property `isCaseInsensitive`
|
1573
|
+
# @return [Boolean]
|
1574
|
+
attr_accessor :is_case_insensitive
|
1575
|
+
alias_method :is_case_insensitive?, :is_case_insensitive
|
1576
|
+
|
1542
1577
|
# [Output-only] The resource type.
|
1543
1578
|
# Corresponds to the JSON property `kind`
|
1544
1579
|
# @return [String]
|
@@ -1591,6 +1626,7 @@ module Google
|
|
1591
1626
|
@etag = args[:etag] if args.key?(:etag)
|
1592
1627
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
1593
1628
|
@id = args[:id] if args.key?(:id)
|
1629
|
+
@is_case_insensitive = args[:is_case_insensitive] if args.key?(:is_case_insensitive)
|
1594
1630
|
@kind = args[:kind] if args.key?(:kind)
|
1595
1631
|
@labels = args[:labels] if args.key?(:labels)
|
1596
1632
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
@@ -2350,6 +2386,11 @@ module Google
|
|
2350
2386
|
attr_accessor :autodetect
|
2351
2387
|
alias_method :autodetect?, :autodetect
|
2352
2388
|
|
2389
|
+
# Additional properties to set if sourceFormat is set to Avro.
|
2390
|
+
# Corresponds to the JSON property `avroOptions`
|
2391
|
+
# @return [Google::Apis::BigqueryV2::AvroOptions]
|
2392
|
+
attr_accessor :avro_options
|
2393
|
+
|
2353
2394
|
# [Optional] Additional options if sourceFormat is set to BIGTABLE.
|
2354
2395
|
# Corresponds to the JSON property `bigtableOptions`
|
2355
2396
|
# @return [Google::Apis::BigqueryV2::BigtableOptions]
|
@@ -2466,6 +2507,7 @@ module Google
|
|
2466
2507
|
# Update properties of this object
|
2467
2508
|
def update!(**args)
|
2468
2509
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
2510
|
+
@avro_options = args[:avro_options] if args.key?(:avro_options)
|
2469
2511
|
@bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
|
2470
2512
|
@compression = args[:compression] if args.key?(:compression)
|
2471
2513
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
@@ -4754,7 +4796,7 @@ module Google
|
|
4754
4796
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
4755
4797
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
4756
4798
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
4757
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
4799
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
4758
4800
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
4759
4801
|
# google.com/iam/docs/).
|
4760
4802
|
class Policy
|
@@ -5291,9 +5333,9 @@ module Google
|
|
5291
5333
|
attr_accessor :schema
|
5292
5334
|
|
5293
5335
|
# [Output-only] [Preview] Information of the session if this job is part of one.
|
5294
|
-
# Corresponds to the JSON property `
|
5336
|
+
# Corresponds to the JSON property `sessionInfo`
|
5295
5337
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
5296
|
-
attr_accessor :
|
5338
|
+
attr_accessor :session_info
|
5297
5339
|
|
5298
5340
|
# The total number of bytes processed for this query. If this query was a dry
|
5299
5341
|
# run, this is the number of bytes that would be processed if the query were run.
|
@@ -5323,7 +5365,7 @@ module Google
|
|
5323
5365
|
@page_token = args[:page_token] if args.key?(:page_token)
|
5324
5366
|
@rows = args[:rows] if args.key?(:rows)
|
5325
5367
|
@schema = args[:schema] if args.key?(:schema)
|
5326
|
-
@
|
5368
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
5327
5369
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
5328
5370
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
5329
5371
|
end
|
@@ -5549,13 +5591,12 @@ module Google
|
|
5549
5591
|
# @return [String]
|
5550
5592
|
attr_accessor :definition_body
|
5551
5593
|
|
5552
|
-
# Optional.
|
5594
|
+
# Optional. The description of the routine, if defined.
|
5553
5595
|
# Corresponds to the JSON property `description`
|
5554
5596
|
# @return [String]
|
5555
5597
|
attr_accessor :description
|
5556
5598
|
|
5557
|
-
# Optional.
|
5558
|
-
# defined.
|
5599
|
+
# Optional. The determinism level of the JavaScript UDF, if defined.
|
5559
5600
|
# Corresponds to the JSON property `determinismLevel`
|
5560
5601
|
# @return [String]
|
5561
5602
|
attr_accessor :determinism_level
|
@@ -5605,6 +5646,16 @@ module Google
|
|
5605
5646
|
# @return [String]
|
5606
5647
|
attr_accessor :routine_type
|
5607
5648
|
|
5649
|
+
# Optional. Can be set for procedures only. If true (default), the definition
|
5650
|
+
# body will be validated in the creation and the updates of the procedure. For
|
5651
|
+
# procedures with an argument of ANY TYPE, the definition body validtion is not
|
5652
|
+
# supported at creation/update time, and thus this field must be set to false
|
5653
|
+
# explicitly.
|
5654
|
+
# Corresponds to the JSON property `strictMode`
|
5655
|
+
# @return [Boolean]
|
5656
|
+
attr_accessor :strict_mode
|
5657
|
+
alias_method :strict_mode?, :strict_mode
|
5658
|
+
|
5608
5659
|
def initialize(**args)
|
5609
5660
|
update!(**args)
|
5610
5661
|
end
|
@@ -5624,6 +5675,7 @@ module Google
|
|
5624
5675
|
@return_type = args[:return_type] if args.key?(:return_type)
|
5625
5676
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
5626
5677
|
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
5678
|
+
@strict_mode = args[:strict_mode] if args.key?(:strict_mode)
|
5627
5679
|
end
|
5628
5680
|
end
|
5629
5681
|
|
@@ -5917,7 +5969,7 @@ module Google
|
|
5917
5969
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
5918
5970
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
5919
5971
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
5920
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
5972
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
5921
5973
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
5922
5974
|
# google.com/iam/docs/).
|
5923
5975
|
# Corresponds to the JSON property `policy`
|
@@ -6532,6 +6584,12 @@ module Google
|
|
6532
6584
|
# @return [Google::Apis::BigqueryV2::TableFieldSchema::Categories]
|
6533
6585
|
attr_accessor :categories
|
6534
6586
|
|
6587
|
+
# Optional. Collation specification of the field. It only can be set on string
|
6588
|
+
# type field.
|
6589
|
+
# Corresponds to the JSON property `collationSpec`
|
6590
|
+
# @return [String]
|
6591
|
+
attr_accessor :collation_spec
|
6592
|
+
|
6535
6593
|
# [Optional] The field description. The maximum length is 1,024 characters.
|
6536
6594
|
# Corresponds to the JSON property `description`
|
6537
6595
|
# @return [String]
|
@@ -6612,6 +6670,7 @@ module Google
|
|
6612
6670
|
# Update properties of this object
|
6613
6671
|
def update!(**args)
|
6614
6672
|
@categories = args[:categories] if args.key?(:categories)
|
6673
|
+
@collation_spec = args[:collation_spec] if args.key?(:collation_spec)
|
6615
6674
|
@description = args[:description] if args.key?(:description)
|
6616
6675
|
@fields = args[:fields] if args.key?(:fields)
|
6617
6676
|
@max_length = args[:max_length] if args.key?(:max_length)
|
@@ -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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210828"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class AvroOptions
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class BiEngineReason
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -996,6 +1002,13 @@ module Google
|
|
996
1002
|
end
|
997
1003
|
end
|
998
1004
|
|
1005
|
+
class AvroOptions
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :use_avro_logical_types, as: 'useAvroLogicalTypes'
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
999
1012
|
class BiEngineReason
|
1000
1013
|
# @private
|
1001
1014
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1207,6 +1220,7 @@ module Google
|
|
1207
1220
|
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
1208
1221
|
property :encoding, as: 'encoding'
|
1209
1222
|
property :field_delimiter, as: 'fieldDelimiter'
|
1223
|
+
property :null_marker, as: 'null_marker'
|
1210
1224
|
property :quote, as: 'quote'
|
1211
1225
|
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
1212
1226
|
end
|
@@ -1238,6 +1252,7 @@ module Google
|
|
1238
1252
|
property :etag, as: 'etag'
|
1239
1253
|
property :friendly_name, as: 'friendlyName'
|
1240
1254
|
property :id, as: 'id'
|
1255
|
+
property :is_case_insensitive, as: 'isCaseInsensitive'
|
1241
1256
|
property :kind, as: 'kind'
|
1242
1257
|
hash :labels, as: 'labels'
|
1243
1258
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
@@ -1434,6 +1449,8 @@ module Google
|
|
1434
1449
|
# @private
|
1435
1450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
1451
|
property :autodetect, as: 'autodetect'
|
1452
|
+
property :avro_options, as: 'avroOptions', class: Google::Apis::BigqueryV2::AvroOptions, decorator: Google::Apis::BigqueryV2::AvroOptions::Representation
|
1453
|
+
|
1437
1454
|
property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
|
1438
1455
|
|
1439
1456
|
property :compression, as: 'compression'
|
@@ -2123,7 +2140,7 @@ module Google
|
|
2123
2140
|
|
2124
2141
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
2125
2142
|
|
2126
|
-
property :
|
2143
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
2127
2144
|
|
2128
2145
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
2129
2146
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
@@ -2200,6 +2217,7 @@ module Google
|
|
2200
2217
|
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
2201
2218
|
|
2202
2219
|
property :routine_type, as: 'routineType'
|
2220
|
+
property :strict_mode, as: 'strictMode'
|
2203
2221
|
end
|
2204
2222
|
end
|
2205
2223
|
|
@@ -2451,6 +2469,7 @@ module Google
|
|
2451
2469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2452
2470
|
property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
|
2453
2471
|
|
2472
|
+
property :collation_spec, as: 'collationSpec'
|
2454
2473
|
property :description, as: 'description'
|
2455
2474
|
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
|
2456
2475
|
|
@@ -29,25 +29,25 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V2'
|
31
31
|
|
32
|
-
# View and manage your data in Google BigQuery
|
32
|
+
# View and manage your data in Google BigQuery and see the email address for your Google Account
|
33
33
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
34
34
|
|
35
35
|
# Insert data into Google BigQuery
|
36
36
|
AUTH_BIGQUERY_INSERTDATA = 'https://www.googleapis.com/auth/bigquery.insertdata'
|
37
37
|
|
38
|
-
# See, edit, configure, and delete your Google Cloud
|
38
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
39
39
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
40
40
|
|
41
|
-
# View your data across Google Cloud
|
41
|
+
# View your data across Google Cloud services and see the email address of your Google Account
|
42
42
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
43
43
|
|
44
|
-
# Manage your data and permissions in
|
44
|
+
# Manage your data and permissions in Cloud Storage and see the email address for your Google Account
|
45
45
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
46
46
|
|
47
47
|
# View your data in Google Cloud Storage
|
48
48
|
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
|
49
49
|
|
50
|
-
# Manage your data in
|
50
|
+
# Manage your data in Cloud Storage and see the email address of your Google Account
|
51
51
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
52
52
|
end
|
53
53
|
end
|
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.16.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/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.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|