google-cloud-cloud_dms-v1 0.3.0 → 0.5.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 +582 -30
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/operations.rb +3 -1
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/paths.rb +21 -0
- data/lib/google/cloud/cloud_dms/v1/version.rb +1 -1
- data/lib/google/cloud/clouddms/v1/clouddms_pb.rb +37 -250
- data/lib/google/cloud/clouddms/v1/clouddms_resources_pb.rb +31 -349
- data/lib/google/cloud/clouddms/v1/clouddms_services_pb.rb +11 -0
- data/lib/google/cloud/clouddms/v1/conversionworkspace_resources_pb.rb +63 -202
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/clouddms/v1/clouddms.rb +214 -25
- data/proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb +65 -2
- data/proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb +807 -29
- 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 +5 -5
@@ -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
|
@@ -79,6 +79,27 @@ module Google
|
|
79
79
|
"projects/#{project}/locations/#{location}"
|
80
80
|
end
|
81
81
|
|
82
|
+
##
|
83
|
+
# Create a fully-qualified MappingRule resource string.
|
84
|
+
#
|
85
|
+
# The resource will be in the following format:
|
86
|
+
#
|
87
|
+
# `projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}/mappingRules/{mapping_rule}`
|
88
|
+
#
|
89
|
+
# @param project [String]
|
90
|
+
# @param location [String]
|
91
|
+
# @param conversion_workspace [String]
|
92
|
+
# @param mapping_rule [String]
|
93
|
+
#
|
94
|
+
# @return [::String]
|
95
|
+
def mapping_rule_path project:, location:, conversion_workspace:, mapping_rule:
|
96
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
97
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
98
|
+
raise ::ArgumentError, "conversion_workspace cannot contain /" if conversion_workspace.to_s.include? "/"
|
99
|
+
|
100
|
+
"projects/#{project}/locations/#{location}/conversionWorkspaces/#{conversion_workspace}/mappingRules/#{mapping_rule}"
|
101
|
+
end
|
102
|
+
|
82
103
|
##
|
83
104
|
# Create a fully-qualified MigrationJob resource string.
|
84
105
|
#
|
@@ -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
|
|
@@ -10,261 +11,39 @@ require 'google/api/resource_pb'
|
|
10
11
|
require 'google/cloud/clouddms/v1/clouddms_resources_pb'
|
11
12
|
require 'google/cloud/clouddms/v1/conversionworkspace_resources_pb'
|
12
13
|
require 'google/longrunning/operations_pb'
|
14
|
+
require 'google/protobuf/empty_pb'
|
13
15
|
require 'google/protobuf/field_mask_pb'
|
14
16
|
require 'google/protobuf/timestamp_pb'
|
15
17
|
|
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
|
18
|
+
|
19
|
+
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\x1bgoogle/protobuf/empty.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\"\xda\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\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\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\"v\n\x18StartMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x1c\n\x0fskip_validation\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"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\"\xd3\x01\n\x19VerifyMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x42\n\rmigration_job\x18\x03 \x01(\x0b\x32&.google.cloud.clouddms.v1.MigrationJobB\x03\xe0\x41\x01\"x\n\x1aRestartMigrationJobRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x1c\n\x0fskip_validation\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\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\"\xc8\x01\n\x1dGenerateTcpProxyScriptRequest\x12\x45\n\rmigration_job\x18\x01 \x01(\tB.\xfa\x41+\n)datamigration.googleapis.com/MigrationJob\x12\x14\n\x07vm_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fvm_machine_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07vm_zone\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tvm_subnet\x18\x05 \x01(\tB\x03\xe0\x41\x02\" \n\x0eTcpProxyScript\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\x12.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\"\x8d\x01\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\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\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\"\xdb\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\x14\n\x07\x64ry_run\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x61uto_commit\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x12\x63onnection_profile\x18\x64 \x01(\tB\x03\xe0\x41\x01H\x00\x42\r\n\x0b\x64\x65stination\"\x8a\x01\n\x17ListMappingRulesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x18ListMappingRulesResponse\x12<\n\rmapping_rules\x18\x01 \x03(\x0b\x32%.google.cloud.clouddms.v1.MappingRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x15GetMappingRuleRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(datamigration.googleapis.com/MappingRule\"\xe0\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(\tB\x03\xe0\x41\x01H\x00\x12-\n\x1e\x64\x65stination_connection_profile\x18\x65 \x01(\tB\x03\xe0\x41\x01H\x00\x42\x0b\n\tseed_from\"\xb7\x01\n!ConvertConversionWorkspaceRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12\x18\n\x0b\x61uto_commit\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onvert_full_path\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xf1\x02\n\x19ImportMappingRulesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0datamigration.googleapis.com/ConversionWorkspace\x12J\n\x0crules_format\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.ImportRulesFileFormatB\x03\xe0\x41\x02\x12W\n\x0brules_files\x18\x03 \x03(\x0b\x32=.google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFileB\x03\xe0\x41\x02\x12\x18\n\x0b\x61uto_commit\x18\x06 \x01(\x08\x42\x03\xe0\x41\x02\x1aK\n\tRulesFile\x12\"\n\x15rules_source_filename\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rrules_content\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xee\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\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12W\n\x04tree\x18\x06 \x01(\x0e\x32\x44.google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeTypeB\x03\xe0\x41\x02\x12\x18\n\x0buncommitted\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\tcommit_id\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\r \x01(\tB\x03\xe0\x41\x01\x12?\n\x04view\x18\x0e \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityViewB\x03\xe0\x41\x01\"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\"\xd0\x01\n\x18\x43reateMappingRuleRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(datamigration.googleapis.com/MappingRule\x12\x1c\n\x0fmapping_rule_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0cmapping_rule\x18\x03 \x01(\x0b\x32%.google.cloud.clouddms.v1.MappingRuleB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"s\n\x18\x44\x65leteMappingRuleRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(datamigration.googleapis.com/MappingRule\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"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(\t*\xa0\x01\n\x12\x44\x61tabaseEntityView\x12$\n DATABASE_ENTITY_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_VIEW_BASIC\x10\x01\x12\x1d\n\x19\x44\x41TABASE_ENTITY_VIEW_FULL\x10\x02\x12%\n!DATABASE_ENTITY_VIEW_ROOT_SUMMARY\x10\x03\x32\x8fK\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\xd9\x01\n\x16GenerateTcpProxyScript\x12\x37.google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest\x1a(.google.cloud.clouddms.v1.TcpProxyScript\"\\\x82\xd3\xe4\x93\x02V\"Q/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateTcpProxyScript:\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\xf4\x01\n\x11\x43reateMappingRule\x12\x32.google.cloud.clouddms.v1.CreateMappingRuleRequest\x1a%.google.cloud.clouddms.v1.MappingRule\"\x83\x01\x82\xd3\xe4\x93\x02W\"G/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules:\x0cmapping_rule\xda\x41#parent,mapping_rule,mapping_rule_id\x12\xb7\x01\n\x11\x44\x65leteMappingRule\x12\x32.google.cloud.clouddms.v1.DeleteMappingRuleRequest\x1a\x16.google.protobuf.Empty\"V\x82\xd3\xe4\x93\x02I*G/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}\xda\x41\x04name\x12\xd3\x01\n\x10ListMappingRules\x12\x31.google.cloud.clouddms.v1.ListMappingRulesRequest\x1a\x32.google.cloud.clouddms.v1.ListMappingRulesResponse\"X\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules\xda\x41\x06parent\x12\xc0\x01\n\x0eGetMappingRule\x12/.google.cloud.clouddms.v1.GetMappingRuleRequest\x1a%.google.cloud.clouddms.v1.MappingRule\"V\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}\xda\x41\x04name\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"
|
20
|
+
|
21
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
|
+
|
23
|
+
begin
|
24
|
+
pool.add_serialized_file(descriptor_data)
|
25
|
+
rescue TypeError => e
|
26
|
+
# Compatibility code: will be removed in the next major version.
|
27
|
+
require 'google/protobuf/descriptor_pb'
|
28
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
29
|
+
parsed.clear_dependency
|
30
|
+
serialized = parsed.class.encode(parsed)
|
31
|
+
file = pool.add_serialized_file(serialized)
|
32
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
33
|
+
imports = [
|
34
|
+
["google.cloud.clouddms.v1.MigrationJob", "google/cloud/clouddms/v1/clouddms_resources.proto"],
|
35
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
36
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
37
|
+
["google.cloud.clouddms.v1.ConversionWorkspace", "google/cloud/clouddms/v1/conversionworkspace_resources.proto"],
|
38
|
+
]
|
39
|
+
imports.each do |type_name, expected_filename|
|
40
|
+
import_file = pool.lookup(type_name).file_descriptor
|
41
|
+
if import_file.name != expected_filename
|
42
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
266
43
|
end
|
267
44
|
end
|
45
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
46
|
+
warn "This will become an error in the next major version."
|
268
47
|
end
|
269
48
|
|
270
49
|
module Google
|
@@ -287,6 +66,8 @@ module Google
|
|
287
66
|
VmCreationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VmCreationConfig").msgclass
|
288
67
|
VmSelectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VmSelectionConfig").msgclass
|
289
68
|
SshScript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SshScript").msgclass
|
69
|
+
GenerateTcpProxyScriptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest").msgclass
|
70
|
+
TcpProxyScript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TcpProxyScript").msgclass
|
290
71
|
ListConnectionProfilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ListConnectionProfilesRequest").msgclass
|
291
72
|
ListConnectionProfilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ListConnectionProfilesResponse").msgclass
|
292
73
|
GetConnectionProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.GetConnectionProfileRequest").msgclass
|
@@ -308,6 +89,9 @@ module Google
|
|
308
89
|
CommitConversionWorkspaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CommitConversionWorkspaceRequest").msgclass
|
309
90
|
RollbackConversionWorkspaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.RollbackConversionWorkspaceRequest").msgclass
|
310
91
|
ApplyConversionWorkspaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest").msgclass
|
92
|
+
ListMappingRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ListMappingRulesRequest").msgclass
|
93
|
+
ListMappingRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ListMappingRulesResponse").msgclass
|
94
|
+
GetMappingRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.GetMappingRuleRequest").msgclass
|
311
95
|
SeedConversionWorkspaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SeedConversionWorkspaceRequest").msgclass
|
312
96
|
ConvertConversionWorkspaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConvertConversionWorkspaceRequest").msgclass
|
313
97
|
ImportMappingRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ImportMappingRulesRequest").msgclass
|
@@ -319,8 +103,11 @@ module Google
|
|
319
103
|
SearchBackgroundJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SearchBackgroundJobsResponse").msgclass
|
320
104
|
DescribeConversionWorkspaceRevisionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsRequest").msgclass
|
321
105
|
DescribeConversionWorkspaceRevisionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsResponse").msgclass
|
106
|
+
CreateMappingRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CreateMappingRuleRequest").msgclass
|
107
|
+
DeleteMappingRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DeleteMappingRuleRequest").msgclass
|
322
108
|
FetchStaticIpsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FetchStaticIpsRequest").msgclass
|
323
109
|
FetchStaticIpsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FetchStaticIpsResponse").msgclass
|
110
|
+
DatabaseEntityView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntityView").enummodule
|
324
111
|
end
|
325
112
|
end
|
326
113
|
end
|