google-cloud-bigquery-migration-v2 0.2.0 → 0.5.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/README.md +5 -5
- data/lib/google/cloud/bigquery/migration/v2/translation_config_pb.rb +12 -0
- data/lib/google/cloud/bigquery/migration/v2/version.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_entities.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_config.rb +27 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09a4988b762ad5edad4258ab1bb0d82dcbf52a7ba6e568c4bebaaf62c75d89a
|
4
|
+
data.tar.gz: 1bff68d98ec4c7b66bfd8c2ae3da46700ea3a845796cc6c6dc2109b5b2cf3150
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d5a8410f1087e251c3292d51862efacc9064804fe4b2b232f2d56ab1434b90ee53a73fdde95b5e6cc4d753a042472215439012e44491b1255d73f64ef95e24
|
7
|
+
data.tar.gz: 71956d9262bcaa8fcff15deece3ec460fcfb51c506980e963e50e4e6194af019d1d72a00ee19f557f55d4a0a637a612bb13635c6acb4b076e1c3960790daddc5
|
data/README.md
CHANGED
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
83
|
-
in security maintenance, and not end of life.
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
87
87
|
|
88
88
|
## Which client should I use?
|
89
89
|
|
@@ -32,6 +32,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
optional :azure_synapse_dialect, :message, 9, "google.cloud.bigquery.migration.v2.AzureSynapseDialect"
|
33
33
|
optional :vertica_dialect, :message, 10, "google.cloud.bigquery.migration.v2.VerticaDialect"
|
34
34
|
optional :sql_server_dialect, :message, 11, "google.cloud.bigquery.migration.v2.SQLServerDialect"
|
35
|
+
optional :postgresql_dialect, :message, 12, "google.cloud.bigquery.migration.v2.PostgresqlDialect"
|
36
|
+
optional :presto_dialect, :message, 13, "google.cloud.bigquery.migration.v2.PrestoDialect"
|
37
|
+
optional :mysql_dialect, :message, 14, "google.cloud.bigquery.migration.v2.MySQLDialect"
|
35
38
|
end
|
36
39
|
end
|
37
40
|
add_message "google.cloud.bigquery.migration.v2.BigQueryDialect" do
|
@@ -62,6 +65,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
65
|
end
|
63
66
|
add_message "google.cloud.bigquery.migration.v2.SQLServerDialect" do
|
64
67
|
end
|
68
|
+
add_message "google.cloud.bigquery.migration.v2.PostgresqlDialect" do
|
69
|
+
end
|
70
|
+
add_message "google.cloud.bigquery.migration.v2.PrestoDialect" do
|
71
|
+
end
|
72
|
+
add_message "google.cloud.bigquery.migration.v2.MySQLDialect" do
|
73
|
+
end
|
65
74
|
add_message "google.cloud.bigquery.migration.v2.ObjectNameMappingList" do
|
66
75
|
repeated :name_map, :message, 1, "google.cloud.bigquery.migration.v2.ObjectNameMapping"
|
67
76
|
end
|
@@ -118,6 +127,9 @@ module Google
|
|
118
127
|
AzureSynapseDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.AzureSynapseDialect").msgclass
|
119
128
|
VerticaDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.VerticaDialect").msgclass
|
120
129
|
SQLServerDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.SQLServerDialect").msgclass
|
130
|
+
PostgresqlDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PostgresqlDialect").msgclass
|
131
|
+
PrestoDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PrestoDialect").msgclass
|
132
|
+
MySQLDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.MySQLDialect").msgclass
|
121
133
|
ObjectNameMappingList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMappingList").msgclass
|
122
134
|
ObjectNameMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMapping").msgclass
|
123
135
|
NameMappingKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.NameMappingKey").msgclass
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
|
101
101
|
# Translation_Snowflake2BQ, Translation_Netezza2BQ,
|
102
102
|
# Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
|
103
|
-
# Translation_SQLServer2BQ.
|
103
|
+
# Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
|
104
104
|
# @!attribute [r] state
|
105
105
|
# @return [::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State]
|
106
106
|
# Output only. The current state of the task.
|
@@ -81,6 +81,15 @@ module Google
|
|
81
81
|
# @!attribute [rw] sql_server_dialect
|
82
82
|
# @return [::Google::Cloud::Bigquery::Migration::V2::SQLServerDialect]
|
83
83
|
# The SQL Server dialect
|
84
|
+
# @!attribute [rw] postgresql_dialect
|
85
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::PostgresqlDialect]
|
86
|
+
# The Postgresql dialect
|
87
|
+
# @!attribute [rw] presto_dialect
|
88
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::PrestoDialect]
|
89
|
+
# The Presto dialect
|
90
|
+
# @!attribute [rw] mysql_dialect
|
91
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::MySQLDialect]
|
92
|
+
# The MySQL dialect
|
84
93
|
class Dialect
|
85
94
|
include ::Google::Protobuf::MessageExts
|
86
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -167,6 +176,24 @@ module Google
|
|
167
176
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
168
177
|
end
|
169
178
|
|
179
|
+
# The dialect definition for Postgresql.
|
180
|
+
class PostgresqlDialect
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
end
|
184
|
+
|
185
|
+
# The dialect definition for Presto.
|
186
|
+
class PrestoDialect
|
187
|
+
include ::Google::Protobuf::MessageExts
|
188
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
189
|
+
end
|
190
|
+
|
191
|
+
# The dialect definition for MySQL.
|
192
|
+
class MySQLDialect
|
193
|
+
include ::Google::Protobuf::MessageExts
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
|
+
end
|
196
|
+
|
170
197
|
# Represents a map of name mappings using a list of key:value proto messages of
|
171
198
|
# existing name to desired output name.
|
172
199
|
# @!attribute [rw] name_map
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-migration-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
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.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.26.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.26.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
67
|
+
version: '5.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
74
|
+
version: '5.16'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest-focus
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '13.0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
213
|
requirements:
|
214
214
|
- - ">="
|
215
215
|
- !ruby/object:Gem::Version
|
216
|
-
version: '2.
|
216
|
+
version: '2.6'
|
217
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - ">="
|