google-apis-bigquery_v2 0.22.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/bigquery_v2/classes.rb +72 -42
- data/lib/google/apis/bigquery_v2/gem_version.rb +3 -3
- data/lib/google/apis/bigquery_v2/representations.rb +18 -15
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f1da7045a43511e4bbbcaa2ff09c31a58bbabb4322b87db5a52069023827f4d
|
4
|
+
data.tar.gz: eff669aa8d6d6517c7e32423488329aa1811e450f787fd08f88f092b6dc1b2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 139053314eb1b7a61a7b38c557f4cd22057c581c6ccfb6d5fe77a15e5f128786dd2484440637b7f34f70ff0e8ec798e6514969d6e6154061b265ab3ea2fae757
|
7
|
+
data.tar.gz: 9cf6899d24d31c289cd9c46f763ef0a5f1741fff597bfc35c7b266012fd247edf3411943c0912907d689dbb5780e23f9ed45df5b1ae88a8fca4c9cd7192613b1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.25.0 (2022-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220220
|
6
|
+
|
7
|
+
### v0.24.0 (2022-01-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220123
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.23.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
3
16
|
### v0.22.0 (2021-12-04)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211129
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/bigquery_v2"
|
|
51
51
|
client = Google::Apis::BigqueryV2::BigqueryService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -97,10 +97,12 @@ module Google
|
|
97
97
|
# @return [String]
|
98
98
|
attr_accessor :argument_kind
|
99
99
|
|
100
|
-
# The type of a variable
|
101
|
-
# "INT64"
|
102
|
-
#
|
103
|
-
#
|
100
|
+
# The data type of a variable such as a function argument. Examples include: *
|
101
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
102
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
103
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
104
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
105
|
+
# DATE"` ` ` ] ` `
|
104
106
|
# Corresponds to the JSON property `dataType`
|
105
107
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
106
108
|
attr_accessor :data_type
|
@@ -1615,6 +1617,11 @@ module Google
|
|
1615
1617
|
# @return [String]
|
1616
1618
|
attr_accessor :self_link
|
1617
1619
|
|
1620
|
+
# [Optional]The tags associated with this dataset. Tag keys are globally unique.
|
1621
|
+
# Corresponds to the JSON property `tags`
|
1622
|
+
# @return [Array<Google::Apis::BigqueryV2::Dataset::Tag>]
|
1623
|
+
attr_accessor :tags
|
1624
|
+
|
1618
1625
|
def initialize(**args)
|
1619
1626
|
update!(**args)
|
1620
1627
|
end
|
@@ -1639,6 +1646,7 @@ module Google
|
|
1639
1646
|
@location = args[:location] if args.key?(:location)
|
1640
1647
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1641
1648
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1649
|
+
@tags = args[:tags] if args.key?(:tags)
|
1642
1650
|
end
|
1643
1651
|
|
1644
1652
|
#
|
@@ -1733,6 +1741,32 @@ module Google
|
|
1733
1741
|
@view = args[:view] if args.key?(:view)
|
1734
1742
|
end
|
1735
1743
|
end
|
1744
|
+
|
1745
|
+
#
|
1746
|
+
class Tag
|
1747
|
+
include Google::Apis::Core::Hashable
|
1748
|
+
|
1749
|
+
# [Required] The namespaced friendly name of the tag key, e.g. "12345/
|
1750
|
+
# environment" where 12345 is org id.
|
1751
|
+
# Corresponds to the JSON property `tagKey`
|
1752
|
+
# @return [String]
|
1753
|
+
attr_accessor :tag_key
|
1754
|
+
|
1755
|
+
# [Required] Friendly short name of the tag value, e.g. "production".
|
1756
|
+
# Corresponds to the JSON property `tagValue`
|
1757
|
+
# @return [String]
|
1758
|
+
attr_accessor :tag_value
|
1759
|
+
|
1760
|
+
def initialize(**args)
|
1761
|
+
update!(**args)
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# Update properties of this object
|
1765
|
+
def update!(**args)
|
1766
|
+
@tag_key = args[:tag_key] if args.key?(:tag_key)
|
1767
|
+
@tag_value = args[:tag_value] if args.key?(:tag_value)
|
1768
|
+
end
|
1769
|
+
end
|
1736
1770
|
end
|
1737
1771
|
|
1738
1772
|
#
|
@@ -1746,7 +1780,7 @@ module Google
|
|
1746
1780
|
|
1747
1781
|
#
|
1748
1782
|
# Corresponds to the JSON property `target_types`
|
1749
|
-
# @return [Array<
|
1783
|
+
# @return [Array<String>]
|
1750
1784
|
attr_accessor :target_types
|
1751
1785
|
|
1752
1786
|
def initialize(**args)
|
@@ -1758,27 +1792,6 @@ module Google
|
|
1758
1792
|
@dataset = args[:dataset] if args.key?(:dataset)
|
1759
1793
|
@target_types = args[:target_types] if args.key?(:target_types)
|
1760
1794
|
end
|
1761
|
-
|
1762
|
-
#
|
1763
|
-
class TargetType
|
1764
|
-
include Google::Apis::Core::Hashable
|
1765
|
-
|
1766
|
-
# [Required] Which resources in the dataset this entry applies to. Currently,
|
1767
|
-
# only views are supported, but additional target types may be added in the
|
1768
|
-
# future. Possible values: VIEWS: This entry applies to all views in the dataset.
|
1769
|
-
# Corresponds to the JSON property `targetType`
|
1770
|
-
# @return [String]
|
1771
|
-
attr_accessor :target_type
|
1772
|
-
|
1773
|
-
def initialize(**args)
|
1774
|
-
update!(**args)
|
1775
|
-
end
|
1776
|
-
|
1777
|
-
# Update properties of this object
|
1778
|
-
def update!(**args)
|
1779
|
-
@target_type = args[:target_type] if args.key?(:target_type)
|
1780
|
-
end
|
1781
|
-
end
|
1782
1795
|
end
|
1783
1796
|
|
1784
1797
|
#
|
@@ -3266,6 +3279,14 @@ module Google
|
|
3266
3279
|
# @return [Google::Apis::BigqueryV2::ParquetOptions]
|
3267
3280
|
attr_accessor :parquet_options
|
3268
3281
|
|
3282
|
+
# [Optional] Preserves the embedded ASCII control characters (the first 32
|
3283
|
+
# characters in the ASCII-table, from '\x00' to '\x1F') when loading from CSV.
|
3284
|
+
# Only applicable to CSV, ignored for other formats.
|
3285
|
+
# Corresponds to the JSON property `preserveAsciiControlCharacters`
|
3286
|
+
# @return [Boolean]
|
3287
|
+
attr_accessor :preserve_ascii_control_characters
|
3288
|
+
alias_method :preserve_ascii_control_characters?, :preserve_ascii_control_characters
|
3289
|
+
|
3269
3290
|
# If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
|
3270
3291
|
# properties to load into BigQuery from a Cloud Datastore backup. Property names
|
3271
3292
|
# are case sensitive and must be top-level properties. If no properties are
|
@@ -3398,6 +3419,7 @@ module Google
|
|
3398
3419
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
3399
3420
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
3400
3421
|
@parquet_options = args[:parquet_options] if args.key?(:parquet_options)
|
3422
|
+
@preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
|
3401
3423
|
@projection_fields = args[:projection_fields] if args.key?(:projection_fields)
|
3402
3424
|
@quote = args[:quote] if args.key?(:quote)
|
3403
3425
|
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
@@ -5668,10 +5690,12 @@ module Google
|
|
5668
5690
|
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
|
5669
5691
|
attr_accessor :return_table_type
|
5670
5692
|
|
5671
|
-
# The type of a variable
|
5672
|
-
# "INT64"
|
5673
|
-
#
|
5674
|
-
#
|
5693
|
+
# The data type of a variable such as a function argument. Examples include: *
|
5694
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
5695
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
5696
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
5697
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
5698
|
+
# DATE"` ` ` ] ` `
|
5675
5699
|
# Corresponds to the JSON property `returnType`
|
5676
5700
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
5677
5701
|
attr_accessor :return_type
|
@@ -6060,17 +6084,21 @@ module Google
|
|
6060
6084
|
end
|
6061
6085
|
end
|
6062
6086
|
|
6063
|
-
# The type of a variable
|
6064
|
-
# "INT64"
|
6065
|
-
#
|
6066
|
-
#
|
6087
|
+
# The data type of a variable such as a function argument. Examples include: *
|
6088
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6089
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
6090
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
6091
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
6092
|
+
# DATE"` ` ` ] ` `
|
6067
6093
|
class StandardSqlDataType
|
6068
6094
|
include Google::Apis::Core::Hashable
|
6069
6095
|
|
6070
|
-
# The type of a variable
|
6071
|
-
# "INT64"
|
6072
|
-
#
|
6073
|
-
#
|
6096
|
+
# The data type of a variable such as a function argument. Examples include: *
|
6097
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6098
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
6099
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
6100
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
6101
|
+
# DATE"` ` ` ] ` `
|
6074
6102
|
# Corresponds to the JSON property `arrayElementType`
|
6075
6103
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
6076
6104
|
attr_accessor :array_element_type
|
@@ -6107,10 +6135,12 @@ module Google
|
|
6107
6135
|
# @return [String]
|
6108
6136
|
attr_accessor :name
|
6109
6137
|
|
6110
|
-
# The type of a variable
|
6111
|
-
# "INT64"
|
6112
|
-
#
|
6113
|
-
#
|
6138
|
+
# The data type of a variable such as a function argument. Examples include: *
|
6139
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6140
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
6141
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
6142
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
6143
|
+
# DATE"` ` ` ] ` `
|
6114
6144
|
# Corresponds to the JSON property `type`
|
6115
6145
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
6116
6146
|
attr_accessor :type
|
@@ -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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220220"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -234,18 +234,18 @@ module Google
|
|
234
234
|
|
235
235
|
include Google::Apis::Core::JsonObjectSupport
|
236
236
|
end
|
237
|
+
|
238
|
+
class Tag
|
239
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
240
|
+
|
241
|
+
include Google::Apis::Core::JsonObjectSupport
|
242
|
+
end
|
237
243
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
241
247
|
class DatasetAccessEntry
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
class TargetType
|
245
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
246
|
-
|
247
|
-
include Google::Apis::Core::JsonObjectSupport
|
248
|
-
end
|
249
249
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
@@ -1266,6 +1266,8 @@ module Google
|
|
1266
1266
|
property :location, as: 'location'
|
1267
1267
|
property :satisfies_pzs, as: 'satisfiesPZS'
|
1268
1268
|
property :self_link, as: 'selfLink'
|
1269
|
+
collection :tags, as: 'tags', class: Google::Apis::BigqueryV2::Dataset::Tag, decorator: Google::Apis::BigqueryV2::Dataset::Tag::Representation
|
1270
|
+
|
1269
1271
|
end
|
1270
1272
|
|
1271
1273
|
class Access
|
@@ -1285,6 +1287,14 @@ module Google
|
|
1285
1287
|
|
1286
1288
|
end
|
1287
1289
|
end
|
1290
|
+
|
1291
|
+
class Tag
|
1292
|
+
# @private
|
1293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1294
|
+
property :tag_key, as: 'tagKey'
|
1295
|
+
property :tag_value, as: 'tagValue'
|
1296
|
+
end
|
1297
|
+
end
|
1288
1298
|
end
|
1289
1299
|
|
1290
1300
|
class DatasetAccessEntry
|
@@ -1292,15 +1302,7 @@ module Google
|
|
1292
1302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1293
1303
|
property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
1294
1304
|
|
1295
|
-
collection :target_types, as: 'target_types'
|
1296
|
-
|
1297
|
-
end
|
1298
|
-
|
1299
|
-
class TargetType
|
1300
|
-
# @private
|
1301
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1302
|
-
property :target_type, as: 'targetType'
|
1303
|
-
end
|
1305
|
+
collection :target_types, as: 'target_types'
|
1304
1306
|
end
|
1305
1307
|
end
|
1306
1308
|
|
@@ -1654,6 +1656,7 @@ module Google
|
|
1654
1656
|
property :null_marker, as: 'nullMarker'
|
1655
1657
|
property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
|
1656
1658
|
|
1659
|
+
property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
|
1657
1660
|
collection :projection_fields, as: 'projectionFields'
|
1658
1661
|
property :quote, as: 'quote'
|
1659
1662
|
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
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.25.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:
|
11
|
+
date: 2022-02-28 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.25.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery API V2
|