google-apis-bigquery_v2 0.23.0 → 0.24.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/bigquery_v2/classes.rb +63 -42
- data/lib/google/apis/bigquery_v2/gem_version.rb +3 -3
- data/lib/google/apis/bigquery_v2/representations.rb +17 -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: a58fc625e6c38d6d6585968438e0d6d98ce4f7f97d6e9b31ef23d99ee0d1df83
|
4
|
+
data.tar.gz: aaf2d6c6f8e75d187da1cc53428fcec482bd2dd48fbef145c871cad9c5d81918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c84720ed5913afbb95aec62a880751a41c2a30ff769bae43f58cf0a673456191dcc03180fddd1b256dbc382361826eaed72bac39d31ac44ae6d8969a9aff310c
|
7
|
+
data.tar.gz: 0a400329d247f92049089f5d198dbe7ae1ea789e403048a7a7dac954b609d6f1519aca8ca31fb16c9ecc27331b0747154dd70743c90593a134cc17030b808601
|
data/CHANGELOG.md
CHANGED
@@ -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
|
#
|
@@ -5668,10 +5681,12 @@ module Google
|
|
5668
5681
|
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
|
5669
5682
|
attr_accessor :return_table_type
|
5670
5683
|
|
5671
|
-
# The type of a variable
|
5672
|
-
# "INT64"
|
5673
|
-
#
|
5674
|
-
#
|
5684
|
+
# The data type of a variable such as a function argument. Examples include: *
|
5685
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
5686
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
5687
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
5688
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
5689
|
+
# DATE"` ` ` ] ` `
|
5675
5690
|
# Corresponds to the JSON property `returnType`
|
5676
5691
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
5677
5692
|
attr_accessor :return_type
|
@@ -6060,17 +6075,21 @@ module Google
|
|
6060
6075
|
end
|
6061
6076
|
end
|
6062
6077
|
|
6063
|
-
# The type of a variable
|
6064
|
-
# "INT64"
|
6065
|
-
#
|
6066
|
-
#
|
6078
|
+
# The data type of a variable such as a function argument. Examples include: *
|
6079
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6080
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
6081
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
6082
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
6083
|
+
# DATE"` ` ` ] ` `
|
6067
6084
|
class StandardSqlDataType
|
6068
6085
|
include Google::Apis::Core::Hashable
|
6069
6086
|
|
6070
|
-
# The type of a variable
|
6071
|
-
# "INT64"
|
6072
|
-
#
|
6073
|
-
#
|
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"` ` ` ] ` `
|
6074
6093
|
# Corresponds to the JSON property `arrayElementType`
|
6075
6094
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
6076
6095
|
attr_accessor :array_element_type
|
@@ -6107,10 +6126,12 @@ module Google
|
|
6107
6126
|
# @return [String]
|
6108
6127
|
attr_accessor :name
|
6109
6128
|
|
6110
|
-
# The type of a variable
|
6111
|
-
# "INT64"
|
6112
|
-
#
|
6113
|
-
#
|
6129
|
+
# The data type of a variable such as a function argument. Examples include: *
|
6130
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6131
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
6132
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
|
6133
|
+
# name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
|
6134
|
+
# DATE"` ` ` ] ` `
|
6114
6135
|
# Corresponds to the JSON property `type`
|
6115
6136
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
6116
6137
|
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.24.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 = "20220123"
|
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
|
|
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.24.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-01-
|
11
|
+
date: 2022-01-31 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.24.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.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery API V2
|