google-cloud-bigquery-migration-v2 0.1.0 → 0.4.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 +10 -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 +3 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_config.rb +27 -0
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d467792c955ea05ce2e173fb343b296c3ac3324156aaec8821d815d1fd9a01d
|
4
|
+
data.tar.gz: 9c815f171ae5d45d031b8ffa7f541efbdcf53a6428b73a257af45b25befe8975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca952432b290a38a97b8c7e55b4a41e7f500f5de1d75356871429de9989c57a035e08bb42aa07bba894e11adc121f61ed86363ee3f3745964e9a9759b574fd56
|
7
|
+
data.tar.gz: 2638d6f48166befd76b4a5733643e9c7302b54038a182cdba77c4d61c45d47025cc9b5b518fe23bbc62f994481e6ae101ed0ecc524df6589fe7a8ef828b0984c
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
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.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -31,6 +31,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
31
|
optional :netezza_dialect, :message, 8, "google.cloud.bigquery.migration.v2.NetezzaDialect"
|
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
|
+
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"
|
34
37
|
end
|
35
38
|
end
|
36
39
|
add_message "google.cloud.bigquery.migration.v2.BigQueryDialect" do
|
@@ -59,6 +62,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
62
|
end
|
60
63
|
add_message "google.cloud.bigquery.migration.v2.VerticaDialect" do
|
61
64
|
end
|
65
|
+
add_message "google.cloud.bigquery.migration.v2.SQLServerDialect" do
|
66
|
+
end
|
67
|
+
add_message "google.cloud.bigquery.migration.v2.PostgresqlDialect" do
|
68
|
+
end
|
69
|
+
add_message "google.cloud.bigquery.migration.v2.PrestoDialect" do
|
70
|
+
end
|
62
71
|
add_message "google.cloud.bigquery.migration.v2.ObjectNameMappingList" do
|
63
72
|
repeated :name_map, :message, 1, "google.cloud.bigquery.migration.v2.ObjectNameMapping"
|
64
73
|
end
|
@@ -114,6 +123,9 @@ module Google
|
|
114
123
|
NetezzaDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.NetezzaDialect").msgclass
|
115
124
|
AzureSynapseDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.AzureSynapseDialect").msgclass
|
116
125
|
VerticaDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.VerticaDialect").msgclass
|
126
|
+
SQLServerDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.SQLServerDialect").msgclass
|
127
|
+
PostgresqlDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PostgresqlDialect").msgclass
|
128
|
+
PrestoDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PrestoDialect").msgclass
|
117
129
|
ObjectNameMappingList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMappingList").msgclass
|
118
130
|
ObjectNameMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMapping").msgclass
|
119
131
|
NameMappingKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.NameMappingKey").msgclass
|
@@ -98,7 +98,9 @@ module Google
|
|
98
98
|
# The type of the task. This must be one of the supported task types:
|
99
99
|
# Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
|
100
100
|
# Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
|
101
|
-
# Translation_Snowflake2BQ, Translation_Netezza2BQ
|
101
|
+
# Translation_Snowflake2BQ, Translation_Netezza2BQ,
|
102
|
+
# Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
|
103
|
+
# Translation_SQLServer2BQ, Translation_Presto2BQ.
|
102
104
|
# @!attribute [r] state
|
103
105
|
# @return [::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State]
|
104
106
|
# Output only. The current state of the task.
|
@@ -78,6 +78,15 @@ module Google
|
|
78
78
|
# @!attribute [rw] vertica_dialect
|
79
79
|
# @return [::Google::Cloud::Bigquery::Migration::V2::VerticaDialect]
|
80
80
|
# The Vertica dialect
|
81
|
+
# @!attribute [rw] sql_server_dialect
|
82
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::SQLServerDialect]
|
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
|
81
90
|
class Dialect
|
82
91
|
include ::Google::Protobuf::MessageExts
|
83
92
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -158,6 +167,24 @@ module Google
|
|
158
167
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
168
|
end
|
160
169
|
|
170
|
+
# The dialect definition for SQL Server.
|
171
|
+
class SQLServerDialect
|
172
|
+
include ::Google::Protobuf::MessageExts
|
173
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
174
|
+
end
|
175
|
+
|
176
|
+
# The dialect definition for Postgresql.
|
177
|
+
class PostgresqlDialect
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
|
+
end
|
181
|
+
|
182
|
+
# The dialect definition for Presto.
|
183
|
+
class PrestoDialect
|
184
|
+
include ::Google::Protobuf::MessageExts
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
end
|
187
|
+
|
161
188
|
# Represents a map of name mappings using a list of key:value proto messages of
|
162
189
|
# existing name to desired output name.
|
163
190
|
# @!attribute [rw] name_map
|
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.4.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-07-20 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,14 +213,14 @@ 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
|
- - ">="
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
|
-
rubygems_version: 3.3.
|
223
|
+
rubygems_version: 3.3.14
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: API Client library for the BigQuery Migration V2 API
|