google-cloud-cloud_dms-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/client.rb +4 -2
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/operations.rb +3 -1
- data/lib/google/cloud/cloud_dms/v1/version.rb +1 -1
- data/lib/google/cloud/clouddms/v1/clouddms_pb.rb +28 -250
- data/lib/google/cloud/clouddms/v1/clouddms_resources_pb.rb +28 -349
- data/lib/google/cloud/clouddms/v1/conversionworkspace_resources_pb.rb +26 -202
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- 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: 4afc5639383959e2b022fbeb8a419c10256eccd0954ed273278171c9f82333bf
|
4
|
+
data.tar.gz: e9aabaf5ea4b315c136907b68ae70c359126170fe6359fbcc7ce5d58b2bf6cd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 992f6a32c25ce0de855bc277a380218f49ea917bd29aa8529a022e6d6dedaa78b6f321ddbf4c18c3dd23a890238b76016eacab0cd7a280b4846634dfd9fe3c71
|
7
|
+
data.tar.gz: e6868782c5cee81e2d20e0b6b11678801820f11fdfe8b61841d2063a408407086eefa3453a8bd995882303b77d88f204657ecf8fa2cb27ce9beb2196101ae06a
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
credentials = @config.credentials
|
203
203
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
204
204
|
# but only if the default endpoint does not have a region prefix.
|
205
|
-
enable_self_signed_jwt = @config.endpoint ==
|
205
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
206
206
|
!@config.endpoint.split(".").first.include?("-")
|
207
207
|
credentials ||= Credentials.default scope: @config.scope,
|
208
208
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -3947,7 +3947,9 @@ module Google
|
|
3947
3947
|
class Configuration
|
3948
3948
|
extend ::Gapic::Config
|
3949
3949
|
|
3950
|
-
|
3950
|
+
DEFAULT_ENDPOINT = "datamigration.googleapis.com"
|
3951
|
+
|
3952
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
3951
3953
|
config_attr :credentials, nil do |value|
|
3952
3954
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3953
3955
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -664,7 +664,9 @@ module Google
|
|
664
664
|
class Configuration
|
665
665
|
extend ::Gapic::Config
|
666
666
|
|
667
|
-
|
667
|
+
DEFAULT_ENDPOINT = "datamigration.googleapis.com"
|
668
|
+
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
668
670
|
config_attr :credentials, nil do |value|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/clouddms/v1/clouddms.proto
|
3
4
|
|
@@ -13,258 +14,35 @@ require 'google/longrunning/operations_pb'
|
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
15
16
|
|
16
|
-
|
17
|
-
add_file("google/cloud/clouddms/v1/clouddms.proto", :syntax => :proto3) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
optional :migration_job, :message, 2, "google.cloud.clouddms.v1.MigrationJob"
|
42
|
-
optional :request_id, :string, 3
|
43
|
-
end
|
44
|
-
add_message "google.cloud.clouddms.v1.DeleteMigrationJobRequest" do
|
45
|
-
optional :name, :string, 1
|
46
|
-
optional :request_id, :string, 2
|
47
|
-
optional :force, :bool, 3
|
48
|
-
end
|
49
|
-
add_message "google.cloud.clouddms.v1.StartMigrationJobRequest" do
|
50
|
-
optional :name, :string, 1
|
51
|
-
end
|
52
|
-
add_message "google.cloud.clouddms.v1.StopMigrationJobRequest" do
|
53
|
-
optional :name, :string, 1
|
54
|
-
end
|
55
|
-
add_message "google.cloud.clouddms.v1.ResumeMigrationJobRequest" do
|
56
|
-
optional :name, :string, 1
|
57
|
-
end
|
58
|
-
add_message "google.cloud.clouddms.v1.PromoteMigrationJobRequest" do
|
59
|
-
optional :name, :string, 1
|
60
|
-
end
|
61
|
-
add_message "google.cloud.clouddms.v1.VerifyMigrationJobRequest" do
|
62
|
-
optional :name, :string, 1
|
63
|
-
end
|
64
|
-
add_message "google.cloud.clouddms.v1.RestartMigrationJobRequest" do
|
65
|
-
optional :name, :string, 1
|
66
|
-
end
|
67
|
-
add_message "google.cloud.clouddms.v1.GenerateSshScriptRequest" do
|
68
|
-
optional :migration_job, :string, 1
|
69
|
-
optional :vm, :string, 2
|
70
|
-
optional :vm_port, :int32, 3
|
71
|
-
oneof :vm_config do
|
72
|
-
optional :vm_creation_config, :message, 100, "google.cloud.clouddms.v1.VmCreationConfig"
|
73
|
-
optional :vm_selection_config, :message, 101, "google.cloud.clouddms.v1.VmSelectionConfig"
|
74
|
-
end
|
75
|
-
end
|
76
|
-
add_message "google.cloud.clouddms.v1.VmCreationConfig" do
|
77
|
-
optional :vm_machine_type, :string, 1
|
78
|
-
optional :vm_zone, :string, 2
|
79
|
-
optional :subnet, :string, 3
|
80
|
-
end
|
81
|
-
add_message "google.cloud.clouddms.v1.VmSelectionConfig" do
|
82
|
-
optional :vm_zone, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.clouddms.v1.SshScript" do
|
85
|
-
optional :script, :string, 1
|
86
|
-
end
|
87
|
-
add_message "google.cloud.clouddms.v1.ListConnectionProfilesRequest" do
|
88
|
-
optional :parent, :string, 1
|
89
|
-
optional :page_size, :int32, 2
|
90
|
-
optional :page_token, :string, 3
|
91
|
-
optional :filter, :string, 4
|
92
|
-
optional :order_by, :string, 5
|
93
|
-
end
|
94
|
-
add_message "google.cloud.clouddms.v1.ListConnectionProfilesResponse" do
|
95
|
-
repeated :connection_profiles, :message, 1, "google.cloud.clouddms.v1.ConnectionProfile"
|
96
|
-
optional :next_page_token, :string, 2
|
97
|
-
repeated :unreachable, :string, 3
|
98
|
-
end
|
99
|
-
add_message "google.cloud.clouddms.v1.GetConnectionProfileRequest" do
|
100
|
-
optional :name, :string, 1
|
101
|
-
end
|
102
|
-
add_message "google.cloud.clouddms.v1.CreateConnectionProfileRequest" do
|
103
|
-
optional :parent, :string, 1
|
104
|
-
optional :connection_profile_id, :string, 2
|
105
|
-
optional :connection_profile, :message, 3, "google.cloud.clouddms.v1.ConnectionProfile"
|
106
|
-
optional :request_id, :string, 4
|
107
|
-
optional :validate_only, :bool, 5
|
108
|
-
optional :skip_validation, :bool, 6
|
109
|
-
end
|
110
|
-
add_message "google.cloud.clouddms.v1.UpdateConnectionProfileRequest" do
|
111
|
-
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
112
|
-
optional :connection_profile, :message, 2, "google.cloud.clouddms.v1.ConnectionProfile"
|
113
|
-
optional :request_id, :string, 3
|
114
|
-
optional :validate_only, :bool, 4
|
115
|
-
optional :skip_validation, :bool, 5
|
116
|
-
end
|
117
|
-
add_message "google.cloud.clouddms.v1.DeleteConnectionProfileRequest" do
|
118
|
-
optional :name, :string, 1
|
119
|
-
optional :request_id, :string, 2
|
120
|
-
optional :force, :bool, 3
|
121
|
-
end
|
122
|
-
add_message "google.cloud.clouddms.v1.CreatePrivateConnectionRequest" do
|
123
|
-
optional :parent, :string, 1
|
124
|
-
optional :private_connection_id, :string, 2
|
125
|
-
optional :private_connection, :message, 3, "google.cloud.clouddms.v1.PrivateConnection"
|
126
|
-
optional :request_id, :string, 4
|
127
|
-
optional :skip_validation, :bool, 5
|
128
|
-
end
|
129
|
-
add_message "google.cloud.clouddms.v1.ListPrivateConnectionsRequest" do
|
130
|
-
optional :parent, :string, 1
|
131
|
-
optional :page_size, :int32, 2
|
132
|
-
optional :page_token, :string, 3
|
133
|
-
optional :filter, :string, 4
|
134
|
-
optional :order_by, :string, 5
|
135
|
-
end
|
136
|
-
add_message "google.cloud.clouddms.v1.ListPrivateConnectionsResponse" do
|
137
|
-
repeated :private_connections, :message, 1, "google.cloud.clouddms.v1.PrivateConnection"
|
138
|
-
optional :next_page_token, :string, 2
|
139
|
-
repeated :unreachable, :string, 3
|
140
|
-
end
|
141
|
-
add_message "google.cloud.clouddms.v1.DeletePrivateConnectionRequest" do
|
142
|
-
optional :name, :string, 1
|
143
|
-
optional :request_id, :string, 2
|
144
|
-
end
|
145
|
-
add_message "google.cloud.clouddms.v1.GetPrivateConnectionRequest" do
|
146
|
-
optional :name, :string, 1
|
147
|
-
end
|
148
|
-
add_message "google.cloud.clouddms.v1.OperationMetadata" do
|
149
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
150
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
151
|
-
optional :target, :string, 3
|
152
|
-
optional :verb, :string, 4
|
153
|
-
optional :status_message, :string, 5
|
154
|
-
optional :requested_cancellation, :bool, 6
|
155
|
-
optional :api_version, :string, 7
|
156
|
-
end
|
157
|
-
add_message "google.cloud.clouddms.v1.ListConversionWorkspacesRequest" do
|
158
|
-
optional :parent, :string, 1
|
159
|
-
optional :page_size, :int32, 2
|
160
|
-
optional :page_token, :string, 3
|
161
|
-
optional :filter, :string, 4
|
162
|
-
end
|
163
|
-
add_message "google.cloud.clouddms.v1.ListConversionWorkspacesResponse" do
|
164
|
-
repeated :conversion_workspaces, :message, 1, "google.cloud.clouddms.v1.ConversionWorkspace"
|
165
|
-
optional :next_page_token, :string, 2
|
166
|
-
repeated :unreachable, :string, 3
|
167
|
-
end
|
168
|
-
add_message "google.cloud.clouddms.v1.GetConversionWorkspaceRequest" do
|
169
|
-
optional :name, :string, 1
|
170
|
-
end
|
171
|
-
add_message "google.cloud.clouddms.v1.CreateConversionWorkspaceRequest" do
|
172
|
-
optional :parent, :string, 1
|
173
|
-
optional :conversion_workspace_id, :string, 2
|
174
|
-
optional :conversion_workspace, :message, 3, "google.cloud.clouddms.v1.ConversionWorkspace"
|
175
|
-
optional :request_id, :string, 4
|
176
|
-
end
|
177
|
-
add_message "google.cloud.clouddms.v1.UpdateConversionWorkspaceRequest" do
|
178
|
-
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
179
|
-
optional :conversion_workspace, :message, 2, "google.cloud.clouddms.v1.ConversionWorkspace"
|
180
|
-
optional :request_id, :string, 3
|
181
|
-
end
|
182
|
-
add_message "google.cloud.clouddms.v1.DeleteConversionWorkspaceRequest" do
|
183
|
-
optional :name, :string, 1
|
184
|
-
optional :request_id, :string, 2
|
185
|
-
end
|
186
|
-
add_message "google.cloud.clouddms.v1.CommitConversionWorkspaceRequest" do
|
187
|
-
optional :name, :string, 1
|
188
|
-
optional :commit_name, :string, 2
|
189
|
-
end
|
190
|
-
add_message "google.cloud.clouddms.v1.RollbackConversionWorkspaceRequest" do
|
191
|
-
optional :name, :string, 1
|
192
|
-
end
|
193
|
-
add_message "google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest" do
|
194
|
-
optional :name, :string, 1
|
195
|
-
optional :filter, :string, 2
|
196
|
-
oneof :destination do
|
197
|
-
optional :connection_profile, :string, 100
|
198
|
-
end
|
199
|
-
end
|
200
|
-
add_message "google.cloud.clouddms.v1.SeedConversionWorkspaceRequest" do
|
201
|
-
optional :name, :string, 1
|
202
|
-
optional :auto_commit, :bool, 2
|
203
|
-
oneof :seed_from do
|
204
|
-
optional :source_connection_profile, :string, 100
|
205
|
-
optional :destination_connection_profile, :string, 101
|
206
|
-
end
|
207
|
-
end
|
208
|
-
add_message "google.cloud.clouddms.v1.ConvertConversionWorkspaceRequest" do
|
209
|
-
optional :name, :string, 1
|
210
|
-
optional :auto_commit, :bool, 4
|
211
|
-
optional :filter, :string, 5
|
212
|
-
end
|
213
|
-
add_message "google.cloud.clouddms.v1.ImportMappingRulesRequest" do
|
214
|
-
optional :parent, :string, 1
|
215
|
-
optional :rules_format, :enum, 2, "google.cloud.clouddms.v1.ImportRulesFileFormat"
|
216
|
-
repeated :rules_files, :message, 3, "google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile"
|
217
|
-
optional :auto_commit, :bool, 6
|
218
|
-
end
|
219
|
-
add_message "google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile" do
|
220
|
-
optional :rules_source_filename, :string, 1
|
221
|
-
optional :rules_content, :string, 2
|
222
|
-
end
|
223
|
-
add_message "google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest" do
|
224
|
-
optional :conversion_workspace, :string, 1
|
225
|
-
optional :page_size, :int32, 3
|
226
|
-
optional :page_token, :string, 4
|
227
|
-
optional :tree, :enum, 6, "google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType"
|
228
|
-
optional :uncommitted, :bool, 11
|
229
|
-
optional :commit_id, :string, 12
|
230
|
-
optional :filter, :string, 13
|
231
|
-
end
|
232
|
-
add_enum "google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType" do
|
233
|
-
value :DB_TREE_TYPE_UNSPECIFIED, 0
|
234
|
-
value :SOURCE_TREE, 1
|
235
|
-
value :DRAFT_TREE, 2
|
236
|
-
value :DESTINATION_TREE, 3
|
237
|
-
end
|
238
|
-
add_message "google.cloud.clouddms.v1.DescribeDatabaseEntitiesResponse" do
|
239
|
-
repeated :database_entities, :message, 1, "google.cloud.clouddms.v1.DatabaseEntity"
|
240
|
-
optional :next_page_token, :string, 2
|
241
|
-
end
|
242
|
-
add_message "google.cloud.clouddms.v1.SearchBackgroundJobsRequest" do
|
243
|
-
optional :conversion_workspace, :string, 1
|
244
|
-
optional :return_most_recent_per_job_type, :bool, 2
|
245
|
-
optional :max_size, :int32, 3
|
246
|
-
optional :completed_until_time, :message, 4, "google.protobuf.Timestamp"
|
247
|
-
end
|
248
|
-
add_message "google.cloud.clouddms.v1.SearchBackgroundJobsResponse" do
|
249
|
-
repeated :jobs, :message, 1, "google.cloud.clouddms.v1.BackgroundJobLogEntry"
|
250
|
-
end
|
251
|
-
add_message "google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsRequest" do
|
252
|
-
optional :conversion_workspace, :string, 1
|
253
|
-
optional :commit_id, :string, 2
|
254
|
-
end
|
255
|
-
add_message "google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsResponse" do
|
256
|
-
repeated :revisions, :message, 1, "google.cloud.clouddms.v1.ConversionWorkspace"
|
257
|
-
end
|
258
|
-
add_message "google.cloud.clouddms.v1.FetchStaticIpsRequest" do
|
259
|
-
optional :name, :string, 1
|
260
|
-
optional :page_size, :int32, 2
|
261
|
-
optional :page_token, :string, 3
|
262
|
-
end
|
263
|
-
add_message "google.cloud.clouddms.v1.FetchStaticIpsResponse" do
|
264
|
-
repeated :static_ips, :string, 1
|
265
|
-
optional :next_page_token, :string, 2
|
17
|
+
|
18
|
+
descriptor_data = "\n\'google/cloud/clouddms/v1/clouddms.proto\x12\x18google.cloud.clouddms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/clouddms/v1/clouddms_resources.proto\x1a<google/cloud/clouddms/v1/conversionworkspace_resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x18ListMigrationJobsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)datamigration.googleapis.com/MigrationJob\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x19ListMigrationJobsResponse\x12>\n\x0emigration_jobs\x18\x01 \x03(\x0b\x32&.google.cloud.clouddms.v1.MigrationJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x16GetMigrationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"\xd5\x01\n\x19\x43reateMigrationJobRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)datamigration.googleapis.com/MigrationJob\x12\x1d\n\x10migration_job_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\rmigration_job\x18\x03 \x01(\x0b\x32&.google.cloud.clouddms.v1.MigrationJobB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xa9\x01\n\x19UpdateMigrationJobRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x42\n\rmigration_job\x18\x02 \x01(\x0b\x32&.google.cloud.clouddms.v1.MigrationJobB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x7f\n\x19\x44\x65leteMigrationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"X\n\x18StartMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"W\n\x17StopMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"Y\n\x19ResumeMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"Z\n\x1aPromoteMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"Y\n\x19VerifyMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"Z\n\x1aRestartMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\"\xa6\x02\n\x18GenerateSshScriptRequest\x12\x45\n\rmigration_job\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x0f\n\x02vm\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12H\n\x12vm_creation_config\x18\x64 \x01(\x0b\x32*.google.cloud.clouddms.v1.VmCreationConfigH\x00\x12J\n\x13vm_selection_config\x18\x65 \x01(\x0b\x32+.google.cloud.clouddms.v1.VmSelectionConfigH\x00\x12\x0f\n\x07vm_port\x18\x03 \x01(\x05\x42\x0b\n\tvm_config\"Q\n\x10VmCreationConfig\x12\x1c\n\x0fvm_machine_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07vm_zone\x18\x02 \x01(\t\x12\x0e\n\x06subnet\x18\x03 \x01(\t\")\n\x11VmSelectionConfig\x12\x14\n\x07vm_zone\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x1b\n\tSshScript\x12\x0e\n\x06script\x18\x01 \x01(\t\"\xb0\x01\n\x1dListConnectionProfilesRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.datamigration.googleapis.com/ConnectionProfile\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x98\x01\n\x1eListConnectionProfilesResponse\x12H\n\x13\x63onnection_profiles\x18\x01 \x03(\x0b\x32+.google.cloud.clouddms.v1.ConnectionProfile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"c\n\x1bGetConnectionProfileRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.datamigration.googleapis.com/ConnectionProfile\"\xad\x02\n\x1e\x43reateConnectionProfileRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.datamigration.googleapis.com/ConnectionProfile\x12\"\n\x15\x63onnection_profile_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12L\n\x12\x63onnection_profile\x18\x03 \x01(\x0b\x32+.google.cloud.clouddms.v1.ConnectionProfileB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fskip_validation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xf7\x01\n\x1eUpdateConnectionProfileRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12L\n\x12\x63onnection_profile\x18\x02 \x01(\x0b\x32+.google.cloud.clouddms.v1.ConnectionProfileB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fskip_validation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x89\x01\n\x1e\x44\x65leteConnectionProfileRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.datamigration.googleapis.com/ConnectionProfile\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x91\x02\n\x1e\x43reatePrivateConnectionRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.datamigration.googleapis.com/PrivateConnection\x12\"\n\x15private_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12L\n\x12private_connection\x18\x03 \x01(\x0b\x32+.google.cloud.clouddms.v1.PrivateConnectionB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fskip_validation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xb0\x01\n\x1dListPrivateConnectionsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.datamigration.googleapis.com/PrivateConnection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x98\x01\n\x1eListPrivateConnectionsResponse\x12H\n\x13private_connections\x18\x01 \x03(\x0b\x32+.google.cloud.clouddms.v1.PrivateConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x7f\n\x1e\x44\x65letePrivateConnectionRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.datamigration.googleapis.com/PrivateConnection\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"c\n\x1bGetPrivateConnectionRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.datamigration.googleapis.com/PrivateConnection\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa2\x01\n\x1fListConversionWorkspacesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x64\x61tamigration.googleapis.com/ConversionWorkspace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x9e\x01\n ListConversionWorkspacesResponse\x12L\n\x15\x63onversion_workspaces\x18\x01 \x03(\x0b\x32-.google.cloud.clouddms.v1.ConversionWorkspace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"g\n\x1dGetConversionWorkspaceRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\"\xf8\x01\n CreateConversionWorkspaceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x64\x61tamigration.googleapis.com/ConversionWorkspace\x12$\n\x17\x63onversion_workspace_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x14\x63onversion_workspace\x18\x03 \x01(\x0b\x32-.google.cloud.clouddms.v1.ConversionWorkspaceB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xbe\x01\n UpdateConversionWorkspaceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12P\n\x14\x63onversion_workspace\x18\x02 \x01(\x0b\x32-.google.cloud.clouddms.v1.ConversionWorkspaceB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"~\n DeleteConversionWorkspaceRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x84\x01\n CommitConversionWorkspaceRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x18\n\x0b\x63ommit_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"l\n\"RollbackConversionWorkspaceRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\"\xa6\x01\n\x1f\x41pplyConversionWorkspaceRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x1c\n\x12\x63onnection_profile\x18\x64 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xd6\x01\n\x1eSeedConversionWorkspaceRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x13\n\x0b\x61uto_commit\x18\x02 \x01(\x08\x12#\n\x19source_connection_profile\x18\x64 \x01(\tH\x00\x12(\n\x1e\x64\x65stination_connection_profile\x18\x65 \x01(\tH\x00\x42\x0b\n\tseed_from\"\x8d\x01\n!ConvertConversionWorkspaceRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x13\n\x0b\x61uto_commit\x18\x04 \x01(\x08\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\xd8\x02\n\x19ImportMappingRulesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x45\n\x0crules_format\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.ImportRulesFileFormat\x12R\n\x0brules_files\x18\x03 \x03(\x0b\x32=.google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile\x12\x13\n\x0b\x61uto_commit\x18\x06 \x01(\x08\x1a\x41\n\tRulesFile\x12\x1d\n\x15rules_source_filename\x18\x01 \x01(\t\x12\x15\n\rrules_content\x18\x02 \x01(\t\"\x8f\x03\n\x1f\x44\x65scribeDatabaseEntitiesRequest\x12V\n\x14\x63onversion_workspace\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12R\n\x04tree\x18\x06 \x01(\x0e\x32\x44.google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType\x12\x13\n\x0buncommitted\x18\x0b \x01(\x08\x12\x11\n\tcommit_id\x18\x0c \x01(\t\x12\x0e\n\x06\x66ilter\x18\r \x01(\t\"a\n\nDBTreeType\x12\x1c\n\x18\x44\x42_TREE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSOURCE_TREE\x10\x01\x12\x0e\n\nDRAFT_TREE\x10\x02\x12\x14\n\x10\x44\x45STINATION_TREE\x10\x03\"\x80\x01\n DescribeDatabaseEntitiesResponse\x12\x43\n\x11\x64\x61tabase_entities\x18\x01 \x03(\x0b\x32(.google.cloud.clouddms.v1.DatabaseEntity\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x01\n\x1bSearchBackgroundJobsRequest\x12V\n\x14\x63onversion_workspace\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12,\n\x1freturn_most_recent_per_job_type\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08max_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12=\n\x14\x63ompleted_until_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"]\n\x1cSearchBackgroundJobsResponse\x12=\n\x04jobs\x18\x01 \x03(\x0b\x32/.google.cloud.clouddms.v1.BackgroundJobLogEntry\"\x9d\x01\n+DescribeConversionWorkspaceRevisionsRequest\x12V\n\x14\x63onversion_workspace\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x16\n\tcommit_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"p\n,DescribeConversionWorkspaceRevisionsResponse\x12@\n\trevisions\x18\x01 \x03(\x0b\x32-.google.cloud.clouddms.v1.ConversionWorkspace\"w\n\x15\x46\x65tchStaticIpsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"E\n\x16\x46\x65tchStaticIpsResponse\x12\x12\n\nstatic_ips\x18\x01 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe9\x42\n\x14\x44\x61taMigrationService\x12\xc0\x01\n\x11ListMigrationJobs\x12\x32.google.cloud.clouddms.v1.ListMigrationJobsRequest\x1a\x33.google.cloud.clouddms.v1.ListMigrationJobsResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/migrationJobs\xda\x41\x06parent\x12\xad\x01\n\x0fGetMigrationJob\x12\x30.google.cloud.clouddms.v1.GetMigrationJobRequest\x1a&.google.cloud.clouddms.v1.MigrationJob\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/migrationJobs/*}\xda\x41\x04name\x12\xff\x01\n\x12\x43reateMigrationJob\x12\x33.google.cloud.clouddms.v1.CreateMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/migrationJobs:\rmigration_job\xda\x41%parent,migration_job,migration_job_id\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\x81\x02\n\x12UpdateMigrationJob\x12\x33.google.cloud.clouddms.v1.UpdateMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02P2?/v1/{migration_job.name=projects/*/locations/*/migrationJobs/*}:\rmigration_job\xda\x41\x19migration_job,update_mask\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xd7\x01\n\x12\x44\x65leteMigrationJob\x12\x33.google.cloud.clouddms.v1.DeleteMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/migrationJobs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xce\x01\n\x11StartMigrationJob\x12\x32.google.cloud.clouddms.v1.StartMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/migrationJobs/*}:start:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xcb\x01\n\x10StopMigrationJob\x12\x31.google.cloud.clouddms.v1.StopMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"e\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/migrationJobs/*}:stop:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xd1\x01\n\x12ResumeMigrationJob\x12\x33.google.cloud.clouddms.v1.ResumeMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/migrationJobs/*}:resume:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xd4\x01\n\x13PromoteMigrationJob\x12\x34.google.cloud.clouddms.v1.PromoteMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/*/migrationJobs/*}:promote:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xd1\x01\n\x12VerifyMigrationJob\x12\x33.google.cloud.clouddms.v1.VerifyMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/migrationJobs/*}:verify:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xd4\x01\n\x13RestartMigrationJob\x12\x34.google.cloud.clouddms.v1.RestartMigrationJobRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/*/migrationJobs/*}:restart:\x01*\xca\x41!\n\x0cMigrationJob\x12\x11OperationMetadata\x12\xc5\x01\n\x11GenerateSshScript\x12\x32.google.cloud.clouddms.v1.GenerateSshScriptRequest\x1a#.google.cloud.clouddms.v1.SshScript\"W\x82\xd3\xe4\x93\x02Q\"L/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateSshScript:\x01*\x12\xd4\x01\n\x16ListConnectionProfiles\x12\x37.google.cloud.clouddms.v1.ListConnectionProfilesRequest\x1a\x38.google.cloud.clouddms.v1.ListConnectionProfilesResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/connectionProfiles\xda\x41\x06parent\x12\xc1\x01\n\x14GetConnectionProfile\x12\x35.google.cloud.clouddms.v1.GetConnectionProfileRequest\x1a+.google.cloud.clouddms.v1.ConnectionProfile\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/connectionProfiles/*}\xda\x41\x04name\x12\xa2\x02\n\x17\x43reateConnectionProfile\x12\x38.google.cloud.clouddms.v1.CreateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/connectionProfiles:\x12\x63onnection_profile\xda\x41/parent,connection_profile,connection_profile_id\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\x12\xa4\x02\n\x17UpdateConnectionProfile\x12\x38.google.cloud.clouddms.v1.UpdateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\x82\xd3\xe4\x93\x02_2I/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}:\x12\x63onnection_profile\xda\x41\x1e\x63onnection_profile,update_mask\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\x12\xe6\x01\n\x17\x44\x65leteConnectionProfile\x12\x38.google.cloud.clouddms.v1.DeleteConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/connectionProfiles/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa2\x02\n\x17\x43reatePrivateConnection\x12\x38.google.cloud.clouddms.v1.CreatePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/privateConnections:\x12private_connection\xda\x41/parent,private_connection,private_connection_id\xca\x41&\n\x11PrivateConnection\x12\x11OperationMetadata\x12\xc1\x01\n\x14GetPrivateConnection\x12\x35.google.cloud.clouddms.v1.GetPrivateConnectionRequest\x1a+.google.cloud.clouddms.v1.PrivateConnection\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/privateConnections/*}\xda\x41\x04name\x12\xd4\x01\n\x16ListPrivateConnections\x12\x37.google.cloud.clouddms.v1.ListPrivateConnectionsRequest\x1a\x38.google.cloud.clouddms.v1.ListPrivateConnectionsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/privateConnections\xda\x41\x06parent\x12\xe6\x01\n\x17\x44\x65letePrivateConnection\x12\x38.google.cloud.clouddms.v1.DeletePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/privateConnections/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc9\x01\n\x16GetConversionWorkspace\x12\x37.google.cloud.clouddms.v1.GetConversionWorkspaceRequest\x1a-.google.cloud.clouddms.v1.ConversionWorkspace\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/conversionWorkspaces/*}\xda\x41\x04name\x12\xdc\x01\n\x18ListConversionWorkspaces\x12\x39.google.cloud.clouddms.v1.ListConversionWorkspacesRequest\x1a:.google.cloud.clouddms.v1.ListConversionWorkspacesResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/conversionWorkspaces\xda\x41\x06parent\x12\xb0\x02\n\x19\x43reateConversionWorkspace\x12:.google.cloud.clouddms.v1.CreateConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\x82\xd3\xe4\x93\x02P\"8/v1/{parent=projects/*/locations/*}/conversionWorkspaces:\x14\x63onversion_workspace\xda\x41\x33parent,conversion_workspace,conversion_workspace_id\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xb2\x02\n\x19UpdateConversionWorkspace\x12:.google.cloud.clouddms.v1.UpdateConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\x82\xd3\xe4\x93\x02\x65\x32M/v1/{conversion_workspace.name=projects/*/locations/*/conversionWorkspaces/*}:\x14\x63onversion_workspace\xda\x41 conversion_workspace,update_mask\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xec\x01\n\x19\x44\x65leteConversionWorkspace\x12:.google.cloud.clouddms.v1.DeleteConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/conversionWorkspaces/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe7\x01\n\x17SeedConversionWorkspace\x12\x38.google.cloud.clouddms.v1.SeedConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:seed:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xef\x01\n\x12ImportMappingRules\x12\x33.google.cloud.clouddms.v1.ImportMappingRulesRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02S\"N/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules:import:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xf0\x01\n\x1a\x43onvertConversionWorkspace\x12;.google.cloud.clouddms.v1.ConvertConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:convert:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xed\x01\n\x19\x43ommitConversionWorkspace\x12:.google.cloud.clouddms.v1.CommitConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:commit:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xf3\x01\n\x1bRollbackConversionWorkspace\x12<.google.cloud.clouddms.v1.RollbackConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:rollback:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xea\x01\n\x18\x41pplyConversionWorkspace\x12\x39.google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:apply:\x01*\xca\x41(\n\x13\x43onversionWorkspace\x12\x11OperationMetadata\x12\xfc\x01\n\x18\x44\x65scribeDatabaseEntities\x12\x39.google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest\x1a:.google.cloud.clouddms.v1.DescribeDatabaseEntitiesResponse\"i\x82\xd3\xe4\x93\x02\x63\x12\x61/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeDatabaseEntities\x12\xec\x01\n\x14SearchBackgroundJobs\x12\x35.google.cloud.clouddms.v1.SearchBackgroundJobsRequest\x1a\x36.google.cloud.clouddms.v1.SearchBackgroundJobsResponse\"e\x82\xd3\xe4\x93\x02_\x12]/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:searchBackgroundJobs\x12\xac\x02\n$DescribeConversionWorkspaceRevisions\x12\x45.google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsRequest\x1a\x46.google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsResponse\"u\x82\xd3\xe4\x93\x02o\x12m/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeConversionWorkspaceRevisions\x12\xb4\x01\n\x0e\x46\x65tchStaticIps\x12/.google.cloud.clouddms.v1.FetchStaticIpsRequest\x1a\x30.google.cloud.clouddms.v1.FetchStaticIpsResponse\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*}:fetchStaticIps\xda\x41\x04name\x1aP\xca\x41\x1c\x64\x61tamigration.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x01\n\x1c\x63om.google.cloud.clouddms.v1B\rClouddmsProtoP\x01Z8cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb\xaa\x02\x18Google.Cloud.CloudDms.V1\xca\x02\x18Google\\Cloud\\CloudDms\\V1\xea\x02\x1bGoogle::Cloud::CloudDMS::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.cloud.clouddms.v1.MigrationJob", "google/cloud/clouddms/v1/clouddms_resources.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
36
|
+
["google.cloud.clouddms.v1.ConversionWorkspace", "google/cloud/clouddms/v1/conversionworkspace_resources.proto"],
|
37
|
+
]
|
38
|
+
imports.each do |type_name, expected_filename|
|
39
|
+
import_file = pool.lookup(type_name).file_descriptor
|
40
|
+
if import_file.name != expected_filename
|
41
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
266
42
|
end
|
267
43
|
end
|
44
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
45
|
+
warn "This will become an error in the next major version."
|
268
46
|
end
|
269
47
|
|
270
48
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/clouddms/v1/clouddms_resources.proto
|
3
4
|
|
@@ -10,357 +11,35 @@ require 'google/protobuf/timestamp_pb'
|
|
10
11
|
require 'google/protobuf/wrappers_pb'
|
11
12
|
require 'google/rpc/status_pb'
|
12
13
|
|
13
|
-
|
14
|
-
add_file("google/cloud/clouddms/v1/clouddms_resources.proto", :syntax => :proto3) do
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :username, :string, 3
|
39
|
-
optional :password, :string, 4
|
40
|
-
optional :password_set, :bool, 5
|
41
|
-
optional :ssl, :message, 6, "google.cloud.clouddms.v1.SslConfig"
|
42
|
-
optional :cloud_sql_id, :string, 7
|
43
|
-
optional :network_architecture, :enum, 8, "google.cloud.clouddms.v1.NetworkArchitecture"
|
44
|
-
oneof :connectivity do
|
45
|
-
optional :static_ip_connectivity, :message, 100, "google.cloud.clouddms.v1.StaticIpConnectivity"
|
46
|
-
optional :private_service_connect_connectivity, :message, 101, "google.cloud.clouddms.v1.PrivateServiceConnectConnectivity"
|
47
|
-
end
|
48
|
-
end
|
49
|
-
add_message "google.cloud.clouddms.v1.OracleConnectionProfile" do
|
50
|
-
optional :host, :string, 1
|
51
|
-
optional :port, :int32, 2
|
52
|
-
optional :username, :string, 3
|
53
|
-
optional :password, :string, 4
|
54
|
-
optional :password_set, :bool, 5
|
55
|
-
optional :database_service, :string, 6
|
56
|
-
oneof :connectivity do
|
57
|
-
optional :static_service_ip_connectivity, :message, 100, "google.cloud.clouddms.v1.StaticServiceIpConnectivity"
|
58
|
-
optional :forward_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ForwardSshTunnelConnectivity"
|
59
|
-
optional :private_connectivity, :message, 102, "google.cloud.clouddms.v1.PrivateConnectivity"
|
60
|
-
end
|
61
|
-
end
|
62
|
-
add_message "google.cloud.clouddms.v1.CloudSqlConnectionProfile" do
|
63
|
-
optional :cloud_sql_id, :string, 1
|
64
|
-
optional :settings, :message, 2, "google.cloud.clouddms.v1.CloudSqlSettings"
|
65
|
-
optional :private_ip, :string, 3
|
66
|
-
optional :public_ip, :string, 4
|
67
|
-
optional :additional_public_ip, :string, 5
|
68
|
-
end
|
69
|
-
add_message "google.cloud.clouddms.v1.AlloyDbConnectionProfile" do
|
70
|
-
optional :cluster_id, :string, 1
|
71
|
-
optional :settings, :message, 2, "google.cloud.clouddms.v1.AlloyDbSettings"
|
72
|
-
end
|
73
|
-
add_message "google.cloud.clouddms.v1.SqlAclEntry" do
|
74
|
-
optional :value, :string, 1
|
75
|
-
optional :label, :string, 3
|
76
|
-
oneof :expiration do
|
77
|
-
optional :expire_time, :message, 10, "google.protobuf.Timestamp"
|
78
|
-
optional :ttl, :message, 11, "google.protobuf.Duration"
|
79
|
-
end
|
80
|
-
end
|
81
|
-
add_message "google.cloud.clouddms.v1.SqlIpConfig" do
|
82
|
-
optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
|
83
|
-
optional :private_network, :string, 2
|
84
|
-
optional :allocated_ip_range, :string, 5
|
85
|
-
optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
|
86
|
-
repeated :authorized_networks, :message, 4, "google.cloud.clouddms.v1.SqlAclEntry"
|
87
|
-
end
|
88
|
-
add_message "google.cloud.clouddms.v1.CloudSqlSettings" do
|
89
|
-
optional :database_version, :enum, 1, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion"
|
90
|
-
map :user_labels, :string, :string, 2
|
91
|
-
optional :tier, :string, 3
|
92
|
-
optional :storage_auto_resize_limit, :message, 4, "google.protobuf.Int64Value"
|
93
|
-
optional :activation_policy, :enum, 5, "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy"
|
94
|
-
optional :ip_config, :message, 6, "google.cloud.clouddms.v1.SqlIpConfig"
|
95
|
-
optional :auto_storage_increase, :message, 7, "google.protobuf.BoolValue"
|
96
|
-
map :database_flags, :string, :string, 8
|
97
|
-
optional :data_disk_type, :enum, 9, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
|
98
|
-
optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
|
99
|
-
optional :zone, :string, 11
|
100
|
-
optional :secondary_zone, :string, 18
|
101
|
-
optional :source_id, :string, 12
|
102
|
-
optional :root_password, :string, 13
|
103
|
-
optional :root_password_set, :bool, 14
|
104
|
-
optional :collation, :string, 15
|
105
|
-
optional :cmek_key_name, :string, 16
|
106
|
-
optional :availability_type, :enum, 17, "google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType"
|
107
|
-
end
|
108
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
|
109
|
-
value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
|
110
|
-
value :ALWAYS, 1
|
111
|
-
value :NEVER, 2
|
112
|
-
end
|
113
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType" do
|
114
|
-
value :SQL_DATA_DISK_TYPE_UNSPECIFIED, 0
|
115
|
-
value :PD_SSD, 1
|
116
|
-
value :PD_HDD, 2
|
117
|
-
end
|
118
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion" do
|
119
|
-
value :SQL_DATABASE_VERSION_UNSPECIFIED, 0
|
120
|
-
value :MYSQL_5_6, 1
|
121
|
-
value :MYSQL_5_7, 2
|
122
|
-
value :POSTGRES_9_6, 3
|
123
|
-
value :POSTGRES_11, 4
|
124
|
-
value :POSTGRES_10, 5
|
125
|
-
value :MYSQL_8_0, 6
|
126
|
-
value :POSTGRES_12, 7
|
127
|
-
value :POSTGRES_13, 8
|
128
|
-
value :POSTGRES_14, 17
|
129
|
-
end
|
130
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType" do
|
131
|
-
value :SQL_AVAILABILITY_TYPE_UNSPECIFIED, 0
|
132
|
-
value :ZONAL, 1
|
133
|
-
value :REGIONAL, 2
|
134
|
-
end
|
135
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings" do
|
136
|
-
optional :initial_user, :message, 1, "google.cloud.clouddms.v1.AlloyDbSettings.UserPassword"
|
137
|
-
optional :vpc_network, :string, 2
|
138
|
-
map :labels, :string, :string, 3
|
139
|
-
optional :primary_instance_settings, :message, 4, "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings"
|
140
|
-
optional :encryption_config, :message, 5, "google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig"
|
141
|
-
end
|
142
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.UserPassword" do
|
143
|
-
optional :user, :string, 1
|
144
|
-
optional :password, :string, 2
|
145
|
-
optional :password_set, :bool, 3
|
146
|
-
end
|
147
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings" do
|
148
|
-
optional :id, :string, 1
|
149
|
-
optional :machine_config, :message, 2, "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig"
|
150
|
-
map :database_flags, :string, :string, 6
|
151
|
-
map :labels, :string, :string, 7
|
152
|
-
optional :private_ip, :string, 8
|
153
|
-
end
|
154
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig" do
|
155
|
-
optional :cpu_count, :int32, 1
|
156
|
-
end
|
157
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig" do
|
158
|
-
optional :kms_key_name, :string, 1
|
159
|
-
end
|
160
|
-
add_message "google.cloud.clouddms.v1.StaticIpConnectivity" do
|
161
|
-
end
|
162
|
-
add_message "google.cloud.clouddms.v1.PrivateServiceConnectConnectivity" do
|
163
|
-
optional :service_attachment, :string, 1
|
164
|
-
end
|
165
|
-
add_message "google.cloud.clouddms.v1.ReverseSshConnectivity" do
|
166
|
-
optional :vm_ip, :string, 1
|
167
|
-
optional :vm_port, :int32, 2
|
168
|
-
optional :vm, :string, 3
|
169
|
-
optional :vpc, :string, 4
|
170
|
-
end
|
171
|
-
add_message "google.cloud.clouddms.v1.VpcPeeringConnectivity" do
|
172
|
-
optional :vpc, :string, 1
|
173
|
-
end
|
174
|
-
add_message "google.cloud.clouddms.v1.ForwardSshTunnelConnectivity" do
|
175
|
-
optional :hostname, :string, 1
|
176
|
-
optional :username, :string, 2
|
177
|
-
optional :port, :int32, 3
|
178
|
-
oneof :authentication_method do
|
179
|
-
optional :password, :string, 100
|
180
|
-
optional :private_key, :string, 101
|
181
|
-
end
|
182
|
-
end
|
183
|
-
add_message "google.cloud.clouddms.v1.StaticServiceIpConnectivity" do
|
184
|
-
end
|
185
|
-
add_message "google.cloud.clouddms.v1.PrivateConnectivity" do
|
186
|
-
optional :private_connection, :string, 1
|
187
|
-
end
|
188
|
-
add_message "google.cloud.clouddms.v1.DatabaseType" do
|
189
|
-
optional :provider, :enum, 1, "google.cloud.clouddms.v1.DatabaseProvider"
|
190
|
-
optional :engine, :enum, 2, "google.cloud.clouddms.v1.DatabaseEngine"
|
191
|
-
end
|
192
|
-
add_message "google.cloud.clouddms.v1.MigrationJob" do
|
193
|
-
optional :name, :string, 1
|
194
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
195
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
196
|
-
map :labels, :string, :string, 4
|
197
|
-
optional :display_name, :string, 5
|
198
|
-
optional :state, :enum, 6, "google.cloud.clouddms.v1.MigrationJob.State"
|
199
|
-
optional :phase, :enum, 7, "google.cloud.clouddms.v1.MigrationJob.Phase"
|
200
|
-
optional :type, :enum, 8, "google.cloud.clouddms.v1.MigrationJob.Type"
|
201
|
-
optional :dump_path, :string, 9
|
202
|
-
optional :dump_flags, :message, 17, "google.cloud.clouddms.v1.MigrationJob.DumpFlags"
|
203
|
-
optional :source, :string, 10
|
204
|
-
optional :destination, :string, 11
|
205
|
-
optional :duration, :message, 12, "google.protobuf.Duration"
|
206
|
-
optional :error, :message, 13, "google.rpc.Status"
|
207
|
-
optional :source_database, :message, 14, "google.cloud.clouddms.v1.DatabaseType"
|
208
|
-
optional :destination_database, :message, 15, "google.cloud.clouddms.v1.DatabaseType"
|
209
|
-
optional :end_time, :message, 16, "google.protobuf.Timestamp"
|
210
|
-
optional :conversion_workspace, :message, 18, "google.cloud.clouddms.v1.ConversionWorkspaceInfo"
|
211
|
-
optional :filter, :string, 20
|
212
|
-
optional :cmek_key_name, :string, 21
|
213
|
-
oneof :connectivity do
|
214
|
-
optional :reverse_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ReverseSshConnectivity"
|
215
|
-
optional :vpc_peering_connectivity, :message, 102, "google.cloud.clouddms.v1.VpcPeeringConnectivity"
|
216
|
-
optional :static_ip_connectivity, :message, 103, "google.cloud.clouddms.v1.StaticIpConnectivity"
|
217
|
-
end
|
218
|
-
end
|
219
|
-
add_message "google.cloud.clouddms.v1.MigrationJob.DumpFlag" do
|
220
|
-
optional :name, :string, 1
|
221
|
-
optional :value, :string, 2
|
222
|
-
end
|
223
|
-
add_message "google.cloud.clouddms.v1.MigrationJob.DumpFlags" do
|
224
|
-
repeated :dump_flags, :message, 1, "google.cloud.clouddms.v1.MigrationJob.DumpFlag"
|
225
|
-
end
|
226
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.State" do
|
227
|
-
value :STATE_UNSPECIFIED, 0
|
228
|
-
value :MAINTENANCE, 1
|
229
|
-
value :DRAFT, 2
|
230
|
-
value :CREATING, 3
|
231
|
-
value :NOT_STARTED, 4
|
232
|
-
value :RUNNING, 5
|
233
|
-
value :FAILED, 6
|
234
|
-
value :COMPLETED, 7
|
235
|
-
value :DELETING, 8
|
236
|
-
value :STOPPING, 9
|
237
|
-
value :STOPPED, 10
|
238
|
-
value :DELETED, 11
|
239
|
-
value :UPDATING, 12
|
240
|
-
value :STARTING, 13
|
241
|
-
value :RESTARTING, 14
|
242
|
-
value :RESUMING, 15
|
243
|
-
end
|
244
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.Phase" do
|
245
|
-
value :PHASE_UNSPECIFIED, 0
|
246
|
-
value :FULL_DUMP, 1
|
247
|
-
value :CDC, 2
|
248
|
-
value :PROMOTE_IN_PROGRESS, 3
|
249
|
-
value :WAITING_FOR_SOURCE_WRITES_TO_STOP, 4
|
250
|
-
value :PREPARING_THE_DUMP, 5
|
251
|
-
end
|
252
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.Type" do
|
253
|
-
value :TYPE_UNSPECIFIED, 0
|
254
|
-
value :ONE_TIME, 1
|
255
|
-
value :CONTINUOUS, 2
|
256
|
-
end
|
257
|
-
add_message "google.cloud.clouddms.v1.ConversionWorkspaceInfo" do
|
258
|
-
optional :name, :string, 1
|
259
|
-
optional :commit_id, :string, 2
|
260
|
-
end
|
261
|
-
add_message "google.cloud.clouddms.v1.ConnectionProfile" do
|
262
|
-
optional :name, :string, 1
|
263
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
264
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
265
|
-
map :labels, :string, :string, 4
|
266
|
-
optional :state, :enum, 5, "google.cloud.clouddms.v1.ConnectionProfile.State"
|
267
|
-
optional :display_name, :string, 6
|
268
|
-
optional :error, :message, 7, "google.rpc.Status"
|
269
|
-
optional :provider, :enum, 8, "google.cloud.clouddms.v1.DatabaseProvider"
|
270
|
-
oneof :connection_profile do
|
271
|
-
optional :mysql, :message, 100, "google.cloud.clouddms.v1.MySqlConnectionProfile"
|
272
|
-
optional :postgresql, :message, 101, "google.cloud.clouddms.v1.PostgreSqlConnectionProfile"
|
273
|
-
optional :oracle, :message, 104, "google.cloud.clouddms.v1.OracleConnectionProfile"
|
274
|
-
optional :cloudsql, :message, 102, "google.cloud.clouddms.v1.CloudSqlConnectionProfile"
|
275
|
-
optional :alloydb, :message, 105, "google.cloud.clouddms.v1.AlloyDbConnectionProfile"
|
276
|
-
end
|
277
|
-
end
|
278
|
-
add_enum "google.cloud.clouddms.v1.ConnectionProfile.State" do
|
279
|
-
value :STATE_UNSPECIFIED, 0
|
280
|
-
value :DRAFT, 1
|
281
|
-
value :CREATING, 2
|
282
|
-
value :READY, 3
|
283
|
-
value :UPDATING, 4
|
284
|
-
value :DELETING, 5
|
285
|
-
value :DELETED, 6
|
286
|
-
value :FAILED, 7
|
287
|
-
end
|
288
|
-
add_message "google.cloud.clouddms.v1.MigrationJobVerificationError" do
|
289
|
-
optional :error_code, :enum, 1, "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode"
|
290
|
-
optional :error_message, :string, 2
|
291
|
-
optional :error_detail_message, :string, 3
|
292
|
-
end
|
293
|
-
add_enum "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode" do
|
294
|
-
value :ERROR_CODE_UNSPECIFIED, 0
|
295
|
-
value :CONNECTION_FAILURE, 1
|
296
|
-
value :AUTHENTICATION_FAILURE, 2
|
297
|
-
value :INVALID_CONNECTION_PROFILE_CONFIG, 3
|
298
|
-
value :VERSION_INCOMPATIBILITY, 4
|
299
|
-
value :CONNECTION_PROFILE_TYPES_INCOMPATIBILITY, 5
|
300
|
-
value :NO_PGLOGICAL_INSTALLED, 7
|
301
|
-
value :PGLOGICAL_NODE_ALREADY_EXISTS, 8
|
302
|
-
value :INVALID_WAL_LEVEL, 9
|
303
|
-
value :INVALID_SHARED_PRELOAD_LIBRARY, 10
|
304
|
-
value :INSUFFICIENT_MAX_REPLICATION_SLOTS, 11
|
305
|
-
value :INSUFFICIENT_MAX_WAL_SENDERS, 12
|
306
|
-
value :INSUFFICIENT_MAX_WORKER_PROCESSES, 13
|
307
|
-
value :UNSUPPORTED_EXTENSIONS, 14
|
308
|
-
value :UNSUPPORTED_MIGRATION_TYPE, 15
|
309
|
-
value :INVALID_RDS_LOGICAL_REPLICATION, 16
|
310
|
-
value :UNSUPPORTED_GTID_MODE, 17
|
311
|
-
value :UNSUPPORTED_TABLE_DEFINITION, 18
|
312
|
-
value :UNSUPPORTED_DEFINER, 19
|
313
|
-
value :CANT_RESTART_RUNNING_MIGRATION, 21
|
314
|
-
value :TABLES_WITH_LIMITED_SUPPORT, 24
|
315
|
-
value :UNSUPPORTED_DATABASE_LOCALE, 25
|
316
|
-
value :UNSUPPORTED_DATABASE_FDW_CONFIG, 26
|
317
|
-
value :ERROR_RDBMS, 27
|
318
|
-
value :SOURCE_SIZE_EXCEEDS_THRESHOLD, 28
|
319
|
-
end
|
320
|
-
add_message "google.cloud.clouddms.v1.PrivateConnection" do
|
321
|
-
optional :name, :string, 1
|
322
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
323
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
324
|
-
map :labels, :string, :string, 4
|
325
|
-
optional :display_name, :string, 5
|
326
|
-
optional :state, :enum, 6, "google.cloud.clouddms.v1.PrivateConnection.State"
|
327
|
-
optional :error, :message, 7, "google.rpc.Status"
|
328
|
-
oneof :connectivity do
|
329
|
-
optional :vpc_peering_config, :message, 100, "google.cloud.clouddms.v1.VpcPeeringConfig"
|
330
|
-
end
|
331
|
-
end
|
332
|
-
add_enum "google.cloud.clouddms.v1.PrivateConnection.State" do
|
333
|
-
value :STATE_UNSPECIFIED, 0
|
334
|
-
value :CREATING, 1
|
335
|
-
value :CREATED, 2
|
336
|
-
value :FAILED, 3
|
337
|
-
value :DELETING, 4
|
338
|
-
value :FAILED_TO_DELETE, 5
|
339
|
-
value :DELETED, 6
|
340
|
-
end
|
341
|
-
add_message "google.cloud.clouddms.v1.VpcPeeringConfig" do
|
342
|
-
optional :vpc_name, :string, 1
|
343
|
-
optional :subnet, :string, 2
|
344
|
-
end
|
345
|
-
add_enum "google.cloud.clouddms.v1.NetworkArchitecture" do
|
346
|
-
value :NETWORK_ARCHITECTURE_UNSPECIFIED, 0
|
347
|
-
value :NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, 1
|
348
|
-
value :NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER, 2
|
349
|
-
end
|
350
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEngine" do
|
351
|
-
value :DATABASE_ENGINE_UNSPECIFIED, 0
|
352
|
-
value :MYSQL, 1
|
353
|
-
value :POSTGRESQL, 2
|
354
|
-
value :ORACLE, 4
|
355
|
-
end
|
356
|
-
add_enum "google.cloud.clouddms.v1.DatabaseProvider" do
|
357
|
-
value :DATABASE_PROVIDER_UNSPECIFIED, 0
|
358
|
-
value :CLOUDSQL, 1
|
359
|
-
value :RDS, 2
|
360
|
-
value :AURORA, 3
|
361
|
-
value :ALLOYDB, 4
|
14
|
+
|
15
|
+
descriptor_data = "\n1google/cloud/clouddms/v1/clouddms_resources.proto\x12\x18google.cloud.clouddms.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xee\x01\n\tSslConfig\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.cloud.clouddms.v1.SslConfig.SslTypeB\x03\xe0\x41\x03\x12\x17\n\nclient_key\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1f\n\x12\x63lient_certificate\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1e\n\x0e\x63\x61_certificate\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\"G\n\x07SslType\x12\x18\n\x14SSL_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSERVER_ONLY\x10\x01\x12\x11\n\rSERVER_CLIENT\x10\x02\"\xd2\x01\n\x16MySqlConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x30\n\x03ssl\x18\x06 \x01(\x0b\x32#.google.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\"\xf8\x03\n\x1bPostgreSqlConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x30\n\x03ssl\x18\x06 \x01(\x0b\x32#.google.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\x12P\n\x14network_architecture\x18\x08 \x01(\x0e\x32-.google.cloud.clouddms.v1.NetworkArchitectureB\x03\xe0\x41\x03\x12P\n\x16static_ip_connectivity\x18\x64 \x01(\x0b\x32..google.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12k\n$private_service_connect_connectivity\x18\x65 \x01(\x0b\x32;.google.cloud.clouddms.v1.PrivateServiceConnectConnectivityH\x00\x42\x0e\n\x0c\x63onnectivity\"\xc6\x03\n\x17OracleConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x61tabase_service\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12_\n\x1estatic_service_ip_connectivity\x18\x64 \x01(\x0b\x32\x35.google.cloud.clouddms.v1.StaticServiceIpConnectivityH\x00\x12Z\n\x18\x66orward_ssh_connectivity\x18\x65 \x01(\x0b\x32\x36.google.cloud.clouddms.v1.ForwardSshTunnelConnectivityH\x00\x12M\n\x14private_connectivity\x18\x66 \x01(\x0b\x32-.google.cloud.clouddms.v1.PrivateConnectivityH\x00\x42\x0e\n\x0c\x63onnectivity\"\xcd\x01\n\x19\x43loudSqlConnectionProfile\x12\x19\n\x0c\x63loud_sql_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x08settings\x18\x02 \x01(\x0b\x32*.google.cloud.clouddms.v1.CloudSqlSettingsB\x03\xe0\x41\x05\x12\x17\n\nprivate_ip\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tpublic_ip\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x61\x64\x64itional_public_ip\x18\x05 \x01(\tB\x03\xe0\x41\x03\"u\n\x18\x41lloyDbConnectionProfile\x12\x17\n\ncluster_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08settings\x18\x02 \x01(\x0b\x32).google.cloud.clouddms.v1.AlloyDbSettingsB\x03\xe0\x41\x05\"\x9b\x01\n\x0bSqlAclEntry\x12\r\n\x05value\x18\x01 \x01(\t\x12\x31\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x03ttl\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x00\x12\r\n\x05label\x18\x03 \x01(\tB\x0c\n\nexpiration\"\xed\x01\n\x0bSqlIpConfig\x12/\n\x0b\x65nable_ipv4\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0fprivate_network\x18\x02 \x01(\t\x12\x1f\n\x12\x61llocated_ip_range\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12/\n\x0brequire_ssl\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x42\n\x13\x61uthorized_networks\x18\x04 \x03(\x0b\x32%.google.cloud.clouddms.v1.SqlAclEntry\"\xf6\x0b\n\x10\x43loudSqlSettings\x12W\n\x10\x64\x61tabase_version\x18\x01 \x01(\x0e\x32=.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion\x12O\n\x0buser_labels\x18\x02 \x03(\x0b\x32:.google.cloud.clouddms.v1.CloudSqlSettings.UserLabelsEntry\x12\x0c\n\x04tier\x18\x03 \x01(\t\x12>\n\x19storage_auto_resize_limit\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Y\n\x11\x61\x63tivation_policy\x18\x05 \x01(\x0e\x32>.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy\x12\x38\n\tip_config\x18\x06 \x01(\x0b\x32%.google.cloud.clouddms.v1.SqlIpConfig\x12\x39\n\x15\x61uto_storage_increase\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12U\n\x0e\x64\x61tabase_flags\x18\x08 \x03(\x0b\x32=.google.cloud.clouddms.v1.CloudSqlSettings.DatabaseFlagsEntry\x12R\n\x0e\x64\x61ta_disk_type\x18\t \x01(\x0e\x32:.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType\x12\x36\n\x11\x64\x61ta_disk_size_gb\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x0c\n\x04zone\x18\x0b \x01(\t\x12\x1b\n\x0esecondary_zone\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\tsource_id\x18\x0c \x01(\t\x12\x1a\n\rroot_password\x18\r \x01(\tB\x03\xe0\x41\x04\x12\x1e\n\x11root_password_set\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\tcollation\x18\x0f \x01(\t\x12\x15\n\rcmek_key_name\x18\x10 \x01(\t\x12^\n\x11\x61vailability_type\x18\x11 \x01(\x0e\x32>.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityTypeB\x03\xe0\x41\x01\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x13SqlActivationPolicy\x12%\n!SQL_ACTIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02\"M\n\x0fSqlDataDiskType\x12\"\n\x1eSQL_DATA_DISK_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PD_SSD\x10\x01\x12\n\n\x06PD_HDD\x10\x02\"\xce\x01\n\x12SqlDatabaseVersion\x12$\n SQL_DATABASE_VERSION_UNSPECIFIED\x10\x00\x12\r\n\tMYSQL_5_6\x10\x01\x12\r\n\tMYSQL_5_7\x10\x02\x12\x10\n\x0cPOSTGRES_9_6\x10\x03\x12\x0f\n\x0bPOSTGRES_11\x10\x04\x12\x0f\n\x0bPOSTGRES_10\x10\x05\x12\r\n\tMYSQL_8_0\x10\x06\x12\x0f\n\x0bPOSTGRES_12\x10\x07\x12\x0f\n\x0bPOSTGRES_13\x10\x08\x12\x0f\n\x0bPOSTGRES_14\x10\x11\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\xb3\x08\n\x0f\x41lloyDbSettings\x12T\n\x0cinitial_user\x18\x01 \x01(\x0b\x32\x36.google.cloud.clouddms.v1.AlloyDbSettings.UserPasswordB\x06\xe0\x41\x02\xe0\x41\x04\x12\x18\n\x0bvpc_network\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.cloud.clouddms.v1.AlloyDbSettings.LabelsEntry\x12\x64\n\x19primary_instance_settings\x18\x04 \x01(\x0b\x32\x41.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings\x12Z\n\x11\x65ncryption_config\x18\x05 \x01(\x0b\x32:.google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfigB\x03\xe0\x41\x01\x1aI\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x19\n\x0cpassword_set\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x1a\x82\x04\n\x17PrimaryInstanceSettings\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12g\n\x0emachine_config\x18\x02 \x01(\x0b\x32O.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig\x12l\n\x0e\x64\x61tabase_flags\x18\x06 \x03(\x0b\x32T.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.DatabaseFlagsEntry\x12]\n\x06labels\x18\x07 \x03(\x0b\x32M.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.LabelsEntry\x12\x17\n\nprivate_ip\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14StaticIpConnectivity\"D\n!PrivateServiceConnectConnectivity\x12\x1f\n\x12service_attachment\x18\x01 \x01(\tB\x03\xe0\x41\x02\"[\n\x16ReverseSshConnectivity\x12\x12\n\x05vm_ip\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07vm_port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\n\n\x02vm\x18\x03 \x01(\t\x12\x0b\n\x03vpc\x18\x04 \x01(\t\"%\n\x16VpcPeeringConnectivity\x12\x0b\n\x03vpc\x18\x01 \x01(\t\"\xa8\x01\n\x1c\x46orwardSshTunnelConnectivity\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12\x17\n\x08password\x18\x64 \x01(\tB\x03\xe0\x41\x04H\x00\x12\x1a\n\x0bprivate_key\x18\x65 \x01(\tB\x03\xe0\x41\x04H\x00\x42\x17\n\x15\x61uthentication_method\"\x1d\n\x1bStaticServiceIpConnectivity\"6\n\x13PrivateConnectivity\x12\x1f\n\x12private_connection\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x86\x01\n\x0c\x44\x61tabaseType\x12<\n\x08provider\x18\x01 \x01(\x0e\x32*.google.cloud.clouddms.v1.DatabaseProvider\x12\x38\n\x06\x65ngine\x18\x02 \x01(\x0e\x32(.google.cloud.clouddms.v1.DatabaseEngine\"\xa5\x0f\n\x0cMigrationJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.clouddms.v1.MigrationJob.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12;\n\x05state\x18\x06 \x01(\x0e\x32,.google.cloud.clouddms.v1.MigrationJob.State\x12@\n\x05phase\x18\x07 \x01(\x0e\x32,.google.cloud.clouddms.v1.MigrationJob.PhaseB\x03\xe0\x41\x03\x12>\n\x04type\x18\x08 \x01(\x0e\x32+.google.cloud.clouddms.v1.MigrationJob.TypeB\x03\xe0\x41\x02\x12\x11\n\tdump_path\x18\t \x01(\t\x12\x44\n\ndump_flags\x18\x11 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.MigrationJob.DumpFlags\x12\x13\n\x06source\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65stination\x18\x0b \x01(\tB\x03\xe0\x41\x02\x12T\n\x18reverse_ssh_connectivity\x18\x65 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.ReverseSshConnectivityH\x00\x12T\n\x18vpc_peering_connectivity\x18\x66 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.VpcPeeringConnectivityH\x00\x12P\n\x16static_ip_connectivity\x18g \x01(\x0b\x32..google.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12\x30\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\r \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12?\n\x0fsource_database\x18\x0e \x01(\x0b\x32&.google.cloud.clouddms.v1.DatabaseType\x12\x44\n\x14\x64\x65stination_database\x18\x0f \x01(\x0b\x32&.google.cloud.clouddms.v1.DatabaseType\x12\x31\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x14\x63onversion_workspace\x18\x12 \x01(\x0b\x32\x31.google.cloud.clouddms.v1.ConversionWorkspaceInfo\x12\x0e\n\x06\x66ilter\x18\x14 \x01(\t\x12\x15\n\rcmek_key_name\x18\x15 \x01(\t\x1a\'\n\x08\x44umpFlag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aP\n\tDumpFlags\x12\x43\n\ndump_flags\x18\x01 \x03(\x0b\x32/.google.cloud.clouddms.v1.MigrationJob.DumpFlag\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf1\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMAINTENANCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0b\n\x07RUNNING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCOMPLETED\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0b\n\x07\x44\x45LETED\x10\x0b\x12\x0c\n\x08UPDATING\x10\x0c\x12\x0c\n\x08STARTING\x10\r\x12\x0e\n\nRESTARTING\x10\x0e\x12\x0c\n\x08RESUMING\x10\x0f\"\x8e\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_DUMP\x10\x01\x12\x07\n\x03\x43\x44\x43\x10\x02\x12\x17\n\x13PROMOTE_IN_PROGRESS\x10\x03\x12%\n!WAITING_FOR_SOURCE_WRITES_TO_STOP\x10\x04\x12\x16\n\x12PREPARING_THE_DUMP\x10\x05\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02:u\xea\x41r\n)datamigration.googleapis.com/MigrationJob\x12\x45projects/{project}/locations/{location}/migrationJobs/{migration_job}B\x0e\n\x0c\x63onnectivity\":\n\x17\x43onversionWorkspaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tcommit_id\x18\x02 \x01(\t\"\xbf\x08\n\x11\x43onnectionProfile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.clouddms.v1.ConnectionProfile.LabelsEntry\x12@\n\x05state\x18\x05 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.ConnectionProfile.State\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x41\n\x05mysql\x18\x64 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.MySqlConnectionProfileH\x00\x12K\n\npostgresql\x18\x65 \x01(\x0b\x32\x35.google.cloud.clouddms.v1.PostgreSqlConnectionProfileH\x00\x12\x43\n\x06oracle\x18h \x01(\x0b\x32\x31.google.cloud.clouddms.v1.OracleConnectionProfileH\x00\x12G\n\x08\x63loudsql\x18\x66 \x01(\x0b\x32\x33.google.cloud.clouddms.v1.CloudSqlConnectionProfileH\x00\x12\x45\n\x07\x61lloydb\x18i \x01(\x0b\x32\x32.google.cloud.clouddms.v1.AlloyDbConnectionProfileH\x00\x12&\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12<\n\x08provider\x18\x08 \x01(\x0e\x32*.google.cloud.clouddms.v1.DatabaseProvider\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07:\x85\x01\xea\x41\x81\x01\n.datamigration.googleapis.com/ConnectionProfile\x12Oprojects/{project}/locations/{location}/connectionProfiles/{connection_profile}B\x14\n\x12\x63onnection_profile\"\xeb\x07\n\x1dMigrationJobVerificationError\x12Z\n\nerror_code\x18\x01 \x01(\x0e\x32\x41.google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCodeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x65rror_detail_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xae\x06\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONNECTION_FAILURE\x10\x01\x12\x1a\n\x16\x41UTHENTICATION_FAILURE\x10\x02\x12%\n!INVALID_CONNECTION_PROFILE_CONFIG\x10\x03\x12\x1b\n\x17VERSION_INCOMPATIBILITY\x10\x04\x12,\n(CONNECTION_PROFILE_TYPES_INCOMPATIBILITY\x10\x05\x12\x1a\n\x16NO_PGLOGICAL_INSTALLED\x10\x07\x12!\n\x1dPGLOGICAL_NODE_ALREADY_EXISTS\x10\x08\x12\x15\n\x11INVALID_WAL_LEVEL\x10\t\x12\"\n\x1eINVALID_SHARED_PRELOAD_LIBRARY\x10\n\x12&\n\"INSUFFICIENT_MAX_REPLICATION_SLOTS\x10\x0b\x12 \n\x1cINSUFFICIENT_MAX_WAL_SENDERS\x10\x0c\x12%\n!INSUFFICIENT_MAX_WORKER_PROCESSES\x10\r\x12\x1a\n\x16UNSUPPORTED_EXTENSIONS\x10\x0e\x12\x1e\n\x1aUNSUPPORTED_MIGRATION_TYPE\x10\x0f\x12#\n\x1fINVALID_RDS_LOGICAL_REPLICATION\x10\x10\x12\x19\n\x15UNSUPPORTED_GTID_MODE\x10\x11\x12 \n\x1cUNSUPPORTED_TABLE_DEFINITION\x10\x12\x12\x17\n\x13UNSUPPORTED_DEFINER\x10\x13\x12\"\n\x1e\x43\x41NT_RESTART_RUNNING_MIGRATION\x10\x15\x12\x1f\n\x1bTABLES_WITH_LIMITED_SUPPORT\x10\x18\x12\x1f\n\x1bUNSUPPORTED_DATABASE_LOCALE\x10\x19\x12#\n\x1fUNSUPPORTED_DATABASE_FDW_CONFIG\x10\x1a\x12\x0f\n\x0b\x45RROR_RDBMS\x10\x1b\x12!\n\x1dSOURCE_SIZE_EXCEEDS_THRESHOLD\x10\x1c\"\xe4\x05\n\x11PrivateConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.clouddms.v1.PrivateConnection.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x45\n\x05state\x18\x06 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.PrivateConnection.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12H\n\x12vpc_peering_config\x18\x64 \x01(\x0b\x32*.google.cloud.clouddms.v1.VpcPeeringConfigH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x14\n\x10\x46\x41ILED_TO_DELETE\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06:\x85\x01\xea\x41\x81\x01\n.datamigration.googleapis.com/PrivateConnection\x12Oprojects/{project}/locations/{location}/privateConnections/{private_connection}B\x0e\n\x0c\x63onnectivity\"b\n\x10VpcPeeringConfig\x12\x39\n\x08vpc_name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ompute.googleapis.com/Networks\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x02*\x93\x01\n\x13NetworkArchitecture\x12$\n NETWORK_ARCHITECTURE_UNSPECIFIED\x10\x00\x12*\n&NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER\x10\x01\x12*\n&NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER\x10\x02*X\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02\x12\n\n\x06ORACLE\x10\x04*e\n\x10\x44\x61tabaseProvider\x12!\n\x1d\x44\x41TABASE_PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43LOUDSQL\x10\x01\x12\x07\n\x03RDS\x10\x02\x12\n\n\x06\x41URORA\x10\x03\x12\x0b\n\x07\x41LLOYDB\x10\x04\x42\x98\x02\n\x1c\x63om.google.cloud.clouddms.v1B\x16\x43louddmsResourcesProtoP\x01Z8cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb\xaa\x02\x18Google.Cloud.CloudDms.V1\xca\x02\x18Google\\Cloud\\CloudDms\\V1\xea\x02\x1bGoogle::Cloud::CloudDMS::V1\xea\x41O\n\x1f\x63ompute.googleapis.com/Networks\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
|
33
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
362
39
|
end
|
363
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
364
43
|
end
|
365
44
|
|
366
45
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/clouddms/v1/conversionworkspace_resources.proto
|
3
4
|
|
@@ -9,210 +10,33 @@ require 'google/cloud/clouddms/v1/clouddms_resources_pb'
|
|
9
10
|
require 'google/protobuf/struct_pb'
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
11
12
|
|
12
|
-
|
13
|
-
add_file("google/cloud/clouddms/v1/conversionworkspace_resources.proto", :syntax => :proto3) do
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
optional :completion_state, :enum, 5, "google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState"
|
36
|
-
optional :completion_comment, :string, 6
|
37
|
-
optional :request_autocommit, :bool, 7
|
38
|
-
oneof :job_details do
|
39
|
-
optional :seed_job_details, :message, 100, "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails"
|
40
|
-
optional :import_rules_job_details, :message, 101, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails"
|
41
|
-
optional :convert_job_details, :message, 102, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails"
|
42
|
-
optional :apply_job_details, :message, 103, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails"
|
43
|
-
end
|
44
|
-
end
|
45
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails" do
|
46
|
-
optional :connection_profile, :string, 1
|
47
|
-
end
|
48
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails" do
|
49
|
-
repeated :files, :string, 1
|
50
|
-
optional :file_format, :enum, 2, "google.cloud.clouddms.v1.ImportRulesFileFormat"
|
51
|
-
end
|
52
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails" do
|
53
|
-
optional :filter, :string, 1
|
54
|
-
end
|
55
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails" do
|
56
|
-
optional :connection_profile, :string, 1
|
57
|
-
optional :filter, :string, 2
|
58
|
-
end
|
59
|
-
add_enum "google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState" do
|
60
|
-
value :JOB_COMPLETION_STATE_UNSPECIFIED, 0
|
61
|
-
value :SUCCEEDED, 1
|
62
|
-
value :FAILED, 2
|
63
|
-
end
|
64
|
-
add_message "google.cloud.clouddms.v1.DatabaseEntity" do
|
65
|
-
optional :short_name, :string, 1
|
66
|
-
optional :parent_entity, :string, 2
|
67
|
-
optional :tree, :enum, 3, "google.cloud.clouddms.v1.DatabaseEntity.TreeType"
|
68
|
-
optional :entity_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
|
69
|
-
repeated :mappings, :message, 5, "google.cloud.clouddms.v1.EntityMapping"
|
70
|
-
oneof :entity_body do
|
71
|
-
optional :schema, :message, 102, "google.cloud.clouddms.v1.SchemaEntity"
|
72
|
-
optional :table, :message, 103, "google.cloud.clouddms.v1.TableEntity"
|
73
|
-
optional :view, :message, 104, "google.cloud.clouddms.v1.ViewEntity"
|
74
|
-
optional :sequence, :message, 105, "google.cloud.clouddms.v1.SequenceEntity"
|
75
|
-
optional :stored_procedure, :message, 106, "google.cloud.clouddms.v1.StoredProcedureEntity"
|
76
|
-
optional :database_function, :message, 107, "google.cloud.clouddms.v1.FunctionEntity"
|
77
|
-
optional :synonym, :message, 108, "google.cloud.clouddms.v1.SynonymEntity"
|
78
|
-
optional :database_package, :message, 109, "google.cloud.clouddms.v1.PackageEntity"
|
79
|
-
end
|
80
|
-
end
|
81
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEntity.TreeType" do
|
82
|
-
value :TREE_TYPE_UNSPECIFIED, 0
|
83
|
-
value :SOURCE, 1
|
84
|
-
value :DRAFT, 2
|
85
|
-
value :DESTINATION, 3
|
86
|
-
end
|
87
|
-
add_message "google.cloud.clouddms.v1.SchemaEntity" do
|
88
|
-
optional :custom_features, :message, 1, "google.protobuf.Struct"
|
89
|
-
end
|
90
|
-
add_message "google.cloud.clouddms.v1.TableEntity" do
|
91
|
-
repeated :columns, :message, 1, "google.cloud.clouddms.v1.ColumnEntity"
|
92
|
-
repeated :constraints, :message, 2, "google.cloud.clouddms.v1.ConstraintEntity"
|
93
|
-
repeated :indices, :message, 3, "google.cloud.clouddms.v1.IndexEntity"
|
94
|
-
repeated :triggers, :message, 4, "google.cloud.clouddms.v1.TriggerEntity"
|
95
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
96
|
-
optional :comment, :string, 6
|
97
|
-
end
|
98
|
-
add_message "google.cloud.clouddms.v1.ColumnEntity" do
|
99
|
-
optional :name, :string, 1
|
100
|
-
optional :data_type, :string, 2
|
101
|
-
optional :charset, :string, 3
|
102
|
-
optional :collation, :string, 4
|
103
|
-
optional :length, :int64, 5
|
104
|
-
optional :precision, :int32, 6
|
105
|
-
optional :scale, :int32, 7
|
106
|
-
optional :fractional_seconds_precision, :int32, 8
|
107
|
-
optional :array, :bool, 9
|
108
|
-
optional :array_length, :int32, 10
|
109
|
-
optional :nullable, :bool, 11
|
110
|
-
optional :auto_generated, :bool, 12
|
111
|
-
optional :udt, :bool, 13
|
112
|
-
optional :custom_features, :message, 14, "google.protobuf.Struct"
|
113
|
-
repeated :set_values, :string, 15
|
114
|
-
optional :comment, :string, 16
|
115
|
-
optional :ordinal_position, :int32, 17
|
116
|
-
optional :default_value, :string, 18
|
117
|
-
end
|
118
|
-
add_message "google.cloud.clouddms.v1.ConstraintEntity" do
|
119
|
-
optional :name, :string, 1
|
120
|
-
optional :type, :string, 2
|
121
|
-
repeated :table_columns, :string, 3
|
122
|
-
optional :custom_features, :message, 4, "google.protobuf.Struct"
|
123
|
-
repeated :reference_columns, :string, 5
|
124
|
-
optional :reference_table, :string, 6
|
125
|
-
optional :table_name, :string, 7
|
126
|
-
end
|
127
|
-
add_message "google.cloud.clouddms.v1.IndexEntity" do
|
128
|
-
optional :name, :string, 1
|
129
|
-
optional :type, :string, 2
|
130
|
-
repeated :table_columns, :string, 3
|
131
|
-
optional :unique, :bool, 4
|
132
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
133
|
-
end
|
134
|
-
add_message "google.cloud.clouddms.v1.TriggerEntity" do
|
135
|
-
optional :name, :string, 1
|
136
|
-
repeated :triggering_events, :string, 2
|
137
|
-
optional :trigger_type, :string, 3
|
138
|
-
optional :sql_code, :string, 4
|
139
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
140
|
-
end
|
141
|
-
add_message "google.cloud.clouddms.v1.ViewEntity" do
|
142
|
-
optional :sql_code, :string, 1
|
143
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
144
|
-
repeated :constraints, :message, 3, "google.cloud.clouddms.v1.ConstraintEntity"
|
145
|
-
end
|
146
|
-
add_message "google.cloud.clouddms.v1.SequenceEntity" do
|
147
|
-
optional :increment, :int64, 1
|
148
|
-
optional :start_value, :bytes, 2
|
149
|
-
optional :max_value, :bytes, 3
|
150
|
-
optional :min_value, :bytes, 4
|
151
|
-
optional :cycle, :bool, 5
|
152
|
-
optional :cache, :int64, 6
|
153
|
-
optional :custom_features, :message, 7, "google.protobuf.Struct"
|
154
|
-
end
|
155
|
-
add_message "google.cloud.clouddms.v1.StoredProcedureEntity" do
|
156
|
-
optional :sql_code, :string, 1
|
157
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
158
|
-
end
|
159
|
-
add_message "google.cloud.clouddms.v1.FunctionEntity" do
|
160
|
-
optional :sql_code, :string, 1
|
161
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
162
|
-
end
|
163
|
-
add_message "google.cloud.clouddms.v1.SynonymEntity" do
|
164
|
-
optional :source_entity, :string, 1
|
165
|
-
optional :source_type, :enum, 2, "google.cloud.clouddms.v1.DatabaseEntityType"
|
166
|
-
optional :custom_features, :message, 3, "google.protobuf.Struct"
|
167
|
-
end
|
168
|
-
add_message "google.cloud.clouddms.v1.PackageEntity" do
|
169
|
-
optional :package_sql_code, :string, 1
|
170
|
-
optional :package_body, :string, 2
|
171
|
-
optional :custom_features, :message, 3, "google.protobuf.Struct"
|
172
|
-
end
|
173
|
-
add_message "google.cloud.clouddms.v1.EntityMapping" do
|
174
|
-
optional :source_entity, :string, 1
|
175
|
-
optional :draft_entity, :string, 2
|
176
|
-
optional :source_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
|
177
|
-
optional :draft_type, :enum, 5, "google.cloud.clouddms.v1.DatabaseEntityType"
|
178
|
-
repeated :mapping_log, :message, 3, "google.cloud.clouddms.v1.EntityMappingLogEntry"
|
179
|
-
end
|
180
|
-
add_message "google.cloud.clouddms.v1.EntityMappingLogEntry" do
|
181
|
-
optional :rule_id, :string, 1
|
182
|
-
optional :rule_revision_id, :string, 2
|
183
|
-
optional :mapping_comment, :string, 3
|
184
|
-
end
|
185
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEntityType" do
|
186
|
-
value :DATABASE_ENTITY_TYPE_UNSPECIFIED, 0
|
187
|
-
value :DATABASE_ENTITY_TYPE_SCHEMA, 1
|
188
|
-
value :DATABASE_ENTITY_TYPE_TABLE, 2
|
189
|
-
value :DATABASE_ENTITY_TYPE_COLUMN, 3
|
190
|
-
value :DATABASE_ENTITY_TYPE_CONSTRAINT, 4
|
191
|
-
value :DATABASE_ENTITY_TYPE_INDEX, 5
|
192
|
-
value :DATABASE_ENTITY_TYPE_TRIGGER, 6
|
193
|
-
value :DATABASE_ENTITY_TYPE_VIEW, 7
|
194
|
-
value :DATABASE_ENTITY_TYPE_SEQUENCE, 8
|
195
|
-
value :DATABASE_ENTITY_TYPE_STORED_PROCEDURE, 9
|
196
|
-
value :DATABASE_ENTITY_TYPE_FUNCTION, 10
|
197
|
-
value :DATABASE_ENTITY_TYPE_SYNONYM, 11
|
198
|
-
value :DATABASE_ENTITY_TYPE_DATABASE_PACKAGE, 12
|
199
|
-
value :DATABASE_ENTITY_TYPE_UDT, 13
|
200
|
-
value :DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW, 14
|
201
|
-
value :DATABASE_ENTITY_TYPE_DATABASE, 15
|
202
|
-
end
|
203
|
-
add_enum "google.cloud.clouddms.v1.BackgroundJobType" do
|
204
|
-
value :BACKGROUND_JOB_TYPE_UNSPECIFIED, 0
|
205
|
-
value :BACKGROUND_JOB_TYPE_SOURCE_SEED, 1
|
206
|
-
value :BACKGROUND_JOB_TYPE_CONVERT, 2
|
207
|
-
value :BACKGROUND_JOB_TYPE_APPLY_DESTINATION, 3
|
208
|
-
value :BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE, 5
|
209
|
-
end
|
210
|
-
add_enum "google.cloud.clouddms.v1.ImportRulesFileFormat" do
|
211
|
-
value :IMPORT_RULES_FILE_FORMAT_UNSPECIFIED, 0
|
212
|
-
value :IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE, 1
|
213
|
-
value :IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE, 2
|
13
|
+
|
14
|
+
descriptor_data = "\n<google/cloud/clouddms/v1/conversionworkspace_resources.proto\x12\x18google.cloud.clouddms.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/clouddms/v1/clouddms_resources.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x12\x44\x61tabaseEngineInfo\x12=\n\x06\x65ngine\x18\x01 \x01(\x0e\x32(.google.cloud.clouddms.v1.DatabaseEngineB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xd3\x05\n\x13\x43onversionWorkspace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06source\x18\x02 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12\x46\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12Z\n\x0fglobal_settings\x18\x04 \x03(\x0b\x32\x41.google.cloud.clouddms.v1.ConversionWorkspace.GlobalSettingsEntry\x12$\n\x17has_uncommitted_changes\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10latest_commit_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12;\n\x12latest_commit_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x1a\x35\n\x13GlobalSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8b\x01\xea\x41\x87\x01\n0datamigration.googleapis.com/ConversionWorkspace\x12Sprojects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}\"\xc6\x08\n\x15\x42\x61\x63kgroundJobLogEntry\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x08job_type\x18\x02 \x01(\x0e\x32+.google.cloud.clouddms.v1.BackgroundJobType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x10\x63ompletion_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState\x12\x1a\n\x12\x63ompletion_comment\x18\x06 \x01(\t\x12\x1a\n\x12request_autocommit\x18\x07 \x01(\x08\x12Z\n\x10seed_job_details\x18\x64 \x01(\x0b\x32>.google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetailsH\x00\x12i\n\x18import_rules_job_details\x18\x65 \x01(\x0b\x32\x45.google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetailsH\x00\x12`\n\x13\x63onvert_job_details\x18\x66 \x01(\x0b\x32\x41.google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetailsH\x00\x12\\\n\x11\x61pply_job_details\x18g \x01(\x0b\x32?.google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetailsH\x00\x1a,\n\x0eSeedJobDetails\x12\x1a\n\x12\x63onnection_profile\x18\x01 \x01(\t\x1al\n\x15ImportRulesJobDetails\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x44\n\x0b\x66ile_format\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.ImportRulesFileFormat\x1a#\n\x11\x43onvertJobDetails\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x1a=\n\x0f\x41pplyJobDetails\x12\x1a\n\x12\x63onnection_profile\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"U\n\x12JobCompletionState\x12$\n JOB_COMPLETION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\r\n\x0bjob_details\"\xd3\x06\n\x0e\x44\x61tabaseEntity\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x15\n\rparent_entity\x18\x02 \x01(\t\x12?\n\x04tree\x18\x03 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.DatabaseEntity.TreeType\x12\x41\n\x0b\x65ntity_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x39\n\x08mappings\x18\x05 \x03(\x0b\x32\'.google.cloud.clouddms.v1.EntityMapping\x12\x38\n\x06schema\x18\x66 \x01(\x0b\x32&.google.cloud.clouddms.v1.SchemaEntityH\x00\x12\x36\n\x05table\x18g \x01(\x0b\x32%.google.cloud.clouddms.v1.TableEntityH\x00\x12\x34\n\x04view\x18h \x01(\x0b\x32$.google.cloud.clouddms.v1.ViewEntityH\x00\x12<\n\x08sequence\x18i \x01(\x0b\x32(.google.cloud.clouddms.v1.SequenceEntityH\x00\x12K\n\x10stored_procedure\x18j \x01(\x0b\x32/.google.cloud.clouddms.v1.StoredProcedureEntityH\x00\x12\x45\n\x11\x64\x61tabase_function\x18k \x01(\x0b\x32(.google.cloud.clouddms.v1.FunctionEntityH\x00\x12:\n\x07synonym\x18l \x01(\x0b\x32\'.google.cloud.clouddms.v1.SynonymEntityH\x00\x12\x43\n\x10\x64\x61tabase_package\x18m \x01(\x0b\x32\'.google.cloud.clouddms.v1.PackageEntityH\x00\"M\n\x08TreeType\x12\x19\n\x15TREE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0f\n\x0b\x44\x45STINATION\x10\x03\x42\r\n\x0b\x65ntity_body\"@\n\x0cSchemaEntity\x12\x30\n\x0f\x63ustom_features\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xbd\x02\n\x0bTableEntity\x12\x37\n\x07\x63olumns\x18\x01 \x03(\x0b\x32&.google.cloud.clouddms.v1.ColumnEntity\x12?\n\x0b\x63onstraints\x18\x02 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\x12\x36\n\x07indices\x18\x03 \x03(\x0b\x32%.google.cloud.clouddms.v1.IndexEntity\x12\x39\n\x08triggers\x18\x04 \x03(\x0b\x32\'.google.cloud.clouddms.v1.TriggerEntity\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x63omment\x18\x06 \x01(\t\"\x8f\x03\n\x0c\x43olumnEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0f\n\x07\x63harset\x18\x03 \x01(\t\x12\x11\n\tcollation\x18\x04 \x01(\t\x12\x0e\n\x06length\x18\x05 \x01(\x03\x12\x11\n\tprecision\x18\x06 \x01(\x05\x12\r\n\x05scale\x18\x07 \x01(\x05\x12$\n\x1c\x66ractional_seconds_precision\x18\x08 \x01(\x05\x12\r\n\x05\x61rray\x18\t \x01(\x08\x12\x14\n\x0c\x61rray_length\x18\n \x01(\x05\x12\x10\n\x08nullable\x18\x0b \x01(\x08\x12\x16\n\x0e\x61uto_generated\x18\x0c \x01(\x08\x12\x0b\n\x03udt\x18\r \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nset_values\x18\x0f \x03(\t\x12\x0f\n\x07\x63omment\x18\x10 \x01(\t\x12\x18\n\x10ordinal_position\x18\x11 \x01(\x05\x12\x15\n\rdefault_value\x18\x12 \x01(\t\"\xbf\x01\n\x10\x43onstraintEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x30\n\x0f\x63ustom_features\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x19\n\x11reference_columns\x18\x05 \x03(\t\x12\x17\n\x0freference_table\x18\x06 \x01(\t\x12\x12\n\ntable_name\x18\x07 \x01(\t\"\x82\x01\n\x0bIndexEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x0e\n\x06unique\x18\x04 \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x92\x01\n\rTriggerEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11triggering_events\x18\x02 \x03(\t\x12\x14\n\x0ctrigger_type\x18\x03 \x01(\t\x12\x10\n\x08sql_code\x18\x04 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x91\x01\n\nViewEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12?\n\x0b\x63onstraints\x18\x03 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\"\xae\x01\n\x0eSequenceEntity\x12\x11\n\tincrement\x18\x01 \x01(\x03\x12\x13\n\x0bstart_value\x18\x02 \x01(\x0c\x12\x11\n\tmax_value\x18\x03 \x01(\x0c\x12\x11\n\tmin_value\x18\x04 \x01(\x0c\x12\r\n\x05\x63ycle\x18\x05 \x01(\x08\x12\r\n\x05\x63\x61\x63he\x18\x06 \x01(\x03\x12\x30\n\x0f\x63ustom_features\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"[\n\x15StoredProcedureEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"T\n\x0e\x46unctionEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x9b\x01\n\rSynonymEntity\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x41\n\x0bsource_type\x18\x02 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"q\n\rPackageEntity\x12\x18\n\x10package_sql_code\x18\x01 \x01(\t\x12\x14\n\x0cpackage_body\x18\x02 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x87\x02\n\rEntityMapping\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x14\n\x0c\x64raft_entity\x18\x02 \x01(\t\x12\x41\n\x0bsource_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12@\n\ndraft_type\x18\x05 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x44\n\x0bmapping_log\x18\x03 \x03(\x0b\x32/.google.cloud.clouddms.v1.EntityMappingLogEntry\"[\n\x15\x45ntityMappingLogEntry\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x18\n\x10rule_revision_id\x18\x02 \x01(\t\x12\x17\n\x0fmapping_comment\x18\x03 \x01(\t*\xcd\x04\n\x12\x44\x61tabaseEntityType\x12$\n DATABASE_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_SCHEMA\x10\x01\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_TABLE\x10\x02\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_COLUMN\x10\x03\x12#\n\x1f\x44\x41TABASE_ENTITY_TYPE_CONSTRAINT\x10\x04\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_INDEX\x10\x05\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_TRIGGER\x10\x06\x12\x1d\n\x19\x44\x41TABASE_ENTITY_TYPE_VIEW\x10\x07\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_SEQUENCE\x10\x08\x12)\n%DATABASE_ENTITY_TYPE_STORED_PROCEDURE\x10\t\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_FUNCTION\x10\n\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_SYNONYM\x10\x0b\x12)\n%DATABASE_ENTITY_TYPE_DATABASE_PACKAGE\x10\x0c\x12\x1c\n\x18\x44\x41TABASE_ENTITY_TYPE_UDT\x10\r\x12*\n&DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW\x10\x0e\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_DATABASE\x10\x0f*\xd4\x01\n\x11\x42\x61\x63kgroundJobType\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_SOURCE_SEED\x10\x01\x12\x1f\n\x1b\x42\x41\x43KGROUND_JOB_TYPE_CONVERT\x10\x02\x12)\n%BACKGROUND_JOB_TYPE_APPLY_DESTINATION\x10\x03\x12)\n%BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE\x10\x05*\xad\x01\n\x15ImportRulesFileFormat\x12(\n$IMPORT_RULES_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x38\n4IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE\x10\x01\x12\x30\n,IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE\x10\x02\x42\xd1\x01\n\x1c\x63om.google.cloud.clouddms.v1B!ConversionWorkspaceResourcesProtoP\x01Z8cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb\xaa\x02\x18Google.Cloud.CloudDms.V1\xca\x02\x18Google\\Cloud\\CloudDms\\V1\xea\x02\x1bGoogle::Cloud::CloudDMS::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
31
|
+
]
|
32
|
+
imports.each do |type_name, expected_filename|
|
33
|
+
import_file = pool.lookup(type_name).file_descriptor
|
34
|
+
if import_file.name != expected_filename
|
35
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
214
36
|
end
|
215
37
|
end
|
38
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
39
|
+
warn "This will become an error in the next major version."
|
216
40
|
end
|
217
41
|
|
218
42
|
module Google
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-cloud_dms-v1
|
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: 2023-
|
11
|
+
date: 2023-06-06 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.19.1
|
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.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|