| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package clouddms aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/clouddms/apiv1/clouddmspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package clouddms |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/clouddms/apiv1/clouddmspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 31 |
const ( |
| 32 |
CloudSqlSettings_ALWAYS = src.CloudSqlSettings_ALWAYS |
| 33 |
CloudSqlSettings_MYSQL_5_6 = src.CloudSqlSettings_MYSQL_5_6 |
| 34 |
CloudSqlSettings_MYSQL_5_7 = src.CloudSqlSettings_MYSQL_5_7 |
| 35 |
CloudSqlSettings_MYSQL_8_0 = src.CloudSqlSettings_MYSQL_8_0 |
| 36 |
CloudSqlSettings_NEVER = src.CloudSqlSettings_NEVER |
| 37 |
CloudSqlSettings_PD_HDD = src.CloudSqlSettings_PD_HDD |
| 38 |
CloudSqlSettings_PD_SSD = src.CloudSqlSettings_PD_SSD |
| 39 |
CloudSqlSettings_POSTGRES_10 = src.CloudSqlSettings_POSTGRES_10 |
| 40 |
CloudSqlSettings_POSTGRES_11 = src.CloudSqlSettings_POSTGRES_11 |
| 41 |
CloudSqlSettings_POSTGRES_12 = src.CloudSqlSettings_POSTGRES_12 |
| 42 |
CloudSqlSettings_POSTGRES_13 = src.CloudSqlSettings_POSTGRES_13 |
| 43 |
CloudSqlSettings_POSTGRES_9_6 = src.CloudSqlSettings_POSTGRES_9_6 |
| 44 |
CloudSqlSettings_SQL_ACTIVATION_POLICY_UNSPECIFIED = src.CloudSqlSettings_SQL_ACTIVATION_POLICY_UNSPECIFIED |
| 45 |
CloudSqlSettings_SQL_DATABASE_VERSION_UNSPECIFIED = src.CloudSqlSettings_SQL_DATABASE_VERSION_UNSPECIFIED |
| 46 |
CloudSqlSettings_SQL_DATA_DISK_TYPE_UNSPECIFIED = src.CloudSqlSettings_SQL_DATA_DISK_TYPE_UNSPECIFIED |
| 47 |
ConnectionProfile_CREATING = src.ConnectionProfile_CREATING |
| 48 |
ConnectionProfile_DELETED = src.ConnectionProfile_DELETED |
| 49 |
ConnectionProfile_DELETING = src.ConnectionProfile_DELETING |
| 50 |
ConnectionProfile_DRAFT = src.ConnectionProfile_DRAFT |
| 51 |
ConnectionProfile_FAILED = src.ConnectionProfile_FAILED |
| 52 |
ConnectionProfile_READY = src.ConnectionProfile_READY |
| 53 |
ConnectionProfile_STATE_UNSPECIFIED = src.ConnectionProfile_STATE_UNSPECIFIED |
| 54 |
ConnectionProfile_UPDATING = src.ConnectionProfile_UPDATING |
| 55 |
DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED = src.DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED |
| 56 |
DatabaseEngine_MYSQL = src.DatabaseEngine_MYSQL |
| 57 |
DatabaseEngine_POSTGRESQL = src.DatabaseEngine_POSTGRESQL |
| 58 |
DatabaseProvider_CLOUDSQL = src.DatabaseProvider_CLOUDSQL |
| 59 |
DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED = src.DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED |
| 60 |
DatabaseProvider_RDS = src.DatabaseProvider_RDS |
| 61 |
MigrationJobVerificationError_AUTHENTICATION_FAILURE = src.MigrationJobVerificationError_AUTHENTICATION_FAILURE |
| 62 |
MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION = src.MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION |
| 63 |
MigrationJobVerificationError_CONNECTION_FAILURE = src.MigrationJobVerificationError_CONNECTION_FAILURE |
| 64 |
MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = src.MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY |
| 65 |
MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED = src.MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED |
| 66 |
MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS = src.MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS |
| 67 |
MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS = src.MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS |
| 68 |
MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES = src.MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES |
| 69 |
MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG = src.MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG |
| 70 |
MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION = src.MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION |
| 71 |
MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY = src.MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY |
| 72 |
MigrationJobVerificationError_INVALID_WAL_LEVEL = src.MigrationJobVerificationError_INVALID_WAL_LEVEL |
| 73 |
MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED = src.MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED |
| 74 |
MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS = src.MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS |
| 75 |
MigrationJobVerificationError_UNSUPPORTED_DEFINER = src.MigrationJobVerificationError_UNSUPPORTED_DEFINER |
| 76 |
MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS = src.MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS |
| 77 |
MigrationJobVerificationError_UNSUPPORTED_GTID_MODE = src.MigrationJobVerificationError_UNSUPPORTED_GTID_MODE |
| 78 |
MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE = src.MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE |
| 79 |
MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION = src.MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION |
| 80 |
MigrationJobVerificationError_VERSION_INCOMPATIBILITY = src.MigrationJobVerificationError_VERSION_INCOMPATIBILITY |
| 81 |
MigrationJob_CDC = src.MigrationJob_CDC |
| 82 |
MigrationJob_COMPLETED = src.MigrationJob_COMPLETED |
| 83 |
MigrationJob_CONTINUOUS = src.MigrationJob_CONTINUOUS |
| 84 |
MigrationJob_CREATING = src.MigrationJob_CREATING |
| 85 |
MigrationJob_DELETED = src.MigrationJob_DELETED |
| 86 |
MigrationJob_DELETING = src.MigrationJob_DELETING |
| 87 |
MigrationJob_DRAFT = src.MigrationJob_DRAFT |
| 88 |
MigrationJob_FAILED = src.MigrationJob_FAILED |
| 89 |
MigrationJob_FULL_DUMP = src.MigrationJob_FULL_DUMP |
| 90 |
MigrationJob_MAINTENANCE = src.MigrationJob_MAINTENANCE |
| 91 |
MigrationJob_NOT_STARTED = src.MigrationJob_NOT_STARTED |
| 92 |
MigrationJob_ONE_TIME = src.MigrationJob_ONE_TIME |
| 93 |
MigrationJob_PHASE_UNSPECIFIED = src.MigrationJob_PHASE_UNSPECIFIED |
| 94 |
MigrationJob_PREPARING_THE_DUMP = src.MigrationJob_PREPARING_THE_DUMP |
| 95 |
MigrationJob_PROMOTE_IN_PROGRESS = src.MigrationJob_PROMOTE_IN_PROGRESS |
| 96 |
MigrationJob_RESTARTING = src.MigrationJob_RESTARTING |
| 97 |
MigrationJob_RESUMING = src.MigrationJob_RESUMING |
| 98 |
MigrationJob_RUNNING = src.MigrationJob_RUNNING |
| 99 |
MigrationJob_STARTING = src.MigrationJob_STARTING |
| 100 |
MigrationJob_STATE_UNSPECIFIED = src.MigrationJob_STATE_UNSPECIFIED |
| 101 |
MigrationJob_STOPPED = src.MigrationJob_STOPPED |
| 102 |
MigrationJob_STOPPING = src.MigrationJob_STOPPING |
| 103 |
MigrationJob_TYPE_UNSPECIFIED = src.MigrationJob_TYPE_UNSPECIFIED |
| 104 |
MigrationJob_UPDATING = src.MigrationJob_UPDATING |
| 105 |
MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP = src.MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP |
| 106 |
SslConfig_SERVER_CLIENT = src.SslConfig_SERVER_CLIENT |
| 107 |
SslConfig_SERVER_ONLY = src.SslConfig_SERVER_ONLY |
| 108 |
SslConfig_SSL_TYPE_UNSPECIFIED = src.SslConfig_SSL_TYPE_UNSPECIFIED |
| 109 |
) |
| 110 |
|
| 111 |
// Deprecated: Please use vars in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 112 |
var ( |
| 113 |
CloudSqlSettings_SqlActivationPolicy_name = src.CloudSqlSettings_SqlActivationPolicy_name |
| 114 |
CloudSqlSettings_SqlActivationPolicy_value = src.CloudSqlSettings_SqlActivationPolicy_value |
| 115 |
CloudSqlSettings_SqlDataDiskType_name = src.CloudSqlSettings_SqlDataDiskType_name |
| 116 |
CloudSqlSettings_SqlDataDiskType_value = src.CloudSqlSettings_SqlDataDiskType_value |
| 117 |
CloudSqlSettings_SqlDatabaseVersion_name = src.CloudSqlSettings_SqlDatabaseVersion_name |
| 118 |
CloudSqlSettings_SqlDatabaseVersion_value = src.CloudSqlSettings_SqlDatabaseVersion_value |
| 119 |
ConnectionProfile_State_name = src.ConnectionProfile_State_name |
| 120 |
ConnectionProfile_State_value = src.ConnectionProfile_State_value |
| 121 |
DatabaseEngine_name = src.DatabaseEngine_name |
| 122 |
DatabaseEngine_value = src.DatabaseEngine_value |
| 123 |
DatabaseProvider_name = src.DatabaseProvider_name |
| 124 |
DatabaseProvider_value = src.DatabaseProvider_value |
| 125 |
File_google_cloud_clouddms_v1_clouddms_proto = src.File_google_cloud_clouddms_v1_clouddms_proto |
| 126 |
File_google_cloud_clouddms_v1_clouddms_resources_proto = src.File_google_cloud_clouddms_v1_clouddms_resources_proto |
| 127 |
MigrationJobVerificationError_ErrorCode_name = src.MigrationJobVerificationError_ErrorCode_name |
| 128 |
MigrationJobVerificationError_ErrorCode_value = src.MigrationJobVerificationError_ErrorCode_value |
| 129 |
MigrationJob_Phase_name = src.MigrationJob_Phase_name |
| 130 |
MigrationJob_Phase_value = src.MigrationJob_Phase_value |
| 131 |
MigrationJob_State_name = src.MigrationJob_State_name |
| 132 |
MigrationJob_State_value = src.MigrationJob_State_value |
| 133 |
MigrationJob_Type_name = src.MigrationJob_Type_name |
| 134 |
MigrationJob_Type_value = src.MigrationJob_Type_value |
| 135 |
SslConfig_SslType_name = src.SslConfig_SslType_name |
| 136 |
SslConfig_SslType_value = src.SslConfig_SslType_value |
| 137 |
) |
| 138 |
|
| 139 |
// Specifies required connection parameters, and, optionally, the parameters |
| 140 |
// required to create a Cloud SQL destination database instance. |
| 141 |
// |
| 142 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 143 |
type CloudSqlConnectionProfile = src.CloudSqlConnectionProfile |
| 144 |
|
| 145 |
// Settings for creating a Cloud SQL database instance. |
| 146 |
// |
| 147 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 148 |
type CloudSqlSettings = src.CloudSqlSettings |
| 149 |
|
| 150 |
// Specifies when the instance should be activated. |
| 151 |
// |
| 152 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 153 |
type CloudSqlSettings_SqlActivationPolicy = src.CloudSqlSettings_SqlActivationPolicy |
| 154 |
|
| 155 |
// The storage options for Cloud SQL databases. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 158 |
type CloudSqlSettings_SqlDataDiskType = src.CloudSqlSettings_SqlDataDiskType |
| 159 |
|
| 160 |
// The database engine type and version. |
| 161 |
// |
| 162 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 163 |
type CloudSqlSettings_SqlDatabaseVersion = src.CloudSqlSettings_SqlDatabaseVersion |
| 164 |
|
| 165 |
// A connection profile definition. |
| 166 |
// |
| 167 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 168 |
type ConnectionProfile = src.ConnectionProfile |
| 169 |
type ConnectionProfile_Cloudsql = src.ConnectionProfile_Cloudsql |
| 170 |
type ConnectionProfile_Mysql = src.ConnectionProfile_Mysql |
| 171 |
type ConnectionProfile_Postgresql = src.ConnectionProfile_Postgresql |
| 172 |
|
| 173 |
// The current connection profile state (e.g. DRAFT, READY, or FAILED). |
| 174 |
// |
| 175 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 176 |
type ConnectionProfile_State = src.ConnectionProfile_State |
| 177 |
|
| 178 |
// Request message for 'CreateConnectionProfile' request. |
| 179 |
// |
| 180 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 181 |
type CreateConnectionProfileRequest = src.CreateConnectionProfileRequest |
| 182 |
|
| 183 |
// Request message to create a new Database Migration Service migration job in |
| 184 |
// the specified project and region. |
| 185 |
// |
| 186 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 187 |
type CreateMigrationJobRequest = src.CreateMigrationJobRequest |
| 188 |
|
| 189 |
// DataMigrationServiceClient is the client API for DataMigrationService |
| 190 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 191 |
// please refer to |
| 192 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 193 |
// |
| 194 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 195 |
type DataMigrationServiceClient = src.DataMigrationServiceClient |
| 196 |
|
| 197 |
// DataMigrationServiceServer is the server API for DataMigrationService |
| 198 |
// service. |
| 199 |
// |
| 200 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 201 |
type DataMigrationServiceServer = src.DataMigrationServiceServer |
| 202 |
|
| 203 |
// The database engine types. |
| 204 |
// |
| 205 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 206 |
type DatabaseEngine = src.DatabaseEngine |
| 207 |
|
| 208 |
// The database providers. |
| 209 |
// |
| 210 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 211 |
type DatabaseProvider = src.DatabaseProvider |
| 212 |
|
| 213 |
// A message defining the database engine and provider. |
| 214 |
// |
| 215 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 216 |
type DatabaseType = src.DatabaseType |
| 217 |
|
| 218 |
// Request message for 'DeleteConnectionProfile' request. |
| 219 |
// |
| 220 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 221 |
type DeleteConnectionProfileRequest = src.DeleteConnectionProfileRequest |
| 222 |
|
| 223 |
// Request message for 'DeleteMigrationJob' request. |
| 224 |
// |
| 225 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 226 |
type DeleteMigrationJobRequest = src.DeleteMigrationJobRequest |
| 227 |
|
| 228 |
// Request message for 'GenerateSshScript' request. |
| 229 |
// |
| 230 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 231 |
type GenerateSshScriptRequest = src.GenerateSshScriptRequest |
| 232 |
type GenerateSshScriptRequest_VmCreationConfig = src.GenerateSshScriptRequest_VmCreationConfig |
| 233 |
type GenerateSshScriptRequest_VmSelectionConfig = src.GenerateSshScriptRequest_VmSelectionConfig |
| 234 |
|
| 235 |
// Request message for 'GetConnectionProfile' request. |
| 236 |
// |
| 237 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 238 |
type GetConnectionProfileRequest = src.GetConnectionProfileRequest |
| 239 |
|
| 240 |
// Request message for 'GetMigrationJob' request. |
| 241 |
// |
| 242 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 243 |
type GetMigrationJobRequest = src.GetMigrationJobRequest |
| 244 |
|
| 245 |
// Request message for 'ListConnectionProfiles' request. |
| 246 |
// |
| 247 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 248 |
type ListConnectionProfilesRequest = src.ListConnectionProfilesRequest |
| 249 |
|
| 250 |
// Response message for 'ListConnectionProfiles' request. |
| 251 |
// |
| 252 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 253 |
type ListConnectionProfilesResponse = src.ListConnectionProfilesResponse |
| 254 |
|
| 255 |
// Retrieve a list of all migration jobs in a given project and location. |
| 256 |
// |
| 257 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 258 |
type ListMigrationJobsRequest = src.ListMigrationJobsRequest |
| 259 |
|
| 260 |
// Response message for 'ListMigrationJobs' request. |
| 261 |
// |
| 262 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 263 |
type ListMigrationJobsResponse = src.ListMigrationJobsResponse |
| 264 |
|
| 265 |
// Represents a Database Migration Service migration job object. |
| 266 |
// |
| 267 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 268 |
type MigrationJob = src.MigrationJob |
| 269 |
|
| 270 |
// Error message of a verification Migration job. |
| 271 |
// |
| 272 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 273 |
type MigrationJobVerificationError = src.MigrationJobVerificationError |
| 274 |
|
| 275 |
// A general error code describing the type of error that occurred. |
| 276 |
// |
| 277 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 278 |
type MigrationJobVerificationError_ErrorCode = src.MigrationJobVerificationError_ErrorCode |
| 279 |
|
| 280 |
// The current migration job phase. |
| 281 |
// |
| 282 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 283 |
type MigrationJob_Phase = src.MigrationJob_Phase |
| 284 |
type MigrationJob_ReverseSshConnectivity = src.MigrationJob_ReverseSshConnectivity |
| 285 |
|
| 286 |
// The current migration job states. |
| 287 |
// |
| 288 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 289 |
type MigrationJob_State = src.MigrationJob_State |
| 290 |
type MigrationJob_StaticIpConnectivity = src.MigrationJob_StaticIpConnectivity |
| 291 |
|
| 292 |
// The type of migration job (one-time or continuous). |
| 293 |
// |
| 294 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 295 |
type MigrationJob_Type = src.MigrationJob_Type |
| 296 |
type MigrationJob_VpcPeeringConnectivity = src.MigrationJob_VpcPeeringConnectivity |
| 297 |
|
| 298 |
// Specifies connection parameters required specifically for MySQL databases. |
| 299 |
// |
| 300 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 301 |
type MySqlConnectionProfile = src.MySqlConnectionProfile |
| 302 |
|
| 303 |
// Represents the metadata of the long-running operation. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 306 |
type OperationMetadata = src.OperationMetadata |
| 307 |
|
| 308 |
// Specifies connection parameters required specifically for PostgreSQL |
| 309 |
// databases. |
| 310 |
// |
| 311 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 312 |
type PostgreSqlConnectionProfile = src.PostgreSqlConnectionProfile |
| 313 |
|
| 314 |
// Request message for 'PromoteMigrationJob' request. |
| 315 |
// |
| 316 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 317 |
type PromoteMigrationJobRequest = src.PromoteMigrationJobRequest |
| 318 |
|
| 319 |
// Request message for 'RestartMigrationJob' request. |
| 320 |
// |
| 321 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 322 |
type RestartMigrationJobRequest = src.RestartMigrationJobRequest |
| 323 |
|
| 324 |
// Request message for 'ResumeMigrationJob' request. |
| 325 |
// |
| 326 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 327 |
type ResumeMigrationJobRequest = src.ResumeMigrationJobRequest |
| 328 |
|
| 329 |
// The details needed to configure a reverse SSH tunnel between the source and |
| 330 |
// destination databases. These details will be used when calling the |
| 331 |
// generateSshScript method (see |
| 332 |
// https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) |
| 333 |
// to produce the script that will help set up the reverse SSH tunnel, and to |
| 334 |
// set up the VPC peering between the Cloud SQL private network and the VPC. |
| 335 |
// |
| 336 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 337 |
type ReverseSshConnectivity = src.ReverseSshConnectivity |
| 338 |
|
| 339 |
// An entry for an Access Control list. |
| 340 |
// |
| 341 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 342 |
type SqlAclEntry = src.SqlAclEntry |
| 343 |
type SqlAclEntry_ExpireTime = src.SqlAclEntry_ExpireTime |
| 344 |
type SqlAclEntry_Ttl = src.SqlAclEntry_Ttl |
| 345 |
|
| 346 |
// IP Management configuration. |
| 347 |
// |
| 348 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 349 |
type SqlIpConfig = src.SqlIpConfig |
| 350 |
|
| 351 |
// Response message for 'GenerateSshScript' request. |
| 352 |
// |
| 353 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 354 |
type SshScript = src.SshScript |
| 355 |
|
| 356 |
// SSL configuration information. |
| 357 |
// |
| 358 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 359 |
type SslConfig = src.SslConfig |
| 360 |
|
| 361 |
// Specifies The kind of ssl configuration used. |
| 362 |
// |
| 363 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 364 |
type SslConfig_SslType = src.SslConfig_SslType |
| 365 |
|
| 366 |
// Request message for 'StartMigrationJob' request. |
| 367 |
// |
| 368 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 369 |
type StartMigrationJobRequest = src.StartMigrationJobRequest |
| 370 |
|
| 371 |
// The source database will allow incoming connections from the destination |
| 372 |
// database's public IP. You can retrieve the Cloud SQL instance's public IP |
| 373 |
// from the Cloud SQL console or using Cloud SQL APIs. No additional |
| 374 |
// configuration is required. |
| 375 |
// |
| 376 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 377 |
type StaticIpConnectivity = src.StaticIpConnectivity |
| 378 |
|
| 379 |
// Request message for 'StopMigrationJob' request. |
| 380 |
// |
| 381 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 382 |
type StopMigrationJobRequest = src.StopMigrationJobRequest |
| 383 |
|
| 384 |
// UnimplementedDataMigrationServiceServer can be embedded to have forward |
| 385 |
// compatible implementations. |
| 386 |
// |
| 387 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 388 |
type UnimplementedDataMigrationServiceServer = src.UnimplementedDataMigrationServiceServer |
| 389 |
|
| 390 |
// Request message for 'UpdateConnectionProfile' request. |
| 391 |
// |
| 392 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 393 |
type UpdateConnectionProfileRequest = src.UpdateConnectionProfileRequest |
| 394 |
|
| 395 |
// Request message for 'UpdateMigrationJob' request. |
| 396 |
// |
| 397 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 398 |
type UpdateMigrationJobRequest = src.UpdateMigrationJobRequest |
| 399 |
|
| 400 |
// Request message for 'VerifyMigrationJob' request. |
| 401 |
// |
| 402 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 403 |
type VerifyMigrationJobRequest = src.VerifyMigrationJobRequest |
| 404 |
|
| 405 |
// VM creation configuration message |
| 406 |
// |
| 407 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 408 |
type VmCreationConfig = src.VmCreationConfig |
| 409 |
|
| 410 |
// VM selection configuration message |
| 411 |
// |
| 412 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 413 |
type VmSelectionConfig = src.VmSelectionConfig |
| 414 |
|
| 415 |
// The details of the VPC where the source database is located in Google |
| 416 |
// Cloud. We will use this information to set up the VPC peering connection |
| 417 |
// between Cloud SQL and this VPC. |
| 418 |
// |
| 419 |
// Deprecated: Please use types in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 420 |
type VpcPeeringConnectivity = src.VpcPeeringConnectivity |
| 421 |
|
| 422 |
// Deprecated: Please use funcs in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 423 |
func NewDataMigrationServiceClient(cc grpc.ClientConnInterface) DataMigrationServiceClient { |
| 424 |
return src.NewDataMigrationServiceClient(cc) |
| 425 |
} |
| 426 |
|
| 427 |
// Deprecated: Please use funcs in: cloud.google.com/go/clouddms/apiv1/clouddmspb |
| 428 |
func RegisterDataMigrationServiceServer(s *grpc.Server, srv DataMigrationServiceServer) { |
| 429 |
src.RegisterDataMigrationServiceServer(s, srv) |
| 430 |
} |