Constants
DataMigrationService_ListMigrationJobs_FullMethodName, DataMigrationService_GetMigrationJob_FullMethodName, DataMigrationService_CreateMigrationJob_FullMethodName, DataMigrationService_UpdateMigrationJob_FullMethodName, DataMigrationService_DeleteMigrationJob_FullMethodName, DataMigrationService_StartMigrationJob_FullMethodName, DataMigrationService_StopMigrationJob_FullMethodName, DataMigrationService_ResumeMigrationJob_FullMethodName, DataMigrationService_PromoteMigrationJob_FullMethodName, DataMigrationService_VerifyMigrationJob_FullMethodName, DataMigrationService_RestartMigrationJob_FullMethodName, DataMigrationService_GenerateSshScript_FullMethodName, DataMigrationService_GenerateTcpProxyScript_FullMethodName, DataMigrationService_ListConnectionProfiles_FullMethodName, DataMigrationService_GetConnectionProfile_FullMethodName, DataMigrationService_CreateConnectionProfile_FullMethodName, DataMigrationService_UpdateConnectionProfile_FullMethodName, DataMigrationService_DeleteConnectionProfile_FullMethodName, DataMigrationService_CreatePrivateConnection_FullMethodName, DataMigrationService_GetPrivateConnection_FullMethodName, DataMigrationService_ListPrivateConnections_FullMethodName, DataMigrationService_DeletePrivateConnection_FullMethodName, DataMigrationService_GetConversionWorkspace_FullMethodName, DataMigrationService_ListConversionWorkspaces_FullMethodName, DataMigrationService_CreateConversionWorkspace_FullMethodName, DataMigrationService_UpdateConversionWorkspace_FullMethodName, DataMigrationService_DeleteConversionWorkspace_FullMethodName, DataMigrationService_CreateMappingRule_FullMethodName, DataMigrationService_DeleteMappingRule_FullMethodName, DataMigrationService_ListMappingRules_FullMethodName, DataMigrationService_GetMappingRule_FullMethodName, DataMigrationService_SeedConversionWorkspace_FullMethodName, DataMigrationService_ImportMappingRules_FullMethodName, DataMigrationService_ConvertConversionWorkspace_FullMethodName, DataMigrationService_CommitConversionWorkspace_FullMethodName, DataMigrationService_RollbackConversionWorkspace_FullMethodName, DataMigrationService_ApplyConversionWorkspace_FullMethodName, DataMigrationService_DescribeDatabaseEntities_FullMethodName, DataMigrationService_SearchBackgroundJobs_FullMethodName, DataMigrationService_DescribeConversionWorkspaceRevisions_FullMethodName, DataMigrationService_FetchStaticIps_FullMethodName
const (
DataMigrationService_ListMigrationJobs_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListMigrationJobs"
DataMigrationService_GetMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetMigrationJob"
DataMigrationService_CreateMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateMigrationJob"
DataMigrationService_UpdateMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateMigrationJob"
DataMigrationService_DeleteMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteMigrationJob"
DataMigrationService_StartMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/StartMigrationJob"
DataMigrationService_StopMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/StopMigrationJob"
DataMigrationService_ResumeMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ResumeMigrationJob"
DataMigrationService_PromoteMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/PromoteMigrationJob"
DataMigrationService_VerifyMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/VerifyMigrationJob"
DataMigrationService_RestartMigrationJob_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/RestartMigrationJob"
DataMigrationService_GenerateSshScript_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GenerateSshScript"
DataMigrationService_GenerateTcpProxyScript_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GenerateTcpProxyScript"
DataMigrationService_ListConnectionProfiles_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListConnectionProfiles"
DataMigrationService_GetConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetConnectionProfile"
DataMigrationService_CreateConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateConnectionProfile"
DataMigrationService_UpdateConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateConnectionProfile"
DataMigrationService_DeleteConnectionProfile_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteConnectionProfile"
DataMigrationService_CreatePrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreatePrivateConnection"
DataMigrationService_GetPrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetPrivateConnection"
DataMigrationService_ListPrivateConnections_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListPrivateConnections"
DataMigrationService_DeletePrivateConnection_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeletePrivateConnection"
DataMigrationService_GetConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetConversionWorkspace"
DataMigrationService_ListConversionWorkspaces_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListConversionWorkspaces"
DataMigrationService_CreateConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateConversionWorkspace"
DataMigrationService_UpdateConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/UpdateConversionWorkspace"
DataMigrationService_DeleteConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteConversionWorkspace"
DataMigrationService_CreateMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CreateMappingRule"
DataMigrationService_DeleteMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DeleteMappingRule"
DataMigrationService_ListMappingRules_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ListMappingRules"
DataMigrationService_GetMappingRule_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/GetMappingRule"
DataMigrationService_SeedConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/SeedConversionWorkspace"
DataMigrationService_ImportMappingRules_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ImportMappingRules"
DataMigrationService_ConvertConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ConvertConversionWorkspace"
DataMigrationService_CommitConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/CommitConversionWorkspace"
DataMigrationService_RollbackConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/RollbackConversionWorkspace"
DataMigrationService_ApplyConversionWorkspace_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/ApplyConversionWorkspace"
DataMigrationService_DescribeDatabaseEntities_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DescribeDatabaseEntities"
DataMigrationService_SearchBackgroundJobs_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/SearchBackgroundJobs"
DataMigrationService_DescribeConversionWorkspaceRevisions_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/DescribeConversionWorkspaceRevisions"
DataMigrationService_FetchStaticIps_FullMethodName = "/google.cloud.clouddms.v1.DataMigrationService/FetchStaticIps"
)Variables
DatabaseEntityView_name, DatabaseEntityView_value
var (
DatabaseEntityView_name = map[int32]string{
0: "DATABASE_ENTITY_VIEW_UNSPECIFIED",
1: "DATABASE_ENTITY_VIEW_BASIC",
2: "DATABASE_ENTITY_VIEW_FULL",
3: "DATABASE_ENTITY_VIEW_ROOT_SUMMARY",
}
DatabaseEntityView_value = map[string]int32{
"DATABASE_ENTITY_VIEW_UNSPECIFIED": 0,
"DATABASE_ENTITY_VIEW_BASIC": 1,
"DATABASE_ENTITY_VIEW_FULL": 2,
"DATABASE_ENTITY_VIEW_ROOT_SUMMARY": 3,
}
)Enum value maps for DatabaseEntityView.
DescribeDatabaseEntitiesRequest_DBTreeType_name, DescribeDatabaseEntitiesRequest_DBTreeType_value
var (
DescribeDatabaseEntitiesRequest_DBTreeType_name = map[int32]string{
0: "DB_TREE_TYPE_UNSPECIFIED",
1: "SOURCE_TREE",
2: "DRAFT_TREE",
3: "DESTINATION_TREE",
}
DescribeDatabaseEntitiesRequest_DBTreeType_value = map[string]int32{
"DB_TREE_TYPE_UNSPECIFIED": 0,
"SOURCE_TREE": 1,
"DRAFT_TREE": 2,
"DESTINATION_TREE": 3,
}
)Enum value maps for DescribeDatabaseEntitiesRequest_DBTreeType.
NetworkArchitecture_name, NetworkArchitecture_value
var (
NetworkArchitecture_name = map[int32]string{
0: "NETWORK_ARCHITECTURE_UNSPECIFIED",
1: "NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER",
2: "NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER",
}
NetworkArchitecture_value = map[string]int32{
"NETWORK_ARCHITECTURE_UNSPECIFIED": 0,
"NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER": 1,
"NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER": 2,
}
)Enum value maps for NetworkArchitecture.
DatabaseEngine_name, DatabaseEngine_value
var (
DatabaseEngine_name = map[int32]string{
0: "DATABASE_ENGINE_UNSPECIFIED",
1: "MYSQL",
2: "POSTGRESQL",
4: "ORACLE",
}
DatabaseEngine_value = map[string]int32{
"DATABASE_ENGINE_UNSPECIFIED": 0,
"MYSQL": 1,
"POSTGRESQL": 2,
"ORACLE": 4,
}
)Enum value maps for DatabaseEngine.
DatabaseProvider_name, DatabaseProvider_value
var (
DatabaseProvider_name = map[int32]string{
0: "DATABASE_PROVIDER_UNSPECIFIED",
1: "CLOUDSQL",
2: "RDS",
3: "AURORA",
4: "ALLOYDB",
}
DatabaseProvider_value = map[string]int32{
"DATABASE_PROVIDER_UNSPECIFIED": 0,
"CLOUDSQL": 1,
"RDS": 2,
"AURORA": 3,
"ALLOYDB": 4,
}
)Enum value maps for DatabaseProvider.
SslConfig_SslType_name, SslConfig_SslType_value
var (
SslConfig_SslType_name = map[int32]string{
0: "SSL_TYPE_UNSPECIFIED",
1: "SERVER_ONLY",
2: "SERVER_CLIENT",
}
SslConfig_SslType_value = map[string]int32{
"SSL_TYPE_UNSPECIFIED": 0,
"SERVER_ONLY": 1,
"SERVER_CLIENT": 2,
}
)Enum value maps for SslConfig_SslType.
CloudSqlSettings_SqlActivationPolicy_name, CloudSqlSettings_SqlActivationPolicy_value
var (
CloudSqlSettings_SqlActivationPolicy_name = map[int32]string{
0: "SQL_ACTIVATION_POLICY_UNSPECIFIED",
1: "ALWAYS",
2: "NEVER",
}
CloudSqlSettings_SqlActivationPolicy_value = map[string]int32{
"SQL_ACTIVATION_POLICY_UNSPECIFIED": 0,
"ALWAYS": 1,
"NEVER": 2,
}
)Enum value maps for CloudSqlSettings_SqlActivationPolicy.
CloudSqlSettings_SqlDataDiskType_name, CloudSqlSettings_SqlDataDiskType_value
var (
CloudSqlSettings_SqlDataDiskType_name = map[int32]string{
0: "SQL_DATA_DISK_TYPE_UNSPECIFIED",
1: "PD_SSD",
2: "PD_HDD",
}
CloudSqlSettings_SqlDataDiskType_value = map[string]int32{
"SQL_DATA_DISK_TYPE_UNSPECIFIED": 0,
"PD_SSD": 1,
"PD_HDD": 2,
}
)Enum value maps for CloudSqlSettings_SqlDataDiskType.
CloudSqlSettings_SqlDatabaseVersion_name, CloudSqlSettings_SqlDatabaseVersion_value
var (
CloudSqlSettings_SqlDatabaseVersion_name = map[int32]string{
0: "SQL_DATABASE_VERSION_UNSPECIFIED",
1: "MYSQL_5_6",
2: "MYSQL_5_7",
3: "POSTGRES_9_6",
4: "POSTGRES_11",
5: "POSTGRES_10",
6: "MYSQL_8_0",
7: "POSTGRES_12",
8: "POSTGRES_13",
17: "POSTGRES_14",
18: "POSTGRES_15",
}
CloudSqlSettings_SqlDatabaseVersion_value = map[string]int32{
"SQL_DATABASE_VERSION_UNSPECIFIED": 0,
"MYSQL_5_6": 1,
"MYSQL_5_7": 2,
"POSTGRES_9_6": 3,
"POSTGRES_11": 4,
"POSTGRES_10": 5,
"MYSQL_8_0": 6,
"POSTGRES_12": 7,
"POSTGRES_13": 8,
"POSTGRES_14": 17,
"POSTGRES_15": 18,
}
)Enum value maps for CloudSqlSettings_SqlDatabaseVersion.
CloudSqlSettings_SqlAvailabilityType_name, CloudSqlSettings_SqlAvailabilityType_value
var (
CloudSqlSettings_SqlAvailabilityType_name = map[int32]string{
0: "SQL_AVAILABILITY_TYPE_UNSPECIFIED",
1: "ZONAL",
2: "REGIONAL",
}
CloudSqlSettings_SqlAvailabilityType_value = map[string]int32{
"SQL_AVAILABILITY_TYPE_UNSPECIFIED": 0,
"ZONAL": 1,
"REGIONAL": 2,
}
)Enum value maps for CloudSqlSettings_SqlAvailabilityType.
CloudSqlSettings_Edition_name, CloudSqlSettings_Edition_value
var (
CloudSqlSettings_Edition_name = map[int32]string{
0: "EDITION_UNSPECIFIED",
2: "ENTERPRISE",
3: "ENTERPRISE_PLUS",
}
CloudSqlSettings_Edition_value = map[string]int32{
"EDITION_UNSPECIFIED": 0,
"ENTERPRISE": 2,
"ENTERPRISE_PLUS": 3,
}
)Enum value maps for CloudSqlSettings_Edition.
MigrationJob_State_name, MigrationJob_State_value
var (
MigrationJob_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "MAINTENANCE",
2: "DRAFT",
3: "CREATING",
4: "NOT_STARTED",
5: "RUNNING",
6: "FAILED",
7: "COMPLETED",
8: "DELETING",
9: "STOPPING",
10: "STOPPED",
11: "DELETED",
12: "UPDATING",
13: "STARTING",
14: "RESTARTING",
15: "RESUMING",
}
MigrationJob_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"MAINTENANCE": 1,
"DRAFT": 2,
"CREATING": 3,
"NOT_STARTED": 4,
"RUNNING": 5,
"FAILED": 6,
"COMPLETED": 7,
"DELETING": 8,
"STOPPING": 9,
"STOPPED": 10,
"DELETED": 11,
"UPDATING": 12,
"STARTING": 13,
"RESTARTING": 14,
"RESUMING": 15,
}
)Enum value maps for MigrationJob_State.
MigrationJob_Phase_name, MigrationJob_Phase_value
var (
MigrationJob_Phase_name = map[int32]string{
0: "PHASE_UNSPECIFIED",
1: "FULL_DUMP",
2: "CDC",
3: "PROMOTE_IN_PROGRESS",
4: "WAITING_FOR_SOURCE_WRITES_TO_STOP",
5: "PREPARING_THE_DUMP",
}
MigrationJob_Phase_value = map[string]int32{
"PHASE_UNSPECIFIED": 0,
"FULL_DUMP": 1,
"CDC": 2,
"PROMOTE_IN_PROGRESS": 3,
"WAITING_FOR_SOURCE_WRITES_TO_STOP": 4,
"PREPARING_THE_DUMP": 5,
}
)Enum value maps for MigrationJob_Phase.
MigrationJob_Type_name, MigrationJob_Type_value
var (
MigrationJob_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "ONE_TIME",
2: "CONTINUOUS",
}
MigrationJob_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"ONE_TIME": 1,
"CONTINUOUS": 2,
}
)Enum value maps for MigrationJob_Type.
MigrationJob_PerformanceConfig_DumpParallelLevel_name, MigrationJob_PerformanceConfig_DumpParallelLevel_value
var (
MigrationJob_PerformanceConfig_DumpParallelLevel_name = map[int32]string{
0: "DUMP_PARALLEL_LEVEL_UNSPECIFIED",
1: "MIN",
2: "OPTIMAL",
3: "MAX",
}
MigrationJob_PerformanceConfig_DumpParallelLevel_value = map[string]int32{
"DUMP_PARALLEL_LEVEL_UNSPECIFIED": 0,
"MIN": 1,
"OPTIMAL": 2,
"MAX": 3,
}
)Enum value maps for MigrationJob_PerformanceConfig_DumpParallelLevel.
ConnectionProfile_State_name, ConnectionProfile_State_value
var (
ConnectionProfile_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DRAFT",
2: "CREATING",
3: "READY",
4: "UPDATING",
5: "DELETING",
6: "DELETED",
7: "FAILED",
}
ConnectionProfile_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DRAFT": 1,
"CREATING": 2,
"READY": 3,
"UPDATING": 4,
"DELETING": 5,
"DELETED": 6,
"FAILED": 7,
}
)Enum value maps for ConnectionProfile_State.
MigrationJobVerificationError_ErrorCode_name, MigrationJobVerificationError_ErrorCode_value
var (
MigrationJobVerificationError_ErrorCode_name = map[int32]string{
0: "ERROR_CODE_UNSPECIFIED",
1: "CONNECTION_FAILURE",
2: "AUTHENTICATION_FAILURE",
3: "INVALID_CONNECTION_PROFILE_CONFIG",
4: "VERSION_INCOMPATIBILITY",
5: "CONNECTION_PROFILE_TYPES_INCOMPATIBILITY",
7: "NO_PGLOGICAL_INSTALLED",
8: "PGLOGICAL_NODE_ALREADY_EXISTS",
9: "INVALID_WAL_LEVEL",
10: "INVALID_SHARED_PRELOAD_LIBRARY",
11: "INSUFFICIENT_MAX_REPLICATION_SLOTS",
12: "INSUFFICIENT_MAX_WAL_SENDERS",
13: "INSUFFICIENT_MAX_WORKER_PROCESSES",
14: "UNSUPPORTED_EXTENSIONS",
15: "UNSUPPORTED_MIGRATION_TYPE",
16: "INVALID_RDS_LOGICAL_REPLICATION",
17: "UNSUPPORTED_GTID_MODE",
18: "UNSUPPORTED_TABLE_DEFINITION",
19: "UNSUPPORTED_DEFINER",
21: "CANT_RESTART_RUNNING_MIGRATION",
23: "SOURCE_ALREADY_SETUP",
24: "TABLES_WITH_LIMITED_SUPPORT",
25: "UNSUPPORTED_DATABASE_LOCALE",
26: "UNSUPPORTED_DATABASE_FDW_CONFIG",
27: "ERROR_RDBMS",
28: "SOURCE_SIZE_EXCEEDS_THRESHOLD",
29: "EXISTING_CONFLICTING_DATABASES",
30: "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE",
}
MigrationJobVerificationError_ErrorCode_value = map[string]int32{
"ERROR_CODE_UNSPECIFIED": 0,
"CONNECTION_FAILURE": 1,
"AUTHENTICATION_FAILURE": 2,
"INVALID_CONNECTION_PROFILE_CONFIG": 3,
"VERSION_INCOMPATIBILITY": 4,
"CONNECTION_PROFILE_TYPES_INCOMPATIBILITY": 5,
"NO_PGLOGICAL_INSTALLED": 7,
"PGLOGICAL_NODE_ALREADY_EXISTS": 8,
"INVALID_WAL_LEVEL": 9,
"INVALID_SHARED_PRELOAD_LIBRARY": 10,
"INSUFFICIENT_MAX_REPLICATION_SLOTS": 11,
"INSUFFICIENT_MAX_WAL_SENDERS": 12,
"INSUFFICIENT_MAX_WORKER_PROCESSES": 13,
"UNSUPPORTED_EXTENSIONS": 14,
"UNSUPPORTED_MIGRATION_TYPE": 15,
"INVALID_RDS_LOGICAL_REPLICATION": 16,
"UNSUPPORTED_GTID_MODE": 17,
"UNSUPPORTED_TABLE_DEFINITION": 18,
"UNSUPPORTED_DEFINER": 19,
"CANT_RESTART_RUNNING_MIGRATION": 21,
"SOURCE_ALREADY_SETUP": 23,
"TABLES_WITH_LIMITED_SUPPORT": 24,
"UNSUPPORTED_DATABASE_LOCALE": 25,
"UNSUPPORTED_DATABASE_FDW_CONFIG": 26,
"ERROR_RDBMS": 27,
"SOURCE_SIZE_EXCEEDS_THRESHOLD": 28,
"EXISTING_CONFLICTING_DATABASES": 29,
"PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE": 30,
}
)Enum value maps for MigrationJobVerificationError_ErrorCode.
PrivateConnection_State_name, PrivateConnection_State_value
var (
PrivateConnection_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "CREATED",
3: "FAILED",
4: "DELETING",
5: "FAILED_TO_DELETE",
6: "DELETED",
}
PrivateConnection_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"CREATED": 2,
"FAILED": 3,
"DELETING": 4,
"FAILED_TO_DELETE": 5,
"DELETED": 6,
}
)Enum value maps for PrivateConnection_State.
ValuePresentInList_name, ValuePresentInList_value
var (
ValuePresentInList_name = map[int32]string{
0: "VALUE_PRESENT_IN_LIST_UNSPECIFIED",
1: "VALUE_PRESENT_IN_LIST_IF_VALUE_LIST",
2: "VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST",
}
ValuePresentInList_value = map[string]int32{
"VALUE_PRESENT_IN_LIST_UNSPECIFIED": 0,
"VALUE_PRESENT_IN_LIST_IF_VALUE_LIST": 1,
"VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST": 2,
}
)Enum value maps for ValuePresentInList.
DatabaseEntityType_name, DatabaseEntityType_value
var (
DatabaseEntityType_name = map[int32]string{
0: "DATABASE_ENTITY_TYPE_UNSPECIFIED",
1: "DATABASE_ENTITY_TYPE_SCHEMA",
2: "DATABASE_ENTITY_TYPE_TABLE",
3: "DATABASE_ENTITY_TYPE_COLUMN",
4: "DATABASE_ENTITY_TYPE_CONSTRAINT",
5: "DATABASE_ENTITY_TYPE_INDEX",
6: "DATABASE_ENTITY_TYPE_TRIGGER",
7: "DATABASE_ENTITY_TYPE_VIEW",
8: "DATABASE_ENTITY_TYPE_SEQUENCE",
9: "DATABASE_ENTITY_TYPE_STORED_PROCEDURE",
10: "DATABASE_ENTITY_TYPE_FUNCTION",
11: "DATABASE_ENTITY_TYPE_SYNONYM",
12: "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE",
13: "DATABASE_ENTITY_TYPE_UDT",
14: "DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW",
15: "DATABASE_ENTITY_TYPE_DATABASE",
}
DatabaseEntityType_value = map[string]int32{
"DATABASE_ENTITY_TYPE_UNSPECIFIED": 0,
"DATABASE_ENTITY_TYPE_SCHEMA": 1,
"DATABASE_ENTITY_TYPE_TABLE": 2,
"DATABASE_ENTITY_TYPE_COLUMN": 3,
"DATABASE_ENTITY_TYPE_CONSTRAINT": 4,
"DATABASE_ENTITY_TYPE_INDEX": 5,
"DATABASE_ENTITY_TYPE_TRIGGER": 6,
"DATABASE_ENTITY_TYPE_VIEW": 7,
"DATABASE_ENTITY_TYPE_SEQUENCE": 8,
"DATABASE_ENTITY_TYPE_STORED_PROCEDURE": 9,
"DATABASE_ENTITY_TYPE_FUNCTION": 10,
"DATABASE_ENTITY_TYPE_SYNONYM": 11,
"DATABASE_ENTITY_TYPE_DATABASE_PACKAGE": 12,
"DATABASE_ENTITY_TYPE_UDT": 13,
"DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW": 14,
"DATABASE_ENTITY_TYPE_DATABASE": 15,
}
)Enum value maps for DatabaseEntityType.
EntityNameTransformation_name, EntityNameTransformation_value
var (
EntityNameTransformation_name = map[int32]string{
0: "ENTITY_NAME_TRANSFORMATION_UNSPECIFIED",
1: "ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION",
2: "ENTITY_NAME_TRANSFORMATION_LOWER_CASE",
3: "ENTITY_NAME_TRANSFORMATION_UPPER_CASE",
4: "ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE",
}
EntityNameTransformation_value = map[string]int32{
"ENTITY_NAME_TRANSFORMATION_UNSPECIFIED": 0,
"ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION": 1,
"ENTITY_NAME_TRANSFORMATION_LOWER_CASE": 2,
"ENTITY_NAME_TRANSFORMATION_UPPER_CASE": 3,
"ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE": 4,
}
)Enum value maps for EntityNameTransformation.
BackgroundJobType_name, BackgroundJobType_value
var (
BackgroundJobType_name = map[int32]string{
0: "BACKGROUND_JOB_TYPE_UNSPECIFIED",
1: "BACKGROUND_JOB_TYPE_SOURCE_SEED",
2: "BACKGROUND_JOB_TYPE_CONVERT",
3: "BACKGROUND_JOB_TYPE_APPLY_DESTINATION",
5: "BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE",
}
BackgroundJobType_value = map[string]int32{
"BACKGROUND_JOB_TYPE_UNSPECIFIED": 0,
"BACKGROUND_JOB_TYPE_SOURCE_SEED": 1,
"BACKGROUND_JOB_TYPE_CONVERT": 2,
"BACKGROUND_JOB_TYPE_APPLY_DESTINATION": 3,
"BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE": 5,
}
)Enum value maps for BackgroundJobType.
ImportRulesFileFormat_name, ImportRulesFileFormat_value
var (
ImportRulesFileFormat_name = map[int32]string{
0: "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED",
1: "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE",
2: "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE",
}
ImportRulesFileFormat_value = map[string]int32{
"IMPORT_RULES_FILE_FORMAT_UNSPECIFIED": 0,
"IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE": 1,
"IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE": 2,
}
)Enum value maps for ImportRulesFileFormat.
ValueComparison_name, ValueComparison_value
var (
ValueComparison_name = map[int32]string{
0: "VALUE_COMPARISON_UNSPECIFIED",
1: "VALUE_COMPARISON_IF_VALUE_SMALLER_THAN",
2: "VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN",
3: "VALUE_COMPARISON_IF_VALUE_LARGER_THAN",
4: "VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN",
}
ValueComparison_value = map[string]int32{
"VALUE_COMPARISON_UNSPECIFIED": 0,
"VALUE_COMPARISON_IF_VALUE_SMALLER_THAN": 1,
"VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN": 2,
"VALUE_COMPARISON_IF_VALUE_LARGER_THAN": 3,
"VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN": 4,
}
)Enum value maps for ValueComparison.
NumericFilterOption_name, NumericFilterOption_value
var (
NumericFilterOption_name = map[int32]string{
0: "NUMERIC_FILTER_OPTION_UNSPECIFIED",
1: "NUMERIC_FILTER_OPTION_ALL",
2: "NUMERIC_FILTER_OPTION_LIMIT",
3: "NUMERIC_FILTER_OPTION_LIMITLESS",
}
NumericFilterOption_value = map[string]int32{
"NUMERIC_FILTER_OPTION_UNSPECIFIED": 0,
"NUMERIC_FILTER_OPTION_ALL": 1,
"NUMERIC_FILTER_OPTION_LIMIT": 2,
"NUMERIC_FILTER_OPTION_LIMITLESS": 3,
}
)Enum value maps for NumericFilterOption.
BackgroundJobLogEntry_JobCompletionState_name, BackgroundJobLogEntry_JobCompletionState_value
var (
BackgroundJobLogEntry_JobCompletionState_name = map[int32]string{
0: "JOB_COMPLETION_STATE_UNSPECIFIED",
1: "SUCCEEDED",
2: "FAILED",
}
BackgroundJobLogEntry_JobCompletionState_value = map[string]int32{
"JOB_COMPLETION_STATE_UNSPECIFIED": 0,
"SUCCEEDED": 1,
"FAILED": 2,
}
)Enum value maps for BackgroundJobLogEntry_JobCompletionState.
MappingRule_State_name, MappingRule_State_value
var (
MappingRule_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ENABLED",
2: "DISABLED",
3: "DELETED",
}
MappingRule_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ENABLED": 1,
"DISABLED": 2,
"DELETED": 3,
}
)Enum value maps for MappingRule_State.
DatabaseEntity_TreeType_name, DatabaseEntity_TreeType_value
var (
DatabaseEntity_TreeType_name = map[int32]string{
0: "TREE_TYPE_UNSPECIFIED",
1: "SOURCE",
2: "DRAFT",
3: "DESTINATION",
}
DatabaseEntity_TreeType_value = map[string]int32{
"TREE_TYPE_UNSPECIFIED": 0,
"SOURCE": 1,
"DRAFT": 2,
"DESTINATION": 3,
}
)Enum value maps for DatabaseEntity_TreeType.
EntityIssue_IssueType_name, EntityIssue_IssueType_value
var (
EntityIssue_IssueType_name = map[int32]string{
0: "ISSUE_TYPE_UNSPECIFIED",
1: "ISSUE_TYPE_DDL",
2: "ISSUE_TYPE_APPLY",
3: "ISSUE_TYPE_CONVERT",
}
EntityIssue_IssueType_value = map[string]int32{
"ISSUE_TYPE_UNSPECIFIED": 0,
"ISSUE_TYPE_DDL": 1,
"ISSUE_TYPE_APPLY": 2,
"ISSUE_TYPE_CONVERT": 3,
}
)Enum value maps for EntityIssue_IssueType.
EntityIssue_IssueSeverity_name, EntityIssue_IssueSeverity_value
var (
EntityIssue_IssueSeverity_name = map[int32]string{
0: "ISSUE_SEVERITY_UNSPECIFIED",
1: "ISSUE_SEVERITY_INFO",
2: "ISSUE_SEVERITY_WARNING",
3: "ISSUE_SEVERITY_ERROR",
}
EntityIssue_IssueSeverity_value = map[string]int32{
"ISSUE_SEVERITY_UNSPECIFIED": 0,
"ISSUE_SEVERITY_INFO": 1,
"ISSUE_SEVERITY_WARNING": 2,
"ISSUE_SEVERITY_ERROR": 3,
}
)Enum value maps for EntityIssue_IssueSeverity.
DataMigrationService_ServiceDesc
var DataMigrationService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.clouddms.v1.DataMigrationService",
HandlerType: (*DataMigrationServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListMigrationJobs",
Handler: _DataMigrationService_ListMigrationJobs_Handler,
},
{
MethodName: "GetMigrationJob",
Handler: _DataMigrationService_GetMigrationJob_Handler,
},
{
MethodName: "CreateMigrationJob",
Handler: _DataMigrationService_CreateMigrationJob_Handler,
},
{
MethodName: "UpdateMigrationJob",
Handler: _DataMigrationService_UpdateMigrationJob_Handler,
},
{
MethodName: "DeleteMigrationJob",
Handler: _DataMigrationService_DeleteMigrationJob_Handler,
},
{
MethodName: "StartMigrationJob",
Handler: _DataMigrationService_StartMigrationJob_Handler,
},
{
MethodName: "StopMigrationJob",
Handler: _DataMigrationService_StopMigrationJob_Handler,
},
{
MethodName: "ResumeMigrationJob",
Handler: _DataMigrationService_ResumeMigrationJob_Handler,
},
{
MethodName: "PromoteMigrationJob",
Handler: _DataMigrationService_PromoteMigrationJob_Handler,
},
{
MethodName: "VerifyMigrationJob",
Handler: _DataMigrationService_VerifyMigrationJob_Handler,
},
{
MethodName: "RestartMigrationJob",
Handler: _DataMigrationService_RestartMigrationJob_Handler,
},
{
MethodName: "GenerateSshScript",
Handler: _DataMigrationService_GenerateSshScript_Handler,
},
{
MethodName: "GenerateTcpProxyScript",
Handler: _DataMigrationService_GenerateTcpProxyScript_Handler,
},
{
MethodName: "ListConnectionProfiles",
Handler: _DataMigrationService_ListConnectionProfiles_Handler,
},
{
MethodName: "GetConnectionProfile",
Handler: _DataMigrationService_GetConnectionProfile_Handler,
},
{
MethodName: "CreateConnectionProfile",
Handler: _DataMigrationService_CreateConnectionProfile_Handler,
},
{
MethodName: "UpdateConnectionProfile",
Handler: _DataMigrationService_UpdateConnectionProfile_Handler,
},
{
MethodName: "DeleteConnectionProfile",
Handler: _DataMigrationService_DeleteConnectionProfile_Handler,
},
{
MethodName: "CreatePrivateConnection",
Handler: _DataMigrationService_CreatePrivateConnection_Handler,
},
{
MethodName: "GetPrivateConnection",
Handler: _DataMigrationService_GetPrivateConnection_Handler,
},
{
MethodName: "ListPrivateConnections",
Handler: _DataMigrationService_ListPrivateConnections_Handler,
},
{
MethodName: "DeletePrivateConnection",
Handler: _DataMigrationService_DeletePrivateConnection_Handler,
},
{
MethodName: "GetConversionWorkspace",
Handler: _DataMigrationService_GetConversionWorkspace_Handler,
},
{
MethodName: "ListConversionWorkspaces",
Handler: _DataMigrationService_ListConversionWorkspaces_Handler,
},
{
MethodName: "CreateConversionWorkspace",
Handler: _DataMigrationService_CreateConversionWorkspace_Handler,
},
{
MethodName: "UpdateConversionWorkspace",
Handler: _DataMigrationService_UpdateConversionWorkspace_Handler,
},
{
MethodName: "DeleteConversionWorkspace",
Handler: _DataMigrationService_DeleteConversionWorkspace_Handler,
},
{
MethodName: "CreateMappingRule",
Handler: _DataMigrationService_CreateMappingRule_Handler,
},
{
MethodName: "DeleteMappingRule",
Handler: _DataMigrationService_DeleteMappingRule_Handler,
},
{
MethodName: "ListMappingRules",
Handler: _DataMigrationService_ListMappingRules_Handler,
},
{
MethodName: "GetMappingRule",
Handler: _DataMigrationService_GetMappingRule_Handler,
},
{
MethodName: "SeedConversionWorkspace",
Handler: _DataMigrationService_SeedConversionWorkspace_Handler,
},
{
MethodName: "ImportMappingRules",
Handler: _DataMigrationService_ImportMappingRules_Handler,
},
{
MethodName: "ConvertConversionWorkspace",
Handler: _DataMigrationService_ConvertConversionWorkspace_Handler,
},
{
MethodName: "CommitConversionWorkspace",
Handler: _DataMigrationService_CommitConversionWorkspace_Handler,
},
{
MethodName: "RollbackConversionWorkspace",
Handler: _DataMigrationService_RollbackConversionWorkspace_Handler,
},
{
MethodName: "ApplyConversionWorkspace",
Handler: _DataMigrationService_ApplyConversionWorkspace_Handler,
},
{
MethodName: "DescribeDatabaseEntities",
Handler: _DataMigrationService_DescribeDatabaseEntities_Handler,
},
{
MethodName: "SearchBackgroundJobs",
Handler: _DataMigrationService_SearchBackgroundJobs_Handler,
},
{
MethodName: "DescribeConversionWorkspaceRevisions",
Handler: _DataMigrationService_DescribeConversionWorkspaceRevisions_Handler,
},
{
MethodName: "FetchStaticIps",
Handler: _DataMigrationService_FetchStaticIps_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/clouddms/v1/clouddms.proto",
}DataMigrationService_ServiceDesc is the grpc.ServiceDesc for DataMigrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_clouddms_v1_clouddms_proto
var File_google_cloud_clouddms_v1_clouddms_proto protoreflect.FileDescriptorFile_google_cloud_clouddms_v1_clouddms_resources_proto
var File_google_cloud_clouddms_v1_clouddms_resources_proto protoreflect.FileDescriptorFile_google_cloud_clouddms_v1_conversionworkspace_resources_proto
var File_google_cloud_clouddms_v1_conversionworkspace_resources_proto protoreflect.FileDescriptorFunctions
func RegisterDataMigrationServiceServer
func RegisterDataMigrationServiceServer(s grpc.ServiceRegistrar, srv DataMigrationServiceServer)AlloyDbConnectionProfile
type AlloyDbConnectionProfile struct {
// Required. The AlloyDB cluster ID that this connection profile is associated
// with.
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Immutable. Metadata used to create the destination AlloyDB cluster.
Settings *AlloyDbSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
// contains filtered or unexported fields
}Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
func (*AlloyDbConnectionProfile) Descriptor
func (*AlloyDbConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbConnectionProfile.ProtoReflect.Descriptor instead.
func (*AlloyDbConnectionProfile) GetClusterId
func (x *AlloyDbConnectionProfile) GetClusterId() stringfunc (*AlloyDbConnectionProfile) GetSettings
func (x *AlloyDbConnectionProfile) GetSettings() *AlloyDbSettingsfunc (*AlloyDbConnectionProfile) ProtoMessage
func (*AlloyDbConnectionProfile) ProtoMessage()func (*AlloyDbConnectionProfile) ProtoReflect
func (x *AlloyDbConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*AlloyDbConnectionProfile) Reset
func (x *AlloyDbConnectionProfile) Reset()func (*AlloyDbConnectionProfile) String
func (x *AlloyDbConnectionProfile) String() stringAlloyDbSettings
type AlloyDbSettings struct {
// Required. Input only. Initial user to setup during cluster creation.
// Required.
InitialUser *AlloyDbSettings_UserPassword `protobuf:"bytes,1,opt,name=initial_user,json=initialUser,proto3" json:"initial_user,omitempty"`
// Required. The resource link for the VPC network in which cluster resources
// are created and from which they are accessible via Private IP. The network
// must belong to the same project as the cluster. It is specified in the
// form: "projects/{project_number}/global/networks/{network_id}". This is
// required to create a cluster.
VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Labels for the AlloyDB cluster created by DMS. An object containing a list
// of 'key', 'value' pairs.
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
PrimaryInstanceSettings *AlloyDbSettings_PrimaryInstanceSettings `protobuf:"bytes,4,opt,name=primary_instance_settings,json=primaryInstanceSettings,proto3" json:"primary_instance_settings,omitempty"`
// Optional. The encryption config can be specified to encrypt the data disks
// and other persistent data resources of a cluster with a
// customer-managed encryption key (CMEK). When this field is not
// specified, the cluster will then use default encryption scheme to
// protect the user data.
EncryptionConfig *AlloyDbSettings_EncryptionConfig `protobuf:"bytes,5,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
// contains filtered or unexported fields
}Settings for creating an AlloyDB cluster.
func (*AlloyDbSettings) Descriptor
func (*AlloyDbSettings) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbSettings.ProtoReflect.Descriptor instead.
func (*AlloyDbSettings) GetEncryptionConfig
func (x *AlloyDbSettings) GetEncryptionConfig() *AlloyDbSettings_EncryptionConfigfunc (*AlloyDbSettings) GetInitialUser
func (x *AlloyDbSettings) GetInitialUser() *AlloyDbSettings_UserPasswordfunc (*AlloyDbSettings) GetLabels
func (x *AlloyDbSettings) GetLabels() map[string]stringfunc (*AlloyDbSettings) GetPrimaryInstanceSettings
func (x *AlloyDbSettings) GetPrimaryInstanceSettings() *AlloyDbSettings_PrimaryInstanceSettingsfunc (*AlloyDbSettings) GetVpcNetwork
func (x *AlloyDbSettings) GetVpcNetwork() stringfunc (*AlloyDbSettings) ProtoMessage
func (*AlloyDbSettings) ProtoMessage()func (*AlloyDbSettings) ProtoReflect
func (x *AlloyDbSettings) ProtoReflect() protoreflect.Messagefunc (*AlloyDbSettings) Reset
func (x *AlloyDbSettings) Reset()func (*AlloyDbSettings) String
func (x *AlloyDbSettings) String() stringAlloyDbSettings_EncryptionConfig
type AlloyDbSettings_EncryptionConfig struct {
// The fully-qualified resource name of the KMS key.
// Each Cloud KMS key is regionalized and has the following format:
// projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
// contains filtered or unexported fields
}EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key).
func (*AlloyDbSettings_EncryptionConfig) Descriptor
func (*AlloyDbSettings_EncryptionConfig) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbSettings_EncryptionConfig.ProtoReflect.Descriptor instead.
func (*AlloyDbSettings_EncryptionConfig) GetKmsKeyName
func (x *AlloyDbSettings_EncryptionConfig) GetKmsKeyName() stringfunc (*AlloyDbSettings_EncryptionConfig) ProtoMessage
func (*AlloyDbSettings_EncryptionConfig) ProtoMessage()func (*AlloyDbSettings_EncryptionConfig) ProtoReflect
func (x *AlloyDbSettings_EncryptionConfig) ProtoReflect() protoreflect.Messagefunc (*AlloyDbSettings_EncryptionConfig) Reset
func (x *AlloyDbSettings_EncryptionConfig) Reset()func (*AlloyDbSettings_EncryptionConfig) String
func (x *AlloyDbSettings_EncryptionConfig) String() stringAlloyDbSettings_PrimaryInstanceSettings
type AlloyDbSettings_PrimaryInstanceSettings struct {
// Required. The ID of the AlloyDB primary instance. The ID must satisfy the
// regex expression "[a-z0-9-]+".
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Configuration for the machines that host the underlying
// database engine.
MachineConfig *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig `protobuf:"bytes,2,opt,name=machine_config,json=machineConfig,proto3" json:"machine_config,omitempty"`
// Database flags to pass to AlloyDB when DMS is creating the AlloyDB
// cluster and instances. See the AlloyDB documentation for how these can be
// used.
DatabaseFlags map[string]string `protobuf:"bytes,6,rep,name=database_flags,json=databaseFlags,proto3" json:"database_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Labels for the AlloyDB primary instance created by DMS. An object
// containing a list of 'key', 'value' pairs.
Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The private IP address for the Instance.
// This is the connection endpoint for an end-user application.
PrivateIp string `protobuf:"bytes,8,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
// contains filtered or unexported fields
}Settings for the cluster's primary instance
func (*AlloyDbSettings_PrimaryInstanceSettings) Descriptor
func (*AlloyDbSettings_PrimaryInstanceSettings) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbSettings_PrimaryInstanceSettings.ProtoReflect.Descriptor instead.
func (*AlloyDbSettings_PrimaryInstanceSettings) GetDatabaseFlags
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetDatabaseFlags() map[string]stringfunc (*AlloyDbSettings_PrimaryInstanceSettings) GetId
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetId() stringfunc (*AlloyDbSettings_PrimaryInstanceSettings) GetLabels
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetLabels() map[string]stringfunc (*AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig() *AlloyDbSettings_PrimaryInstanceSettings_MachineConfigfunc (*AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp() stringfunc (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage
func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage()func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect
func (x *AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect() protoreflect.Messagefunc (*AlloyDbSettings_PrimaryInstanceSettings) Reset
func (x *AlloyDbSettings_PrimaryInstanceSettings) Reset()func (*AlloyDbSettings_PrimaryInstanceSettings) String
func (x *AlloyDbSettings_PrimaryInstanceSettings) String() stringAlloyDbSettings_PrimaryInstanceSettings_MachineConfig
type AlloyDbSettings_PrimaryInstanceSettings_MachineConfig struct {
// The number of CPU's in the VM instance.
CpuCount int32 `protobuf:"varint,1,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
// contains filtered or unexported fields
}MachineConfig describes the configuration of a machine.
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Descriptor
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbSettings_PrimaryInstanceSettings_MachineConfig.ProtoReflect.Descriptor instead.
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) GetCpuCount
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) GetCpuCount() int32func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage()func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect() protoreflect.Messagefunc (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset()func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String() stringAlloyDbSettings_UserPassword
type AlloyDbSettings_UserPassword struct {
// The database username.
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// The initial password for the user.
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates if the initial_user.password field has been set.
PasswordSet bool `protobuf:"varint,3,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// contains filtered or unexported fields
}The username/password for a database user. Used for specifying initial users at cluster creation time.
func (*AlloyDbSettings_UserPassword) Descriptor
func (*AlloyDbSettings_UserPassword) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbSettings_UserPassword.ProtoReflect.Descriptor instead.
func (*AlloyDbSettings_UserPassword) GetPassword
func (x *AlloyDbSettings_UserPassword) GetPassword() stringfunc (*AlloyDbSettings_UserPassword) GetPasswordSet
func (x *AlloyDbSettings_UserPassword) GetPasswordSet() boolfunc (*AlloyDbSettings_UserPassword) GetUser
func (x *AlloyDbSettings_UserPassword) GetUser() stringfunc (*AlloyDbSettings_UserPassword) ProtoMessage
func (*AlloyDbSettings_UserPassword) ProtoMessage()func (*AlloyDbSettings_UserPassword) ProtoReflect
func (x *AlloyDbSettings_UserPassword) ProtoReflect() protoreflect.Messagefunc (*AlloyDbSettings_UserPassword) Reset
func (x *AlloyDbSettings_UserPassword) Reset()func (*AlloyDbSettings_UserPassword) String
func (x *AlloyDbSettings_UserPassword) String() stringApplyConversionWorkspaceRequest
type ApplyConversionWorkspaceRequest struct {
// Required. The name of the conversion workspace resource for which to apply
// the draft tree. Must be in the form of:
//
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Filter which entities to apply. Leaving this field empty will apply all of
// the entities. Supports Google AIP 160 based filtering.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Only validates the apply process, but doesn't change the
// destination database. Only works for PostgreSQL destination connection
// profile.
DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// Optional. Specifies whether the conversion workspace is to be committed
// automatically after the apply.
AutoCommit bool `protobuf:"varint,4,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
// Which destination to use when applying the conversion workspace.
//
// Types that are valid to be assigned to Destination:
//
// *ApplyConversionWorkspaceRequest_ConnectionProfile
Destination isApplyConversionWorkspaceRequest_Destination `protobuf_oneof:"destination"`
// contains filtered or unexported fields
}Request message for 'ApplyConversionWorkspace' request.
func (*ApplyConversionWorkspaceRequest) Descriptor
func (*ApplyConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use ApplyConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*ApplyConversionWorkspaceRequest) GetAutoCommit
func (x *ApplyConversionWorkspaceRequest) GetAutoCommit() boolfunc (*ApplyConversionWorkspaceRequest) GetConnectionProfile
func (x *ApplyConversionWorkspaceRequest) GetConnectionProfile() stringfunc (*ApplyConversionWorkspaceRequest) GetDestination
func (x *ApplyConversionWorkspaceRequest) GetDestination() isApplyConversionWorkspaceRequest_Destinationfunc (*ApplyConversionWorkspaceRequest) GetDryRun
func (x *ApplyConversionWorkspaceRequest) GetDryRun() boolfunc (*ApplyConversionWorkspaceRequest) GetFilter
func (x *ApplyConversionWorkspaceRequest) GetFilter() stringfunc (*ApplyConversionWorkspaceRequest) GetName
func (x *ApplyConversionWorkspaceRequest) GetName() stringfunc (*ApplyConversionWorkspaceRequest) ProtoMessage
func (*ApplyConversionWorkspaceRequest) ProtoMessage()func (*ApplyConversionWorkspaceRequest) ProtoReflect
func (x *ApplyConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*ApplyConversionWorkspaceRequest) Reset
func (x *ApplyConversionWorkspaceRequest) Reset()func (*ApplyConversionWorkspaceRequest) String
func (x *ApplyConversionWorkspaceRequest) String() stringApplyConversionWorkspaceRequest_ConnectionProfile
type ApplyConversionWorkspaceRequest_ConnectionProfile struct {
// Optional. Fully qualified (Uri) name of the destination connection
// profile.
ConnectionProfile string `protobuf:"bytes,100,opt,name=connection_profile,json=connectionProfile,proto3,oneof"`
}ApplyHash
type ApplyHash struct {
// Types that are valid to be assigned to HashFunction:
//
// *ApplyHash_UuidFromBytes
HashFunction isApplyHash_HashFunction `protobuf_oneof:"hash_function"`
// contains filtered or unexported fields
}Apply a hash function on the value.
func (*ApplyHash) Descriptor
Deprecated: Use ApplyHash.ProtoReflect.Descriptor instead.
func (*ApplyHash) GetHashFunction
func (x *ApplyHash) GetHashFunction() isApplyHash_HashFunctionfunc (*ApplyHash) GetUuidFromBytes
func (*ApplyHash) ProtoMessage
func (*ApplyHash) ProtoMessage()func (*ApplyHash) ProtoReflect
func (x *ApplyHash) ProtoReflect() protoreflect.Messagefunc (*ApplyHash) Reset
func (x *ApplyHash) Reset()func (*ApplyHash) String
ApplyHash_UuidFromBytes
type ApplyHash_UuidFromBytes struct {
// Optional. Generate UUID from the data's byte array
UuidFromBytes *emptypb.Empty `protobuf:"bytes,100,opt,name=uuid_from_bytes,json=uuidFromBytes,proto3,oneof"`
}AssignSpecificValue
type AssignSpecificValue struct {
// Required. Specific value to be assigned
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Set to a specific value (value is converted to fit the target data type)
func (*AssignSpecificValue) Descriptor
func (*AssignSpecificValue) Descriptor() ([]byte, []int)Deprecated: Use AssignSpecificValue.ProtoReflect.Descriptor instead.
func (*AssignSpecificValue) GetValue
func (x *AssignSpecificValue) GetValue() stringfunc (*AssignSpecificValue) ProtoMessage
func (*AssignSpecificValue) ProtoMessage()func (*AssignSpecificValue) ProtoReflect
func (x *AssignSpecificValue) ProtoReflect() protoreflect.Messagefunc (*AssignSpecificValue) Reset
func (x *AssignSpecificValue) Reset()func (*AssignSpecificValue) String
func (x *AssignSpecificValue) String() stringBackgroundJobLogEntry
type BackgroundJobLogEntry struct {
// The background job log entry ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The type of job that was executed.
JobType BackgroundJobType `protobuf:"varint,2,opt,name=job_type,json=jobType,proto3,enum=google.cloud.clouddms.v1.BackgroundJobType" json:"job_type,omitempty"`
// The timestamp when the background job was started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The timestamp when the background job was finished.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// Output only. Job completion state, i.e. the final state after the job
// completed.
CompletionState BackgroundJobLogEntry_JobCompletionState `protobuf:"varint,5,opt,name=completion_state,json=completionState,proto3,enum=google.cloud.clouddms.v1.BackgroundJobLogEntry_JobCompletionState" json:"completion_state,omitempty"`
// Output only. Job completion comment, such as how many entities were seeded,
// how many warnings were found during conversion, and similar information.
CompletionComment string `protobuf:"bytes,6,opt,name=completion_comment,json=completionComment,proto3" json:"completion_comment,omitempty"`
// Output only. Whether the client requested the conversion workspace to be
// committed after a successful completion of the job.
RequestAutocommit bool `protobuf:"varint,7,opt,name=request_autocommit,json=requestAutocommit,proto3" json:"request_autocommit,omitempty"`
// Types that are valid to be assigned to JobDetails:
//
// *BackgroundJobLogEntry_SeedJobDetails_
// *BackgroundJobLogEntry_ImportRulesJobDetails_
// *BackgroundJobLogEntry_ConvertJobDetails_
// *BackgroundJobLogEntry_ApplyJobDetails_
JobDetails isBackgroundJobLogEntry_JobDetails `protobuf_oneof:"job_details"`
// contains filtered or unexported fields
}Execution log of a background job.
func (*BackgroundJobLogEntry) Descriptor
func (*BackgroundJobLogEntry) Descriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry.ProtoReflect.Descriptor instead.
func (*BackgroundJobLogEntry) GetApplyJobDetails
func (x *BackgroundJobLogEntry) GetApplyJobDetails() *BackgroundJobLogEntry_ApplyJobDetailsfunc (*BackgroundJobLogEntry) GetCompletionComment
func (x *BackgroundJobLogEntry) GetCompletionComment() stringfunc (*BackgroundJobLogEntry) GetCompletionState
func (x *BackgroundJobLogEntry) GetCompletionState() BackgroundJobLogEntry_JobCompletionStatefunc (*BackgroundJobLogEntry) GetConvertJobDetails
func (x *BackgroundJobLogEntry) GetConvertJobDetails() *BackgroundJobLogEntry_ConvertJobDetailsfunc (*BackgroundJobLogEntry) GetFinishTime
func (x *BackgroundJobLogEntry) GetFinishTime() *timestamppb.Timestampfunc (*BackgroundJobLogEntry) GetId
func (x *BackgroundJobLogEntry) GetId() stringfunc (*BackgroundJobLogEntry) GetImportRulesJobDetails
func (x *BackgroundJobLogEntry) GetImportRulesJobDetails() *BackgroundJobLogEntry_ImportRulesJobDetailsfunc (*BackgroundJobLogEntry) GetJobDetails
func (x *BackgroundJobLogEntry) GetJobDetails() isBackgroundJobLogEntry_JobDetailsfunc (*BackgroundJobLogEntry) GetJobType
func (x *BackgroundJobLogEntry) GetJobType() BackgroundJobTypefunc (*BackgroundJobLogEntry) GetRequestAutocommit
func (x *BackgroundJobLogEntry) GetRequestAutocommit() boolfunc (*BackgroundJobLogEntry) GetSeedJobDetails
func (x *BackgroundJobLogEntry) GetSeedJobDetails() *BackgroundJobLogEntry_SeedJobDetailsfunc (*BackgroundJobLogEntry) GetStartTime
func (x *BackgroundJobLogEntry) GetStartTime() *timestamppb.Timestampfunc (*BackgroundJobLogEntry) ProtoMessage
func (*BackgroundJobLogEntry) ProtoMessage()func (*BackgroundJobLogEntry) ProtoReflect
func (x *BackgroundJobLogEntry) ProtoReflect() protoreflect.Messagefunc (*BackgroundJobLogEntry) Reset
func (x *BackgroundJobLogEntry) Reset()func (*BackgroundJobLogEntry) String
func (x *BackgroundJobLogEntry) String() stringBackgroundJobLogEntry_ApplyJobDetails
type BackgroundJobLogEntry_ApplyJobDetails struct {
// Output only. The connection profile which was used for the apply job.
ConnectionProfile string `protobuf:"bytes,1,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
// Output only. AIP-160 based filter used to specify the entities to apply
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Details regarding an Apply background job.
func (*BackgroundJobLogEntry_ApplyJobDetails) Descriptor
func (*BackgroundJobLogEntry_ApplyJobDetails) Descriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry_ApplyJobDetails.ProtoReflect.Descriptor instead.
func (*BackgroundJobLogEntry_ApplyJobDetails) GetConnectionProfile
func (x *BackgroundJobLogEntry_ApplyJobDetails) GetConnectionProfile() stringfunc (*BackgroundJobLogEntry_ApplyJobDetails) GetFilter
func (x *BackgroundJobLogEntry_ApplyJobDetails) GetFilter() stringfunc (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage()func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ApplyJobDetails) ProtoReflect() protoreflect.Messagefunc (*BackgroundJobLogEntry_ApplyJobDetails) Reset
func (x *BackgroundJobLogEntry_ApplyJobDetails) Reset()func (*BackgroundJobLogEntry_ApplyJobDetails) String
func (x *BackgroundJobLogEntry_ApplyJobDetails) String() stringBackgroundJobLogEntry_ApplyJobDetails_
type BackgroundJobLogEntry_ApplyJobDetails_ struct {
// Output only. Apply job details.
ApplyJobDetails *BackgroundJobLogEntry_ApplyJobDetails `protobuf:"bytes,103,opt,name=apply_job_details,json=applyJobDetails,proto3,oneof"`
}BackgroundJobLogEntry_ConvertJobDetails
type BackgroundJobLogEntry_ConvertJobDetails struct {
// Output only. AIP-160 based filter used to specify the entities to convert
Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Details regarding a Convert background job.
func (*BackgroundJobLogEntry_ConvertJobDetails) Descriptor
func (*BackgroundJobLogEntry_ConvertJobDetails) Descriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry_ConvertJobDetails.ProtoReflect.Descriptor instead.
func (*BackgroundJobLogEntry_ConvertJobDetails) GetFilter
func (x *BackgroundJobLogEntry_ConvertJobDetails) GetFilter() stringfunc (*BackgroundJobLogEntry_ConvertJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoMessage()func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ConvertJobDetails) ProtoReflect() protoreflect.Messagefunc (*BackgroundJobLogEntry_ConvertJobDetails) Reset
func (x *BackgroundJobLogEntry_ConvertJobDetails) Reset()func (*BackgroundJobLogEntry_ConvertJobDetails) String
func (x *BackgroundJobLogEntry_ConvertJobDetails) String() stringBackgroundJobLogEntry_ConvertJobDetails_
type BackgroundJobLogEntry_ConvertJobDetails_ struct {
// Output only. Convert job details.
ConvertJobDetails *BackgroundJobLogEntry_ConvertJobDetails `protobuf:"bytes,102,opt,name=convert_job_details,json=convertJobDetails,proto3,oneof"`
}BackgroundJobLogEntry_ImportRulesJobDetails
type BackgroundJobLogEntry_ImportRulesJobDetails struct {
// Output only. File names used for the import rules job.
Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// Output only. The requested file format.
FileFormat ImportRulesFileFormat `protobuf:"varint,2,opt,name=file_format,json=fileFormat,proto3,enum=google.cloud.clouddms.v1.ImportRulesFileFormat" json:"file_format,omitempty"`
// contains filtered or unexported fields
}Details regarding an Import Rules background job.
func (*BackgroundJobLogEntry_ImportRulesJobDetails) Descriptor
func (*BackgroundJobLogEntry_ImportRulesJobDetails) Descriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry_ImportRulesJobDetails.ProtoReflect.Descriptor instead.
func (*BackgroundJobLogEntry_ImportRulesJobDetails) GetFileFormat
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) GetFileFormat() ImportRulesFileFormatfunc (*BackgroundJobLogEntry_ImportRulesJobDetails) GetFiles
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) GetFiles() []stringfunc (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoMessage()func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) ProtoReflect() protoreflect.Messagefunc (*BackgroundJobLogEntry_ImportRulesJobDetails) Reset
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) Reset()func (*BackgroundJobLogEntry_ImportRulesJobDetails) String
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) String() stringBackgroundJobLogEntry_ImportRulesJobDetails_
type BackgroundJobLogEntry_ImportRulesJobDetails_ struct {
// Output only. Import rules job details.
ImportRulesJobDetails *BackgroundJobLogEntry_ImportRulesJobDetails `protobuf:"bytes,101,opt,name=import_rules_job_details,json=importRulesJobDetails,proto3,oneof"`
}BackgroundJobLogEntry_JobCompletionState
type BackgroundJobLogEntry_JobCompletionState int32Final state after a job completes.
BackgroundJobLogEntry_JOB_COMPLETION_STATE_UNSPECIFIED, BackgroundJobLogEntry_SUCCEEDED, BackgroundJobLogEntry_FAILED
const (
// The status is not specified. This state is used when job is not yet
// finished.
BackgroundJobLogEntry_JOB_COMPLETION_STATE_UNSPECIFIED BackgroundJobLogEntry_JobCompletionState = 0
// Success.
BackgroundJobLogEntry_SUCCEEDED BackgroundJobLogEntry_JobCompletionState = 1
// Error.
BackgroundJobLogEntry_FAILED BackgroundJobLogEntry_JobCompletionState = 2
)func (BackgroundJobLogEntry_JobCompletionState) Descriptor
func (BackgroundJobLogEntry_JobCompletionState) Descriptor() protoreflect.EnumDescriptorfunc (BackgroundJobLogEntry_JobCompletionState) Enum
func (BackgroundJobLogEntry_JobCompletionState) EnumDescriptor
func (BackgroundJobLogEntry_JobCompletionState) EnumDescriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry_JobCompletionState.Descriptor instead.
func (BackgroundJobLogEntry_JobCompletionState) Number
func (x BackgroundJobLogEntry_JobCompletionState) Number() protoreflect.EnumNumberfunc (BackgroundJobLogEntry_JobCompletionState) String
func (x BackgroundJobLogEntry_JobCompletionState) String() stringfunc (BackgroundJobLogEntry_JobCompletionState) Type
func (BackgroundJobLogEntry_JobCompletionState) Type() protoreflect.EnumTypeBackgroundJobLogEntry_SeedJobDetails
type BackgroundJobLogEntry_SeedJobDetails struct {
// Output only. The connection profile which was used for the seed job.
ConnectionProfile string `protobuf:"bytes,1,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
// contains filtered or unexported fields
}Details regarding a Seed background job.
func (*BackgroundJobLogEntry_SeedJobDetails) Descriptor
func (*BackgroundJobLogEntry_SeedJobDetails) Descriptor() ([]byte, []int)Deprecated: Use BackgroundJobLogEntry_SeedJobDetails.ProtoReflect.Descriptor instead.
func (*BackgroundJobLogEntry_SeedJobDetails) GetConnectionProfile
func (x *BackgroundJobLogEntry_SeedJobDetails) GetConnectionProfile() stringfunc (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage()func (*BackgroundJobLogEntry_SeedJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_SeedJobDetails) ProtoReflect() protoreflect.Messagefunc (*BackgroundJobLogEntry_SeedJobDetails) Reset
func (x *BackgroundJobLogEntry_SeedJobDetails) Reset()func (*BackgroundJobLogEntry_SeedJobDetails) String
func (x *BackgroundJobLogEntry_SeedJobDetails) String() stringBackgroundJobLogEntry_SeedJobDetails_
type BackgroundJobLogEntry_SeedJobDetails_ struct {
// Output only. Seed job details.
SeedJobDetails *BackgroundJobLogEntry_SeedJobDetails `protobuf:"bytes,100,opt,name=seed_job_details,json=seedJobDetails,proto3,oneof"`
}BackgroundJobType
type BackgroundJobType int32The types of jobs that can be executed in the background.
BackgroundJobType_BACKGROUND_JOB_TYPE_UNSPECIFIED, BackgroundJobType_BACKGROUND_JOB_TYPE_SOURCE_SEED, BackgroundJobType_BACKGROUND_JOB_TYPE_CONVERT, BackgroundJobType_BACKGROUND_JOB_TYPE_APPLY_DESTINATION, BackgroundJobType_BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE
const (
// Unspecified background job type.
BackgroundJobType_BACKGROUND_JOB_TYPE_UNSPECIFIED BackgroundJobType = 0
// Job to seed from the source database.
BackgroundJobType_BACKGROUND_JOB_TYPE_SOURCE_SEED BackgroundJobType = 1
// Job to convert the source database into a draft of the destination
// database.
BackgroundJobType_BACKGROUND_JOB_TYPE_CONVERT BackgroundJobType = 2
// Job to apply the draft tree onto the destination.
BackgroundJobType_BACKGROUND_JOB_TYPE_APPLY_DESTINATION BackgroundJobType = 3
// Job to import and convert mapping rules from an external source such as an
// ora2pg config file.
BackgroundJobType_BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE BackgroundJobType = 5
)func (BackgroundJobType) Descriptor
func (BackgroundJobType) Descriptor() protoreflect.EnumDescriptorfunc (BackgroundJobType) Enum
func (x BackgroundJobType) Enum() *BackgroundJobTypefunc (BackgroundJobType) EnumDescriptor
func (BackgroundJobType) EnumDescriptor() ([]byte, []int)Deprecated: Use BackgroundJobType.Descriptor instead.
func (BackgroundJobType) Number
func (x BackgroundJobType) Number() protoreflect.EnumNumberfunc (BackgroundJobType) String
func (x BackgroundJobType) String() stringfunc (BackgroundJobType) Type
func (BackgroundJobType) Type() protoreflect.EnumTypeCloudSqlConnectionProfile
type CloudSqlConnectionProfile struct {
// Output only. The Cloud SQL instance ID that this connection profile is
// associated with.
CloudSqlId string `protobuf:"bytes,1,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"`
// Immutable. Metadata used to create the destination Cloud SQL database.
Settings *CloudSqlSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
// Output only. The Cloud SQL database instance's private IP.
PrivateIp string `protobuf:"bytes,3,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
// Output only. The Cloud SQL database instance's public IP.
PublicIp string `protobuf:"bytes,4,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
// Output only. The Cloud SQL database instance's additional (outgoing) public
// IP. Used when the Cloud SQL database availability type is REGIONAL (i.e.
// multiple zones / highly available).
AdditionalPublicIp string `protobuf:"bytes,5,opt,name=additional_public_ip,json=additionalPublicIp,proto3" json:"additional_public_ip,omitempty"`
// contains filtered or unexported fields
}Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
func (*CloudSqlConnectionProfile) Descriptor
func (*CloudSqlConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*CloudSqlConnectionProfile) GetAdditionalPublicIp
func (x *CloudSqlConnectionProfile) GetAdditionalPublicIp() stringfunc (*CloudSqlConnectionProfile) GetCloudSqlId
func (x *CloudSqlConnectionProfile) GetCloudSqlId() stringfunc (*CloudSqlConnectionProfile) GetPrivateIp
func (x *CloudSqlConnectionProfile) GetPrivateIp() stringfunc (*CloudSqlConnectionProfile) GetPublicIp
func (x *CloudSqlConnectionProfile) GetPublicIp() stringfunc (*CloudSqlConnectionProfile) GetSettings
func (x *CloudSqlConnectionProfile) GetSettings() *CloudSqlSettingsfunc (*CloudSqlConnectionProfile) ProtoMessage
func (*CloudSqlConnectionProfile) ProtoMessage()func (*CloudSqlConnectionProfile) ProtoReflect
func (x *CloudSqlConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*CloudSqlConnectionProfile) Reset
func (x *CloudSqlConnectionProfile) Reset()func (*CloudSqlConnectionProfile) String
func (x *CloudSqlConnectionProfile) String() stringCloudSqlSettings
type CloudSqlSettings struct {
// The database engine type and version.
DatabaseVersion CloudSqlSettings_SqlDatabaseVersion `protobuf:"varint,1,opt,name=database_version,json=databaseVersion,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_SqlDatabaseVersion" json:"database_version,omitempty"`
// The resource labels for a Cloud SQL instance to use to annotate any related
// underlying resources such as Compute Engine VMs.
// An object containing a list of "key": "value" pairs.
//
// Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
UserLabels map[string]string `protobuf:"bytes,2,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The tier (or machine type) for this instance, for example:
// `db-n1-standard-1` (MySQL instances) or
// `db-custom-1-3840` (PostgreSQL instances).
// For more information, see
// [Cloud SQL Instance
// Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
Tier string `protobuf:"bytes,3,opt,name=tier,proto3" json:"tier,omitempty"`
// The maximum size to which storage capacity can be automatically increased.
// The default value is 0, which specifies that there is no limit.
StorageAutoResizeLimit *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=storage_auto_resize_limit,json=storageAutoResizeLimit,proto3" json:"storage_auto_resize_limit,omitempty"`
// The activation policy specifies when the instance is activated; it is
// applicable only when the instance state is 'RUNNABLE'. Valid values:
//
// 'ALWAYS': The instance is on, and remains so even in
// the absence of connection requests.
//
// `NEVER`: The instance is off; it is not activated, even if a
// connection request arrives.
ActivationPolicy CloudSqlSettings_SqlActivationPolicy `protobuf:"varint,5,opt,name=activation_policy,json=activationPolicy,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_SqlActivationPolicy" json:"activation_policy,omitempty"`
// The settings for IP Management. This allows to enable or disable the
// instance IP and manage which external networks can connect to the instance.
// The IPv4 address cannot be disabled.
IpConfig *SqlIpConfig `protobuf:"bytes,6,opt,name=ip_config,json=ipConfig,proto3" json:"ip_config,omitempty"`
// [default: ON] If you enable this setting, Cloud SQL checks your available
// storage every 30 seconds. If the available storage falls below a threshold
// size, Cloud SQL automatically adds additional storage capacity. If the
// available storage repeatedly falls below the threshold size, Cloud SQL
// continues to add storage until it reaches the maximum of 30 TB.
AutoStorageIncrease *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=auto_storage_increase,json=autoStorageIncrease,proto3" json:"auto_storage_increase,omitempty"`
// The database flags passed to the Cloud SQL instance at startup.
// An object containing a list of "key": value pairs.
// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
DatabaseFlags map[string]string `protobuf:"bytes,8,rep,name=database_flags,json=databaseFlags,proto3" json:"database_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The type of storage: `PD_SSD` (default) or `PD_HDD`.
DataDiskType CloudSqlSettings_SqlDataDiskType `protobuf:"varint,9,opt,name=data_disk_type,json=dataDiskType,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_SqlDataDiskType" json:"data_disk_type,omitempty"`
// The storage capacity available to the database, in GB.
// The minimum (and default) size is 10GB.
DataDiskSizeGb *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"`
// The Google Cloud Platform zone where your Cloud SQL database instance is
// located.
Zone string `protobuf:"bytes,11,opt,name=zone,proto3" json:"zone,omitempty"`
// Optional. The Google Cloud Platform zone where the failover Cloud SQL
// database instance is located. Used when the Cloud SQL database availability
// type is REGIONAL (i.e. multiple zones / highly available).
SecondaryZone string `protobuf:"bytes,18,opt,name=secondary_zone,json=secondaryZone,proto3" json:"secondary_zone,omitempty"`
// The Database Migration Service source connection profile ID,
// in the format:
// `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
SourceId string `protobuf:"bytes,12,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
// Input only. Initial root password.
RootPassword string `protobuf:"bytes,13,opt,name=root_password,json=rootPassword,proto3" json:"root_password,omitempty"`
// Output only. Indicates If this connection profile root password is stored.
RootPasswordSet bool `protobuf:"varint,14,opt,name=root_password_set,json=rootPasswordSet,proto3" json:"root_password_set,omitempty"`
// The Cloud SQL default instance level collation.
Collation string `protobuf:"bytes,15,opt,name=collation,proto3" json:"collation,omitempty"`
// The KMS key name used for the csql instance.
CmekKeyName string `protobuf:"bytes,16,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
// Optional. Availability type. Potential values:
// * `ZONAL`: The instance serves data from only one zone. Outages in that
// zone affect data availability.
// * `REGIONAL`: The instance can serve data from more than one zone in a
// region (it is highly available).
AvailabilityType CloudSqlSettings_SqlAvailabilityType `protobuf:"varint,17,opt,name=availability_type,json=availabilityType,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_SqlAvailabilityType" json:"availability_type,omitempty"`
// Optional. The edition of the given Cloud SQL instance.
Edition CloudSqlSettings_Edition `protobuf:"varint,19,opt,name=edition,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_Edition" json:"edition,omitempty"`
// contains filtered or unexported fields
}Settings for creating a Cloud SQL database instance.
func (*CloudSqlSettings) Descriptor
func (*CloudSqlSettings) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings.ProtoReflect.Descriptor instead.
func (*CloudSqlSettings) GetActivationPolicy
func (x *CloudSqlSettings) GetActivationPolicy() CloudSqlSettings_SqlActivationPolicyfunc (*CloudSqlSettings) GetAutoStorageIncrease
func (x *CloudSqlSettings) GetAutoStorageIncrease() *wrapperspb.BoolValuefunc (*CloudSqlSettings) GetAvailabilityType
func (x *CloudSqlSettings) GetAvailabilityType() CloudSqlSettings_SqlAvailabilityTypefunc (*CloudSqlSettings) GetCmekKeyName
func (x *CloudSqlSettings) GetCmekKeyName() stringfunc (*CloudSqlSettings) GetCollation
func (x *CloudSqlSettings) GetCollation() stringfunc (*CloudSqlSettings) GetDataDiskSizeGb
func (x *CloudSqlSettings) GetDataDiskSizeGb() *wrapperspb.Int64Valuefunc (*CloudSqlSettings) GetDataDiskType
func (x *CloudSqlSettings) GetDataDiskType() CloudSqlSettings_SqlDataDiskTypefunc (*CloudSqlSettings) GetDatabaseFlags
func (x *CloudSqlSettings) GetDatabaseFlags() map[string]stringfunc (*CloudSqlSettings) GetDatabaseVersion
func (x *CloudSqlSettings) GetDatabaseVersion() CloudSqlSettings_SqlDatabaseVersionfunc (*CloudSqlSettings) GetEdition
func (x *CloudSqlSettings) GetEdition() CloudSqlSettings_Editionfunc (*CloudSqlSettings) GetIpConfig
func (x *CloudSqlSettings) GetIpConfig() *SqlIpConfigfunc (*CloudSqlSettings) GetRootPassword
func (x *CloudSqlSettings) GetRootPassword() stringfunc (*CloudSqlSettings) GetRootPasswordSet
func (x *CloudSqlSettings) GetRootPasswordSet() boolfunc (*CloudSqlSettings) GetSecondaryZone
func (x *CloudSqlSettings) GetSecondaryZone() stringfunc (*CloudSqlSettings) GetSourceId
func (x *CloudSqlSettings) GetSourceId() stringfunc (*CloudSqlSettings) GetStorageAutoResizeLimit
func (x *CloudSqlSettings) GetStorageAutoResizeLimit() *wrapperspb.Int64Valuefunc (*CloudSqlSettings) GetTier
func (x *CloudSqlSettings) GetTier() stringfunc (*CloudSqlSettings) GetUserLabels
func (x *CloudSqlSettings) GetUserLabels() map[string]stringfunc (*CloudSqlSettings) GetZone
func (x *CloudSqlSettings) GetZone() stringfunc (*CloudSqlSettings) ProtoMessage
func (*CloudSqlSettings) ProtoMessage()func (*CloudSqlSettings) ProtoReflect
func (x *CloudSqlSettings) ProtoReflect() protoreflect.Messagefunc (*CloudSqlSettings) Reset
func (x *CloudSqlSettings) Reset()func (*CloudSqlSettings) String
func (x *CloudSqlSettings) String() stringCloudSqlSettings_Edition
type CloudSqlSettings_Edition int32The edition of the given Cloud SQL instance. Can be ENTERPRISE or ENTERPRISE_PLUS.
CloudSqlSettings_EDITION_UNSPECIFIED, CloudSqlSettings_ENTERPRISE, CloudSqlSettings_ENTERPRISE_PLUS
const (
// The instance did not specify the edition.
CloudSqlSettings_EDITION_UNSPECIFIED CloudSqlSettings_Edition = 0
// The instance is an enterprise edition.
CloudSqlSettings_ENTERPRISE CloudSqlSettings_Edition = 2
// The instance is an enterprise plus edition.
CloudSqlSettings_ENTERPRISE_PLUS CloudSqlSettings_Edition = 3
)func (CloudSqlSettings_Edition) Descriptor
func (CloudSqlSettings_Edition) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlSettings_Edition) Enum
func (x CloudSqlSettings_Edition) Enum() *CloudSqlSettings_Editionfunc (CloudSqlSettings_Edition) EnumDescriptor
func (CloudSqlSettings_Edition) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings_Edition.Descriptor instead.
func (CloudSqlSettings_Edition) Number
func (x CloudSqlSettings_Edition) Number() protoreflect.EnumNumberfunc (CloudSqlSettings_Edition) String
func (x CloudSqlSettings_Edition) String() stringfunc (CloudSqlSettings_Edition) Type
func (CloudSqlSettings_Edition) Type() protoreflect.EnumTypeCloudSqlSettings_SqlActivationPolicy
type CloudSqlSettings_SqlActivationPolicy int32Specifies when the instance should be activated.
CloudSqlSettings_SQL_ACTIVATION_POLICY_UNSPECIFIED, CloudSqlSettings_ALWAYS, CloudSqlSettings_NEVER
const (
// unspecified policy.
CloudSqlSettings_SQL_ACTIVATION_POLICY_UNSPECIFIED CloudSqlSettings_SqlActivationPolicy = 0
// The instance is always up and running.
CloudSqlSettings_ALWAYS CloudSqlSettings_SqlActivationPolicy = 1
// The instance should never spin up.
CloudSqlSettings_NEVER CloudSqlSettings_SqlActivationPolicy = 2
)func (CloudSqlSettings_SqlActivationPolicy) Descriptor
func (CloudSqlSettings_SqlActivationPolicy) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlSettings_SqlActivationPolicy) Enum
func (x CloudSqlSettings_SqlActivationPolicy) Enum() *CloudSqlSettings_SqlActivationPolicyfunc (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor
func (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings_SqlActivationPolicy.Descriptor instead.
func (CloudSqlSettings_SqlActivationPolicy) Number
func (x CloudSqlSettings_SqlActivationPolicy) Number() protoreflect.EnumNumberfunc (CloudSqlSettings_SqlActivationPolicy) String
func (x CloudSqlSettings_SqlActivationPolicy) String() stringfunc (CloudSqlSettings_SqlActivationPolicy) Type
func (CloudSqlSettings_SqlActivationPolicy) Type() protoreflect.EnumTypeCloudSqlSettings_SqlAvailabilityType
type CloudSqlSettings_SqlAvailabilityType int32The availability type of the given Cloud SQL instance.
CloudSqlSettings_SQL_AVAILABILITY_TYPE_UNSPECIFIED, CloudSqlSettings_ZONAL, CloudSqlSettings_REGIONAL
const (
// This is an unknown Availability type.
CloudSqlSettings_SQL_AVAILABILITY_TYPE_UNSPECIFIED CloudSqlSettings_SqlAvailabilityType = 0
// Zonal availablility instance.
CloudSqlSettings_ZONAL CloudSqlSettings_SqlAvailabilityType = 1
// Regional availability instance.
CloudSqlSettings_REGIONAL CloudSqlSettings_SqlAvailabilityType = 2
)func (CloudSqlSettings_SqlAvailabilityType) Descriptor
func (CloudSqlSettings_SqlAvailabilityType) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlSettings_SqlAvailabilityType) Enum
func (x CloudSqlSettings_SqlAvailabilityType) Enum() *CloudSqlSettings_SqlAvailabilityTypefunc (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor
func (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings_SqlAvailabilityType.Descriptor instead.
func (CloudSqlSettings_SqlAvailabilityType) Number
func (x CloudSqlSettings_SqlAvailabilityType) Number() protoreflect.EnumNumberfunc (CloudSqlSettings_SqlAvailabilityType) String
func (x CloudSqlSettings_SqlAvailabilityType) String() stringfunc (CloudSqlSettings_SqlAvailabilityType) Type
func (CloudSqlSettings_SqlAvailabilityType) Type() protoreflect.EnumTypeCloudSqlSettings_SqlDataDiskType
type CloudSqlSettings_SqlDataDiskType int32The storage options for Cloud SQL databases.
CloudSqlSettings_SQL_DATA_DISK_TYPE_UNSPECIFIED, CloudSqlSettings_PD_SSD, CloudSqlSettings_PD_HDD
const (
// Unspecified.
CloudSqlSettings_SQL_DATA_DISK_TYPE_UNSPECIFIED CloudSqlSettings_SqlDataDiskType = 0
// SSD disk.
CloudSqlSettings_PD_SSD CloudSqlSettings_SqlDataDiskType = 1
// HDD disk.
CloudSqlSettings_PD_HDD CloudSqlSettings_SqlDataDiskType = 2
)func (CloudSqlSettings_SqlDataDiskType) Descriptor
func (CloudSqlSettings_SqlDataDiskType) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlSettings_SqlDataDiskType) Enum
func (x CloudSqlSettings_SqlDataDiskType) Enum() *CloudSqlSettings_SqlDataDiskTypefunc (CloudSqlSettings_SqlDataDiskType) EnumDescriptor
func (CloudSqlSettings_SqlDataDiskType) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings_SqlDataDiskType.Descriptor instead.
func (CloudSqlSettings_SqlDataDiskType) Number
func (x CloudSqlSettings_SqlDataDiskType) Number() protoreflect.EnumNumberfunc (CloudSqlSettings_SqlDataDiskType) String
func (x CloudSqlSettings_SqlDataDiskType) String() stringfunc (CloudSqlSettings_SqlDataDiskType) Type
func (CloudSqlSettings_SqlDataDiskType) Type() protoreflect.EnumTypeCloudSqlSettings_SqlDatabaseVersion
type CloudSqlSettings_SqlDatabaseVersion int32The database engine type and version.
CloudSqlSettings_SQL_DATABASE_VERSION_UNSPECIFIED, CloudSqlSettings_MYSQL_5_6, CloudSqlSettings_MYSQL_5_7, CloudSqlSettings_POSTGRES_9_6, CloudSqlSettings_POSTGRES_11, CloudSqlSettings_POSTGRES_10, CloudSqlSettings_MYSQL_8_0, CloudSqlSettings_POSTGRES_12, CloudSqlSettings_POSTGRES_13, CloudSqlSettings_POSTGRES_14, CloudSqlSettings_POSTGRES_15
const (
// Unspecified version.
CloudSqlSettings_SQL_DATABASE_VERSION_UNSPECIFIED CloudSqlSettings_SqlDatabaseVersion = 0
// MySQL 5.6.
CloudSqlSettings_MYSQL_5_6 CloudSqlSettings_SqlDatabaseVersion = 1
// MySQL 5.7.
CloudSqlSettings_MYSQL_5_7 CloudSqlSettings_SqlDatabaseVersion = 2
// PostgreSQL 9.6.
CloudSqlSettings_POSTGRES_9_6 CloudSqlSettings_SqlDatabaseVersion = 3
// PostgreSQL 11.
CloudSqlSettings_POSTGRES_11 CloudSqlSettings_SqlDatabaseVersion = 4
// PostgreSQL 10.
CloudSqlSettings_POSTGRES_10 CloudSqlSettings_SqlDatabaseVersion = 5
// MySQL 8.0.
CloudSqlSettings_MYSQL_8_0 CloudSqlSettings_SqlDatabaseVersion = 6
// PostgreSQL 12.
CloudSqlSettings_POSTGRES_12 CloudSqlSettings_SqlDatabaseVersion = 7
// PostgreSQL 13.
CloudSqlSettings_POSTGRES_13 CloudSqlSettings_SqlDatabaseVersion = 8
// PostgreSQL 14.
CloudSqlSettings_POSTGRES_14 CloudSqlSettings_SqlDatabaseVersion = 17
// PostgreSQL 15.
CloudSqlSettings_POSTGRES_15 CloudSqlSettings_SqlDatabaseVersion = 18
)func (CloudSqlSettings_SqlDatabaseVersion) Descriptor
func (CloudSqlSettings_SqlDatabaseVersion) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlSettings_SqlDatabaseVersion) Enum
func (x CloudSqlSettings_SqlDatabaseVersion) Enum() *CloudSqlSettings_SqlDatabaseVersionfunc (CloudSqlSettings_SqlDatabaseVersion) EnumDescriptor
func (CloudSqlSettings_SqlDatabaseVersion) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlSettings_SqlDatabaseVersion.Descriptor instead.
func (CloudSqlSettings_SqlDatabaseVersion) Number
func (x CloudSqlSettings_SqlDatabaseVersion) Number() protoreflect.EnumNumberfunc (CloudSqlSettings_SqlDatabaseVersion) String
func (x CloudSqlSettings_SqlDatabaseVersion) String() stringfunc (CloudSqlSettings_SqlDatabaseVersion) Type
func (CloudSqlSettings_SqlDatabaseVersion) Type() protoreflect.EnumTypeColumnEntity
type ColumnEntity struct {
// Column name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Column data type.
DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
// Charset override - instead of table level charset.
Charset string `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"`
// Collation override - instead of table level collation.
Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`
// Column length - e.g. varchar (50).
Length int64 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
// Column precision - when relevant.
Precision int32 `protobuf:"varint,6,opt,name=precision,proto3" json:"precision,omitempty"`
// Column scale - when relevant.
Scale int32 `protobuf:"varint,7,opt,name=scale,proto3" json:"scale,omitempty"`
// Column fractional second precision - used for timestamp based datatypes.
FractionalSecondsPrecision int32 `protobuf:"varint,8,opt,name=fractional_seconds_precision,json=fractionalSecondsPrecision,proto3" json:"fractional_seconds_precision,omitempty"`
// Is the column of array type.
Array bool `protobuf:"varint,9,opt,name=array,proto3" json:"array,omitempty"`
// If the column is array, of which length.
ArrayLength int32 `protobuf:"varint,10,opt,name=array_length,json=arrayLength,proto3" json:"array_length,omitempty"`
// Is the column nullable.
Nullable bool `protobuf:"varint,11,opt,name=nullable,proto3" json:"nullable,omitempty"`
// Is the column auto-generated/identity.
AutoGenerated bool `protobuf:"varint,12,opt,name=auto_generated,json=autoGenerated,proto3" json:"auto_generated,omitempty"`
// Is the column a UDT.
Udt bool `protobuf:"varint,13,opt,name=udt,proto3" json:"udt,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,14,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// Specifies the list of values allowed in the column.
// Only used for set data type.
SetValues []string `protobuf:"bytes,15,rep,name=set_values,json=setValues,proto3" json:"set_values,omitempty"`
// Comment associated with the column.
Comment string `protobuf:"bytes,16,opt,name=comment,proto3" json:"comment,omitempty"`
// Column order in the table.
OrdinalPosition int32 `protobuf:"varint,17,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"`
// Default value of the column.
DefaultValue string `protobuf:"bytes,18,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
// contains filtered or unexported fields
}Column is not used as an independent entity, it is retrieved as part of a Table entity.
func (*ColumnEntity) Descriptor
func (*ColumnEntity) Descriptor() ([]byte, []int)Deprecated: Use ColumnEntity.ProtoReflect.Descriptor instead.
func (*ColumnEntity) GetArray
func (x *ColumnEntity) GetArray() boolfunc (*ColumnEntity) GetArrayLength
func (x *ColumnEntity) GetArrayLength() int32func (*ColumnEntity) GetAutoGenerated
func (x *ColumnEntity) GetAutoGenerated() boolfunc (*ColumnEntity) GetCharset
func (x *ColumnEntity) GetCharset() stringfunc (*ColumnEntity) GetCollation
func (x *ColumnEntity) GetCollation() stringfunc (*ColumnEntity) GetComment
func (x *ColumnEntity) GetComment() stringfunc (*ColumnEntity) GetCustomFeatures
func (x *ColumnEntity) GetCustomFeatures() *structpb.Structfunc (*ColumnEntity) GetDataType
func (x *ColumnEntity) GetDataType() stringfunc (*ColumnEntity) GetDefaultValue
func (x *ColumnEntity) GetDefaultValue() stringfunc (*ColumnEntity) GetFractionalSecondsPrecision
func (x *ColumnEntity) GetFractionalSecondsPrecision() int32func (*ColumnEntity) GetLength
func (x *ColumnEntity) GetLength() int64func (*ColumnEntity) GetName
func (x *ColumnEntity) GetName() stringfunc (*ColumnEntity) GetNullable
func (x *ColumnEntity) GetNullable() boolfunc (*ColumnEntity) GetOrdinalPosition
func (x *ColumnEntity) GetOrdinalPosition() int32func (*ColumnEntity) GetPrecision
func (x *ColumnEntity) GetPrecision() int32func (*ColumnEntity) GetScale
func (x *ColumnEntity) GetScale() int32func (*ColumnEntity) GetSetValues
func (x *ColumnEntity) GetSetValues() []stringfunc (*ColumnEntity) GetUdt
func (x *ColumnEntity) GetUdt() boolfunc (*ColumnEntity) ProtoMessage
func (*ColumnEntity) ProtoMessage()func (*ColumnEntity) ProtoReflect
func (x *ColumnEntity) ProtoReflect() protoreflect.Messagefunc (*ColumnEntity) Reset
func (x *ColumnEntity) Reset()func (*ColumnEntity) String
func (x *ColumnEntity) String() stringCommitConversionWorkspaceRequest
type CommitConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to commit.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Optional name of the commit.
CommitName string `protobuf:"bytes,2,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"`
// contains filtered or unexported fields
}Request message for 'CommitConversionWorkspace' request.
func (*CommitConversionWorkspaceRequest) Descriptor
func (*CommitConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use CommitConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*CommitConversionWorkspaceRequest) GetCommitName
func (x *CommitConversionWorkspaceRequest) GetCommitName() stringfunc (*CommitConversionWorkspaceRequest) GetName
func (x *CommitConversionWorkspaceRequest) GetName() stringfunc (*CommitConversionWorkspaceRequest) ProtoMessage
func (*CommitConversionWorkspaceRequest) ProtoMessage()func (*CommitConversionWorkspaceRequest) ProtoReflect
func (x *CommitConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*CommitConversionWorkspaceRequest) Reset
func (x *CommitConversionWorkspaceRequest) Reset()func (*CommitConversionWorkspaceRequest) String
func (x *CommitConversionWorkspaceRequest) String() stringConditionalColumnSetValue
type ConditionalColumnSetValue struct {
// Types that are valid to be assigned to SourceFilter:
//
// *ConditionalColumnSetValue_SourceTextFilter
// *ConditionalColumnSetValue_SourceNumericFilter
SourceFilter isConditionalColumnSetValue_SourceFilter `protobuf_oneof:"source_filter"`
// Required. Description of data transformation during migration.
ValueTransformation *ValueTransformation `protobuf:"bytes,1,opt,name=value_transformation,json=valueTransformation,proto3" json:"value_transformation,omitempty"`
// Optional. Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type ConditionalColumnSetValue. The rule is used to transform the data which is being replicated/migrated.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Column.
func (*ConditionalColumnSetValue) Descriptor
func (*ConditionalColumnSetValue) Descriptor() ([]byte, []int)Deprecated: Use ConditionalColumnSetValue.ProtoReflect.Descriptor instead.
func (*ConditionalColumnSetValue) GetCustomFeatures
func (x *ConditionalColumnSetValue) GetCustomFeatures() *structpb.Structfunc (*ConditionalColumnSetValue) GetSourceFilter
func (x *ConditionalColumnSetValue) GetSourceFilter() isConditionalColumnSetValue_SourceFilterfunc (*ConditionalColumnSetValue) GetSourceNumericFilter
func (x *ConditionalColumnSetValue) GetSourceNumericFilter() *SourceNumericFilterfunc (*ConditionalColumnSetValue) GetSourceTextFilter
func (x *ConditionalColumnSetValue) GetSourceTextFilter() *SourceTextFilterfunc (*ConditionalColumnSetValue) GetValueTransformation
func (x *ConditionalColumnSetValue) GetValueTransformation() *ValueTransformationfunc (*ConditionalColumnSetValue) ProtoMessage
func (*ConditionalColumnSetValue) ProtoMessage()func (*ConditionalColumnSetValue) ProtoReflect
func (x *ConditionalColumnSetValue) ProtoReflect() protoreflect.Messagefunc (*ConditionalColumnSetValue) Reset
func (x *ConditionalColumnSetValue) Reset()func (*ConditionalColumnSetValue) String
func (x *ConditionalColumnSetValue) String() stringConditionalColumnSetValue_SourceNumericFilter
type ConditionalColumnSetValue_SourceNumericFilter struct {
// Optional. Optional filter on source column precision and scale. Used for
// fixed point numbers such as NUMERIC/NUMBER data types.
SourceNumericFilter *SourceNumericFilter `protobuf:"bytes,101,opt,name=source_numeric_filter,json=sourceNumericFilter,proto3,oneof"`
}ConditionalColumnSetValue_SourceTextFilter
type ConditionalColumnSetValue_SourceTextFilter struct {
// Optional. Optional filter on source column length. Used for text based
// data types like varchar.
SourceTextFilter *SourceTextFilter `protobuf:"bytes,100,opt,name=source_text_filter,json=sourceTextFilter,proto3,oneof"`
}ConnectionProfile
type ConnectionProfile struct {
// The name of this connection profile resource in the form of
// projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The timestamp when the resource was created.
// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
// Example: "2014-10-02T15:01:23.045123456Z".
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated.
// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
// Example: "2014-10-02T15:01:23.045123456Z".
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The resource labels for connection profile to use to annotate any related
// underlying resources such as Compute Engine VMs. An object containing a
// list of "key": "value" pairs.
//
// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The current connection profile state (e.g. DRAFT, READY, or FAILED).
State ConnectionProfile_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.clouddms.v1.ConnectionProfile_State" json:"state,omitempty"`
// The connection profile display name.
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The connection profile definition.
//
// Types that are valid to be assigned to ConnectionProfile:
//
// *ConnectionProfile_Mysql
// *ConnectionProfile_Postgresql
// *ConnectionProfile_Oracle
// *ConnectionProfile_Cloudsql
// *ConnectionProfile_Alloydb
ConnectionProfile isConnectionProfile_ConnectionProfile `protobuf_oneof:"connection_profile"`
// Output only. The error details in case of state FAILED.
Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// The database provider.
Provider DatabaseProvider `protobuf:"varint,8,opt,name=provider,proto3,enum=google.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"`
// contains filtered or unexported fields
}A connection profile definition.
func (*ConnectionProfile) Descriptor
func (*ConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use ConnectionProfile.ProtoReflect.Descriptor instead.
func (*ConnectionProfile) GetAlloydb
func (x *ConnectionProfile) GetAlloydb() *AlloyDbConnectionProfilefunc (*ConnectionProfile) GetCloudsql
func (x *ConnectionProfile) GetCloudsql() *CloudSqlConnectionProfilefunc (*ConnectionProfile) GetConnectionProfile
func (x *ConnectionProfile) GetConnectionProfile() isConnectionProfile_ConnectionProfilefunc (*ConnectionProfile) GetCreateTime
func (x *ConnectionProfile) GetCreateTime() *timestamppb.Timestampfunc (*ConnectionProfile) GetDisplayName
func (x *ConnectionProfile) GetDisplayName() stringfunc (*ConnectionProfile) GetError
func (x *ConnectionProfile) GetError() *status.Statusfunc (*ConnectionProfile) GetLabels
func (x *ConnectionProfile) GetLabels() map[string]stringfunc (*ConnectionProfile) GetMysql
func (x *ConnectionProfile) GetMysql() *MySqlConnectionProfilefunc (*ConnectionProfile) GetName
func (x *ConnectionProfile) GetName() stringfunc (*ConnectionProfile) GetOracle
func (x *ConnectionProfile) GetOracle() *OracleConnectionProfilefunc (*ConnectionProfile) GetPostgresql
func (x *ConnectionProfile) GetPostgresql() *PostgreSqlConnectionProfilefunc (*ConnectionProfile) GetProvider
func (x *ConnectionProfile) GetProvider() DatabaseProviderfunc (*ConnectionProfile) GetState
func (x *ConnectionProfile) GetState() ConnectionProfile_Statefunc (*ConnectionProfile) GetUpdateTime
func (x *ConnectionProfile) GetUpdateTime() *timestamppb.Timestampfunc (*ConnectionProfile) ProtoMessage
func (*ConnectionProfile) ProtoMessage()func (*ConnectionProfile) ProtoReflect
func (x *ConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*ConnectionProfile) Reset
func (x *ConnectionProfile) Reset()func (*ConnectionProfile) String
func (x *ConnectionProfile) String() stringConnectionProfile_Alloydb
type ConnectionProfile_Alloydb struct {
// An AlloyDB cluster connection profile.
Alloydb *AlloyDbConnectionProfile `protobuf:"bytes,105,opt,name=alloydb,proto3,oneof"`
}ConnectionProfile_Cloudsql
type ConnectionProfile_Cloudsql struct {
// A CloudSQL database connection profile.
Cloudsql *CloudSqlConnectionProfile `protobuf:"bytes,102,opt,name=cloudsql,proto3,oneof"`
}ConnectionProfile_Mysql
type ConnectionProfile_Mysql struct {
// A MySQL database connection profile.
Mysql *MySqlConnectionProfile `protobuf:"bytes,100,opt,name=mysql,proto3,oneof"`
}ConnectionProfile_Oracle
type ConnectionProfile_Oracle struct {
// An Oracle database connection profile.
Oracle *OracleConnectionProfile `protobuf:"bytes,104,opt,name=oracle,proto3,oneof"`
}ConnectionProfile_Postgresql
type ConnectionProfile_Postgresql struct {
// A PostgreSQL database connection profile.
Postgresql *PostgreSqlConnectionProfile `protobuf:"bytes,101,opt,name=postgresql,proto3,oneof"`
}ConnectionProfile_State
type ConnectionProfile_State int32The current connection profile state (e.g. DRAFT, READY, or FAILED).
ConnectionProfile_STATE_UNSPECIFIED, ConnectionProfile_DRAFT, ConnectionProfile_CREATING, ConnectionProfile_READY, ConnectionProfile_UPDATING, ConnectionProfile_DELETING, ConnectionProfile_DELETED, ConnectionProfile_FAILED
const (
// The state of the connection profile is unknown.
ConnectionProfile_STATE_UNSPECIFIED ConnectionProfile_State = 0
// The connection profile is in draft mode and fully editable.
ConnectionProfile_DRAFT ConnectionProfile_State = 1
// The connection profile is being created.
ConnectionProfile_CREATING ConnectionProfile_State = 2
// The connection profile is ready.
ConnectionProfile_READY ConnectionProfile_State = 3
// The connection profile is being updated.
ConnectionProfile_UPDATING ConnectionProfile_State = 4
// The connection profile is being deleted.
ConnectionProfile_DELETING ConnectionProfile_State = 5
// The connection profile has been deleted.
ConnectionProfile_DELETED ConnectionProfile_State = 6
// The last action on the connection profile failed.
ConnectionProfile_FAILED ConnectionProfile_State = 7
)func (ConnectionProfile_State) Descriptor
func (ConnectionProfile_State) Descriptor() protoreflect.EnumDescriptorfunc (ConnectionProfile_State) Enum
func (x ConnectionProfile_State) Enum() *ConnectionProfile_Statefunc (ConnectionProfile_State) EnumDescriptor
func (ConnectionProfile_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ConnectionProfile_State.Descriptor instead.
func (ConnectionProfile_State) Number
func (x ConnectionProfile_State) Number() protoreflect.EnumNumberfunc (ConnectionProfile_State) String
func (x ConnectionProfile_State) String() stringfunc (ConnectionProfile_State) Type
func (ConnectionProfile_State) Type() protoreflect.EnumTypeConstraintEntity
type ConstraintEntity struct {
// The name of the table constraint.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of constraint, for example unique, primary key, foreign key (currently
// only primary key is supported).
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Table columns used as part of the Constraint, for example primary key
// constraint should list the columns which constitutes the key.
TableColumns []string `protobuf:"bytes,3,rep,name=table_columns,json=tableColumns,proto3" json:"table_columns,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,4,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// Reference columns which may be associated with the constraint. For example,
// if the constraint is a FOREIGN_KEY, this represents the list of full names
// of referenced columns by the foreign key.
ReferenceColumns []string `protobuf:"bytes,5,rep,name=reference_columns,json=referenceColumns,proto3" json:"reference_columns,omitempty"`
// Reference table which may be associated with the constraint. For example,
// if the constraint is a FOREIGN_KEY, this represents the list of full name
// of the referenced table by the foreign key.
ReferenceTable string `protobuf:"bytes,6,opt,name=reference_table,json=referenceTable,proto3" json:"reference_table,omitempty"`
// Table which is associated with the constraint. In case the constraint
// is defined on a table, this field is left empty as this information is
// stored in parent_name. However, if constraint is defined on a view, this
// field stores the table name on which the view is defined.
TableName string `protobuf:"bytes,7,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
// contains filtered or unexported fields
}Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.
func (*ConstraintEntity) Descriptor
func (*ConstraintEntity) Descriptor() ([]byte, []int)Deprecated: Use ConstraintEntity.ProtoReflect.Descriptor instead.
func (*ConstraintEntity) GetCustomFeatures
func (x *ConstraintEntity) GetCustomFeatures() *structpb.Structfunc (*ConstraintEntity) GetName
func (x *ConstraintEntity) GetName() stringfunc (*ConstraintEntity) GetReferenceColumns
func (x *ConstraintEntity) GetReferenceColumns() []stringfunc (*ConstraintEntity) GetReferenceTable
func (x *ConstraintEntity) GetReferenceTable() stringfunc (*ConstraintEntity) GetTableColumns
func (x *ConstraintEntity) GetTableColumns() []stringfunc (*ConstraintEntity) GetTableName
func (x *ConstraintEntity) GetTableName() stringfunc (*ConstraintEntity) GetType
func (x *ConstraintEntity) GetType() stringfunc (*ConstraintEntity) ProtoMessage
func (*ConstraintEntity) ProtoMessage()func (*ConstraintEntity) ProtoReflect
func (x *ConstraintEntity) ProtoReflect() protoreflect.Messagefunc (*ConstraintEntity) Reset
func (x *ConstraintEntity) Reset()func (*ConstraintEntity) String
func (x *ConstraintEntity) String() stringConversionWorkspace
type ConversionWorkspace struct {
// Full name of the workspace resource, in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The source engine details.
Source *DatabaseEngineInfo `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// Required. The destination engine details.
Destination *DatabaseEngineInfo `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
// Optional. A generic list of settings for the workspace.
// The settings are database pair dependant and can indicate default behavior
// for the mapping rules engine or turn on or off specific features.
// Such examples can be: convert_foreign_key_to_interleave=true,
// skip_triggers=false, ignore_non_table_synonyms=true
GlobalSettings map[string]string `protobuf:"bytes,4,rep,name=global_settings,json=globalSettings,proto3" json:"global_settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Whether the workspace has uncommitted changes (changes which
// were made after the workspace was committed).
HasUncommittedChanges bool `protobuf:"varint,5,opt,name=has_uncommitted_changes,json=hasUncommittedChanges,proto3" json:"has_uncommitted_changes,omitempty"`
// Output only. The latest commit ID.
LatestCommitId string `protobuf:"bytes,6,opt,name=latest_commit_id,json=latestCommitId,proto3" json:"latest_commit_id,omitempty"`
// Output only. The timestamp when the workspace was committed.
LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"`
// Output only. The timestamp when the workspace resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the workspace resource was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. The display name for the workspace.
DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}The main conversion workspace resource entity.
func (*ConversionWorkspace) Descriptor
func (*ConversionWorkspace) Descriptor() ([]byte, []int)Deprecated: Use ConversionWorkspace.ProtoReflect.Descriptor instead.
func (*ConversionWorkspace) GetCreateTime
func (x *ConversionWorkspace) GetCreateTime() *timestamppb.Timestampfunc (*ConversionWorkspace) GetDestination
func (x *ConversionWorkspace) GetDestination() *DatabaseEngineInfofunc (*ConversionWorkspace) GetDisplayName
func (x *ConversionWorkspace) GetDisplayName() stringfunc (*ConversionWorkspace) GetGlobalSettings
func (x *ConversionWorkspace) GetGlobalSettings() map[string]stringfunc (*ConversionWorkspace) GetHasUncommittedChanges
func (x *ConversionWorkspace) GetHasUncommittedChanges() boolfunc (*ConversionWorkspace) GetLatestCommitId
func (x *ConversionWorkspace) GetLatestCommitId() stringfunc (*ConversionWorkspace) GetLatestCommitTime
func (x *ConversionWorkspace) GetLatestCommitTime() *timestamppb.Timestampfunc (*ConversionWorkspace) GetName
func (x *ConversionWorkspace) GetName() stringfunc (*ConversionWorkspace) GetSource
func (x *ConversionWorkspace) GetSource() *DatabaseEngineInfofunc (*ConversionWorkspace) GetUpdateTime
func (x *ConversionWorkspace) GetUpdateTime() *timestamppb.Timestampfunc (*ConversionWorkspace) ProtoMessage
func (*ConversionWorkspace) ProtoMessage()func (*ConversionWorkspace) ProtoReflect
func (x *ConversionWorkspace) ProtoReflect() protoreflect.Messagefunc (*ConversionWorkspace) Reset
func (x *ConversionWorkspace) Reset()func (*ConversionWorkspace) String
func (x *ConversionWorkspace) String() stringConversionWorkspaceInfo
type ConversionWorkspaceInfo struct {
// The resource name (URI) of the conversion workspace.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The commit ID of the conversion workspace.
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// contains filtered or unexported fields
}A conversion workspace's version.
func (*ConversionWorkspaceInfo) Descriptor
func (*ConversionWorkspaceInfo) Descriptor() ([]byte, []int)Deprecated: Use ConversionWorkspaceInfo.ProtoReflect.Descriptor instead.
func (*ConversionWorkspaceInfo) GetCommitId
func (x *ConversionWorkspaceInfo) GetCommitId() stringfunc (*ConversionWorkspaceInfo) GetName
func (x *ConversionWorkspaceInfo) GetName() stringfunc (*ConversionWorkspaceInfo) ProtoMessage
func (*ConversionWorkspaceInfo) ProtoMessage()func (*ConversionWorkspaceInfo) ProtoReflect
func (x *ConversionWorkspaceInfo) ProtoReflect() protoreflect.Messagefunc (*ConversionWorkspaceInfo) Reset
func (x *ConversionWorkspaceInfo) Reset()func (*ConversionWorkspaceInfo) String
func (x *ConversionWorkspaceInfo) String() stringConvertConversionWorkspaceRequest
type ConvertConversionWorkspaceRequest struct {
// Name of the conversion workspace resource to convert in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Specifies whether the conversion workspace is to be committed
// automatically after the conversion.
AutoCommit bool `protobuf:"varint,4,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
// Optional. Filter the entities to convert. Leaving this field empty will
// convert all of the entities. Supports Google AIP-160 style filtering.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Automatically convert the full entity path for each entity
// specified by the filter. For example, if the filter specifies a table, that
// table schema (and database if there is one) will also be converted.
ConvertFullPath bool `protobuf:"varint,6,opt,name=convert_full_path,json=convertFullPath,proto3" json:"convert_full_path,omitempty"`
// contains filtered or unexported fields
}Request message for 'ConvertConversionWorkspace' request.
func (*ConvertConversionWorkspaceRequest) Descriptor
func (*ConvertConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use ConvertConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*ConvertConversionWorkspaceRequest) GetAutoCommit
func (x *ConvertConversionWorkspaceRequest) GetAutoCommit() boolfunc (*ConvertConversionWorkspaceRequest) GetConvertFullPath
func (x *ConvertConversionWorkspaceRequest) GetConvertFullPath() boolfunc (*ConvertConversionWorkspaceRequest) GetFilter
func (x *ConvertConversionWorkspaceRequest) GetFilter() stringfunc (*ConvertConversionWorkspaceRequest) GetName
func (x *ConvertConversionWorkspaceRequest) GetName() stringfunc (*ConvertConversionWorkspaceRequest) ProtoMessage
func (*ConvertConversionWorkspaceRequest) ProtoMessage()func (*ConvertConversionWorkspaceRequest) ProtoReflect
func (x *ConvertConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*ConvertConversionWorkspaceRequest) Reset
func (x *ConvertConversionWorkspaceRequest) Reset()func (*ConvertConversionWorkspaceRequest) String
func (x *ConvertConversionWorkspaceRequest) String() stringConvertRowIdToColumn
type ConvertRowIdToColumn struct {
// Required. Only work on tables without primary key defined
OnlyIfNoPrimaryKey bool `protobuf:"varint,1,opt,name=only_if_no_primary_key,json=onlyIfNoPrimaryKey,proto3" json:"only_if_no_primary_key,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type ConvertROWIDToColumn. The rule is used to add column rowid to destination tables based on an Oracle rowid function/property.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table.
This rule requires additional filter to be specified beyond the basic rule filter field, which is whether or not to work on tables which already have a primary key defined.
func (*ConvertRowIdToColumn) Descriptor
func (*ConvertRowIdToColumn) Descriptor() ([]byte, []int)Deprecated: Use ConvertRowIdToColumn.ProtoReflect.Descriptor instead.
func (*ConvertRowIdToColumn) GetOnlyIfNoPrimaryKey
func (x *ConvertRowIdToColumn) GetOnlyIfNoPrimaryKey() boolfunc (*ConvertRowIdToColumn) ProtoMessage
func (*ConvertRowIdToColumn) ProtoMessage()func (*ConvertRowIdToColumn) ProtoReflect
func (x *ConvertRowIdToColumn) ProtoReflect() protoreflect.Messagefunc (*ConvertRowIdToColumn) Reset
func (x *ConvertRowIdToColumn) Reset()func (*ConvertRowIdToColumn) String
func (x *ConvertRowIdToColumn) String() stringCreateConnectionProfileRequest
type CreateConnectionProfileRequest struct {
// Required. The parent which owns this collection of connection profiles.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The connection profile identifier.
ConnectionProfileId string `protobuf:"bytes,2,opt,name=connection_profile_id,json=connectionProfileId,proto3" json:"connection_profile_id,omitempty"`
// Required. The create request body including the connection profile data
ConnectionProfile *ConnectionProfile `protobuf:"bytes,3,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the connection profile, but don't create any
// resources. The default is false. Only supported for Oracle connection
// profiles.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Create the connection profile without validating it.
// The default is false.
// Only supported for Oracle connection profiles.
SkipValidation bool `protobuf:"varint,6,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}Request message for 'CreateConnectionProfile' request.
func (*CreateConnectionProfileRequest) Descriptor
func (*CreateConnectionProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionProfileRequest) GetConnectionProfile
func (x *CreateConnectionProfileRequest) GetConnectionProfile() *ConnectionProfilefunc (*CreateConnectionProfileRequest) GetConnectionProfileId
func (x *CreateConnectionProfileRequest) GetConnectionProfileId() stringfunc (*CreateConnectionProfileRequest) GetParent
func (x *CreateConnectionProfileRequest) GetParent() stringfunc (*CreateConnectionProfileRequest) GetRequestId
func (x *CreateConnectionProfileRequest) GetRequestId() stringfunc (*CreateConnectionProfileRequest) GetSkipValidation
func (x *CreateConnectionProfileRequest) GetSkipValidation() boolfunc (*CreateConnectionProfileRequest) GetValidateOnly
func (x *CreateConnectionProfileRequest) GetValidateOnly() boolfunc (*CreateConnectionProfileRequest) ProtoMessage
func (*CreateConnectionProfileRequest) ProtoMessage()func (*CreateConnectionProfileRequest) ProtoReflect
func (x *CreateConnectionProfileRequest) ProtoReflect() protoreflect.Messagefunc (*CreateConnectionProfileRequest) Reset
func (x *CreateConnectionProfileRequest) Reset()func (*CreateConnectionProfileRequest) String
func (x *CreateConnectionProfileRequest) String() stringCreateConversionWorkspaceRequest
type CreateConversionWorkspaceRequest struct {
// Required. The parent which owns this collection of conversion workspaces.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the conversion workspace to create.
ConversionWorkspaceId string `protobuf:"bytes,2,opt,name=conversion_workspace_id,json=conversionWorkspaceId,proto3" json:"conversion_workspace_id,omitempty"`
// Required. Represents a conversion workspace object.
ConversionWorkspace *ConversionWorkspace `protobuf:"bytes,3,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to create a new Conversion Workspace in the specified project and region.
func (*CreateConversionWorkspaceRequest) Descriptor
func (*CreateConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*CreateConversionWorkspaceRequest) GetConversionWorkspace
func (x *CreateConversionWorkspaceRequest) GetConversionWorkspace() *ConversionWorkspacefunc (*CreateConversionWorkspaceRequest) GetConversionWorkspaceId
func (x *CreateConversionWorkspaceRequest) GetConversionWorkspaceId() stringfunc (*CreateConversionWorkspaceRequest) GetParent
func (x *CreateConversionWorkspaceRequest) GetParent() stringfunc (*CreateConversionWorkspaceRequest) GetRequestId
func (x *CreateConversionWorkspaceRequest) GetRequestId() stringfunc (*CreateConversionWorkspaceRequest) ProtoMessage
func (*CreateConversionWorkspaceRequest) ProtoMessage()func (*CreateConversionWorkspaceRequest) ProtoReflect
func (x *CreateConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*CreateConversionWorkspaceRequest) Reset
func (x *CreateConversionWorkspaceRequest) Reset()func (*CreateConversionWorkspaceRequest) String
func (x *CreateConversionWorkspaceRequest) String() stringCreateMappingRuleRequest
type CreateMappingRuleRequest struct {
// Required. The parent which owns this collection of mapping rules.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the rule to create.
MappingRuleId string `protobuf:"bytes,2,opt,name=mapping_rule_id,json=mappingRuleId,proto3" json:"mapping_rule_id,omitempty"`
// Required. Represents a [mapping rule]
// (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules)
// object.
MappingRule *MappingRule `protobuf:"bytes,3,opt,name=mapping_rule,json=mappingRule,proto3" json:"mapping_rule,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for 'CreateMappingRule' command.
func (*CreateMappingRuleRequest) Descriptor
func (*CreateMappingRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateMappingRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateMappingRuleRequest) GetMappingRule
func (x *CreateMappingRuleRequest) GetMappingRule() *MappingRulefunc (*CreateMappingRuleRequest) GetMappingRuleId
func (x *CreateMappingRuleRequest) GetMappingRuleId() stringfunc (*CreateMappingRuleRequest) GetParent
func (x *CreateMappingRuleRequest) GetParent() stringfunc (*CreateMappingRuleRequest) GetRequestId
func (x *CreateMappingRuleRequest) GetRequestId() stringfunc (*CreateMappingRuleRequest) ProtoMessage
func (*CreateMappingRuleRequest) ProtoMessage()func (*CreateMappingRuleRequest) ProtoReflect
func (x *CreateMappingRuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateMappingRuleRequest) Reset
func (x *CreateMappingRuleRequest) Reset()func (*CreateMappingRuleRequest) String
func (x *CreateMappingRuleRequest) String() stringCreateMigrationJobRequest
type CreateMigrationJobRequest struct {
// Required. The parent which owns this collection of migration jobs.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the instance to create.
MigrationJobId string `protobuf:"bytes,2,opt,name=migration_job_id,json=migrationJobId,proto3" json:"migration_job_id,omitempty"`
// Required. Represents a [migration
// job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
// object.
MigrationJob *MigrationJob `protobuf:"bytes,3,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to create a new Database Migration Service migration job in the specified project and region.
func (*CreateMigrationJobRequest) Descriptor
func (*CreateMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*CreateMigrationJobRequest) GetMigrationJob
func (x *CreateMigrationJobRequest) GetMigrationJob() *MigrationJobfunc (*CreateMigrationJobRequest) GetMigrationJobId
func (x *CreateMigrationJobRequest) GetMigrationJobId() stringfunc (*CreateMigrationJobRequest) GetParent
func (x *CreateMigrationJobRequest) GetParent() stringfunc (*CreateMigrationJobRequest) GetRequestId
func (x *CreateMigrationJobRequest) GetRequestId() stringfunc (*CreateMigrationJobRequest) ProtoMessage
func (*CreateMigrationJobRequest) ProtoMessage()func (*CreateMigrationJobRequest) ProtoReflect
func (x *CreateMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*CreateMigrationJobRequest) Reset
func (x *CreateMigrationJobRequest) Reset()func (*CreateMigrationJobRequest) String
func (x *CreateMigrationJobRequest) String() stringCreatePrivateConnectionRequest
type CreatePrivateConnectionRequest struct {
// Required. The parent that owns the collection of PrivateConnections.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The private connection identifier.
PrivateConnectionId string `protobuf:"bytes,2,opt,name=private_connection_id,json=privateConnectionId,proto3" json:"private_connection_id,omitempty"`
// Required. The private connection resource to create.
PrivateConnection *PrivateConnection `protobuf:"bytes,3,opt,name=private_connection,json=privateConnection,proto3" json:"private_connection,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, will skip validations.
SkipValidation bool `protobuf:"varint,5,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}Request message to create a new private connection in the specified project and region.
func (*CreatePrivateConnectionRequest) Descriptor
func (*CreatePrivateConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreatePrivateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreatePrivateConnectionRequest) GetParent
func (x *CreatePrivateConnectionRequest) GetParent() stringfunc (*CreatePrivateConnectionRequest) GetPrivateConnection
func (x *CreatePrivateConnectionRequest) GetPrivateConnection() *PrivateConnectionfunc (*CreatePrivateConnectionRequest) GetPrivateConnectionId
func (x *CreatePrivateConnectionRequest) GetPrivateConnectionId() stringfunc (*CreatePrivateConnectionRequest) GetRequestId
func (x *CreatePrivateConnectionRequest) GetRequestId() stringfunc (*CreatePrivateConnectionRequest) GetSkipValidation
func (x *CreatePrivateConnectionRequest) GetSkipValidation() boolfunc (*CreatePrivateConnectionRequest) ProtoMessage
func (*CreatePrivateConnectionRequest) ProtoMessage()func (*CreatePrivateConnectionRequest) ProtoReflect
func (x *CreatePrivateConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePrivateConnectionRequest) Reset
func (x *CreatePrivateConnectionRequest) Reset()func (*CreatePrivateConnectionRequest) String
func (x *CreatePrivateConnectionRequest) String() stringDataMigrationServiceClient
type DataMigrationServiceClient interface {
// Lists migration jobs in a given project and location.
ListMigrationJobs(ctx context.Context, in *ListMigrationJobsRequest, opts ...grpc.CallOption) (*ListMigrationJobsResponse, error)
// Gets details of a single migration job.
GetMigrationJob(ctx context.Context, in *GetMigrationJobRequest, opts ...grpc.CallOption) (*MigrationJob, error)
// Creates a new migration job in a given project and location.
CreateMigrationJob(ctx context.Context, in *CreateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single migration job.
UpdateMigrationJob(ctx context.Context, in *UpdateMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single migration job.
DeleteMigrationJob(ctx context.Context, in *DeleteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Start an already created migration job.
StartMigrationJob(ctx context.Context, in *StartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stops a running migration job.
StopMigrationJob(ctx context.Context, in *StopMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Resume a migration job that is currently stopped and is resumable (was
// stopped during CDC phase).
ResumeMigrationJob(ctx context.Context, in *ResumeMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Promote a migration job, stopping replication to the destination and
// promoting the destination to be a standalone database.
PromoteMigrationJob(ctx context.Context, in *PromoteMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Verify a migration job, making sure the destination can reach the source
// and that all configuration and prerequisites are met.
VerifyMigrationJob(ctx context.Context, in *VerifyMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Restart a stopped or failed migration job, resetting the destination
// instance to its original state and starting the migration process from
// scratch.
RestartMigrationJob(ctx context.Context, in *RestartMigrationJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Generate a SSH configuration script to configure the reverse SSH
// connectivity.
GenerateSshScript(ctx context.Context, in *GenerateSshScriptRequest, opts ...grpc.CallOption) (*SshScript, error)
// Generate a TCP Proxy configuration script to configure a cloud-hosted VM
// running a TCP Proxy.
GenerateTcpProxyScript(ctx context.Context, in *GenerateTcpProxyScriptRequest, opts ...grpc.CallOption) (*TcpProxyScript, error)
// Retrieves a list of all connection profiles in a given project and
// location.
ListConnectionProfiles(ctx context.Context, in *ListConnectionProfilesRequest, opts ...grpc.CallOption) (*ListConnectionProfilesResponse, error)
// Gets details of a single connection profile.
GetConnectionProfile(ctx context.Context, in *GetConnectionProfileRequest, opts ...grpc.CallOption) (*ConnectionProfile, error)
// Creates a new connection profile in a given project and location.
CreateConnectionProfile(ctx context.Context, in *CreateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update the configuration of a single connection profile.
UpdateConnectionProfile(ctx context.Context, in *UpdateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Database Migration Service connection profile.
// A connection profile can only be deleted if it is not in use by any
// active migration jobs.
DeleteConnectionProfile(ctx context.Context, in *DeleteConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new private connection in a given project and location.
CreatePrivateConnection(ctx context.Context, in *CreatePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single private connection.
GetPrivateConnection(ctx context.Context, in *GetPrivateConnectionRequest, opts ...grpc.CallOption) (*PrivateConnection, error)
// Retrieves a list of private connections in a given project and location.
ListPrivateConnections(ctx context.Context, in *ListPrivateConnectionsRequest, opts ...grpc.CallOption) (*ListPrivateConnectionsResponse, error)
// Deletes a single Database Migration Service private connection.
DeletePrivateConnection(ctx context.Context, in *DeletePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single conversion workspace.
GetConversionWorkspace(ctx context.Context, in *GetConversionWorkspaceRequest, opts ...grpc.CallOption) (*ConversionWorkspace, error)
// Lists conversion workspaces in a given project and location.
ListConversionWorkspaces(ctx context.Context, in *ListConversionWorkspacesRequest, opts ...grpc.CallOption) (*ListConversionWorkspacesResponse, error)
// Creates a new conversion workspace in a given project and location.
CreateConversionWorkspace(ctx context.Context, in *CreateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single conversion workspace.
UpdateConversionWorkspace(ctx context.Context, in *UpdateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single conversion workspace.
DeleteConversionWorkspace(ctx context.Context, in *DeleteConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new mapping rule for a given conversion workspace.
CreateMappingRule(ctx context.Context, in *CreateMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error)
// Deletes a single mapping rule.
DeleteMappingRule(ctx context.Context, in *DeleteMappingRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists the mapping rules for a specific conversion workspace.
ListMappingRules(ctx context.Context, in *ListMappingRulesRequest, opts ...grpc.CallOption) (*ListMappingRulesResponse, error)
// Gets the details of a mapping rule.
GetMappingRule(ctx context.Context, in *GetMappingRuleRequest, opts ...grpc.CallOption) (*MappingRule, error)
// Imports a snapshot of the source database into the
// conversion workspace.
SeedConversionWorkspace(ctx context.Context, in *SeedConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports the mapping rules for a given conversion workspace.
// Supports various formats of external rules files.
ImportMappingRules(ctx context.Context, in *ImportMappingRulesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a draft tree schema for the destination database.
ConvertConversionWorkspace(ctx context.Context, in *ConvertConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Marks all the data in the conversion workspace as committed.
CommitConversionWorkspace(ctx context.Context, in *CommitConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rolls back a conversion workspace to the last committed snapshot.
RollbackConversionWorkspace(ctx context.Context, in *RollbackConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Applies draft tree onto a specific destination database.
ApplyConversionWorkspace(ctx context.Context, in *ApplyConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Describes the database entities tree for a specific conversion workspace
// and a specific tree type.
//
// Database entities are not resources like conversion workspaces or mapping
// rules, and they can't be created, updated or deleted. Instead, they are
// simple data objects describing the structure of the client database.
DescribeDatabaseEntities(ctx context.Context, in *DescribeDatabaseEntitiesRequest, opts ...grpc.CallOption) (*DescribeDatabaseEntitiesResponse, error)
// Searches/lists the background jobs for a specific
// conversion workspace.
//
// The background jobs are not resources like conversion workspaces or
// mapping rules, and they can't be created, updated or deleted.
// Instead, they are a way to expose the data plane jobs log.
SearchBackgroundJobs(ctx context.Context, in *SearchBackgroundJobsRequest, opts ...grpc.CallOption) (*SearchBackgroundJobsResponse, error)
// Retrieves a list of committed revisions of a specific conversion
// workspace.
DescribeConversionWorkspaceRevisions(ctx context.Context, in *DescribeConversionWorkspaceRevisionsRequest, opts ...grpc.CallOption) (*DescribeConversionWorkspaceRevisionsResponse, error)
// Fetches a set of static IP addresses that need to be allowlisted by the
// customer when using the static-IP connectivity method.
FetchStaticIps(ctx context.Context, in *FetchStaticIpsRequest, opts ...grpc.CallOption) (*FetchStaticIpsResponse, error)
}DataMigrationServiceClient is the client API for DataMigrationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDataMigrationServiceClient
func NewDataMigrationServiceClient(cc grpc.ClientConnInterface) DataMigrationServiceClientDataMigrationServiceServer
type DataMigrationServiceServer interface {
// Lists migration jobs in a given project and location.
ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error)
// Gets details of a single migration job.
GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error)
// Creates a new migration job in a given project and location.
CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single migration job.
UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error)
// Deletes a single migration job.
DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error)
// Start an already created migration job.
StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error)
// Stops a running migration job.
StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error)
// Resume a migration job that is currently stopped and is resumable (was
// stopped during CDC phase).
ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error)
// Promote a migration job, stopping replication to the destination and
// promoting the destination to be a standalone database.
PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error)
// Verify a migration job, making sure the destination can reach the source
// and that all configuration and prerequisites are met.
VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error)
// Restart a stopped or failed migration job, resetting the destination
// instance to its original state and starting the migration process from
// scratch.
RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error)
// Generate a SSH configuration script to configure the reverse SSH
// connectivity.
GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error)
// Generate a TCP Proxy configuration script to configure a cloud-hosted VM
// running a TCP Proxy.
GenerateTcpProxyScript(context.Context, *GenerateTcpProxyScriptRequest) (*TcpProxyScript, error)
// Retrieves a list of all connection profiles in a given project and
// location.
ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error)
// Gets details of a single connection profile.
GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error)
// Creates a new connection profile in a given project and location.
CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error)
// Update the configuration of a single connection profile.
UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error)
// Deletes a single Database Migration Service connection profile.
// A connection profile can only be deleted if it is not in use by any
// active migration jobs.
DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error)
// Creates a new private connection in a given project and location.
CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error)
// Gets details of a single private connection.
GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error)
// Retrieves a list of private connections in a given project and location.
ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error)
// Deletes a single Database Migration Service private connection.
DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error)
// Gets details of a single conversion workspace.
GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error)
// Lists conversion workspaces in a given project and location.
ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error)
// Creates a new conversion workspace in a given project and location.
CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single conversion workspace.
UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Deletes a single conversion workspace.
DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Creates a new mapping rule for a given conversion workspace.
CreateMappingRule(context.Context, *CreateMappingRuleRequest) (*MappingRule, error)
// Deletes a single mapping rule.
DeleteMappingRule(context.Context, *DeleteMappingRuleRequest) (*emptypb.Empty, error)
// Lists the mapping rules for a specific conversion workspace.
ListMappingRules(context.Context, *ListMappingRulesRequest) (*ListMappingRulesResponse, error)
// Gets the details of a mapping rule.
GetMappingRule(context.Context, *GetMappingRuleRequest) (*MappingRule, error)
// Imports a snapshot of the source database into the
// conversion workspace.
SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Imports the mapping rules for a given conversion workspace.
// Supports various formats of external rules files.
ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error)
// Creates a draft tree schema for the destination database.
ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Marks all the data in the conversion workspace as committed.
CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Rolls back a conversion workspace to the last committed snapshot.
RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Applies draft tree onto a specific destination database.
ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Describes the database entities tree for a specific conversion workspace
// and a specific tree type.
//
// Database entities are not resources like conversion workspaces or mapping
// rules, and they can't be created, updated or deleted. Instead, they are
// simple data objects describing the structure of the client database.
DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error)
// Searches/lists the background jobs for a specific
// conversion workspace.
//
// The background jobs are not resources like conversion workspaces or
// mapping rules, and they can't be created, updated or deleted.
// Instead, they are a way to expose the data plane jobs log.
SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error)
// Retrieves a list of committed revisions of a specific conversion
// workspace.
DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error)
// Fetches a set of static IP addresses that need to be allowlisted by the
// customer when using the static-IP connectivity method.
FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error)
}DataMigrationServiceServer is the server API for DataMigrationService service. All implementations should embed UnimplementedDataMigrationServiceServer for forward compatibility
DatabaseEngine
type DatabaseEngine int32The database engine types.
DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED, DatabaseEngine_MYSQL, DatabaseEngine_POSTGRESQL, DatabaseEngine_ORACLE
const (
// The source database engine of the migration job is unknown.
DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED DatabaseEngine = 0
// The source engine is MySQL.
DatabaseEngine_MYSQL DatabaseEngine = 1
// The source engine is PostgreSQL.
DatabaseEngine_POSTGRESQL DatabaseEngine = 2
// The source engine is Oracle.
DatabaseEngine_ORACLE DatabaseEngine = 4
)func (DatabaseEngine) Descriptor
func (DatabaseEngine) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseEngine) Enum
func (x DatabaseEngine) Enum() *DatabaseEnginefunc (DatabaseEngine) EnumDescriptor
func (DatabaseEngine) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseEngine.Descriptor instead.
func (DatabaseEngine) Number
func (x DatabaseEngine) Number() protoreflect.EnumNumberfunc (DatabaseEngine) String
func (x DatabaseEngine) String() stringfunc (DatabaseEngine) Type
func (DatabaseEngine) Type() protoreflect.EnumTypeDatabaseEngineInfo
type DatabaseEngineInfo struct {
// Required. Engine type.
Engine DatabaseEngine `protobuf:"varint,1,opt,name=engine,proto3,enum=google.cloud.clouddms.v1.DatabaseEngine" json:"engine,omitempty"`
// Required. Engine named version, for example 12.c.1.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}The type and version of a source or destination database.
func (*DatabaseEngineInfo) Descriptor
func (*DatabaseEngineInfo) Descriptor() ([]byte, []int)Deprecated: Use DatabaseEngineInfo.ProtoReflect.Descriptor instead.
func (*DatabaseEngineInfo) GetEngine
func (x *DatabaseEngineInfo) GetEngine() DatabaseEnginefunc (*DatabaseEngineInfo) GetVersion
func (x *DatabaseEngineInfo) GetVersion() stringfunc (*DatabaseEngineInfo) ProtoMessage
func (*DatabaseEngineInfo) ProtoMessage()func (*DatabaseEngineInfo) ProtoReflect
func (x *DatabaseEngineInfo) ProtoReflect() protoreflect.Messagefunc (*DatabaseEngineInfo) Reset
func (x *DatabaseEngineInfo) Reset()func (*DatabaseEngineInfo) String
func (x *DatabaseEngineInfo) String() stringDatabaseEntity
type DatabaseEntity struct {
// The short name (e.g. table name) of the entity.
ShortName string `protobuf:"bytes,1,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
// The full name of the parent entity (e.g. schema name).
ParentEntity string `protobuf:"bytes,2,opt,name=parent_entity,json=parentEntity,proto3" json:"parent_entity,omitempty"`
// The type of tree the entity belongs to.
Tree DatabaseEntity_TreeType `protobuf:"varint,3,opt,name=tree,proto3,enum=google.cloud.clouddms.v1.DatabaseEntity_TreeType" json:"tree,omitempty"`
// The type of the database entity (table, view, index, ...).
EntityType DatabaseEntityType `protobuf:"varint,4,opt,name=entity_type,json=entityType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"entity_type,omitempty"`
// Details about entity mappings.
// For source tree entities, this holds the draft entities which were
// generated by the mapping rules.
// For draft tree entities, this holds the source entities which were
// converted to form the draft entity.
// Destination entities will have no mapping details.
Mappings []*EntityMapping `protobuf:"bytes,5,rep,name=mappings,proto3" json:"mappings,omitempty"`
// Details about the entity DDL script. Multiple DDL scripts are provided for
// child entities such as a table entity will have one DDL for the table with
// additional DDLs for each index, constraint and such.
EntityDdl []*EntityDdl `protobuf:"bytes,6,rep,name=entity_ddl,json=entityDdl,proto3" json:"entity_ddl,omitempty"`
// Details about the various issues found for the entity.
Issues []*EntityIssue `protobuf:"bytes,7,rep,name=issues,proto3" json:"issues,omitempty"`
// The specific body for each entity type.
//
// Types that are valid to be assigned to EntityBody:
//
// *DatabaseEntity_Database
// *DatabaseEntity_Schema
// *DatabaseEntity_Table
// *DatabaseEntity_View
// *DatabaseEntity_Sequence
// *DatabaseEntity_StoredProcedure
// *DatabaseEntity_DatabaseFunction
// *DatabaseEntity_Synonym
// *DatabaseEntity_DatabasePackage
// *DatabaseEntity_Udt
// *DatabaseEntity_MaterializedView
EntityBody isDatabaseEntity_EntityBody `protobuf_oneof:"entity_body"`
// contains filtered or unexported fields
}The base entity type for all the database related entities. The message contains the entity name, the name of its parent, the entity type, and the specific details per entity type.
func (*DatabaseEntity) Descriptor
func (*DatabaseEntity) Descriptor() ([]byte, []int)Deprecated: Use DatabaseEntity.ProtoReflect.Descriptor instead.
func (*DatabaseEntity) GetDatabase
func (x *DatabaseEntity) GetDatabase() *DatabaseInstanceEntityfunc (*DatabaseEntity) GetDatabaseFunction
func (x *DatabaseEntity) GetDatabaseFunction() *FunctionEntityfunc (*DatabaseEntity) GetDatabasePackage
func (x *DatabaseEntity) GetDatabasePackage() *PackageEntityfunc (*DatabaseEntity) GetEntityBody
func (x *DatabaseEntity) GetEntityBody() isDatabaseEntity_EntityBodyfunc (*DatabaseEntity) GetEntityDdl
func (x *DatabaseEntity) GetEntityDdl() []*EntityDdlfunc (*DatabaseEntity) GetEntityType
func (x *DatabaseEntity) GetEntityType() DatabaseEntityTypefunc (*DatabaseEntity) GetIssues
func (x *DatabaseEntity) GetIssues() []*EntityIssuefunc (*DatabaseEntity) GetMappings
func (x *DatabaseEntity) GetMappings() []*EntityMappingfunc (*DatabaseEntity) GetMaterializedView
func (x *DatabaseEntity) GetMaterializedView() *MaterializedViewEntityfunc (*DatabaseEntity) GetParentEntity
func (x *DatabaseEntity) GetParentEntity() stringfunc (*DatabaseEntity) GetSchema
func (x *DatabaseEntity) GetSchema() *SchemaEntityfunc (*DatabaseEntity) GetSequence
func (x *DatabaseEntity) GetSequence() *SequenceEntityfunc (*DatabaseEntity) GetShortName
func (x *DatabaseEntity) GetShortName() stringfunc (*DatabaseEntity) GetStoredProcedure
func (x *DatabaseEntity) GetStoredProcedure() *StoredProcedureEntityfunc (*DatabaseEntity) GetSynonym
func (x *DatabaseEntity) GetSynonym() *SynonymEntityfunc (*DatabaseEntity) GetTable
func (x *DatabaseEntity) GetTable() *TableEntityfunc (*DatabaseEntity) GetTree
func (x *DatabaseEntity) GetTree() DatabaseEntity_TreeTypefunc (*DatabaseEntity) GetUdt
func (x *DatabaseEntity) GetUdt() *UDTEntityfunc (*DatabaseEntity) GetView
func (x *DatabaseEntity) GetView() *ViewEntityfunc (*DatabaseEntity) ProtoMessage
func (*DatabaseEntity) ProtoMessage()func (*DatabaseEntity) ProtoReflect
func (x *DatabaseEntity) ProtoReflect() protoreflect.Messagefunc (*DatabaseEntity) Reset
func (x *DatabaseEntity) Reset()func (*DatabaseEntity) String
func (x *DatabaseEntity) String() stringDatabaseEntityType
type DatabaseEntityType int32The type of database entities supported,
DatabaseEntityType_DATABASE_ENTITY_TYPE_UNSPECIFIED, DatabaseEntityType_DATABASE_ENTITY_TYPE_SCHEMA, DatabaseEntityType_DATABASE_ENTITY_TYPE_TABLE, DatabaseEntityType_DATABASE_ENTITY_TYPE_COLUMN, DatabaseEntityType_DATABASE_ENTITY_TYPE_CONSTRAINT, DatabaseEntityType_DATABASE_ENTITY_TYPE_INDEX, DatabaseEntityType_DATABASE_ENTITY_TYPE_TRIGGER, DatabaseEntityType_DATABASE_ENTITY_TYPE_VIEW, DatabaseEntityType_DATABASE_ENTITY_TYPE_SEQUENCE, DatabaseEntityType_DATABASE_ENTITY_TYPE_STORED_PROCEDURE, DatabaseEntityType_DATABASE_ENTITY_TYPE_FUNCTION, DatabaseEntityType_DATABASE_ENTITY_TYPE_SYNONYM, DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE_PACKAGE, DatabaseEntityType_DATABASE_ENTITY_TYPE_UDT, DatabaseEntityType_DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW, DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE
const (
// Unspecified database entity type.
DatabaseEntityType_DATABASE_ENTITY_TYPE_UNSPECIFIED DatabaseEntityType = 0
// Schema.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SCHEMA DatabaseEntityType = 1
// Table.
DatabaseEntityType_DATABASE_ENTITY_TYPE_TABLE DatabaseEntityType = 2
// Column.
DatabaseEntityType_DATABASE_ENTITY_TYPE_COLUMN DatabaseEntityType = 3
// Constraint.
DatabaseEntityType_DATABASE_ENTITY_TYPE_CONSTRAINT DatabaseEntityType = 4
// Index.
DatabaseEntityType_DATABASE_ENTITY_TYPE_INDEX DatabaseEntityType = 5
// Trigger.
DatabaseEntityType_DATABASE_ENTITY_TYPE_TRIGGER DatabaseEntityType = 6
// View.
DatabaseEntityType_DATABASE_ENTITY_TYPE_VIEW DatabaseEntityType = 7
// Sequence.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SEQUENCE DatabaseEntityType = 8
// Stored Procedure.
DatabaseEntityType_DATABASE_ENTITY_TYPE_STORED_PROCEDURE DatabaseEntityType = 9
// Function.
DatabaseEntityType_DATABASE_ENTITY_TYPE_FUNCTION DatabaseEntityType = 10
// Synonym.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SYNONYM DatabaseEntityType = 11
// Package.
DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE_PACKAGE DatabaseEntityType = 12
// UDT.
DatabaseEntityType_DATABASE_ENTITY_TYPE_UDT DatabaseEntityType = 13
// Materialized View.
DatabaseEntityType_DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW DatabaseEntityType = 14
// Database.
DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE DatabaseEntityType = 15
)func (DatabaseEntityType) Descriptor
func (DatabaseEntityType) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseEntityType) Enum
func (x DatabaseEntityType) Enum() *DatabaseEntityTypefunc (DatabaseEntityType) EnumDescriptor
func (DatabaseEntityType) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseEntityType.Descriptor instead.
func (DatabaseEntityType) Number
func (x DatabaseEntityType) Number() protoreflect.EnumNumberfunc (DatabaseEntityType) String
func (x DatabaseEntityType) String() stringfunc (DatabaseEntityType) Type
func (DatabaseEntityType) Type() protoreflect.EnumTypeDatabaseEntityView
type DatabaseEntityView int32AIP-157 Partial Response view for Database Entity.
DatabaseEntityView_DATABASE_ENTITY_VIEW_UNSPECIFIED, DatabaseEntityView_DATABASE_ENTITY_VIEW_BASIC, DatabaseEntityView_DATABASE_ENTITY_VIEW_FULL, DatabaseEntityView_DATABASE_ENTITY_VIEW_ROOT_SUMMARY
const (
// Unspecified view. Defaults to basic view.
DatabaseEntityView_DATABASE_ENTITY_VIEW_UNSPECIFIED DatabaseEntityView = 0
// Default view. Does not return DDLs or Issues.
DatabaseEntityView_DATABASE_ENTITY_VIEW_BASIC DatabaseEntityView = 1
// Return full entity details including mappings, ddl and issues.
DatabaseEntityView_DATABASE_ENTITY_VIEW_FULL DatabaseEntityView = 2
// Top-most (Database, Schema) nodes which are returned contains summary
// details for their decendents such as the number of entities per type and
// issues rollups. When this view is used, only a single page of result is
// returned and the page_size property of the request is ignored. The
// returned page will only include the top-most node types.
DatabaseEntityView_DATABASE_ENTITY_VIEW_ROOT_SUMMARY DatabaseEntityView = 3
)func (DatabaseEntityView) Descriptor
func (DatabaseEntityView) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseEntityView) Enum
func (x DatabaseEntityView) Enum() *DatabaseEntityViewfunc (DatabaseEntityView) EnumDescriptor
func (DatabaseEntityView) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseEntityView.Descriptor instead.
func (DatabaseEntityView) Number
func (x DatabaseEntityView) Number() protoreflect.EnumNumberfunc (DatabaseEntityView) String
func (x DatabaseEntityView) String() stringfunc (DatabaseEntityView) Type
func (DatabaseEntityView) Type() protoreflect.EnumTypeDatabaseEntity_Database
type DatabaseEntity_Database struct {
// Database.
Database *DatabaseInstanceEntity `protobuf:"bytes,101,opt,name=database,proto3,oneof"`
}DatabaseEntity_DatabaseFunction
type DatabaseEntity_DatabaseFunction struct {
// Function.
DatabaseFunction *FunctionEntity `protobuf:"bytes,107,opt,name=database_function,json=databaseFunction,proto3,oneof"`
}DatabaseEntity_DatabasePackage
type DatabaseEntity_DatabasePackage struct {
// Package.
DatabasePackage *PackageEntity `protobuf:"bytes,109,opt,name=database_package,json=databasePackage,proto3,oneof"`
}DatabaseEntity_MaterializedView
type DatabaseEntity_MaterializedView struct {
// Materialized view.
MaterializedView *MaterializedViewEntity `protobuf:"bytes,111,opt,name=materialized_view,json=materializedView,proto3,oneof"`
}DatabaseEntity_Schema
type DatabaseEntity_Schema struct {
// Schema.
Schema *SchemaEntity `protobuf:"bytes,102,opt,name=schema,proto3,oneof"`
}DatabaseEntity_Sequence
type DatabaseEntity_Sequence struct {
// Sequence.
Sequence *SequenceEntity `protobuf:"bytes,105,opt,name=sequence,proto3,oneof"`
}DatabaseEntity_StoredProcedure
type DatabaseEntity_StoredProcedure struct {
// Stored procedure.
StoredProcedure *StoredProcedureEntity `protobuf:"bytes,106,opt,name=stored_procedure,json=storedProcedure,proto3,oneof"`
}DatabaseEntity_Synonym
type DatabaseEntity_Synonym struct {
// Synonym.
Synonym *SynonymEntity `protobuf:"bytes,108,opt,name=synonym,proto3,oneof"`
}DatabaseEntity_Table
type DatabaseEntity_Table struct {
// Table.
Table *TableEntity `protobuf:"bytes,103,opt,name=table,proto3,oneof"`
}DatabaseEntity_TreeType
type DatabaseEntity_TreeType int32The type of database entities tree.
DatabaseEntity_TREE_TYPE_UNSPECIFIED, DatabaseEntity_SOURCE, DatabaseEntity_DRAFT, DatabaseEntity_DESTINATION
const (
// Tree type unspecified.
DatabaseEntity_TREE_TYPE_UNSPECIFIED DatabaseEntity_TreeType = 0
// Tree of entities loaded from a source database.
DatabaseEntity_SOURCE DatabaseEntity_TreeType = 1
// Tree of entities converted from the source tree using the mapping rules.
DatabaseEntity_DRAFT DatabaseEntity_TreeType = 2
// Tree of entities observed on the destination database.
DatabaseEntity_DESTINATION DatabaseEntity_TreeType = 3
)func (DatabaseEntity_TreeType) Descriptor
func (DatabaseEntity_TreeType) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseEntity_TreeType) Enum
func (x DatabaseEntity_TreeType) Enum() *DatabaseEntity_TreeTypefunc (DatabaseEntity_TreeType) EnumDescriptor
func (DatabaseEntity_TreeType) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseEntity_TreeType.Descriptor instead.
func (DatabaseEntity_TreeType) Number
func (x DatabaseEntity_TreeType) Number() protoreflect.EnumNumberfunc (DatabaseEntity_TreeType) String
func (x DatabaseEntity_TreeType) String() stringfunc (DatabaseEntity_TreeType) Type
func (DatabaseEntity_TreeType) Type() protoreflect.EnumTypeDatabaseEntity_Udt
type DatabaseEntity_Udt struct {
// UDT.
Udt *UDTEntity `protobuf:"bytes,110,opt,name=udt,proto3,oneof"`
}DatabaseEntity_View
type DatabaseEntity_View struct {
// View.
View *ViewEntity `protobuf:"bytes,104,opt,name=view,proto3,oneof"`
}DatabaseInstanceEntity
type DatabaseInstanceEntity struct {
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,1,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}DatabaseInstance acts as a parent entity to other database entities.
func (*DatabaseInstanceEntity) Descriptor
func (*DatabaseInstanceEntity) Descriptor() ([]byte, []int)Deprecated: Use DatabaseInstanceEntity.ProtoReflect.Descriptor instead.
func (*DatabaseInstanceEntity) GetCustomFeatures
func (x *DatabaseInstanceEntity) GetCustomFeatures() *structpb.Structfunc (*DatabaseInstanceEntity) ProtoMessage
func (*DatabaseInstanceEntity) ProtoMessage()func (*DatabaseInstanceEntity) ProtoReflect
func (x *DatabaseInstanceEntity) ProtoReflect() protoreflect.Messagefunc (*DatabaseInstanceEntity) Reset
func (x *DatabaseInstanceEntity) Reset()func (*DatabaseInstanceEntity) String
func (x *DatabaseInstanceEntity) String() stringDatabaseProvider
type DatabaseProvider int32The database providers.
DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED, DatabaseProvider_CLOUDSQL, DatabaseProvider_RDS, DatabaseProvider_AURORA, DatabaseProvider_ALLOYDB
const (
// The database provider is unknown.
DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED DatabaseProvider = 0
// CloudSQL runs the database.
DatabaseProvider_CLOUDSQL DatabaseProvider = 1
// RDS runs the database.
DatabaseProvider_RDS DatabaseProvider = 2
// Amazon Aurora.
DatabaseProvider_AURORA DatabaseProvider = 3
// AlloyDB.
DatabaseProvider_ALLOYDB DatabaseProvider = 4
)func (DatabaseProvider) Descriptor
func (DatabaseProvider) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseProvider) Enum
func (x DatabaseProvider) Enum() *DatabaseProviderfunc (DatabaseProvider) EnumDescriptor
func (DatabaseProvider) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseProvider.Descriptor instead.
func (DatabaseProvider) Number
func (x DatabaseProvider) Number() protoreflect.EnumNumberfunc (DatabaseProvider) String
func (x DatabaseProvider) String() stringfunc (DatabaseProvider) Type
func (DatabaseProvider) Type() protoreflect.EnumTypeDatabaseType
type DatabaseType struct {
// The database provider.
Provider DatabaseProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"`
// The database engine.
Engine DatabaseEngine `protobuf:"varint,2,opt,name=engine,proto3,enum=google.cloud.clouddms.v1.DatabaseEngine" json:"engine,omitempty"`
// contains filtered or unexported fields
}A message defining the database engine and provider.
func (*DatabaseType) Descriptor
func (*DatabaseType) Descriptor() ([]byte, []int)Deprecated: Use DatabaseType.ProtoReflect.Descriptor instead.
func (*DatabaseType) GetEngine
func (x *DatabaseType) GetEngine() DatabaseEnginefunc (*DatabaseType) GetProvider
func (x *DatabaseType) GetProvider() DatabaseProviderfunc (*DatabaseType) ProtoMessage
func (*DatabaseType) ProtoMessage()func (*DatabaseType) ProtoReflect
func (x *DatabaseType) ProtoReflect() protoreflect.Messagefunc (*DatabaseType) Reset
func (x *DatabaseType) Reset()func (*DatabaseType) String
func (x *DatabaseType) String() stringDeleteConnectionProfileRequest
type DeleteConnectionProfileRequest struct {
// Required. Name of the connection profile resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// In case of force delete, the CloudSQL replica database is also deleted
// (only for CloudSQL connection profile).
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Request message for 'DeleteConnectionProfile' request.
func (*DeleteConnectionProfileRequest) Descriptor
func (*DeleteConnectionProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionProfileRequest) GetForce
func (x *DeleteConnectionProfileRequest) GetForce() boolfunc (*DeleteConnectionProfileRequest) GetName
func (x *DeleteConnectionProfileRequest) GetName() stringfunc (*DeleteConnectionProfileRequest) GetRequestId
func (x *DeleteConnectionProfileRequest) GetRequestId() stringfunc (*DeleteConnectionProfileRequest) ProtoMessage
func (*DeleteConnectionProfileRequest) ProtoMessage()func (*DeleteConnectionProfileRequest) ProtoReflect
func (x *DeleteConnectionProfileRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteConnectionProfileRequest) Reset
func (x *DeleteConnectionProfileRequest) Reset()func (*DeleteConnectionProfileRequest) String
func (x *DeleteConnectionProfileRequest) String() stringDeleteConversionWorkspaceRequest
type DeleteConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Force delete the conversion workspace, even if there's a running migration
// that is using the workspace.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Request message for 'DeleteConversionWorkspace' request.
func (*DeleteConversionWorkspaceRequest) Descriptor
func (*DeleteConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversionWorkspaceRequest) GetForce
func (x *DeleteConversionWorkspaceRequest) GetForce() boolfunc (*DeleteConversionWorkspaceRequest) GetName
func (x *DeleteConversionWorkspaceRequest) GetName() stringfunc (*DeleteConversionWorkspaceRequest) GetRequestId
func (x *DeleteConversionWorkspaceRequest) GetRequestId() stringfunc (*DeleteConversionWorkspaceRequest) ProtoMessage
func (*DeleteConversionWorkspaceRequest) ProtoMessage()func (*DeleteConversionWorkspaceRequest) ProtoReflect
func (x *DeleteConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteConversionWorkspaceRequest) Reset
func (x *DeleteConversionWorkspaceRequest) Reset()func (*DeleteConversionWorkspaceRequest) String
func (x *DeleteConversionWorkspaceRequest) String() stringDeleteMappingRuleRequest
type DeleteMappingRuleRequest struct {
// Required. Name of the mapping rule resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for 'DeleteMappingRule' request.
func (*DeleteMappingRuleRequest) Descriptor
func (*DeleteMappingRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteMappingRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteMappingRuleRequest) GetName
func (x *DeleteMappingRuleRequest) GetName() stringfunc (*DeleteMappingRuleRequest) GetRequestId
func (x *DeleteMappingRuleRequest) GetRequestId() stringfunc (*DeleteMappingRuleRequest) ProtoMessage
func (*DeleteMappingRuleRequest) ProtoMessage()func (*DeleteMappingRuleRequest) ProtoReflect
func (x *DeleteMappingRuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteMappingRuleRequest) Reset
func (x *DeleteMappingRuleRequest) Reset()func (*DeleteMappingRuleRequest) String
func (x *DeleteMappingRuleRequest) String() stringDeleteMigrationJobRequest
type DeleteMigrationJobRequest struct {
// Required. Name of the migration job resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The destination CloudSQL connection profile is always deleted with the
// migration job. In case of force delete, the destination CloudSQL replica
// database is also deleted.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Request message for 'DeleteMigrationJob' request.
func (*DeleteMigrationJobRequest) Descriptor
func (*DeleteMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteMigrationJobRequest) GetForce
func (x *DeleteMigrationJobRequest) GetForce() boolfunc (*DeleteMigrationJobRequest) GetName
func (x *DeleteMigrationJobRequest) GetName() stringfunc (*DeleteMigrationJobRequest) GetRequestId
func (x *DeleteMigrationJobRequest) GetRequestId() stringfunc (*DeleteMigrationJobRequest) ProtoMessage
func (*DeleteMigrationJobRequest) ProtoMessage()func (*DeleteMigrationJobRequest) ProtoReflect
func (x *DeleteMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteMigrationJobRequest) Reset
func (x *DeleteMigrationJobRequest) Reset()func (*DeleteMigrationJobRequest) String
func (x *DeleteMigrationJobRequest) String() stringDeletePrivateConnectionRequest
type DeletePrivateConnectionRequest struct {
// Required. The name of the private connection to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to delete a private connection.
func (*DeletePrivateConnectionRequest) Descriptor
func (*DeletePrivateConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeletePrivateConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeletePrivateConnectionRequest) GetName
func (x *DeletePrivateConnectionRequest) GetName() stringfunc (*DeletePrivateConnectionRequest) GetRequestId
func (x *DeletePrivateConnectionRequest) GetRequestId() stringfunc (*DeletePrivateConnectionRequest) ProtoMessage
func (*DeletePrivateConnectionRequest) ProtoMessage()func (*DeletePrivateConnectionRequest) ProtoReflect
func (x *DeletePrivateConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePrivateConnectionRequest) Reset
func (x *DeletePrivateConnectionRequest) Reset()func (*DeletePrivateConnectionRequest) String
func (x *DeletePrivateConnectionRequest) String() stringDescribeConversionWorkspaceRevisionsRequest
type DescribeConversionWorkspaceRevisionsRequest struct {
// Required. Name of the conversion workspace resource whose revisions are
// listed. Must be in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// Optional. Optional filter to request a specific commit ID.
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// contains filtered or unexported fields
}Request message for 'DescribeConversionWorkspaceRevisions' request.
func (*DescribeConversionWorkspaceRevisionsRequest) Descriptor
func (*DescribeConversionWorkspaceRevisionsRequest) Descriptor() ([]byte, []int)Deprecated: Use DescribeConversionWorkspaceRevisionsRequest.ProtoReflect.Descriptor instead.
func (*DescribeConversionWorkspaceRevisionsRequest) GetCommitId
func (x *DescribeConversionWorkspaceRevisionsRequest) GetCommitId() stringfunc (*DescribeConversionWorkspaceRevisionsRequest) GetConversionWorkspace
func (x *DescribeConversionWorkspaceRevisionsRequest) GetConversionWorkspace() stringfunc (*DescribeConversionWorkspaceRevisionsRequest) ProtoMessage
func (*DescribeConversionWorkspaceRevisionsRequest) ProtoMessage()func (*DescribeConversionWorkspaceRevisionsRequest) ProtoReflect
func (x *DescribeConversionWorkspaceRevisionsRequest) ProtoReflect() protoreflect.Messagefunc (*DescribeConversionWorkspaceRevisionsRequest) Reset
func (x *DescribeConversionWorkspaceRevisionsRequest) Reset()func (*DescribeConversionWorkspaceRevisionsRequest) String
func (x *DescribeConversionWorkspaceRevisionsRequest) String() stringDescribeConversionWorkspaceRevisionsResponse
type DescribeConversionWorkspaceRevisionsResponse struct {
// The list of conversion workspace revisions.
Revisions []*ConversionWorkspace `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
// contains filtered or unexported fields
}Response message for 'DescribeConversionWorkspaceRevisions' request.
func (*DescribeConversionWorkspaceRevisionsResponse) Descriptor
func (*DescribeConversionWorkspaceRevisionsResponse) Descriptor() ([]byte, []int)Deprecated: Use DescribeConversionWorkspaceRevisionsResponse.ProtoReflect.Descriptor instead.
func (*DescribeConversionWorkspaceRevisionsResponse) GetRevisions
func (x *DescribeConversionWorkspaceRevisionsResponse) GetRevisions() []*ConversionWorkspacefunc (*DescribeConversionWorkspaceRevisionsResponse) ProtoMessage
func (*DescribeConversionWorkspaceRevisionsResponse) ProtoMessage()func (*DescribeConversionWorkspaceRevisionsResponse) ProtoReflect
func (x *DescribeConversionWorkspaceRevisionsResponse) ProtoReflect() protoreflect.Messagefunc (*DescribeConversionWorkspaceRevisionsResponse) Reset
func (x *DescribeConversionWorkspaceRevisionsResponse) Reset()func (*DescribeConversionWorkspaceRevisionsResponse) String
func (x *DescribeConversionWorkspaceRevisionsResponse) String() stringDescribeDatabaseEntitiesRequest
type DescribeDatabaseEntitiesRequest struct {
// Required. Name of the conversion workspace resource whose database entities
// are described. Must be in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// Optional. The maximum number of entities to return. The service may return
// fewer entities than the value specifies.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The nextPageToken value received in the previous call to
// conversionWorkspace.describeDatabaseEntities, used in the subsequent
// request to retrieve the next page of results. On first call this should be
// left blank. When paginating, all other parameters provided to
// conversionWorkspace.describeDatabaseEntities must match the call that
// provided the page token.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Required. The tree to fetch.
Tree DescribeDatabaseEntitiesRequest_DBTreeType `protobuf:"varint,6,opt,name=tree,proto3,enum=google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest_DBTreeType" json:"tree,omitempty"`
// Optional. Whether to retrieve the latest committed version of the entities
// or the latest version. This field is ignored if a specific commit_id is
// specified.
Uncommitted bool `protobuf:"varint,11,opt,name=uncommitted,proto3" json:"uncommitted,omitempty"`
// Optional. Request a specific commit ID. If not specified, the entities from
// the latest commit are returned.
CommitId string `protobuf:"bytes,12,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// Optional. Filter the returned entities based on AIP-160 standard.
Filter string `protobuf:"bytes,13,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Results view based on AIP-157
View DatabaseEntityView `protobuf:"varint,14,opt,name=view,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for 'DescribeDatabaseEntities' request.
func (*DescribeDatabaseEntitiesRequest) Descriptor
func (*DescribeDatabaseEntitiesRequest) Descriptor() ([]byte, []int)Deprecated: Use DescribeDatabaseEntitiesRequest.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseEntitiesRequest) GetCommitId
func (x *DescribeDatabaseEntitiesRequest) GetCommitId() stringfunc (*DescribeDatabaseEntitiesRequest) GetConversionWorkspace
func (x *DescribeDatabaseEntitiesRequest) GetConversionWorkspace() stringfunc (*DescribeDatabaseEntitiesRequest) GetFilter
func (x *DescribeDatabaseEntitiesRequest) GetFilter() stringfunc (*DescribeDatabaseEntitiesRequest) GetPageSize
func (x *DescribeDatabaseEntitiesRequest) GetPageSize() int32func (*DescribeDatabaseEntitiesRequest) GetPageToken
func (x *DescribeDatabaseEntitiesRequest) GetPageToken() stringfunc (*DescribeDatabaseEntitiesRequest) GetTree
func (x *DescribeDatabaseEntitiesRequest) GetTree() DescribeDatabaseEntitiesRequest_DBTreeTypefunc (*DescribeDatabaseEntitiesRequest) GetUncommitted
func (x *DescribeDatabaseEntitiesRequest) GetUncommitted() boolfunc (*DescribeDatabaseEntitiesRequest) GetView
func (x *DescribeDatabaseEntitiesRequest) GetView() DatabaseEntityViewfunc (*DescribeDatabaseEntitiesRequest) ProtoMessage
func (*DescribeDatabaseEntitiesRequest) ProtoMessage()func (*DescribeDatabaseEntitiesRequest) ProtoReflect
func (x *DescribeDatabaseEntitiesRequest) ProtoReflect() protoreflect.Messagefunc (*DescribeDatabaseEntitiesRequest) Reset
func (x *DescribeDatabaseEntitiesRequest) Reset()func (*DescribeDatabaseEntitiesRequest) String
func (x *DescribeDatabaseEntitiesRequest) String() stringDescribeDatabaseEntitiesRequest_DBTreeType
type DescribeDatabaseEntitiesRequest_DBTreeType int32The type of a tree to return
DescribeDatabaseEntitiesRequest_DB_TREE_TYPE_UNSPECIFIED, DescribeDatabaseEntitiesRequest_SOURCE_TREE, DescribeDatabaseEntitiesRequest_DRAFT_TREE, DescribeDatabaseEntitiesRequest_DESTINATION_TREE
const (
// Unspecified tree type.
DescribeDatabaseEntitiesRequest_DB_TREE_TYPE_UNSPECIFIED DescribeDatabaseEntitiesRequest_DBTreeType = 0
// The source database tree.
DescribeDatabaseEntitiesRequest_SOURCE_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 1
// The draft database tree.
DescribeDatabaseEntitiesRequest_DRAFT_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 2
// The destination database tree.
DescribeDatabaseEntitiesRequest_DESTINATION_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 3
)func (DescribeDatabaseEntitiesRequest_DBTreeType) Descriptor
func (DescribeDatabaseEntitiesRequest_DBTreeType) Descriptor() protoreflect.EnumDescriptorfunc (DescribeDatabaseEntitiesRequest_DBTreeType) Enum
func (x DescribeDatabaseEntitiesRequest_DBTreeType) Enum() *DescribeDatabaseEntitiesRequest_DBTreeTypefunc (DescribeDatabaseEntitiesRequest_DBTreeType) EnumDescriptor
func (DescribeDatabaseEntitiesRequest_DBTreeType) EnumDescriptor() ([]byte, []int)Deprecated: Use DescribeDatabaseEntitiesRequest_DBTreeType.Descriptor instead.
func (DescribeDatabaseEntitiesRequest_DBTreeType) Number
func (x DescribeDatabaseEntitiesRequest_DBTreeType) Number() protoreflect.EnumNumberfunc (DescribeDatabaseEntitiesRequest_DBTreeType) String
func (x DescribeDatabaseEntitiesRequest_DBTreeType) String() stringfunc (DescribeDatabaseEntitiesRequest_DBTreeType) Type
func (DescribeDatabaseEntitiesRequest_DBTreeType) Type() protoreflect.EnumTypeDescribeDatabaseEntitiesResponse
type DescribeDatabaseEntitiesResponse struct {
// The list of database entities for the conversion workspace.
DatabaseEntities []*DatabaseEntity `protobuf:"bytes,1,rep,name=database_entities,json=databaseEntities,proto3" json:"database_entities,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for 'DescribeDatabaseEntities' request.
func (*DescribeDatabaseEntitiesResponse) Descriptor
func (*DescribeDatabaseEntitiesResponse) Descriptor() ([]byte, []int)Deprecated: Use DescribeDatabaseEntitiesResponse.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseEntitiesResponse) GetDatabaseEntities
func (x *DescribeDatabaseEntitiesResponse) GetDatabaseEntities() []*DatabaseEntityfunc (*DescribeDatabaseEntitiesResponse) GetNextPageToken
func (x *DescribeDatabaseEntitiesResponse) GetNextPageToken() stringfunc (*DescribeDatabaseEntitiesResponse) ProtoMessage
func (*DescribeDatabaseEntitiesResponse) ProtoMessage()func (*DescribeDatabaseEntitiesResponse) ProtoReflect
func (x *DescribeDatabaseEntitiesResponse) ProtoReflect() protoreflect.Messagefunc (*DescribeDatabaseEntitiesResponse) Reset
func (x *DescribeDatabaseEntitiesResponse) Reset()func (*DescribeDatabaseEntitiesResponse) String
func (x *DescribeDatabaseEntitiesResponse) String() stringDoubleComparisonFilter
type DoubleComparisonFilter struct {
// Required. Relation between source value and compare value
ValueComparison ValueComparison `protobuf:"varint,1,opt,name=value_comparison,json=valueComparison,proto3,enum=google.cloud.clouddms.v1.ValueComparison" json:"value_comparison,omitempty"`
// Required. Double compare value to be used
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Filter based on relation between source value and compare value of type double in ConditionalColumnSetValue
func (*DoubleComparisonFilter) Descriptor
func (*DoubleComparisonFilter) Descriptor() ([]byte, []int)Deprecated: Use DoubleComparisonFilter.ProtoReflect.Descriptor instead.
func (*DoubleComparisonFilter) GetValue
func (x *DoubleComparisonFilter) GetValue() float64func (*DoubleComparisonFilter) GetValueComparison
func (x *DoubleComparisonFilter) GetValueComparison() ValueComparisonfunc (*DoubleComparisonFilter) ProtoMessage
func (*DoubleComparisonFilter) ProtoMessage()func (*DoubleComparisonFilter) ProtoReflect
func (x *DoubleComparisonFilter) ProtoReflect() protoreflect.Messagefunc (*DoubleComparisonFilter) Reset
func (x *DoubleComparisonFilter) Reset()func (*DoubleComparisonFilter) String
func (x *DoubleComparisonFilter) String() stringEntityDdl
type EntityDdl struct {
// Type of DDL (Create, Alter).
DdlType string `protobuf:"bytes,1,opt,name=ddl_type,json=ddlType,proto3" json:"ddl_type,omitempty"`
// The name of the database entity the ddl refers to.
Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
// The actual ddl code.
Ddl string `protobuf:"bytes,3,opt,name=ddl,proto3" json:"ddl,omitempty"`
// The entity type (if the DDL is for a sub entity).
EntityType DatabaseEntityType `protobuf:"varint,4,opt,name=entity_type,json=entityType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"entity_type,omitempty"`
// EntityIssues found for this ddl.
IssueId []string `protobuf:"bytes,100,rep,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
// contains filtered or unexported fields
}A single DDL statement for a specific entity
func (*EntityDdl) Descriptor
Deprecated: Use EntityDdl.ProtoReflect.Descriptor instead.
func (*EntityDdl) GetDdl
func (*EntityDdl) GetDdlType
func (*EntityDdl) GetEntity
func (*EntityDdl) GetEntityType
func (x *EntityDdl) GetEntityType() DatabaseEntityTypefunc (*EntityDdl) GetIssueId
func (*EntityDdl) ProtoMessage
func (*EntityDdl) ProtoMessage()func (*EntityDdl) ProtoReflect
func (x *EntityDdl) ProtoReflect() protoreflect.Messagefunc (*EntityDdl) Reset
func (x *EntityDdl) Reset()func (*EntityDdl) String
EntityIssue
type EntityIssue struct {
// Unique Issue ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The type of the issue.
Type EntityIssue_IssueType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.clouddms.v1.EntityIssue_IssueType" json:"type,omitempty"`
// Severity of the issue
Severity EntityIssue_IssueSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.cloud.clouddms.v1.EntityIssue_IssueSeverity" json:"severity,omitempty"`
// Issue detailed message
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// Error/Warning code
Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
// The ddl which caused the issue, if relevant.
Ddl *string `protobuf:"bytes,6,opt,name=ddl,proto3,oneof" json:"ddl,omitempty"`
// The position of the issue found, if relevant.
Position *EntityIssue_Position `protobuf:"bytes,7,opt,name=position,proto3,oneof" json:"position,omitempty"`
// The entity type (if the DDL is for a sub entity).
EntityType DatabaseEntityType `protobuf:"varint,8,opt,name=entity_type,json=entityType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"entity_type,omitempty"`
// contains filtered or unexported fields
}Issue related to the entity.
func (*EntityIssue) Descriptor
func (*EntityIssue) Descriptor() ([]byte, []int)Deprecated: Use EntityIssue.ProtoReflect.Descriptor instead.
func (*EntityIssue) GetCode
func (x *EntityIssue) GetCode() stringfunc (*EntityIssue) GetDdl
func (x *EntityIssue) GetDdl() stringfunc (*EntityIssue) GetEntityType
func (x *EntityIssue) GetEntityType() DatabaseEntityTypefunc (*EntityIssue) GetId
func (x *EntityIssue) GetId() stringfunc (*EntityIssue) GetMessage
func (x *EntityIssue) GetMessage() stringfunc (*EntityIssue) GetPosition
func (x *EntityIssue) GetPosition() *EntityIssue_Positionfunc (*EntityIssue) GetSeverity
func (x *EntityIssue) GetSeverity() EntityIssue_IssueSeverityfunc (*EntityIssue) GetType
func (x *EntityIssue) GetType() EntityIssue_IssueTypefunc (*EntityIssue) ProtoMessage
func (*EntityIssue) ProtoMessage()func (*EntityIssue) ProtoReflect
func (x *EntityIssue) ProtoReflect() protoreflect.Messagefunc (*EntityIssue) Reset
func (x *EntityIssue) Reset()func (*EntityIssue) String
func (x *EntityIssue) String() stringEntityIssue_IssueSeverity
type EntityIssue_IssueSeverity int32Severity of issue.
EntityIssue_ISSUE_SEVERITY_UNSPECIFIED, EntityIssue_ISSUE_SEVERITY_INFO, EntityIssue_ISSUE_SEVERITY_WARNING, EntityIssue_ISSUE_SEVERITY_ERROR
const (
// Unspecified issue severity
EntityIssue_ISSUE_SEVERITY_UNSPECIFIED EntityIssue_IssueSeverity = 0
// Info
EntityIssue_ISSUE_SEVERITY_INFO EntityIssue_IssueSeverity = 1
// Warning
EntityIssue_ISSUE_SEVERITY_WARNING EntityIssue_IssueSeverity = 2
// Error
EntityIssue_ISSUE_SEVERITY_ERROR EntityIssue_IssueSeverity = 3
)func (EntityIssue_IssueSeverity) Descriptor
func (EntityIssue_IssueSeverity) Descriptor() protoreflect.EnumDescriptorfunc (EntityIssue_IssueSeverity) Enum
func (x EntityIssue_IssueSeverity) Enum() *EntityIssue_IssueSeverityfunc (EntityIssue_IssueSeverity) EnumDescriptor
func (EntityIssue_IssueSeverity) EnumDescriptor() ([]byte, []int)Deprecated: Use EntityIssue_IssueSeverity.Descriptor instead.
func (EntityIssue_IssueSeverity) Number
func (x EntityIssue_IssueSeverity) Number() protoreflect.EnumNumberfunc (EntityIssue_IssueSeverity) String
func (x EntityIssue_IssueSeverity) String() stringfunc (EntityIssue_IssueSeverity) Type
func (EntityIssue_IssueSeverity) Type() protoreflect.EnumTypeEntityIssue_IssueType
type EntityIssue_IssueType int32Type of issue.
EntityIssue_ISSUE_TYPE_UNSPECIFIED, EntityIssue_ISSUE_TYPE_DDL, EntityIssue_ISSUE_TYPE_APPLY, EntityIssue_ISSUE_TYPE_CONVERT
const (
// Unspecified issue type.
EntityIssue_ISSUE_TYPE_UNSPECIFIED EntityIssue_IssueType = 0
// Issue originated from the DDL
EntityIssue_ISSUE_TYPE_DDL EntityIssue_IssueType = 1
// Issue originated during the apply process
EntityIssue_ISSUE_TYPE_APPLY EntityIssue_IssueType = 2
// Issue originated during the convert process
EntityIssue_ISSUE_TYPE_CONVERT EntityIssue_IssueType = 3
)func (EntityIssue_IssueType) Descriptor
func (EntityIssue_IssueType) Descriptor() protoreflect.EnumDescriptorfunc (EntityIssue_IssueType) Enum
func (x EntityIssue_IssueType) Enum() *EntityIssue_IssueTypefunc (EntityIssue_IssueType) EnumDescriptor
func (EntityIssue_IssueType) EnumDescriptor() ([]byte, []int)Deprecated: Use EntityIssue_IssueType.Descriptor instead.
func (EntityIssue_IssueType) Number
func (x EntityIssue_IssueType) Number() protoreflect.EnumNumberfunc (EntityIssue_IssueType) String
func (x EntityIssue_IssueType) String() stringfunc (EntityIssue_IssueType) Type
func (EntityIssue_IssueType) Type() protoreflect.EnumTypeEntityIssue_Position
type EntityIssue_Position struct {
// Issue line number
Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
// Issue column number
Column int32 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
// Issue offset
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// Issue length
Length int32 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
// contains filtered or unexported fields
}Issue position.
func (*EntityIssue_Position) Descriptor
func (*EntityIssue_Position) Descriptor() ([]byte, []int)Deprecated: Use EntityIssue_Position.ProtoReflect.Descriptor instead.
func (*EntityIssue_Position) GetColumn
func (x *EntityIssue_Position) GetColumn() int32func (*EntityIssue_Position) GetLength
func (x *EntityIssue_Position) GetLength() int32func (*EntityIssue_Position) GetLine
func (x *EntityIssue_Position) GetLine() int32func (*EntityIssue_Position) GetOffset
func (x *EntityIssue_Position) GetOffset() int32func (*EntityIssue_Position) ProtoMessage
func (*EntityIssue_Position) ProtoMessage()func (*EntityIssue_Position) ProtoReflect
func (x *EntityIssue_Position) ProtoReflect() protoreflect.Messagefunc (*EntityIssue_Position) Reset
func (x *EntityIssue_Position) Reset()func (*EntityIssue_Position) String
func (x *EntityIssue_Position) String() stringEntityMapping
type EntityMapping struct {
// Source entity full name.
// The source entity can also be a column, index or constraint using the
// same naming notation schema.table.column.
SourceEntity string `protobuf:"bytes,1,opt,name=source_entity,json=sourceEntity,proto3" json:"source_entity,omitempty"`
// Target entity full name.
// The draft entity can also include a column, index or constraint using the
// same naming notation schema.table.column.
DraftEntity string `protobuf:"bytes,2,opt,name=draft_entity,json=draftEntity,proto3" json:"draft_entity,omitempty"`
// Type of source entity.
SourceType DatabaseEntityType `protobuf:"varint,4,opt,name=source_type,json=sourceType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"source_type,omitempty"`
// Type of draft entity.
DraftType DatabaseEntityType `protobuf:"varint,5,opt,name=draft_type,json=draftType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"draft_type,omitempty"`
// Entity mapping log entries.
// Multiple rules can be effective and contribute changes to a converted
// entity, such as a rule can handle the entity name, another rule can handle
// an entity type. In addition, rules which did not change the entity are also
// logged along with the reason preventing them to do so.
MappingLog []*EntityMappingLogEntry `protobuf:"bytes,3,rep,name=mapping_log,json=mappingLog,proto3" json:"mapping_log,omitempty"`
// contains filtered or unexported fields
}Details of the mappings of a database entity.
func (*EntityMapping) Descriptor
func (*EntityMapping) Descriptor() ([]byte, []int)Deprecated: Use EntityMapping.ProtoReflect.Descriptor instead.
func (*EntityMapping) GetDraftEntity
func (x *EntityMapping) GetDraftEntity() stringfunc (*EntityMapping) GetDraftType
func (x *EntityMapping) GetDraftType() DatabaseEntityTypefunc (*EntityMapping) GetMappingLog
func (x *EntityMapping) GetMappingLog() []*EntityMappingLogEntryfunc (*EntityMapping) GetSourceEntity
func (x *EntityMapping) GetSourceEntity() stringfunc (*EntityMapping) GetSourceType
func (x *EntityMapping) GetSourceType() DatabaseEntityTypefunc (*EntityMapping) ProtoMessage
func (*EntityMapping) ProtoMessage()func (*EntityMapping) ProtoReflect
func (x *EntityMapping) ProtoReflect() protoreflect.Messagefunc (*EntityMapping) Reset
func (x *EntityMapping) Reset()func (*EntityMapping) String
func (x *EntityMapping) String() stringEntityMappingLogEntry
type EntityMappingLogEntry struct {
// Which rule caused this log entry.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Rule revision ID.
RuleRevisionId string `protobuf:"bytes,2,opt,name=rule_revision_id,json=ruleRevisionId,proto3" json:"rule_revision_id,omitempty"`
// Comment.
MappingComment string `protobuf:"bytes,3,opt,name=mapping_comment,json=mappingComment,proto3" json:"mapping_comment,omitempty"`
// contains filtered or unexported fields
}A single record of a rule which was used for a mapping.
func (*EntityMappingLogEntry) Descriptor
func (*EntityMappingLogEntry) Descriptor() ([]byte, []int)Deprecated: Use EntityMappingLogEntry.ProtoReflect.Descriptor instead.
func (*EntityMappingLogEntry) GetMappingComment
func (x *EntityMappingLogEntry) GetMappingComment() stringfunc (*EntityMappingLogEntry) GetRuleId
func (x *EntityMappingLogEntry) GetRuleId() stringfunc (*EntityMappingLogEntry) GetRuleRevisionId
func (x *EntityMappingLogEntry) GetRuleRevisionId() stringfunc (*EntityMappingLogEntry) ProtoMessage
func (*EntityMappingLogEntry) ProtoMessage()func (*EntityMappingLogEntry) ProtoReflect
func (x *EntityMappingLogEntry) ProtoReflect() protoreflect.Messagefunc (*EntityMappingLogEntry) Reset
func (x *EntityMappingLogEntry) Reset()func (*EntityMappingLogEntry) String
func (x *EntityMappingLogEntry) String() stringEntityMove
type EntityMove struct {
// Required. The new schema
NewSchema string `protobuf:"bytes,1,opt,name=new_schema,json=newSchema,proto3" json:"new_schema,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type EntityMove. The rule is used to move an entity to a new schema.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
func (*EntityMove) Descriptor
func (*EntityMove) Descriptor() ([]byte, []int)Deprecated: Use EntityMove.ProtoReflect.Descriptor instead.
func (*EntityMove) GetNewSchema
func (x *EntityMove) GetNewSchema() stringfunc (*EntityMove) ProtoMessage
func (*EntityMove) ProtoMessage()func (*EntityMove) ProtoReflect
func (x *EntityMove) ProtoReflect() protoreflect.Messagefunc (*EntityMove) Reset
func (x *EntityMove) Reset()func (*EntityMove) String
func (x *EntityMove) String() stringEntityNameTransformation
type EntityNameTransformation int32Entity Name Transformation Types
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_UNSPECIFIED, EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION, EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_LOWER_CASE, EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_UPPER_CASE, EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE
const (
// Entity name transformation unspecified.
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_UNSPECIFIED EntityNameTransformation = 0
// No transformation.
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION EntityNameTransformation = 1
// Transform to lower case.
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_LOWER_CASE EntityNameTransformation = 2
// Transform to upper case.
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_UPPER_CASE EntityNameTransformation = 3
// Transform to capitalized case.
EntityNameTransformation_ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE EntityNameTransformation = 4
)func (EntityNameTransformation) Descriptor
func (EntityNameTransformation) Descriptor() protoreflect.EnumDescriptorfunc (EntityNameTransformation) Enum
func (x EntityNameTransformation) Enum() *EntityNameTransformationfunc (EntityNameTransformation) EnumDescriptor
func (EntityNameTransformation) EnumDescriptor() ([]byte, []int)Deprecated: Use EntityNameTransformation.Descriptor instead.
func (EntityNameTransformation) Number
func (x EntityNameTransformation) Number() protoreflect.EnumNumberfunc (EntityNameTransformation) String
func (x EntityNameTransformation) String() stringfunc (EntityNameTransformation) Type
func (EntityNameTransformation) Type() protoreflect.EnumTypeFetchStaticIpsRequest
type FetchStaticIpsRequest struct {
// Required. The resource name for the location for which static IPs should be
// returned. Must be in the format `projects/*/locations/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Maximum number of IPs to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `FetchStaticIps` call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for 'FetchStaticIps' request.
func (*FetchStaticIpsRequest) Descriptor
func (*FetchStaticIpsRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchStaticIpsRequest.ProtoReflect.Descriptor instead.
func (*FetchStaticIpsRequest) GetName
func (x *FetchStaticIpsRequest) GetName() stringfunc (*FetchStaticIpsRequest) GetPageSize
func (x *FetchStaticIpsRequest) GetPageSize() int32func (*FetchStaticIpsRequest) GetPageToken
func (x *FetchStaticIpsRequest) GetPageToken() stringfunc (*FetchStaticIpsRequest) ProtoMessage
func (*FetchStaticIpsRequest) ProtoMessage()func (*FetchStaticIpsRequest) ProtoReflect
func (x *FetchStaticIpsRequest) ProtoReflect() protoreflect.Messagefunc (*FetchStaticIpsRequest) Reset
func (x *FetchStaticIpsRequest) Reset()func (*FetchStaticIpsRequest) String
func (x *FetchStaticIpsRequest) String() stringFetchStaticIpsResponse
type FetchStaticIpsResponse struct {
// List of static IPs.
StaticIps []string `protobuf:"bytes,1,rep,name=static_ips,json=staticIps,proto3" json:"static_ips,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for a 'FetchStaticIps' request.
func (*FetchStaticIpsResponse) Descriptor
func (*FetchStaticIpsResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchStaticIpsResponse.ProtoReflect.Descriptor instead.
func (*FetchStaticIpsResponse) GetNextPageToken
func (x *FetchStaticIpsResponse) GetNextPageToken() stringfunc (*FetchStaticIpsResponse) GetStaticIps
func (x *FetchStaticIpsResponse) GetStaticIps() []stringfunc (*FetchStaticIpsResponse) ProtoMessage
func (*FetchStaticIpsResponse) ProtoMessage()func (*FetchStaticIpsResponse) ProtoReflect
func (x *FetchStaticIpsResponse) ProtoReflect() protoreflect.Messagefunc (*FetchStaticIpsResponse) Reset
func (x *FetchStaticIpsResponse) Reset()func (*FetchStaticIpsResponse) String
func (x *FetchStaticIpsResponse) String() stringFilterTableColumns
type FilterTableColumns struct {
// Optional. List of columns to be included for a particular table.
IncludeColumns []string `protobuf:"bytes,1,rep,name=include_columns,json=includeColumns,proto3" json:"include_columns,omitempty"`
// Optional. List of columns to be excluded for a particular table.
ExcludeColumns []string `protobuf:"bytes,2,rep,name=exclude_columns,json=excludeColumns,proto3" json:"exclude_columns,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table.
The rule filter field can refer to one entity.
The rule scope can be: Table
Only one of the two lists can be specified for the rule.
func (*FilterTableColumns) Descriptor
func (*FilterTableColumns) Descriptor() ([]byte, []int)Deprecated: Use FilterTableColumns.ProtoReflect.Descriptor instead.
func (*FilterTableColumns) GetExcludeColumns
func (x *FilterTableColumns) GetExcludeColumns() []stringfunc (*FilterTableColumns) GetIncludeColumns
func (x *FilterTableColumns) GetIncludeColumns() []stringfunc (*FilterTableColumns) ProtoMessage
func (*FilterTableColumns) ProtoMessage()func (*FilterTableColumns) ProtoReflect
func (x *FilterTableColumns) ProtoReflect() protoreflect.Messagefunc (*FilterTableColumns) Reset
func (x *FilterTableColumns) Reset()func (*FilterTableColumns) String
func (x *FilterTableColumns) String() stringForwardSshTunnelConnectivity
type ForwardSshTunnelConnectivity struct {
// Required. Hostname for the SSH tunnel.
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
// Required. Username for the SSH tunnel.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// Port for the SSH tunnel, default value is 22.
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
// Types that are valid to be assigned to AuthenticationMethod:
//
// *ForwardSshTunnelConnectivity_Password
// *ForwardSshTunnelConnectivity_PrivateKey
AuthenticationMethod isForwardSshTunnelConnectivity_AuthenticationMethod `protobuf_oneof:"authentication_method"`
// contains filtered or unexported fields
}Forward SSH Tunnel connectivity.
func (*ForwardSshTunnelConnectivity) Descriptor
func (*ForwardSshTunnelConnectivity) Descriptor() ([]byte, []int)Deprecated: Use ForwardSshTunnelConnectivity.ProtoReflect.Descriptor instead.
func (*ForwardSshTunnelConnectivity) GetAuthenticationMethod
func (x *ForwardSshTunnelConnectivity) GetAuthenticationMethod() isForwardSshTunnelConnectivity_AuthenticationMethodfunc (*ForwardSshTunnelConnectivity) GetHostname
func (x *ForwardSshTunnelConnectivity) GetHostname() stringfunc (*ForwardSshTunnelConnectivity) GetPassword
func (x *ForwardSshTunnelConnectivity) GetPassword() stringfunc (*ForwardSshTunnelConnectivity) GetPort
func (x *ForwardSshTunnelConnectivity) GetPort() int32func (*ForwardSshTunnelConnectivity) GetPrivateKey
func (x *ForwardSshTunnelConnectivity) GetPrivateKey() stringfunc (*ForwardSshTunnelConnectivity) GetUsername
func (x *ForwardSshTunnelConnectivity) GetUsername() stringfunc (*ForwardSshTunnelConnectivity) ProtoMessage
func (*ForwardSshTunnelConnectivity) ProtoMessage()func (*ForwardSshTunnelConnectivity) ProtoReflect
func (x *ForwardSshTunnelConnectivity) ProtoReflect() protoreflect.Messagefunc (*ForwardSshTunnelConnectivity) Reset
func (x *ForwardSshTunnelConnectivity) Reset()func (*ForwardSshTunnelConnectivity) String
func (x *ForwardSshTunnelConnectivity) String() stringForwardSshTunnelConnectivity_Password
type ForwardSshTunnelConnectivity_Password struct {
// Input only. SSH password.
Password string `protobuf:"bytes,100,opt,name=password,proto3,oneof"`
}ForwardSshTunnelConnectivity_PrivateKey
type ForwardSshTunnelConnectivity_PrivateKey struct {
// Input only. SSH private key.
PrivateKey string `protobuf:"bytes,101,opt,name=private_key,json=privateKey,proto3,oneof"`
}FunctionEntity
type FunctionEntity struct {
// The SQL code which creates the function.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Function's parent is a schema.
func (*FunctionEntity) Descriptor
func (*FunctionEntity) Descriptor() ([]byte, []int)Deprecated: Use FunctionEntity.ProtoReflect.Descriptor instead.
func (*FunctionEntity) GetCustomFeatures
func (x *FunctionEntity) GetCustomFeatures() *structpb.Structfunc (*FunctionEntity) GetSqlCode
func (x *FunctionEntity) GetSqlCode() stringfunc (*FunctionEntity) ProtoMessage
func (*FunctionEntity) ProtoMessage()func (*FunctionEntity) ProtoReflect
func (x *FunctionEntity) ProtoReflect() protoreflect.Messagefunc (*FunctionEntity) Reset
func (x *FunctionEntity) Reset()func (*FunctionEntity) String
func (x *FunctionEntity) String() stringGenerateSshScriptRequest
type GenerateSshScriptRequest struct {
// Name of the migration job resource to generate the SSH script.
MigrationJob string `protobuf:"bytes,1,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// Required. Bastion VM Instance name to use or to create.
Vm string `protobuf:"bytes,2,opt,name=vm,proto3" json:"vm,omitempty"`
// The VM configuration
//
// Types that are valid to be assigned to VmConfig:
//
// *GenerateSshScriptRequest_VmCreationConfig
// *GenerateSshScriptRequest_VmSelectionConfig
VmConfig isGenerateSshScriptRequest_VmConfig `protobuf_oneof:"vm_config"`
// The port that will be open on the bastion host.
VmPort int32 `protobuf:"varint,3,opt,name=vm_port,json=vmPort,proto3" json:"vm_port,omitempty"`
// contains filtered or unexported fields
}Request message for 'GenerateSshScript' request.
func (*GenerateSshScriptRequest) Descriptor
func (*GenerateSshScriptRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateSshScriptRequest.ProtoReflect.Descriptor instead.
func (*GenerateSshScriptRequest) GetMigrationJob
func (x *GenerateSshScriptRequest) GetMigrationJob() stringfunc (*GenerateSshScriptRequest) GetVm
func (x *GenerateSshScriptRequest) GetVm() stringfunc (*GenerateSshScriptRequest) GetVmConfig
func (x *GenerateSshScriptRequest) GetVmConfig() isGenerateSshScriptRequest_VmConfigfunc (*GenerateSshScriptRequest) GetVmCreationConfig
func (x *GenerateSshScriptRequest) GetVmCreationConfig() *VmCreationConfigfunc (*GenerateSshScriptRequest) GetVmPort
func (x *GenerateSshScriptRequest) GetVmPort() int32func (*GenerateSshScriptRequest) GetVmSelectionConfig
func (x *GenerateSshScriptRequest) GetVmSelectionConfig() *VmSelectionConfigfunc (*GenerateSshScriptRequest) ProtoMessage
func (*GenerateSshScriptRequest) ProtoMessage()func (*GenerateSshScriptRequest) ProtoReflect
func (x *GenerateSshScriptRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateSshScriptRequest) Reset
func (x *GenerateSshScriptRequest) Reset()func (*GenerateSshScriptRequest) String
func (x *GenerateSshScriptRequest) String() stringGenerateSshScriptRequest_VmCreationConfig
type GenerateSshScriptRequest_VmCreationConfig struct {
// The VM creation configuration
VmCreationConfig *VmCreationConfig `protobuf:"bytes,100,opt,name=vm_creation_config,json=vmCreationConfig,proto3,oneof"`
}GenerateSshScriptRequest_VmSelectionConfig
type GenerateSshScriptRequest_VmSelectionConfig struct {
// The VM selection configuration
VmSelectionConfig *VmSelectionConfig `protobuf:"bytes,101,opt,name=vm_selection_config,json=vmSelectionConfig,proto3,oneof"`
}GenerateTcpProxyScriptRequest
type GenerateTcpProxyScriptRequest struct {
// Name of the migration job resource to generate the TCP Proxy script.
MigrationJob string `protobuf:"bytes,1,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// Required. The name of the Compute instance that will host the proxy.
VmName string `protobuf:"bytes,2,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
// Required. The type of the Compute instance that will host the proxy.
VmMachineType string `protobuf:"bytes,3,opt,name=vm_machine_type,json=vmMachineType,proto3" json:"vm_machine_type,omitempty"`
// Optional. The Google Cloud Platform zone to create the VM in. The fully
// qualified name of the zone must be specified, including the region name,
// for example "us-central1-b". If not specified, uses the "-b" zone of the
// destination Connection Profile's region.
VmZone string `protobuf:"bytes,4,opt,name=vm_zone,json=vmZone,proto3" json:"vm_zone,omitempty"`
// Required. The name of the subnet the Compute instance will use for private
// connectivity. Must be supplied in the form of
// projects/{project}/regions/{region}/subnetworks/{subnetwork}.
// Note: the region for the subnet must match the Compute instance region.
VmSubnet string `protobuf:"bytes,5,opt,name=vm_subnet,json=vmSubnet,proto3" json:"vm_subnet,omitempty"`
// contains filtered or unexported fields
}Request message for 'GenerateTcpProxyScript' request.
func (*GenerateTcpProxyScriptRequest) Descriptor
func (*GenerateTcpProxyScriptRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateTcpProxyScriptRequest.ProtoReflect.Descriptor instead.
func (*GenerateTcpProxyScriptRequest) GetMigrationJob
func (x *GenerateTcpProxyScriptRequest) GetMigrationJob() stringfunc (*GenerateTcpProxyScriptRequest) GetVmMachineType
func (x *GenerateTcpProxyScriptRequest) GetVmMachineType() stringfunc (*GenerateTcpProxyScriptRequest) GetVmName
func (x *GenerateTcpProxyScriptRequest) GetVmName() stringfunc (*GenerateTcpProxyScriptRequest) GetVmSubnet
func (x *GenerateTcpProxyScriptRequest) GetVmSubnet() stringfunc (*GenerateTcpProxyScriptRequest) GetVmZone
func (x *GenerateTcpProxyScriptRequest) GetVmZone() stringfunc (*GenerateTcpProxyScriptRequest) ProtoMessage
func (*GenerateTcpProxyScriptRequest) ProtoMessage()func (*GenerateTcpProxyScriptRequest) ProtoReflect
func (x *GenerateTcpProxyScriptRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateTcpProxyScriptRequest) Reset
func (x *GenerateTcpProxyScriptRequest) Reset()func (*GenerateTcpProxyScriptRequest) String
func (x *GenerateTcpProxyScriptRequest) String() stringGetConnectionProfileRequest
type GetConnectionProfileRequest struct {
// Required. Name of the connection profile resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'GetConnectionProfile' request.
func (*GetConnectionProfileRequest) Descriptor
func (*GetConnectionProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use GetConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionProfileRequest) GetName
func (x *GetConnectionProfileRequest) GetName() stringfunc (*GetConnectionProfileRequest) ProtoMessage
func (*GetConnectionProfileRequest) ProtoMessage()func (*GetConnectionProfileRequest) ProtoReflect
func (x *GetConnectionProfileRequest) ProtoReflect() protoreflect.Messagefunc (*GetConnectionProfileRequest) Reset
func (x *GetConnectionProfileRequest) Reset()func (*GetConnectionProfileRequest) String
func (x *GetConnectionProfileRequest) String() stringGetConversionWorkspaceRequest
type GetConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'GetConversionWorkspace' request.
func (*GetConversionWorkspaceRequest) Descriptor
func (*GetConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*GetConversionWorkspaceRequest) GetName
func (x *GetConversionWorkspaceRequest) GetName() stringfunc (*GetConversionWorkspaceRequest) ProtoMessage
func (*GetConversionWorkspaceRequest) ProtoMessage()func (*GetConversionWorkspaceRequest) ProtoReflect
func (x *GetConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*GetConversionWorkspaceRequest) Reset
func (x *GetConversionWorkspaceRequest) Reset()func (*GetConversionWorkspaceRequest) String
func (x *GetConversionWorkspaceRequest) String() stringGetMappingRuleRequest
type GetMappingRuleRequest struct {
// Required. Name of the mapping rule resource to get.
// Example: conversionWorkspaces/123/mappingRules/rule123
//
// In order to retrieve a previous revision of the mapping rule, also provide
// the revision ID.
// Example:
// conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'GetMappingRule' request.
func (*GetMappingRuleRequest) Descriptor
func (*GetMappingRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMappingRuleRequest.ProtoReflect.Descriptor instead.
func (*GetMappingRuleRequest) GetName
func (x *GetMappingRuleRequest) GetName() stringfunc (*GetMappingRuleRequest) ProtoMessage
func (*GetMappingRuleRequest) ProtoMessage()func (*GetMappingRuleRequest) ProtoReflect
func (x *GetMappingRuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetMappingRuleRequest) Reset
func (x *GetMappingRuleRequest) Reset()func (*GetMappingRuleRequest) String
func (x *GetMappingRuleRequest) String() stringGetMigrationJobRequest
type GetMigrationJobRequest struct {
// Required. Name of the migration job resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'GetMigrationJob' request.
func (*GetMigrationJobRequest) Descriptor
func (*GetMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*GetMigrationJobRequest) GetName
func (x *GetMigrationJobRequest) GetName() stringfunc (*GetMigrationJobRequest) ProtoMessage
func (*GetMigrationJobRequest) ProtoMessage()func (*GetMigrationJobRequest) ProtoReflect
func (x *GetMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*GetMigrationJobRequest) Reset
func (x *GetMigrationJobRequest) Reset()func (*GetMigrationJobRequest) String
func (x *GetMigrationJobRequest) String() stringGetPrivateConnectionRequest
type GetPrivateConnectionRequest struct {
// Required. The name of the private connection to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to get a private connection resource.
func (*GetPrivateConnectionRequest) Descriptor
func (*GetPrivateConnectionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetPrivateConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetPrivateConnectionRequest) GetName
func (x *GetPrivateConnectionRequest) GetName() stringfunc (*GetPrivateConnectionRequest) ProtoMessage
func (*GetPrivateConnectionRequest) ProtoMessage()func (*GetPrivateConnectionRequest) ProtoReflect
func (x *GetPrivateConnectionRequest) ProtoReflect() protoreflect.Messagefunc (*GetPrivateConnectionRequest) Reset
func (x *GetPrivateConnectionRequest) Reset()func (*GetPrivateConnectionRequest) String
func (x *GetPrivateConnectionRequest) String() stringImportMappingRulesRequest
type ImportMappingRulesRequest struct {
// Required. Name of the conversion workspace resource to import the rules to
// in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The format of the rules content file.
RulesFormat ImportRulesFileFormat `protobuf:"varint,2,opt,name=rules_format,json=rulesFormat,proto3,enum=google.cloud.clouddms.v1.ImportRulesFileFormat" json:"rules_format,omitempty"`
// Required. One or more rules files.
RulesFiles []*ImportMappingRulesRequest_RulesFile `protobuf:"bytes,3,rep,name=rules_files,json=rulesFiles,proto3" json:"rules_files,omitempty"`
// Required. Should the conversion workspace be committed automatically after
// the import operation.
AutoCommit bool `protobuf:"varint,6,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
// contains filtered or unexported fields
}Request message for 'ImportMappingRules' request.
func (*ImportMappingRulesRequest) Descriptor
func (*ImportMappingRulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportMappingRulesRequest.ProtoReflect.Descriptor instead.
func (*ImportMappingRulesRequest) GetAutoCommit
func (x *ImportMappingRulesRequest) GetAutoCommit() boolfunc (*ImportMappingRulesRequest) GetParent
func (x *ImportMappingRulesRequest) GetParent() stringfunc (*ImportMappingRulesRequest) GetRulesFiles
func (x *ImportMappingRulesRequest) GetRulesFiles() []*ImportMappingRulesRequest_RulesFilefunc (*ImportMappingRulesRequest) GetRulesFormat
func (x *ImportMappingRulesRequest) GetRulesFormat() ImportRulesFileFormatfunc (*ImportMappingRulesRequest) ProtoMessage
func (*ImportMappingRulesRequest) ProtoMessage()func (*ImportMappingRulesRequest) ProtoReflect
func (x *ImportMappingRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ImportMappingRulesRequest) Reset
func (x *ImportMappingRulesRequest) Reset()func (*ImportMappingRulesRequest) String
func (x *ImportMappingRulesRequest) String() stringImportMappingRulesRequest_RulesFile
type ImportMappingRulesRequest_RulesFile struct {
// Required. The filename of the rules that needs to be converted. The
// filename is used mainly so that future logs of the import rules job
// contain it, and can therefore be searched by it.
RulesSourceFilename string `protobuf:"bytes,1,opt,name=rules_source_filename,json=rulesSourceFilename,proto3" json:"rules_source_filename,omitempty"`
// Required. The text content of the rules that needs to be converted.
RulesContent string `protobuf:"bytes,2,opt,name=rules_content,json=rulesContent,proto3" json:"rules_content,omitempty"`
// contains filtered or unexported fields
}Details of a single rules file.
func (*ImportMappingRulesRequest_RulesFile) Descriptor
func (*ImportMappingRulesRequest_RulesFile) Descriptor() ([]byte, []int)Deprecated: Use ImportMappingRulesRequest_RulesFile.ProtoReflect.Descriptor instead.
func (*ImportMappingRulesRequest_RulesFile) GetRulesContent
func (x *ImportMappingRulesRequest_RulesFile) GetRulesContent() stringfunc (*ImportMappingRulesRequest_RulesFile) GetRulesSourceFilename
func (x *ImportMappingRulesRequest_RulesFile) GetRulesSourceFilename() stringfunc (*ImportMappingRulesRequest_RulesFile) ProtoMessage
func (*ImportMappingRulesRequest_RulesFile) ProtoMessage()func (*ImportMappingRulesRequest_RulesFile) ProtoReflect
func (x *ImportMappingRulesRequest_RulesFile) ProtoReflect() protoreflect.Messagefunc (*ImportMappingRulesRequest_RulesFile) Reset
func (x *ImportMappingRulesRequest_RulesFile) Reset()func (*ImportMappingRulesRequest_RulesFile) String
func (x *ImportMappingRulesRequest_RulesFile) String() stringImportRulesFileFormat
type ImportRulesFileFormat int32The format for the import rules file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_UNSPECIFIED, ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE, ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE
const (
// Unspecified rules format.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_UNSPECIFIED ImportRulesFileFormat = 0
// HarbourBridge session file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE ImportRulesFileFormat = 1
// Ora2Pg configuration file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE ImportRulesFileFormat = 2
)func (ImportRulesFileFormat) Descriptor
func (ImportRulesFileFormat) Descriptor() protoreflect.EnumDescriptorfunc (ImportRulesFileFormat) Enum
func (x ImportRulesFileFormat) Enum() *ImportRulesFileFormatfunc (ImportRulesFileFormat) EnumDescriptor
func (ImportRulesFileFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ImportRulesFileFormat.Descriptor instead.
func (ImportRulesFileFormat) Number
func (x ImportRulesFileFormat) Number() protoreflect.EnumNumberfunc (ImportRulesFileFormat) String
func (x ImportRulesFileFormat) String() stringfunc (ImportRulesFileFormat) Type
func (ImportRulesFileFormat) Type() protoreflect.EnumTypeIndexEntity
type IndexEntity struct {
// The name of the index.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of index, for example B-TREE.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Table columns used as part of the Index, for example B-TREE index should
// list the columns which constitutes the index.
TableColumns []string `protobuf:"bytes,3,rep,name=table_columns,json=tableColumns,proto3" json:"table_columns,omitempty"`
// Boolean value indicating whether the index is unique.
Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Index is not used as an independent entity, it is retrieved as part of a Table entity.
func (*IndexEntity) Descriptor
func (*IndexEntity) Descriptor() ([]byte, []int)Deprecated: Use IndexEntity.ProtoReflect.Descriptor instead.
func (*IndexEntity) GetCustomFeatures
func (x *IndexEntity) GetCustomFeatures() *structpb.Structfunc (*IndexEntity) GetName
func (x *IndexEntity) GetName() stringfunc (*IndexEntity) GetTableColumns
func (x *IndexEntity) GetTableColumns() []stringfunc (*IndexEntity) GetType
func (x *IndexEntity) GetType() stringfunc (*IndexEntity) GetUnique
func (x *IndexEntity) GetUnique() boolfunc (*IndexEntity) ProtoMessage
func (*IndexEntity) ProtoMessage()func (*IndexEntity) ProtoReflect
func (x *IndexEntity) ProtoReflect() protoreflect.Messagefunc (*IndexEntity) Reset
func (x *IndexEntity) Reset()func (*IndexEntity) String
func (x *IndexEntity) String() stringIntComparisonFilter
type IntComparisonFilter struct {
// Required. Relation between source value and compare value
ValueComparison ValueComparison `protobuf:"varint,1,opt,name=value_comparison,json=valueComparison,proto3,enum=google.cloud.clouddms.v1.ValueComparison" json:"value_comparison,omitempty"`
// Required. Integer compare value to be used
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Filter based on relation between source value and compare value of type integer in ConditionalColumnSetValue
func (*IntComparisonFilter) Descriptor
func (*IntComparisonFilter) Descriptor() ([]byte, []int)Deprecated: Use IntComparisonFilter.ProtoReflect.Descriptor instead.
func (*IntComparisonFilter) GetValue
func (x *IntComparisonFilter) GetValue() int64func (*IntComparisonFilter) GetValueComparison
func (x *IntComparisonFilter) GetValueComparison() ValueComparisonfunc (*IntComparisonFilter) ProtoMessage
func (*IntComparisonFilter) ProtoMessage()func (*IntComparisonFilter) ProtoReflect
func (x *IntComparisonFilter) ProtoReflect() protoreflect.Messagefunc (*IntComparisonFilter) Reset
func (x *IntComparisonFilter) Reset()func (*IntComparisonFilter) String
func (x *IntComparisonFilter) String() stringListConnectionProfilesRequest
type ListConnectionProfilesRequest struct {
// Required. The parent which owns this collection of connection profiles.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of connection profiles to return. The service may return
// fewer than this value. If unspecified, at most 50 connection profiles will
// be returned. The maximum value is 1000; values above 1000 are coerced
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListConnectionProfiles` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListConnectionProfiles`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters connection profiles listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" connection="" profiles="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z**.="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **mysql.username="" =="" %lt;my_username%gt;**="" to="" list="" all="" connection="" profiles="" configured="" to="" connect="" with="" a="" specific="" username.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// A comma-separated list of fields to order results according to.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request message for 'ListConnectionProfiles' request.
func (*ListConnectionProfilesRequest) Descriptor
func (*ListConnectionProfilesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListConnectionProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionProfilesRequest) GetFilter
func (x *ListConnectionProfilesRequest) GetFilter() stringfunc (*ListConnectionProfilesRequest) GetOrderBy
func (x *ListConnectionProfilesRequest) GetOrderBy() stringfunc (*ListConnectionProfilesRequest) GetPageSize
func (x *ListConnectionProfilesRequest) GetPageSize() int32func (*ListConnectionProfilesRequest) GetPageToken
func (x *ListConnectionProfilesRequest) GetPageToken() stringfunc (*ListConnectionProfilesRequest) GetParent
func (x *ListConnectionProfilesRequest) GetParent() stringfunc (*ListConnectionProfilesRequest) ProtoMessage
func (*ListConnectionProfilesRequest) ProtoMessage()func (*ListConnectionProfilesRequest) ProtoReflect
func (x *ListConnectionProfilesRequest) ProtoReflect() protoreflect.Messagefunc (*ListConnectionProfilesRequest) Reset
func (x *ListConnectionProfilesRequest) Reset()func (*ListConnectionProfilesRequest) String
func (x *ListConnectionProfilesRequest) String() stringListConnectionProfilesResponse
type ListConnectionProfilesResponse struct {
// The response list of connection profiles.
ConnectionProfiles []*ConnectionProfile `protobuf:"bytes,1,rep,name=connection_profiles,json=connectionProfiles,proto3" json:"connection_profiles,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for 'ListConnectionProfiles' request.
func (*ListConnectionProfilesResponse) Descriptor
func (*ListConnectionProfilesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListConnectionProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionProfilesResponse) GetConnectionProfiles
func (x *ListConnectionProfilesResponse) GetConnectionProfiles() []*ConnectionProfilefunc (*ListConnectionProfilesResponse) GetNextPageToken
func (x *ListConnectionProfilesResponse) GetNextPageToken() stringfunc (*ListConnectionProfilesResponse) GetUnreachable
func (x *ListConnectionProfilesResponse) GetUnreachable() []stringfunc (*ListConnectionProfilesResponse) ProtoMessage
func (*ListConnectionProfilesResponse) ProtoMessage()func (*ListConnectionProfilesResponse) ProtoReflect
func (x *ListConnectionProfilesResponse) ProtoReflect() protoreflect.Messagefunc (*ListConnectionProfilesResponse) Reset
func (x *ListConnectionProfilesResponse) Reset()func (*ListConnectionProfilesResponse) String
func (x *ListConnectionProfilesResponse) String() stringListConversionWorkspacesRequest
type ListConversionWorkspacesRequest struct {
// Required. The parent which owns this collection of conversion workspaces.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of conversion workspaces to return. The service may
// return fewer than this value. If unspecified, at most 50 sets are returned.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The nextPageToken value received in the previous call to
// conversionWorkspaces.list, used in the subsequent request to retrieve the
// next page of results. On first call this should be left blank. When
// paginating, all other parameters provided to conversionWorkspaces.list must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters conversion workspaces listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" conversion="" workspaces="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z.**="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **source.version="12.c.1" **="" to="" select="" all="" conversion="" workspaces="" with="" source="" database="" version="" equal="" to="" 12.c.1.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Retrieve a list of all conversion workspaces in a given project and location.
func (*ListConversionWorkspacesRequest) Descriptor
func (*ListConversionWorkspacesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListConversionWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*ListConversionWorkspacesRequest) GetFilter
func (x *ListConversionWorkspacesRequest) GetFilter() stringfunc (*ListConversionWorkspacesRequest) GetPageSize
func (x *ListConversionWorkspacesRequest) GetPageSize() int32func (*ListConversionWorkspacesRequest) GetPageToken
func (x *ListConversionWorkspacesRequest) GetPageToken() stringfunc (*ListConversionWorkspacesRequest) GetParent
func (x *ListConversionWorkspacesRequest) GetParent() stringfunc (*ListConversionWorkspacesRequest) ProtoMessage
func (*ListConversionWorkspacesRequest) ProtoMessage()func (*ListConversionWorkspacesRequest) ProtoReflect
func (x *ListConversionWorkspacesRequest) ProtoReflect() protoreflect.Messagefunc (*ListConversionWorkspacesRequest) Reset
func (x *ListConversionWorkspacesRequest) Reset()func (*ListConversionWorkspacesRequest) String
func (x *ListConversionWorkspacesRequest) String() stringListConversionWorkspacesResponse
type ListConversionWorkspacesResponse struct {
// The list of conversion workspace objects.
ConversionWorkspaces []*ConversionWorkspace `protobuf:"bytes,1,rep,name=conversion_workspaces,json=conversionWorkspaces,proto3" json:"conversion_workspaces,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for 'ListConversionWorkspaces' request.
func (*ListConversionWorkspacesResponse) Descriptor
func (*ListConversionWorkspacesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListConversionWorkspacesResponse.ProtoReflect.Descriptor instead.
func (*ListConversionWorkspacesResponse) GetConversionWorkspaces
func (x *ListConversionWorkspacesResponse) GetConversionWorkspaces() []*ConversionWorkspacefunc (*ListConversionWorkspacesResponse) GetNextPageToken
func (x *ListConversionWorkspacesResponse) GetNextPageToken() stringfunc (*ListConversionWorkspacesResponse) GetUnreachable
func (x *ListConversionWorkspacesResponse) GetUnreachable() []stringfunc (*ListConversionWorkspacesResponse) ProtoMessage
func (*ListConversionWorkspacesResponse) ProtoMessage()func (*ListConversionWorkspacesResponse) ProtoReflect
func (x *ListConversionWorkspacesResponse) ProtoReflect() protoreflect.Messagefunc (*ListConversionWorkspacesResponse) Reset
func (x *ListConversionWorkspacesResponse) Reset()func (*ListConversionWorkspacesResponse) String
func (x *ListConversionWorkspacesResponse) String() stringListMappingRulesRequest
type ListMappingRulesRequest struct {
// Required. Name of the conversion workspace resource whose mapping rules are
// listed in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rules to return. The service may return
// fewer than this value.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The nextPageToken value received in the previous call to
// mappingRules.list, used in the subsequent request to retrieve the next
// page of results. On first call this should be left blank. When paginating,
// all other parameters provided to mappingRules.list must match the call
// that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Retrieve a list of all mapping rules in a given conversion workspace.
func (*ListMappingRulesRequest) Descriptor
func (*ListMappingRulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMappingRulesRequest.ProtoReflect.Descriptor instead.
func (*ListMappingRulesRequest) GetPageSize
func (x *ListMappingRulesRequest) GetPageSize() int32func (*ListMappingRulesRequest) GetPageToken
func (x *ListMappingRulesRequest) GetPageToken() stringfunc (*ListMappingRulesRequest) GetParent
func (x *ListMappingRulesRequest) GetParent() stringfunc (*ListMappingRulesRequest) ProtoMessage
func (*ListMappingRulesRequest) ProtoMessage()func (*ListMappingRulesRequest) ProtoReflect
func (x *ListMappingRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListMappingRulesRequest) Reset
func (x *ListMappingRulesRequest) Reset()func (*ListMappingRulesRequest) String
func (x *ListMappingRulesRequest) String() stringListMappingRulesResponse
type ListMappingRulesResponse struct {
// The list of conversion workspace mapping rules.
MappingRules []*MappingRule `protobuf:"bytes,1,rep,name=mapping_rules,json=mappingRules,proto3" json:"mapping_rules,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for 'ListMappingRulesRequest' request.
func (*ListMappingRulesResponse) Descriptor
func (*ListMappingRulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMappingRulesResponse.ProtoReflect.Descriptor instead.
func (*ListMappingRulesResponse) GetMappingRules
func (x *ListMappingRulesResponse) GetMappingRules() []*MappingRulefunc (*ListMappingRulesResponse) GetNextPageToken
func (x *ListMappingRulesResponse) GetNextPageToken() stringfunc (*ListMappingRulesResponse) ProtoMessage
func (*ListMappingRulesResponse) ProtoMessage()func (*ListMappingRulesResponse) ProtoReflect
func (x *ListMappingRulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListMappingRulesResponse) Reset
func (x *ListMappingRulesResponse) Reset()func (*ListMappingRulesResponse) String
func (x *ListMappingRulesResponse) String() stringListMigrationJobsRequest
type ListMigrationJobsRequest struct {
// Required. The parent which owns this collection of migrationJobs.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of migration jobs to return. The service may return
// fewer than this value. If unspecified, at most 50 migration jobs will be
// returned. The maximum value is 1000; values above 1000 are coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The nextPageToken value received in the previous call to
// migrationJobs.list, used in the subsequent request to retrieve the next
// page of results. On first call this should be left blank. When paginating,
// all other parameters provided to migrationJobs.list must match the call
// that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters migration jobs listed in the response.
// The expression must specify the field name, a comparison operator, and the
// value that you want to use for filtering. The value must be a string,
// a number, or a boolean. The comparison operator must be
// either =, !=, >, or <. for="" example,="" list="" migration="" jobs="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z.**="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **reversesshconnectivity.vmip="1.2.3.4" **="" to="" select="" all="" migration="" jobs="" connecting="" through="" the="" specific="" ssh="" tunnel="" bastion.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Sort the results based on the migration job name.
// Valid values are: "name", "name asc", and "name desc".
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Retrieves a list of all migration jobs in a given project and location.
func (*ListMigrationJobsRequest) Descriptor
func (*ListMigrationJobsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMigrationJobsRequest.ProtoReflect.Descriptor instead.
func (*ListMigrationJobsRequest) GetFilter
func (x *ListMigrationJobsRequest) GetFilter() stringfunc (*ListMigrationJobsRequest) GetOrderBy
func (x *ListMigrationJobsRequest) GetOrderBy() stringfunc (*ListMigrationJobsRequest) GetPageSize
func (x *ListMigrationJobsRequest) GetPageSize() int32func (*ListMigrationJobsRequest) GetPageToken
func (x *ListMigrationJobsRequest) GetPageToken() stringfunc (*ListMigrationJobsRequest) GetParent
func (x *ListMigrationJobsRequest) GetParent() stringfunc (*ListMigrationJobsRequest) ProtoMessage
func (*ListMigrationJobsRequest) ProtoMessage()func (*ListMigrationJobsRequest) ProtoReflect
func (x *ListMigrationJobsRequest) ProtoReflect() protoreflect.Messagefunc (*ListMigrationJobsRequest) Reset
func (x *ListMigrationJobsRequest) Reset()func (*ListMigrationJobsRequest) String
func (x *ListMigrationJobsRequest) String() stringListMigrationJobsResponse
type ListMigrationJobsResponse struct {
// The list of migration jobs objects.
MigrationJobs []*MigrationJob `protobuf:"bytes,1,rep,name=migration_jobs,json=migrationJobs,proto3" json:"migration_jobs,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for 'ListMigrationJobs' request.
func (*ListMigrationJobsResponse) Descriptor
func (*ListMigrationJobsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMigrationJobsResponse.ProtoReflect.Descriptor instead.
func (*ListMigrationJobsResponse) GetMigrationJobs
func (x *ListMigrationJobsResponse) GetMigrationJobs() []*MigrationJobfunc (*ListMigrationJobsResponse) GetNextPageToken
func (x *ListMigrationJobsResponse) GetNextPageToken() stringfunc (*ListMigrationJobsResponse) GetUnreachable
func (x *ListMigrationJobsResponse) GetUnreachable() []stringfunc (*ListMigrationJobsResponse) ProtoMessage
func (*ListMigrationJobsResponse) ProtoMessage()func (*ListMigrationJobsResponse) ProtoReflect
func (x *ListMigrationJobsResponse) ProtoReflect() protoreflect.Messagefunc (*ListMigrationJobsResponse) Reset
func (x *ListMigrationJobsResponse) Reset()func (*ListMigrationJobsResponse) String
func (x *ListMigrationJobsResponse) String() stringListPrivateConnectionsRequest
type ListPrivateConnectionsRequest struct {
// Required. The parent that owns the collection of private connections.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of private connections to return.
// If unspecified, at most 50 private connections that are returned.
// The maximum value is 1000; values above 1000 are coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token received from a previous `ListPrivateConnections` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ListPrivateConnections` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters private connections listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" private="" connections="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2021-01-01t00:00:00.000000000z**.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Order by fields for the result.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request message to retrieve a list of private connections in a given project and location.
func (*ListPrivateConnectionsRequest) Descriptor
func (*ListPrivateConnectionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPrivateConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListPrivateConnectionsRequest) GetFilter
func (x *ListPrivateConnectionsRequest) GetFilter() stringfunc (*ListPrivateConnectionsRequest) GetOrderBy
func (x *ListPrivateConnectionsRequest) GetOrderBy() stringfunc (*ListPrivateConnectionsRequest) GetPageSize
func (x *ListPrivateConnectionsRequest) GetPageSize() int32func (*ListPrivateConnectionsRequest) GetPageToken
func (x *ListPrivateConnectionsRequest) GetPageToken() stringfunc (*ListPrivateConnectionsRequest) GetParent
func (x *ListPrivateConnectionsRequest) GetParent() stringfunc (*ListPrivateConnectionsRequest) ProtoMessage
func (*ListPrivateConnectionsRequest) ProtoMessage()func (*ListPrivateConnectionsRequest) ProtoReflect
func (x *ListPrivateConnectionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPrivateConnectionsRequest) Reset
func (x *ListPrivateConnectionsRequest) Reset()func (*ListPrivateConnectionsRequest) String
func (x *ListPrivateConnectionsRequest) String() stringListPrivateConnectionsResponse
type ListPrivateConnectionsResponse struct {
// List of private connections.
PrivateConnections []*PrivateConnection `protobuf:"bytes,1,rep,name=private_connections,json=privateConnections,proto3" json:"private_connections,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for 'ListPrivateConnections' request.
func (*ListPrivateConnectionsResponse) Descriptor
func (*ListPrivateConnectionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPrivateConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListPrivateConnectionsResponse) GetNextPageToken
func (x *ListPrivateConnectionsResponse) GetNextPageToken() stringfunc (*ListPrivateConnectionsResponse) GetPrivateConnections
func (x *ListPrivateConnectionsResponse) GetPrivateConnections() []*PrivateConnectionfunc (*ListPrivateConnectionsResponse) GetUnreachable
func (x *ListPrivateConnectionsResponse) GetUnreachable() []stringfunc (*ListPrivateConnectionsResponse) ProtoMessage
func (*ListPrivateConnectionsResponse) ProtoMessage()func (*ListPrivateConnectionsResponse) ProtoReflect
func (x *ListPrivateConnectionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPrivateConnectionsResponse) Reset
func (x *ListPrivateConnectionsResponse) Reset()func (*ListPrivateConnectionsResponse) String
func (x *ListPrivateConnectionsResponse) String() stringMappingRule
type MappingRule struct {
// Full name of the mapping rule resource, in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A human readable name
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The mapping rule state
State MappingRule_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.clouddms.v1.MappingRule_State" json:"state,omitempty"`
// Required. The rule scope
RuleScope DatabaseEntityType `protobuf:"varint,4,opt,name=rule_scope,json=ruleScope,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"rule_scope,omitempty"`
// Required. The rule filter
Filter *MappingRuleFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Required. The order in which the rule is applied. Lower order rules are
// applied before higher value rules so they may end up being overridden.
RuleOrder int64 `protobuf:"varint,6,opt,name=rule_order,json=ruleOrder,proto3" json:"rule_order,omitempty"`
// Output only. The revision ID of the mapping rule.
// A new revision is committed whenever the mapping rule is changed in any
// way. The format is an 8-character hexadecimal string.
RevisionId string `protobuf:"bytes,7,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// Output only. The timestamp that the revision was created.
RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
// The rule specific details.
//
// Types that are valid to be assigned to Details:
//
// *MappingRule_SingleEntityRename
// *MappingRule_MultiEntityRename
// *MappingRule_EntityMove
// *MappingRule_SingleColumnChange
// *MappingRule_MultiColumnDataTypeChange
// *MappingRule_ConditionalColumnSetValue
// *MappingRule_ConvertRowidColumn
// *MappingRule_SetTablePrimaryKey
// *MappingRule_SinglePackageChange
// *MappingRule_SourceSqlChange
// *MappingRule_FilterTableColumns
Details isMappingRule_Details `protobuf_oneof:"details"`
// contains filtered or unexported fields
}Definition of a transformation that is to be applied to a group of entities in the source schema. Several such transformations can be applied to an entity sequentially to define the corresponding entity in the target schema.
func (*MappingRule) Descriptor
func (*MappingRule) Descriptor() ([]byte, []int)Deprecated: Use MappingRule.ProtoReflect.Descriptor instead.
func (*MappingRule) GetConditionalColumnSetValue
func (x *MappingRule) GetConditionalColumnSetValue() *ConditionalColumnSetValuefunc (*MappingRule) GetConvertRowidColumn
func (x *MappingRule) GetConvertRowidColumn() *ConvertRowIdToColumnfunc (*MappingRule) GetDetails
func (x *MappingRule) GetDetails() isMappingRule_Detailsfunc (*MappingRule) GetDisplayName
func (x *MappingRule) GetDisplayName() stringfunc (*MappingRule) GetEntityMove
func (x *MappingRule) GetEntityMove() *EntityMovefunc (*MappingRule) GetFilter
func (x *MappingRule) GetFilter() *MappingRuleFilterfunc (*MappingRule) GetFilterTableColumns
func (x *MappingRule) GetFilterTableColumns() *FilterTableColumnsfunc (*MappingRule) GetMultiColumnDataTypeChange
func (x *MappingRule) GetMultiColumnDataTypeChange() *MultiColumnDatatypeChangefunc (*MappingRule) GetMultiEntityRename
func (x *MappingRule) GetMultiEntityRename() *MultiEntityRenamefunc (*MappingRule) GetName
func (x *MappingRule) GetName() stringfunc (*MappingRule) GetRevisionCreateTime
func (x *MappingRule) GetRevisionCreateTime() *timestamppb.Timestampfunc (*MappingRule) GetRevisionId
func (x *MappingRule) GetRevisionId() stringfunc (*MappingRule) GetRuleOrder
func (x *MappingRule) GetRuleOrder() int64func (*MappingRule) GetRuleScope
func (x *MappingRule) GetRuleScope() DatabaseEntityTypefunc (*MappingRule) GetSetTablePrimaryKey
func (x *MappingRule) GetSetTablePrimaryKey() *SetTablePrimaryKeyfunc (*MappingRule) GetSingleColumnChange
func (x *MappingRule) GetSingleColumnChange() *SingleColumnChangefunc (*MappingRule) GetSingleEntityRename
func (x *MappingRule) GetSingleEntityRename() *SingleEntityRenamefunc (*MappingRule) GetSinglePackageChange
func (x *MappingRule) GetSinglePackageChange() *SinglePackageChangefunc (*MappingRule) GetSourceSqlChange
func (x *MappingRule) GetSourceSqlChange() *SourceSqlChangefunc (*MappingRule) GetState
func (x *MappingRule) GetState() MappingRule_Statefunc (*MappingRule) ProtoMessage
func (*MappingRule) ProtoMessage()func (*MappingRule) ProtoReflect
func (x *MappingRule) ProtoReflect() protoreflect.Messagefunc (*MappingRule) Reset
func (x *MappingRule) Reset()func (*MappingRule) String
func (x *MappingRule) String() stringMappingRuleFilter
type MappingRuleFilter struct {
// Optional. The rule should be applied to entities whose parent entity
// (fully qualified name) matches the given value.
// For example, if the rule applies to a table entity, the expected value
// should be a schema (schema). If the rule applies to a column or index
// entity, the expected value can be either a schema (schema) or a table
// (schema.table)
ParentEntity string `protobuf:"bytes,1,opt,name=parent_entity,json=parentEntity,proto3" json:"parent_entity,omitempty"`
// Optional. The rule should be applied to entities whose non-qualified name
// starts with the given prefix.
EntityNamePrefix string `protobuf:"bytes,2,opt,name=entity_name_prefix,json=entityNamePrefix,proto3" json:"entity_name_prefix,omitempty"`
// Optional. The rule should be applied to entities whose non-qualified name
// ends with the given suffix.
EntityNameSuffix string `protobuf:"bytes,3,opt,name=entity_name_suffix,json=entityNameSuffix,proto3" json:"entity_name_suffix,omitempty"`
// Optional. The rule should be applied to entities whose non-qualified name
// contains the given string.
EntityNameContains string `protobuf:"bytes,4,opt,name=entity_name_contains,json=entityNameContains,proto3" json:"entity_name_contains,omitempty"`
// Optional. The rule should be applied to specific entities defined by their
// fully qualified names.
Entities []string `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.
func (*MappingRuleFilter) Descriptor
func (*MappingRuleFilter) Descriptor() ([]byte, []int)Deprecated: Use MappingRuleFilter.ProtoReflect.Descriptor instead.
func (*MappingRuleFilter) GetEntities
func (x *MappingRuleFilter) GetEntities() []stringfunc (*MappingRuleFilter) GetEntityNameContains
func (x *MappingRuleFilter) GetEntityNameContains() stringfunc (*MappingRuleFilter) GetEntityNamePrefix
func (x *MappingRuleFilter) GetEntityNamePrefix() stringfunc (*MappingRuleFilter) GetEntityNameSuffix
func (x *MappingRuleFilter) GetEntityNameSuffix() stringfunc (*MappingRuleFilter) GetParentEntity
func (x *MappingRuleFilter) GetParentEntity() stringfunc (*MappingRuleFilter) ProtoMessage
func (*MappingRuleFilter) ProtoMessage()func (*MappingRuleFilter) ProtoReflect
func (x *MappingRuleFilter) ProtoReflect() protoreflect.Messagefunc (*MappingRuleFilter) Reset
func (x *MappingRuleFilter) Reset()func (*MappingRuleFilter) String
func (x *MappingRuleFilter) String() stringMappingRule_ConditionalColumnSetValue
type MappingRule_ConditionalColumnSetValue struct {
// Optional. Rule to specify how the data contained in a column should be
// transformed (such as trimmed, rounded, etc) provided that the data meets
// certain criteria.
ConditionalColumnSetValue *ConditionalColumnSetValue `protobuf:"bytes,108,opt,name=conditional_column_set_value,json=conditionalColumnSetValue,proto3,oneof"`
}MappingRule_ConvertRowidColumn
type MappingRule_ConvertRowidColumn struct {
// Optional. Rule to specify how multiple tables should be converted with an
// additional rowid column.
ConvertRowidColumn *ConvertRowIdToColumn `protobuf:"bytes,114,opt,name=convert_rowid_column,json=convertRowidColumn,proto3,oneof"`
}MappingRule_EntityMove
type MappingRule_EntityMove struct {
// Optional. Rule to specify how multiple entities should be relocated into
// a different schema.
EntityMove *EntityMove `protobuf:"bytes,105,opt,name=entity_move,json=entityMove,proto3,oneof"`
}MappingRule_FilterTableColumns
type MappingRule_FilterTableColumns struct {
// Optional. Rule to specify the list of columns to include or exclude from
// a table.
FilterTableColumns *FilterTableColumns `protobuf:"bytes,118,opt,name=filter_table_columns,json=filterTableColumns,proto3,oneof"`
}MappingRule_MultiColumnDataTypeChange
type MappingRule_MultiColumnDataTypeChange struct {
// Optional. Rule to specify how multiple columns should be converted to a
// different data type.
MultiColumnDataTypeChange *MultiColumnDatatypeChange `protobuf:"bytes,107,opt,name=multi_column_data_type_change,json=multiColumnDataTypeChange,proto3,oneof"`
}MappingRule_MultiEntityRename
type MappingRule_MultiEntityRename struct {
// Optional. Rule to specify how multiple entities should be renamed.
MultiEntityRename *MultiEntityRename `protobuf:"bytes,103,opt,name=multi_entity_rename,json=multiEntityRename,proto3,oneof"`
}MappingRule_SetTablePrimaryKey
type MappingRule_SetTablePrimaryKey struct {
// Optional. Rule to specify the primary key for a table
SetTablePrimaryKey *SetTablePrimaryKey `protobuf:"bytes,115,opt,name=set_table_primary_key,json=setTablePrimaryKey,proto3,oneof"`
}MappingRule_SingleColumnChange
type MappingRule_SingleColumnChange struct {
// Optional. Rule to specify how a single column is converted.
SingleColumnChange *SingleColumnChange `protobuf:"bytes,106,opt,name=single_column_change,json=singleColumnChange,proto3,oneof"`
}MappingRule_SingleEntityRename
type MappingRule_SingleEntityRename struct {
// Optional. Rule to specify how a single entity should be renamed.
SingleEntityRename *SingleEntityRename `protobuf:"bytes,102,opt,name=single_entity_rename,json=singleEntityRename,proto3,oneof"`
}MappingRule_SinglePackageChange
type MappingRule_SinglePackageChange struct {
// Optional. Rule to specify how a single package is converted.
SinglePackageChange *SinglePackageChange `protobuf:"bytes,116,opt,name=single_package_change,json=singlePackageChange,proto3,oneof"`
}MappingRule_SourceSqlChange
type MappingRule_SourceSqlChange struct {
// Optional. Rule to change the sql code for an entity, for example,
// function, procedure.
SourceSqlChange *SourceSqlChange `protobuf:"bytes,117,opt,name=source_sql_change,json=sourceSqlChange,proto3,oneof"`
}MappingRule_State
type MappingRule_State int32The current mapping rule state such as enabled, disabled or deleted.
MappingRule_STATE_UNSPECIFIED, MappingRule_ENABLED, MappingRule_DISABLED, MappingRule_DELETED
const (
// The state of the mapping rule is unknown.
MappingRule_STATE_UNSPECIFIED MappingRule_State = 0
// The rule is enabled.
MappingRule_ENABLED MappingRule_State = 1
// The rule is disabled.
MappingRule_DISABLED MappingRule_State = 2
// The rule is logically deleted.
MappingRule_DELETED MappingRule_State = 3
)func (MappingRule_State) Descriptor
func (MappingRule_State) Descriptor() protoreflect.EnumDescriptorfunc (MappingRule_State) Enum
func (x MappingRule_State) Enum() *MappingRule_Statefunc (MappingRule_State) EnumDescriptor
func (MappingRule_State) EnumDescriptor() ([]byte, []int)Deprecated: Use MappingRule_State.Descriptor instead.
func (MappingRule_State) Number
func (x MappingRule_State) Number() protoreflect.EnumNumberfunc (MappingRule_State) String
func (x MappingRule_State) String() stringfunc (MappingRule_State) Type
func (MappingRule_State) Type() protoreflect.EnumTypeMaterializedViewEntity
type MaterializedViewEntity struct {
// The SQL code which creates the view.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}MaterializedView's parent is a schema.
func (*MaterializedViewEntity) Descriptor
func (*MaterializedViewEntity) Descriptor() ([]byte, []int)Deprecated: Use MaterializedViewEntity.ProtoReflect.Descriptor instead.
func (*MaterializedViewEntity) GetCustomFeatures
func (x *MaterializedViewEntity) GetCustomFeatures() *structpb.Structfunc (*MaterializedViewEntity) GetSqlCode
func (x *MaterializedViewEntity) GetSqlCode() stringfunc (*MaterializedViewEntity) ProtoMessage
func (*MaterializedViewEntity) ProtoMessage()func (*MaterializedViewEntity) ProtoReflect
func (x *MaterializedViewEntity) ProtoReflect() protoreflect.Messagefunc (*MaterializedViewEntity) Reset
func (x *MaterializedViewEntity) Reset()func (*MaterializedViewEntity) String
func (x *MaterializedViewEntity) String() stringMigrationJob
type MigrationJob struct {
// The name (URI) of this migration job resource, in the form of:
// projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The timestamp when the migration job resource was created.
// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
// Example: "2014-10-02T15:01:23.045123456Z".
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the migration job resource was last
// updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
// Example: "2014-10-02T15:01:23.045123456Z".
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The resource labels for migration job to use to annotate any related
// underlying resources such as Compute Engine VMs. An object containing a
// list of "key": "value" pairs.
//
// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The migration job display name.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The current migration job state.
State MigrationJob_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.clouddms.v1.MigrationJob_State" json:"state,omitempty"`
// Output only. The current migration job phase.
Phase MigrationJob_Phase `protobuf:"varint,7,opt,name=phase,proto3,enum=google.cloud.clouddms.v1.MigrationJob_Phase" json:"phase,omitempty"`
// Required. The migration job type.
Type MigrationJob_Type `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.clouddms.v1.MigrationJob_Type" json:"type,omitempty"`
// The path to the dump file in Google Cloud Storage,
// in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
// This field and the "dump_flags" field are mutually exclusive.
DumpPath string `protobuf:"bytes,9,opt,name=dump_path,json=dumpPath,proto3" json:"dump_path,omitempty"`
// The initial dump flags.
// This field and the "dump_path" field are mutually exclusive.
DumpFlags *MigrationJob_DumpFlags `protobuf:"bytes,17,opt,name=dump_flags,json=dumpFlags,proto3" json:"dump_flags,omitempty"`
// Required. The resource name (URI) of the source connection profile.
Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
// Required. The resource name (URI) of the destination connection profile.
Destination string `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"`
// The connectivity method.
//
// Types that are valid to be assigned to Connectivity:
//
// *MigrationJob_ReverseSshConnectivity
// *MigrationJob_VpcPeeringConnectivity
// *MigrationJob_StaticIpConnectivity
Connectivity isMigrationJob_Connectivity `protobuf_oneof:"connectivity"`
// Output only. The duration of the migration job (in seconds). A duration in
// seconds with up to nine fractional digits, terminated by 's'. Example:
// "3.5s".
Duration *durationpb.Duration `protobuf:"bytes,12,opt,name=duration,proto3" json:"duration,omitempty"`
// Output only. The error details in case of state FAILED.
Error *status.Status `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
// The database engine type and provider of the source.
SourceDatabase *DatabaseType `protobuf:"bytes,14,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"`
// The database engine type and provider of the destination.
DestinationDatabase *DatabaseType `protobuf:"bytes,15,opt,name=destination_database,json=destinationDatabase,proto3" json:"destination_database,omitempty"`
// Output only. If the migration job is completed, the time when it was
// completed.
EndTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The conversion workspace used by the migration.
ConversionWorkspace *ConversionWorkspaceInfo `protobuf:"bytes,18,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// This field can be used to select the entities to migrate as part of
// the migration job. It uses AIP-160 notation to select a subset of the
// entities configured on the associated conversion-workspace. This field
// should not be set on migration-jobs that are not associated with a
// conversion workspace.
Filter string `protobuf:"bytes,20,opt,name=filter,proto3" json:"filter,omitempty"`
// The CMEK (customer-managed encryption key) fully qualified key name used
// for the migration job.
// This field supports all migration jobs types except for:
// * Mysql to Mysql (use the cmek field in the cloudsql connection profile
// instead).
// * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
// connection profile instead).
// * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
// connection profile instead).
// Each Cloud CMEK key has the following format:
// projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
CmekKeyName string `protobuf:"bytes,21,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
// Optional. Data dump parallelism settings used by the migration.
// Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
PerformanceConfig *MigrationJob_PerformanceConfig `protobuf:"bytes,22,opt,name=performance_config,json=performanceConfig,proto3" json:"performance_config,omitempty"`
// contains filtered or unexported fields
}Represents a Database Migration Service migration job object.
func (*MigrationJob) Descriptor
func (*MigrationJob) Descriptor() ([]byte, []int)Deprecated: Use MigrationJob.ProtoReflect.Descriptor instead.
func (*MigrationJob) GetCmekKeyName
func (x *MigrationJob) GetCmekKeyName() stringfunc (*MigrationJob) GetConnectivity
func (x *MigrationJob) GetConnectivity() isMigrationJob_Connectivityfunc (*MigrationJob) GetConversionWorkspace
func (x *MigrationJob) GetConversionWorkspace() *ConversionWorkspaceInfofunc (*MigrationJob) GetCreateTime
func (x *MigrationJob) GetCreateTime() *timestamppb.Timestampfunc (*MigrationJob) GetDestination
func (x *MigrationJob) GetDestination() stringfunc (*MigrationJob) GetDestinationDatabase
func (x *MigrationJob) GetDestinationDatabase() *DatabaseTypefunc (*MigrationJob) GetDisplayName
func (x *MigrationJob) GetDisplayName() stringfunc (*MigrationJob) GetDumpFlags
func (x *MigrationJob) GetDumpFlags() *MigrationJob_DumpFlagsfunc (*MigrationJob) GetDumpPath
func (x *MigrationJob) GetDumpPath() stringfunc (*MigrationJob) GetDuration
func (x *MigrationJob) GetDuration() *durationpb.Durationfunc (*MigrationJob) GetEndTime
func (x *MigrationJob) GetEndTime() *timestamppb.Timestampfunc (*MigrationJob) GetError
func (x *MigrationJob) GetError() *status.Statusfunc (*MigrationJob) GetFilter
func (x *MigrationJob) GetFilter() stringfunc (*MigrationJob) GetLabels
func (x *MigrationJob) GetLabels() map[string]stringfunc (*MigrationJob) GetName
func (x *MigrationJob) GetName() stringfunc (*MigrationJob) GetPerformanceConfig
func (x *MigrationJob) GetPerformanceConfig() *MigrationJob_PerformanceConfigfunc (*MigrationJob) GetPhase
func (x *MigrationJob) GetPhase() MigrationJob_Phasefunc (*MigrationJob) GetReverseSshConnectivity
func (x *MigrationJob) GetReverseSshConnectivity() *ReverseSshConnectivityfunc (*MigrationJob) GetSource
func (x *MigrationJob) GetSource() stringfunc (*MigrationJob) GetSourceDatabase
func (x *MigrationJob) GetSourceDatabase() *DatabaseTypefunc (*MigrationJob) GetState
func (x *MigrationJob) GetState() MigrationJob_Statefunc (*MigrationJob) GetStaticIpConnectivity
func (x *MigrationJob) GetStaticIpConnectivity() *StaticIpConnectivityfunc (*MigrationJob) GetType
func (x *MigrationJob) GetType() MigrationJob_Typefunc (*MigrationJob) GetUpdateTime
func (x *MigrationJob) GetUpdateTime() *timestamppb.Timestampfunc (*MigrationJob) GetVpcPeeringConnectivity
func (x *MigrationJob) GetVpcPeeringConnectivity() *VpcPeeringConnectivityfunc (*MigrationJob) ProtoMessage
func (*MigrationJob) ProtoMessage()func (*MigrationJob) ProtoReflect
func (x *MigrationJob) ProtoReflect() protoreflect.Messagefunc (*MigrationJob) Reset
func (x *MigrationJob) Reset()func (*MigrationJob) String
func (x *MigrationJob) String() stringMigrationJobVerificationError
type MigrationJobVerificationError struct {
// Output only. An instance of ErrorCode specifying the error that occurred.
ErrorCode MigrationJobVerificationError_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.cloud.clouddms.v1.MigrationJobVerificationError_ErrorCode" json:"error_code,omitempty"`
// Output only. A formatted message with further details about the error and a
// CTA.
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Output only. A specific detailed error message, if supplied by the engine.
ErrorDetailMessage string `protobuf:"bytes,3,opt,name=error_detail_message,json=errorDetailMessage,proto3" json:"error_detail_message,omitempty"`
// contains filtered or unexported fields
}Error message of a verification Migration job.
func (*MigrationJobVerificationError) Descriptor
func (*MigrationJobVerificationError) Descriptor() ([]byte, []int)Deprecated: Use MigrationJobVerificationError.ProtoReflect.Descriptor instead.
func (*MigrationJobVerificationError) GetErrorCode
func (x *MigrationJobVerificationError) GetErrorCode() MigrationJobVerificationError_ErrorCodefunc (*MigrationJobVerificationError) GetErrorDetailMessage
func (x *MigrationJobVerificationError) GetErrorDetailMessage() stringfunc (*MigrationJobVerificationError) GetErrorMessage
func (x *MigrationJobVerificationError) GetErrorMessage() stringfunc (*MigrationJobVerificationError) ProtoMessage
func (*MigrationJobVerificationError) ProtoMessage()func (*MigrationJobVerificationError) ProtoReflect
func (x *MigrationJobVerificationError) ProtoReflect() protoreflect.Messagefunc (*MigrationJobVerificationError) Reset
func (x *MigrationJobVerificationError) Reset()func (*MigrationJobVerificationError) String
func (x *MigrationJobVerificationError) String() stringMigrationJobVerificationError_ErrorCode
type MigrationJobVerificationError_ErrorCode int32A general error code describing the type of error that occurred.
MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED, MigrationJobVerificationError_CONNECTION_FAILURE, MigrationJobVerificationError_AUTHENTICATION_FAILURE, MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG, MigrationJobVerificationError_VERSION_INCOMPATIBILITY, MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY, MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED, MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS, MigrationJobVerificationError_INVALID_WAL_LEVEL, MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY, MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS, MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS, MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES, MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS, MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE, MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION, MigrationJobVerificationError_UNSUPPORTED_GTID_MODE, MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION, MigrationJobVerificationError_UNSUPPORTED_DEFINER, MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION, MigrationJobVerificationError_SOURCE_ALREADY_SETUP, MigrationJobVerificationError_TABLES_WITH_LIMITED_SUPPORT, MigrationJobVerificationError_UNSUPPORTED_DATABASE_LOCALE, MigrationJobVerificationError_UNSUPPORTED_DATABASE_FDW_CONFIG, MigrationJobVerificationError_ERROR_RDBMS, MigrationJobVerificationError_SOURCE_SIZE_EXCEEDS_THRESHOLD, MigrationJobVerificationError_EXISTING_CONFLICTING_DATABASES, MigrationJobVerificationError_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
const (
// An unknown error occurred
MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED MigrationJobVerificationError_ErrorCode = 0
// We failed to connect to one of the connection profile.
MigrationJobVerificationError_CONNECTION_FAILURE MigrationJobVerificationError_ErrorCode = 1
// We failed to authenticate to one of the connection profile.
MigrationJobVerificationError_AUTHENTICATION_FAILURE MigrationJobVerificationError_ErrorCode = 2
// One of the involved connection profiles has an invalid configuration.
MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG MigrationJobVerificationError_ErrorCode = 3
// The versions of the source and the destination are incompatible.
MigrationJobVerificationError_VERSION_INCOMPATIBILITY MigrationJobVerificationError_ErrorCode = 4
// The types of the source and the destination are incompatible.
MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY MigrationJobVerificationError_ErrorCode = 5
// No pglogical extension installed on databases, applicable for postgres.
MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED MigrationJobVerificationError_ErrorCode = 7
// pglogical node already exists on databases, applicable for postgres.
MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS MigrationJobVerificationError_ErrorCode = 8
// The value of parameter wal_level is not set to logical.
MigrationJobVerificationError_INVALID_WAL_LEVEL MigrationJobVerificationError_ErrorCode = 9
// The value of parameter shared_preload_libraries does not include
// pglogical.
MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY MigrationJobVerificationError_ErrorCode = 10
// The value of parameter max_replication_slots is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS MigrationJobVerificationError_ErrorCode = 11
// The value of parameter max_wal_senders is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS MigrationJobVerificationError_ErrorCode = 12
// The value of parameter max_worker_processes is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES MigrationJobVerificationError_ErrorCode = 13
// Extensions installed are either not supported or having unsupported
// versions.
MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS MigrationJobVerificationError_ErrorCode = 14
// Unsupported migration type.
MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE MigrationJobVerificationError_ErrorCode = 15
// Invalid RDS logical replication.
MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION MigrationJobVerificationError_ErrorCode = 16
// The gtid_mode is not supported, applicable for MySQL.
MigrationJobVerificationError_UNSUPPORTED_GTID_MODE MigrationJobVerificationError_ErrorCode = 17
// The table definition is not support due to missing primary key or replica
// identity.
MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION MigrationJobVerificationError_ErrorCode = 18
// The definer is not supported.
MigrationJobVerificationError_UNSUPPORTED_DEFINER MigrationJobVerificationError_ErrorCode = 19
// Migration is already running at the time of restart request.
MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION MigrationJobVerificationError_ErrorCode = 21
// The source already has a replication setup.
MigrationJobVerificationError_SOURCE_ALREADY_SETUP MigrationJobVerificationError_ErrorCode = 23
// The source has tables with limited support.
// E.g. PostgreSQL tables without primary keys.
MigrationJobVerificationError_TABLES_WITH_LIMITED_SUPPORT MigrationJobVerificationError_ErrorCode = 24
// The source uses an unsupported locale.
MigrationJobVerificationError_UNSUPPORTED_DATABASE_LOCALE MigrationJobVerificationError_ErrorCode = 25
// The source uses an unsupported Foreign Data Wrapper configuration.
MigrationJobVerificationError_UNSUPPORTED_DATABASE_FDW_CONFIG MigrationJobVerificationError_ErrorCode = 26
// There was an underlying RDBMS error.
MigrationJobVerificationError_ERROR_RDBMS MigrationJobVerificationError_ErrorCode = 27
// The source DB size in Bytes exceeds a certain threshold. The migration
// might require an increase of quota, or might not be supported.
MigrationJobVerificationError_SOURCE_SIZE_EXCEEDS_THRESHOLD MigrationJobVerificationError_ErrorCode = 28
// The destination DB contains existing databases that are conflicting with
// those in the source DB.
MigrationJobVerificationError_EXISTING_CONFLICTING_DATABASES MigrationJobVerificationError_ErrorCode = 29
// Insufficient privilege to enable the parallelism configuration.
MigrationJobVerificationError_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE MigrationJobVerificationError_ErrorCode = 30
)func (MigrationJobVerificationError_ErrorCode) Descriptor
func (MigrationJobVerificationError_ErrorCode) Descriptor() protoreflect.EnumDescriptorfunc (MigrationJobVerificationError_ErrorCode) Enum
func (MigrationJobVerificationError_ErrorCode) EnumDescriptor
func (MigrationJobVerificationError_ErrorCode) EnumDescriptor() ([]byte, []int)Deprecated: Use MigrationJobVerificationError_ErrorCode.Descriptor instead.
func (MigrationJobVerificationError_ErrorCode) Number
func (x MigrationJobVerificationError_ErrorCode) Number() protoreflect.EnumNumberfunc (MigrationJobVerificationError_ErrorCode) String
func (x MigrationJobVerificationError_ErrorCode) String() stringfunc (MigrationJobVerificationError_ErrorCode) Type
func (MigrationJobVerificationError_ErrorCode) Type() protoreflect.EnumTypeMigrationJob_DumpFlag
type MigrationJob_DumpFlag struct {
// The name of the flag
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The value of the flag.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Dump flag definition.
func (*MigrationJob_DumpFlag) Descriptor
func (*MigrationJob_DumpFlag) Descriptor() ([]byte, []int)Deprecated: Use MigrationJob_DumpFlag.ProtoReflect.Descriptor instead.
func (*MigrationJob_DumpFlag) GetName
func (x *MigrationJob_DumpFlag) GetName() stringfunc (*MigrationJob_DumpFlag) GetValue
func (x *MigrationJob_DumpFlag) GetValue() stringfunc (*MigrationJob_DumpFlag) ProtoMessage
func (*MigrationJob_DumpFlag) ProtoMessage()func (*MigrationJob_DumpFlag) ProtoReflect
func (x *MigrationJob_DumpFlag) ProtoReflect() protoreflect.Messagefunc (*MigrationJob_DumpFlag) Reset
func (x *MigrationJob_DumpFlag) Reset()func (*MigrationJob_DumpFlag) String
func (x *MigrationJob_DumpFlag) String() stringMigrationJob_DumpFlags
type MigrationJob_DumpFlags struct {
// The flags for the initial dump.
DumpFlags []*MigrationJob_DumpFlag `protobuf:"bytes,1,rep,name=dump_flags,json=dumpFlags,proto3" json:"dump_flags,omitempty"`
// contains filtered or unexported fields
}Dump flags definition.
func (*MigrationJob_DumpFlags) Descriptor
func (*MigrationJob_DumpFlags) Descriptor() ([]byte, []int)Deprecated: Use MigrationJob_DumpFlags.ProtoReflect.Descriptor instead.
func (*MigrationJob_DumpFlags) GetDumpFlags
func (x *MigrationJob_DumpFlags) GetDumpFlags() []*MigrationJob_DumpFlagfunc (*MigrationJob_DumpFlags) ProtoMessage
func (*MigrationJob_DumpFlags) ProtoMessage()func (*MigrationJob_DumpFlags) ProtoReflect
func (x *MigrationJob_DumpFlags) ProtoReflect() protoreflect.Messagefunc (*MigrationJob_DumpFlags) Reset
func (x *MigrationJob_DumpFlags) Reset()func (*MigrationJob_DumpFlags) String
func (x *MigrationJob_DumpFlags) String() stringMigrationJob_PerformanceConfig
type MigrationJob_PerformanceConfig struct {
// Initial dump parallelism level.
DumpParallelLevel MigrationJob_PerformanceConfig_DumpParallelLevel `protobuf:"varint,1,opt,name=dump_parallel_level,json=dumpParallelLevel,proto3,enum=google.cloud.clouddms.v1.MigrationJob_PerformanceConfig_DumpParallelLevel" json:"dump_parallel_level,omitempty"`
// contains filtered or unexported fields
}Performance configuration definition.
func (*MigrationJob_PerformanceConfig) Descriptor
func (*MigrationJob_PerformanceConfig) Descriptor() ([]byte, []int)Deprecated: Use MigrationJob_PerformanceConfig.ProtoReflect.Descriptor instead.
func (*MigrationJob_PerformanceConfig) GetDumpParallelLevel
func (x *MigrationJob_PerformanceConfig) GetDumpParallelLevel() MigrationJob_PerformanceConfig_DumpParallelLevelfunc (*MigrationJob_PerformanceConfig) ProtoMessage
func (*MigrationJob_PerformanceConfig) ProtoMessage()func (*MigrationJob_PerformanceConfig) ProtoReflect
func (x *MigrationJob_PerformanceConfig) ProtoReflect() protoreflect.Messagefunc (*MigrationJob_PerformanceConfig) Reset
func (x *MigrationJob_PerformanceConfig) Reset()func (*MigrationJob_PerformanceConfig) String
func (x *MigrationJob_PerformanceConfig) String() stringMigrationJob_PerformanceConfig_DumpParallelLevel
type MigrationJob_PerformanceConfig_DumpParallelLevel int32Describes the parallelism level during initial dump.
MigrationJob_PerformanceConfig_DUMP_PARALLEL_LEVEL_UNSPECIFIED, MigrationJob_PerformanceConfig_MIN, MigrationJob_PerformanceConfig_OPTIMAL, MigrationJob_PerformanceConfig_MAX
const (
// Unknown dump parallel level. Will be defaulted to OPTIMAL.
MigrationJob_PerformanceConfig_DUMP_PARALLEL_LEVEL_UNSPECIFIED MigrationJob_PerformanceConfig_DumpParallelLevel = 0
// Minimal parallel level.
MigrationJob_PerformanceConfig_MIN MigrationJob_PerformanceConfig_DumpParallelLevel = 1
// Optimal parallel level.
MigrationJob_PerformanceConfig_OPTIMAL MigrationJob_PerformanceConfig_DumpParallelLevel = 2
// Maximum parallel level.
MigrationJob_PerformanceConfig_MAX MigrationJob_PerformanceConfig_DumpParallelLevel = 3
)func (MigrationJob_PerformanceConfig_DumpParallelLevel) Descriptor
func (MigrationJob_PerformanceConfig_DumpParallelLevel) Descriptor() protoreflect.EnumDescriptorfunc (MigrationJob_PerformanceConfig_DumpParallelLevel) Enum
func (x MigrationJob_PerformanceConfig_DumpParallelLevel) Enum() *MigrationJob_PerformanceConfig_DumpParallelLevelfunc (MigrationJob_PerformanceConfig_DumpParallelLevel) EnumDescriptor
func (MigrationJob_PerformanceConfig_DumpParallelLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use MigrationJob_PerformanceConfig_DumpParallelLevel.Descriptor instead.
func (MigrationJob_PerformanceConfig_DumpParallelLevel) Number
func (x MigrationJob_PerformanceConfig_DumpParallelLevel) Number() protoreflect.EnumNumberfunc (MigrationJob_PerformanceConfig_DumpParallelLevel) String
func (x MigrationJob_PerformanceConfig_DumpParallelLevel) String() stringfunc (MigrationJob_PerformanceConfig_DumpParallelLevel) Type
MigrationJob_Phase
type MigrationJob_Phase int32The current migration job phase.
MigrationJob_PHASE_UNSPECIFIED, MigrationJob_FULL_DUMP, MigrationJob_CDC, MigrationJob_PROMOTE_IN_PROGRESS, MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP, MigrationJob_PREPARING_THE_DUMP
const (
// The phase of the migration job is unknown.
MigrationJob_PHASE_UNSPECIFIED MigrationJob_Phase = 0
// The migration job is in the full dump phase.
MigrationJob_FULL_DUMP MigrationJob_Phase = 1
// The migration job is CDC phase.
MigrationJob_CDC MigrationJob_Phase = 2
// The migration job is running the promote phase.
MigrationJob_PROMOTE_IN_PROGRESS MigrationJob_Phase = 3
// Only RDS flow - waiting for source writes to stop
MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP MigrationJob_Phase = 4
// Only RDS flow - the sources writes stopped, waiting for dump to begin
MigrationJob_PREPARING_THE_DUMP MigrationJob_Phase = 5
)func (MigrationJob_Phase) Descriptor
func (MigrationJob_Phase) Descriptor() protoreflect.EnumDescriptorfunc (MigrationJob_Phase) Enum
func (x MigrationJob_Phase) Enum() *MigrationJob_Phasefunc (MigrationJob_Phase) EnumDescriptor
func (MigrationJob_Phase) EnumDescriptor() ([]byte, []int)Deprecated: Use MigrationJob_Phase.Descriptor instead.
func (MigrationJob_Phase) Number
func (x MigrationJob_Phase) Number() protoreflect.EnumNumberfunc (MigrationJob_Phase) String
func (x MigrationJob_Phase) String() stringfunc (MigrationJob_Phase) Type
func (MigrationJob_Phase) Type() protoreflect.EnumTypeMigrationJob_ReverseSshConnectivity
type MigrationJob_ReverseSshConnectivity struct {
// The details needed to communicate to the source over Reverse SSH
// tunnel connectivity.
ReverseSshConnectivity *ReverseSshConnectivity `protobuf:"bytes,101,opt,name=reverse_ssh_connectivity,json=reverseSshConnectivity,proto3,oneof"`
}MigrationJob_State
type MigrationJob_State int32The current migration job states.
MigrationJob_STATE_UNSPECIFIED, MigrationJob_MAINTENANCE, MigrationJob_DRAFT, MigrationJob_CREATING, MigrationJob_NOT_STARTED, MigrationJob_RUNNING, MigrationJob_FAILED, MigrationJob_COMPLETED, MigrationJob_DELETING, MigrationJob_STOPPING, MigrationJob_STOPPED, MigrationJob_DELETED, MigrationJob_UPDATING, MigrationJob_STARTING, MigrationJob_RESTARTING, MigrationJob_RESUMING
const (
// The state of the migration job is unknown.
MigrationJob_STATE_UNSPECIFIED MigrationJob_State = 0
// The migration job is down for maintenance.
MigrationJob_MAINTENANCE MigrationJob_State = 1
// The migration job is in draft mode and no resources are created.
MigrationJob_DRAFT MigrationJob_State = 2
// The migration job is being created.
MigrationJob_CREATING MigrationJob_State = 3
// The migration job is created and not started.
MigrationJob_NOT_STARTED MigrationJob_State = 4
// The migration job is running.
MigrationJob_RUNNING MigrationJob_State = 5
// The migration job failed.
MigrationJob_FAILED MigrationJob_State = 6
// The migration job has been completed.
MigrationJob_COMPLETED MigrationJob_State = 7
// The migration job is being deleted.
MigrationJob_DELETING MigrationJob_State = 8
// The migration job is being stopped.
MigrationJob_STOPPING MigrationJob_State = 9
// The migration job is currently stopped.
MigrationJob_STOPPED MigrationJob_State = 10
// The migration job has been deleted.
MigrationJob_DELETED MigrationJob_State = 11
// The migration job is being updated.
MigrationJob_UPDATING MigrationJob_State = 12
// The migration job is starting.
MigrationJob_STARTING MigrationJob_State = 13
// The migration job is restarting.
MigrationJob_RESTARTING MigrationJob_State = 14
// The migration job is resuming.
MigrationJob_RESUMING MigrationJob_State = 15
)func (MigrationJob_State) Descriptor
func (MigrationJob_State) Descriptor() protoreflect.EnumDescriptorfunc (MigrationJob_State) Enum
func (x MigrationJob_State) Enum() *MigrationJob_Statefunc (MigrationJob_State) EnumDescriptor
func (MigrationJob_State) EnumDescriptor() ([]byte, []int)Deprecated: Use MigrationJob_State.Descriptor instead.
func (MigrationJob_State) Number
func (x MigrationJob_State) Number() protoreflect.EnumNumberfunc (MigrationJob_State) String
func (x MigrationJob_State) String() stringfunc (MigrationJob_State) Type
func (MigrationJob_State) Type() protoreflect.EnumTypeMigrationJob_StaticIpConnectivity
type MigrationJob_StaticIpConnectivity struct {
// static ip connectivity data (default, no additional details needed).
StaticIpConnectivity *StaticIpConnectivity `protobuf:"bytes,103,opt,name=static_ip_connectivity,json=staticIpConnectivity,proto3,oneof"`
}MigrationJob_Type
type MigrationJob_Type int32The type of migration job (one-time or continuous).
MigrationJob_TYPE_UNSPECIFIED, MigrationJob_ONE_TIME, MigrationJob_CONTINUOUS
const (
// The type of the migration job is unknown.
MigrationJob_TYPE_UNSPECIFIED MigrationJob_Type = 0
// The migration job is a one time migration.
MigrationJob_ONE_TIME MigrationJob_Type = 1
// The migration job is a continuous migration.
MigrationJob_CONTINUOUS MigrationJob_Type = 2
)func (MigrationJob_Type) Descriptor
func (MigrationJob_Type) Descriptor() protoreflect.EnumDescriptorfunc (MigrationJob_Type) Enum
func (x MigrationJob_Type) Enum() *MigrationJob_Typefunc (MigrationJob_Type) EnumDescriptor
func (MigrationJob_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use MigrationJob_Type.Descriptor instead.
func (MigrationJob_Type) Number
func (x MigrationJob_Type) Number() protoreflect.EnumNumberfunc (MigrationJob_Type) String
func (x MigrationJob_Type) String() stringfunc (MigrationJob_Type) Type
func (MigrationJob_Type) Type() protoreflect.EnumTypeMigrationJob_VpcPeeringConnectivity
type MigrationJob_VpcPeeringConnectivity struct {
// The details of the VPC network that the source database is located in.
VpcPeeringConnectivity *VpcPeeringConnectivity `protobuf:"bytes,102,opt,name=vpc_peering_connectivity,json=vpcPeeringConnectivity,proto3,oneof"`
}MultiColumnDatatypeChange
type MultiColumnDatatypeChange struct {
// Required. Filter on source data type.
SourceDataTypeFilter string `protobuf:"bytes,1,opt,name=source_data_type_filter,json=sourceDataTypeFilter,proto3" json:"source_data_type_filter,omitempty"`
// Filter on source column parameters.
//
// Types that are valid to be assigned to SourceFilter:
//
// *MultiColumnDatatypeChange_SourceTextFilter
// *MultiColumnDatatypeChange_SourceNumericFilter
SourceFilter isMultiColumnDatatypeChange_SourceFilter `protobuf_oneof:"source_filter"`
// Required. New data type.
NewDataType string `protobuf:"bytes,2,opt,name=new_data_type,json=newDataType,proto3" json:"new_data_type,omitempty"`
// Optional. Column length - e.g. varchar (50) - if not specified and relevant
// uses the source column length.
OverrideLength int64 `protobuf:"varint,3,opt,name=override_length,json=overrideLength,proto3" json:"override_length,omitempty"`
// Optional. Column scale - when relevant - if not specified and relevant
// uses the source column scale.
OverrideScale int32 `protobuf:"varint,4,opt,name=override_scale,json=overrideScale,proto3" json:"override_scale,omitempty"`
// Optional. Column precision - when relevant - if not specified and relevant
// uses the source column precision.
OverridePrecision int32 `protobuf:"varint,5,opt,name=override_precision,json=overridePrecision,proto3" json:"override_precision,omitempty"`
// Optional. Column fractional seconds precision - used only for timestamp
// based datatypes - if not specified and relevant uses the source column
// fractional seconds precision.
OverrideFractionalSecondsPrecision int32 `protobuf:"varint,6,opt,name=override_fractional_seconds_precision,json=overrideFractionalSecondsPrecision,proto3" json:"override_fractional_seconds_precision,omitempty"`
// Optional. Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,7,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once.
The rule filter field can refer to one or more entities.
The rule scope can be one of:Column.
This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
func (*MultiColumnDatatypeChange) Descriptor
func (*MultiColumnDatatypeChange) Descriptor() ([]byte, []int)Deprecated: Use MultiColumnDatatypeChange.ProtoReflect.Descriptor instead.
func (*MultiColumnDatatypeChange) GetCustomFeatures
func (x *MultiColumnDatatypeChange) GetCustomFeatures() *structpb.Structfunc (*MultiColumnDatatypeChange) GetNewDataType
func (x *MultiColumnDatatypeChange) GetNewDataType() stringfunc (*MultiColumnDatatypeChange) GetOverrideFractionalSecondsPrecision
func (x *MultiColumnDatatypeChange) GetOverrideFractionalSecondsPrecision() int32func (*MultiColumnDatatypeChange) GetOverrideLength
func (x *MultiColumnDatatypeChange) GetOverrideLength() int64func (*MultiColumnDatatypeChange) GetOverridePrecision
func (x *MultiColumnDatatypeChange) GetOverridePrecision() int32func (*MultiColumnDatatypeChange) GetOverrideScale
func (x *MultiColumnDatatypeChange) GetOverrideScale() int32func (*MultiColumnDatatypeChange) GetSourceDataTypeFilter
func (x *MultiColumnDatatypeChange) GetSourceDataTypeFilter() stringfunc (*MultiColumnDatatypeChange) GetSourceFilter
func (x *MultiColumnDatatypeChange) GetSourceFilter() isMultiColumnDatatypeChange_SourceFilterfunc (*MultiColumnDatatypeChange) GetSourceNumericFilter
func (x *MultiColumnDatatypeChange) GetSourceNumericFilter() *SourceNumericFilterfunc (*MultiColumnDatatypeChange) GetSourceTextFilter
func (x *MultiColumnDatatypeChange) GetSourceTextFilter() *SourceTextFilterfunc (*MultiColumnDatatypeChange) ProtoMessage
func (*MultiColumnDatatypeChange) ProtoMessage()func (*MultiColumnDatatypeChange) ProtoReflect
func (x *MultiColumnDatatypeChange) ProtoReflect() protoreflect.Messagefunc (*MultiColumnDatatypeChange) Reset
func (x *MultiColumnDatatypeChange) Reset()func (*MultiColumnDatatypeChange) String
func (x *MultiColumnDatatypeChange) String() stringMultiColumnDatatypeChange_SourceNumericFilter
type MultiColumnDatatypeChange_SourceNumericFilter struct {
// Optional. Filter for fixed point number data types such as
// NUMERIC/NUMBER.
SourceNumericFilter *SourceNumericFilter `protobuf:"bytes,101,opt,name=source_numeric_filter,json=sourceNumericFilter,proto3,oneof"`
}MultiColumnDatatypeChange_SourceTextFilter
type MultiColumnDatatypeChange_SourceTextFilter struct {
// Optional. Filter for text-based data types like varchar.
SourceTextFilter *SourceTextFilter `protobuf:"bytes,100,opt,name=source_text_filter,json=sourceTextFilter,proto3,oneof"`
}MultiEntityRename
type MultiEntityRename struct {
// Optional. The pattern used to generate the new entity's name. This pattern
// must include the characters '{name}', which will be replaced with the name
// of the original entity. For example, the pattern 't_{name}' for an entity
// name jobs would be converted to 't_jobs'.
//
// If unspecified, the default value for this field is '{name}'
NewNamePattern string `protobuf:"bytes,1,opt,name=new_name_pattern,json=newNamePattern,proto3" json:"new_name_pattern,omitempty"`
// Optional. Additional transformation that can be done on the source entity
// name before it is being used by the new_name_pattern, for example lower
// case. If no transformation is desired, use NO_TRANSFORMATION
SourceNameTransformation EntityNameTransformation `protobuf:"varint,2,opt,name=source_name_transformation,json=sourceNameTransformation,proto3,enum=google.cloud.clouddms.v1.EntityNameTransformation" json:"source_name_transformation,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type MultiEntityRename. The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
func (*MultiEntityRename) Descriptor
func (*MultiEntityRename) Descriptor() ([]byte, []int)Deprecated: Use MultiEntityRename.ProtoReflect.Descriptor instead.
func (*MultiEntityRename) GetNewNamePattern
func (x *MultiEntityRename) GetNewNamePattern() stringfunc (*MultiEntityRename) GetSourceNameTransformation
func (x *MultiEntityRename) GetSourceNameTransformation() EntityNameTransformationfunc (*MultiEntityRename) ProtoMessage
func (*MultiEntityRename) ProtoMessage()func (*MultiEntityRename) ProtoReflect
func (x *MultiEntityRename) ProtoReflect() protoreflect.Messagefunc (*MultiEntityRename) Reset
func (x *MultiEntityRename) Reset()func (*MultiEntityRename) String
func (x *MultiEntityRename) String() stringMySqlConnectionProfile
type MySqlConnectionProfile struct {
// Required. The IP or hostname of the source MySQL database.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Required. The network port of the source MySQL database.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Required. The username that Database Migration Service will use to connect
// to the database. The value is encrypted when stored in Database Migration
// Service.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Required. Input only. The password for the user that Database Migration
// Service will be using to connect to the database. This field is not
// returned on request, and the value is encrypted when stored in Database
// Migration Service.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates If this connection profile password is stored.
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// SSL configuration for the destination to connect to the source database.
Ssl *SslConfig `protobuf:"bytes,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
// If the source is a Cloud SQL database, use this field to
// provide the Cloud SQL instance ID of the source.
CloudSqlId string `protobuf:"bytes,7,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"`
// contains filtered or unexported fields
}Specifies connection parameters required specifically for MySQL databases.
func (*MySqlConnectionProfile) Descriptor
func (*MySqlConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use MySqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*MySqlConnectionProfile) GetCloudSqlId
func (x *MySqlConnectionProfile) GetCloudSqlId() stringfunc (*MySqlConnectionProfile) GetHost
func (x *MySqlConnectionProfile) GetHost() stringfunc (*MySqlConnectionProfile) GetPassword
func (x *MySqlConnectionProfile) GetPassword() stringfunc (*MySqlConnectionProfile) GetPasswordSet
func (x *MySqlConnectionProfile) GetPasswordSet() boolfunc (*MySqlConnectionProfile) GetPort
func (x *MySqlConnectionProfile) GetPort() int32func (*MySqlConnectionProfile) GetSsl
func (x *MySqlConnectionProfile) GetSsl() *SslConfigfunc (*MySqlConnectionProfile) GetUsername
func (x *MySqlConnectionProfile) GetUsername() stringfunc (*MySqlConnectionProfile) ProtoMessage
func (*MySqlConnectionProfile) ProtoMessage()func (*MySqlConnectionProfile) ProtoReflect
func (x *MySqlConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*MySqlConnectionProfile) Reset
func (x *MySqlConnectionProfile) Reset()func (*MySqlConnectionProfile) String
func (x *MySqlConnectionProfile) String() stringNetworkArchitecture
type NetworkArchitecture int32NetworkArchitecture_NETWORK_ARCHITECTURE_UNSPECIFIED, NetworkArchitecture_NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, NetworkArchitecture_NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER
const (
NetworkArchitecture_NETWORK_ARCHITECTURE_UNSPECIFIED NetworkArchitecture = 0
// Instance is in Cloud SQL's old producer network architecture.
NetworkArchitecture_NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER NetworkArchitecture = 1
// Instance is in Cloud SQL's new producer network architecture.
NetworkArchitecture_NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER NetworkArchitecture = 2
)func (NetworkArchitecture) Descriptor
func (NetworkArchitecture) Descriptor() protoreflect.EnumDescriptorfunc (NetworkArchitecture) Enum
func (x NetworkArchitecture) Enum() *NetworkArchitecturefunc (NetworkArchitecture) EnumDescriptor
func (NetworkArchitecture) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkArchitecture.Descriptor instead.
func (NetworkArchitecture) Number
func (x NetworkArchitecture) Number() protoreflect.EnumNumberfunc (NetworkArchitecture) String
func (x NetworkArchitecture) String() stringfunc (NetworkArchitecture) Type
func (NetworkArchitecture) Type() protoreflect.EnumTypeNumericFilterOption
type NumericFilterOption int32Specifies the columns on which numeric filter needs to be applied.
NumericFilterOption_NUMERIC_FILTER_OPTION_UNSPECIFIED, NumericFilterOption_NUMERIC_FILTER_OPTION_ALL, NumericFilterOption_NUMERIC_FILTER_OPTION_LIMIT, NumericFilterOption_NUMERIC_FILTER_OPTION_LIMITLESS
const (
// Numeric filter option unspecified
NumericFilterOption_NUMERIC_FILTER_OPTION_UNSPECIFIED NumericFilterOption = 0
// Numeric filter option that matches all numeric columns.
NumericFilterOption_NUMERIC_FILTER_OPTION_ALL NumericFilterOption = 1
// Numeric filter option that matches columns having numeric datatypes with
// specified precision and scale within the limited range of filter.
NumericFilterOption_NUMERIC_FILTER_OPTION_LIMIT NumericFilterOption = 2
// Numeric filter option that matches only the numeric columns with no
// precision and scale specified.
NumericFilterOption_NUMERIC_FILTER_OPTION_LIMITLESS NumericFilterOption = 3
)func (NumericFilterOption) Descriptor
func (NumericFilterOption) Descriptor() protoreflect.EnumDescriptorfunc (NumericFilterOption) Enum
func (x NumericFilterOption) Enum() *NumericFilterOptionfunc (NumericFilterOption) EnumDescriptor
func (NumericFilterOption) EnumDescriptor() ([]byte, []int)Deprecated: Use NumericFilterOption.Descriptor instead.
func (NumericFilterOption) Number
func (x NumericFilterOption) Number() protoreflect.EnumNumberfunc (NumericFilterOption) String
func (x NumericFilterOption) String() stringfunc (NumericFilterOption) Type
func (NumericFilterOption) Type() protoreflect.EnumTypeOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringOracleConnectionProfile
type OracleConnectionProfile struct {
// Required. The IP or hostname of the source Oracle database.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Required. The network port of the source Oracle database.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Required. The username that Database Migration Service will use to connect
// to the database. The value is encrypted when stored in Database Migration
// Service.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Required. Input only. The password for the user that Database Migration
// Service will be using to connect to the database. This field is not
// returned on request, and the value is encrypted when stored in Database
// Migration Service.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates whether a new password is included in the request.
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// Required. Database service for the Oracle connection.
DatabaseService string `protobuf:"bytes,6,opt,name=database_service,json=databaseService,proto3" json:"database_service,omitempty"`
// SSL configuration for the connection to the source Oracle database.
//
// - Only `SERVER_ONLY` configuration is supported for Oracle SSL.
// - SSL is supported for Oracle versions 12 and above.
Ssl *SslConfig `protobuf:"bytes,7,opt,name=ssl,proto3" json:"ssl,omitempty"`
// Connectivity options used to establish a connection to the database server.
//
// Types that are valid to be assigned to Connectivity:
//
// *OracleConnectionProfile_StaticServiceIpConnectivity
// *OracleConnectionProfile_ForwardSshConnectivity
// *OracleConnectionProfile_PrivateConnectivity
Connectivity isOracleConnectionProfile_Connectivity `protobuf_oneof:"connectivity"`
// contains filtered or unexported fields
}Specifies connection parameters required specifically for Oracle databases.
func (*OracleConnectionProfile) Descriptor
func (*OracleConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use OracleConnectionProfile.ProtoReflect.Descriptor instead.
func (*OracleConnectionProfile) GetConnectivity
func (x *OracleConnectionProfile) GetConnectivity() isOracleConnectionProfile_Connectivityfunc (*OracleConnectionProfile) GetDatabaseService
func (x *OracleConnectionProfile) GetDatabaseService() stringfunc (*OracleConnectionProfile) GetForwardSshConnectivity
func (x *OracleConnectionProfile) GetForwardSshConnectivity() *ForwardSshTunnelConnectivityfunc (*OracleConnectionProfile) GetHost
func (x *OracleConnectionProfile) GetHost() stringfunc (*OracleConnectionProfile) GetPassword
func (x *OracleConnectionProfile) GetPassword() stringfunc (*OracleConnectionProfile) GetPasswordSet
func (x *OracleConnectionProfile) GetPasswordSet() boolfunc (*OracleConnectionProfile) GetPort
func (x *OracleConnectionProfile) GetPort() int32func (*OracleConnectionProfile) GetPrivateConnectivity
func (x *OracleConnectionProfile) GetPrivateConnectivity() *PrivateConnectivityfunc (*OracleConnectionProfile) GetSsl
func (x *OracleConnectionProfile) GetSsl() *SslConfigfunc (*OracleConnectionProfile) GetStaticServiceIpConnectivity
func (x *OracleConnectionProfile) GetStaticServiceIpConnectivity() *StaticServiceIpConnectivityfunc (*OracleConnectionProfile) GetUsername
func (x *OracleConnectionProfile) GetUsername() stringfunc (*OracleConnectionProfile) ProtoMessage
func (*OracleConnectionProfile) ProtoMessage()func (*OracleConnectionProfile) ProtoReflect
func (x *OracleConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*OracleConnectionProfile) Reset
func (x *OracleConnectionProfile) Reset()func (*OracleConnectionProfile) String
func (x *OracleConnectionProfile) String() stringOracleConnectionProfile_ForwardSshConnectivity
type OracleConnectionProfile_ForwardSshConnectivity struct {
// Forward SSH tunnel connectivity.
ForwardSshConnectivity *ForwardSshTunnelConnectivity `protobuf:"bytes,101,opt,name=forward_ssh_connectivity,json=forwardSshConnectivity,proto3,oneof"`
}OracleConnectionProfile_PrivateConnectivity
type OracleConnectionProfile_PrivateConnectivity struct {
// Private connectivity.
PrivateConnectivity *PrivateConnectivity `protobuf:"bytes,102,opt,name=private_connectivity,json=privateConnectivity,proto3,oneof"`
}OracleConnectionProfile_StaticServiceIpConnectivity
type OracleConnectionProfile_StaticServiceIpConnectivity struct {
// Static Service IP connectivity.
StaticServiceIpConnectivity *StaticServiceIpConnectivity `protobuf:"bytes,100,opt,name=static_service_ip_connectivity,json=staticServiceIpConnectivity,proto3,oneof"`
}PackageEntity
type PackageEntity struct {
// The SQL code which creates the package.
PackageSqlCode string `protobuf:"bytes,1,opt,name=package_sql_code,json=packageSqlCode,proto3" json:"package_sql_code,omitempty"`
// The SQL code which creates the package body. If the package specification
// has cursors or subprograms, then the package body is mandatory.
PackageBody string `protobuf:"bytes,2,opt,name=package_body,json=packageBody,proto3" json:"package_body,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,3,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Package's parent is a schema.
func (*PackageEntity) Descriptor
func (*PackageEntity) Descriptor() ([]byte, []int)Deprecated: Use PackageEntity.ProtoReflect.Descriptor instead.
func (*PackageEntity) GetCustomFeatures
func (x *PackageEntity) GetCustomFeatures() *structpb.Structfunc (*PackageEntity) GetPackageBody
func (x *PackageEntity) GetPackageBody() stringfunc (*PackageEntity) GetPackageSqlCode
func (x *PackageEntity) GetPackageSqlCode() stringfunc (*PackageEntity) ProtoMessage
func (*PackageEntity) ProtoMessage()func (*PackageEntity) ProtoReflect
func (x *PackageEntity) ProtoReflect() protoreflect.Messagefunc (*PackageEntity) Reset
func (x *PackageEntity) Reset()func (*PackageEntity) String
func (x *PackageEntity) String() stringPostgreSqlConnectionProfile
type PostgreSqlConnectionProfile struct {
// Required. The IP or hostname of the source PostgreSQL database.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Required. The network port of the source PostgreSQL database.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Required. The username that Database Migration Service will use to connect
// to the database. The value is encrypted when stored in Database Migration
// Service.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Required. Input only. The password for the user that Database Migration
// Service will be using to connect to the database. This field is not
// returned on request, and the value is encrypted when stored in Database
// Migration Service.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates If this connection profile password is stored.
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// SSL configuration for the destination to connect to the source database.
Ssl *SslConfig `protobuf:"bytes,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
// If the source is a Cloud SQL database, use this field to
// provide the Cloud SQL instance ID of the source.
CloudSqlId string `protobuf:"bytes,7,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"`
// Output only. If the source is a Cloud SQL database, this field indicates
// the network architecture it's associated with.
NetworkArchitecture NetworkArchitecture `protobuf:"varint,8,opt,name=network_architecture,json=networkArchitecture,proto3,enum=google.cloud.clouddms.v1.NetworkArchitecture" json:"network_architecture,omitempty"`
// Connectivity options used to establish a connection to the database server.
//
// Types that are valid to be assigned to Connectivity:
//
// *PostgreSqlConnectionProfile_StaticIpConnectivity
// *PostgreSqlConnectionProfile_PrivateServiceConnectConnectivity
Connectivity isPostgreSqlConnectionProfile_Connectivity `protobuf_oneof:"connectivity"`
// contains filtered or unexported fields
}Specifies connection parameters required specifically for PostgreSQL databases.
func (*PostgreSqlConnectionProfile) Descriptor
func (*PostgreSqlConnectionProfile) Descriptor() ([]byte, []int)Deprecated: Use PostgreSqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*PostgreSqlConnectionProfile) GetCloudSqlId
func (x *PostgreSqlConnectionProfile) GetCloudSqlId() stringfunc (*PostgreSqlConnectionProfile) GetConnectivity
func (x *PostgreSqlConnectionProfile) GetConnectivity() isPostgreSqlConnectionProfile_Connectivityfunc (*PostgreSqlConnectionProfile) GetHost
func (x *PostgreSqlConnectionProfile) GetHost() stringfunc (*PostgreSqlConnectionProfile) GetNetworkArchitecture
func (x *PostgreSqlConnectionProfile) GetNetworkArchitecture() NetworkArchitecturefunc (*PostgreSqlConnectionProfile) GetPassword
func (x *PostgreSqlConnectionProfile) GetPassword() stringfunc (*PostgreSqlConnectionProfile) GetPasswordSet
func (x *PostgreSqlConnectionProfile) GetPasswordSet() boolfunc (*PostgreSqlConnectionProfile) GetPort
func (x *PostgreSqlConnectionProfile) GetPort() int32func (*PostgreSqlConnectionProfile) GetPrivateServiceConnectConnectivity
func (x *PostgreSqlConnectionProfile) GetPrivateServiceConnectConnectivity() *PrivateServiceConnectConnectivityfunc (*PostgreSqlConnectionProfile) GetSsl
func (x *PostgreSqlConnectionProfile) GetSsl() *SslConfigfunc (*PostgreSqlConnectionProfile) GetStaticIpConnectivity
func (x *PostgreSqlConnectionProfile) GetStaticIpConnectivity() *StaticIpConnectivityfunc (*PostgreSqlConnectionProfile) GetUsername
func (x *PostgreSqlConnectionProfile) GetUsername() stringfunc (*PostgreSqlConnectionProfile) ProtoMessage
func (*PostgreSqlConnectionProfile) ProtoMessage()func (*PostgreSqlConnectionProfile) ProtoReflect
func (x *PostgreSqlConnectionProfile) ProtoReflect() protoreflect.Messagefunc (*PostgreSqlConnectionProfile) Reset
func (x *PostgreSqlConnectionProfile) Reset()func (*PostgreSqlConnectionProfile) String
func (x *PostgreSqlConnectionProfile) String() stringPostgreSqlConnectionProfile_PrivateServiceConnectConnectivity
type PostgreSqlConnectionProfile_PrivateServiceConnectConnectivity struct {
// Private service connect connectivity.
PrivateServiceConnectConnectivity *PrivateServiceConnectConnectivity `protobuf:"bytes,101,opt,name=private_service_connect_connectivity,json=privateServiceConnectConnectivity,proto3,oneof"`
}PostgreSqlConnectionProfile_StaticIpConnectivity
type PostgreSqlConnectionProfile_StaticIpConnectivity struct {
// Static ip connectivity data (default, no additional details needed).
StaticIpConnectivity *StaticIpConnectivity `protobuf:"bytes,100,opt,name=static_ip_connectivity,json=staticIpConnectivity,proto3,oneof"`
}PrivateConnection
type PrivateConnection struct {
// The name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The create time of the resource.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The last update time of the resource.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The resource labels for private connections to use to annotate any related
// underlying resources such as Compute Engine VMs. An object containing a
// list of "key": "value" pairs.
//
// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The private connection display name.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The state of the private connection.
State PrivateConnection_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.clouddms.v1.PrivateConnection_State" json:"state,omitempty"`
// Output only. The error details in case of state FAILED.
Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// Types that are valid to be assigned to Connectivity:
//
// *PrivateConnection_VpcPeeringConfig
Connectivity isPrivateConnection_Connectivity `protobuf_oneof:"connectivity"`
// contains filtered or unexported fields
}The PrivateConnection resource is used to establish private connectivity with the customer's network.
func (*PrivateConnection) Descriptor
func (*PrivateConnection) Descriptor() ([]byte, []int)Deprecated: Use PrivateConnection.ProtoReflect.Descriptor instead.
func (*PrivateConnection) GetConnectivity
func (x *PrivateConnection) GetConnectivity() isPrivateConnection_Connectivityfunc (*PrivateConnection) GetCreateTime
func (x *PrivateConnection) GetCreateTime() *timestamppb.Timestampfunc (*PrivateConnection) GetDisplayName
func (x *PrivateConnection) GetDisplayName() stringfunc (*PrivateConnection) GetError
func (x *PrivateConnection) GetError() *status.Statusfunc (*PrivateConnection) GetLabels
func (x *PrivateConnection) GetLabels() map[string]stringfunc (*PrivateConnection) GetName
func (x *PrivateConnection) GetName() stringfunc (*PrivateConnection) GetState
func (x *PrivateConnection) GetState() PrivateConnection_Statefunc (*PrivateConnection) GetUpdateTime
func (x *PrivateConnection) GetUpdateTime() *timestamppb.Timestampfunc (*PrivateConnection) GetVpcPeeringConfig
func (x *PrivateConnection) GetVpcPeeringConfig() *VpcPeeringConfigfunc (*PrivateConnection) ProtoMessage
func (*PrivateConnection) ProtoMessage()func (*PrivateConnection) ProtoReflect
func (x *PrivateConnection) ProtoReflect() protoreflect.Messagefunc (*PrivateConnection) Reset
func (x *PrivateConnection) Reset()func (*PrivateConnection) String
func (x *PrivateConnection) String() stringPrivateConnection_State
type PrivateConnection_State int32Private Connection state.
PrivateConnection_STATE_UNSPECIFIED, PrivateConnection_CREATING, PrivateConnection_CREATED, PrivateConnection_FAILED, PrivateConnection_DELETING, PrivateConnection_FAILED_TO_DELETE, PrivateConnection_DELETED
const (
PrivateConnection_STATE_UNSPECIFIED PrivateConnection_State = 0
// The private connection is in creation state - creating resources.
PrivateConnection_CREATING PrivateConnection_State = 1
// The private connection has been created with all of its resources.
PrivateConnection_CREATED PrivateConnection_State = 2
// The private connection creation has failed.
PrivateConnection_FAILED PrivateConnection_State = 3
// The private connection is being deleted.
PrivateConnection_DELETING PrivateConnection_State = 4
// Delete request has failed, resource is in invalid state.
PrivateConnection_FAILED_TO_DELETE PrivateConnection_State = 5
// The private connection has been deleted.
PrivateConnection_DELETED PrivateConnection_State = 6
)func (PrivateConnection_State) Descriptor
func (PrivateConnection_State) Descriptor() protoreflect.EnumDescriptorfunc (PrivateConnection_State) Enum
func (x PrivateConnection_State) Enum() *PrivateConnection_Statefunc (PrivateConnection_State) EnumDescriptor
func (PrivateConnection_State) EnumDescriptor() ([]byte, []int)Deprecated: Use PrivateConnection_State.Descriptor instead.
func (PrivateConnection_State) Number
func (x PrivateConnection_State) Number() protoreflect.EnumNumberfunc (PrivateConnection_State) String
func (x PrivateConnection_State) String() stringfunc (PrivateConnection_State) Type
func (PrivateConnection_State) Type() protoreflect.EnumTypePrivateConnection_VpcPeeringConfig
type PrivateConnection_VpcPeeringConfig struct {
// VPC peering configuration.
VpcPeeringConfig *VpcPeeringConfig `protobuf:"bytes,100,opt,name=vpc_peering_config,json=vpcPeeringConfig,proto3,oneof"`
}PrivateConnectivity
type PrivateConnectivity struct {
// Required. The resource name (URI) of the private connection.
PrivateConnection string `protobuf:"bytes,1,opt,name=private_connection,json=privateConnection,proto3" json:"private_connection,omitempty"`
// contains filtered or unexported fields
}Private Connectivity.
func (*PrivateConnectivity) Descriptor
func (*PrivateConnectivity) Descriptor() ([]byte, []int)Deprecated: Use PrivateConnectivity.ProtoReflect.Descriptor instead.
func (*PrivateConnectivity) GetPrivateConnection
func (x *PrivateConnectivity) GetPrivateConnection() stringfunc (*PrivateConnectivity) ProtoMessage
func (*PrivateConnectivity) ProtoMessage()func (*PrivateConnectivity) ProtoReflect
func (x *PrivateConnectivity) ProtoReflect() protoreflect.Messagefunc (*PrivateConnectivity) Reset
func (x *PrivateConnectivity) Reset()func (*PrivateConnectivity) String
func (x *PrivateConnectivity) String() stringPrivateServiceConnectConnectivity
type PrivateServiceConnectConnectivity struct {
// Required. A service attachment that exposes a database, and has the
// following format:
// projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
ServiceAttachment string `protobuf:"bytes,1,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
// contains filtered or unexported fields
}func (*PrivateServiceConnectConnectivity) Descriptor
func (*PrivateServiceConnectConnectivity) Descriptor() ([]byte, []int)Deprecated: Use PrivateServiceConnectConnectivity.ProtoReflect.Descriptor instead.
func (*PrivateServiceConnectConnectivity) GetServiceAttachment
func (x *PrivateServiceConnectConnectivity) GetServiceAttachment() stringfunc (*PrivateServiceConnectConnectivity) ProtoMessage
func (*PrivateServiceConnectConnectivity) ProtoMessage()func (*PrivateServiceConnectConnectivity) ProtoReflect
func (x *PrivateServiceConnectConnectivity) ProtoReflect() protoreflect.Messagefunc (*PrivateServiceConnectConnectivity) Reset
func (x *PrivateServiceConnectConnectivity) Reset()func (*PrivateServiceConnectConnectivity) String
func (x *PrivateServiceConnectConnectivity) String() stringPromoteMigrationJobRequest
type PromoteMigrationJobRequest struct {
// Name of the migration job resource to promote.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'PromoteMigrationJob' request.
func (*PromoteMigrationJobRequest) Descriptor
func (*PromoteMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use PromoteMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*PromoteMigrationJobRequest) GetName
func (x *PromoteMigrationJobRequest) GetName() stringfunc (*PromoteMigrationJobRequest) ProtoMessage
func (*PromoteMigrationJobRequest) ProtoMessage()func (*PromoteMigrationJobRequest) ProtoReflect
func (x *PromoteMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*PromoteMigrationJobRequest) Reset
func (x *PromoteMigrationJobRequest) Reset()func (*PromoteMigrationJobRequest) String
func (x *PromoteMigrationJobRequest) String() stringRestartMigrationJobRequest
type RestartMigrationJobRequest struct {
// Name of the migration job resource to restart.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Restart the migration job without running prior configuration
// verification. Defaults to `false`.
SkipValidation bool `protobuf:"varint,2,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}Request message for 'RestartMigrationJob' request.
func (*RestartMigrationJobRequest) Descriptor
func (*RestartMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use RestartMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*RestartMigrationJobRequest) GetName
func (x *RestartMigrationJobRequest) GetName() stringfunc (*RestartMigrationJobRequest) GetSkipValidation
func (x *RestartMigrationJobRequest) GetSkipValidation() boolfunc (*RestartMigrationJobRequest) ProtoMessage
func (*RestartMigrationJobRequest) ProtoMessage()func (*RestartMigrationJobRequest) ProtoReflect
func (x *RestartMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*RestartMigrationJobRequest) Reset
func (x *RestartMigrationJobRequest) Reset()func (*RestartMigrationJobRequest) String
func (x *RestartMigrationJobRequest) String() stringResumeMigrationJobRequest
type ResumeMigrationJobRequest struct {
// Name of the migration job resource to resume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'ResumeMigrationJob' request.
func (*ResumeMigrationJobRequest) Descriptor
func (*ResumeMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use ResumeMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*ResumeMigrationJobRequest) GetName
func (x *ResumeMigrationJobRequest) GetName() stringfunc (*ResumeMigrationJobRequest) ProtoMessage
func (*ResumeMigrationJobRequest) ProtoMessage()func (*ResumeMigrationJobRequest) ProtoReflect
func (x *ResumeMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*ResumeMigrationJobRequest) Reset
func (x *ResumeMigrationJobRequest) Reset()func (*ResumeMigrationJobRequest) String
func (x *ResumeMigrationJobRequest) String() stringReverseSshConnectivity
type ReverseSshConnectivity struct {
// Required. The IP of the virtual machine (Compute Engine) used as the
// bastion server for the SSH tunnel.
VmIp string `protobuf:"bytes,1,opt,name=vm_ip,json=vmIp,proto3" json:"vm_ip,omitempty"`
// Required. The forwarding port of the virtual machine (Compute Engine) used
// as the bastion server for the SSH tunnel.
VmPort int32 `protobuf:"varint,2,opt,name=vm_port,json=vmPort,proto3" json:"vm_port,omitempty"`
// The name of the virtual machine (Compute Engine) used as the bastion server
// for the SSH tunnel.
Vm string `protobuf:"bytes,3,opt,name=vm,proto3" json:"vm,omitempty"`
// The name of the VPC to peer with the Cloud SQL private network.
Vpc string `protobuf:"bytes,4,opt,name=vpc,proto3" json:"vpc,omitempty"`
// contains filtered or unexported fields
}The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.
func (*ReverseSshConnectivity) Descriptor
func (*ReverseSshConnectivity) Descriptor() ([]byte, []int)Deprecated: Use ReverseSshConnectivity.ProtoReflect.Descriptor instead.
func (*ReverseSshConnectivity) GetVm
func (x *ReverseSshConnectivity) GetVm() stringfunc (*ReverseSshConnectivity) GetVmIp
func (x *ReverseSshConnectivity) GetVmIp() stringfunc (*ReverseSshConnectivity) GetVmPort
func (x *ReverseSshConnectivity) GetVmPort() int32func (*ReverseSshConnectivity) GetVpc
func (x *ReverseSshConnectivity) GetVpc() stringfunc (*ReverseSshConnectivity) ProtoMessage
func (*ReverseSshConnectivity) ProtoMessage()func (*ReverseSshConnectivity) ProtoReflect
func (x *ReverseSshConnectivity) ProtoReflect() protoreflect.Messagefunc (*ReverseSshConnectivity) Reset
func (x *ReverseSshConnectivity) Reset()func (*ReverseSshConnectivity) String
func (x *ReverseSshConnectivity) String() stringRollbackConversionWorkspaceRequest
type RollbackConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to roll back to.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'RollbackConversionWorkspace' request.
func (*RollbackConversionWorkspaceRequest) Descriptor
func (*RollbackConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use RollbackConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*RollbackConversionWorkspaceRequest) GetName
func (x *RollbackConversionWorkspaceRequest) GetName() stringfunc (*RollbackConversionWorkspaceRequest) ProtoMessage
func (*RollbackConversionWorkspaceRequest) ProtoMessage()func (*RollbackConversionWorkspaceRequest) ProtoReflect
func (x *RollbackConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*RollbackConversionWorkspaceRequest) Reset
func (x *RollbackConversionWorkspaceRequest) Reset()func (*RollbackConversionWorkspaceRequest) String
func (x *RollbackConversionWorkspaceRequest) String() stringRoundToScale
type RoundToScale struct {
// Required. Scale value to be used
Scale int32 `protobuf:"varint,1,opt,name=scale,proto3" json:"scale,omitempty"`
// contains filtered or unexported fields
}This allows the data to change scale, for example if the source is 2 digits after the decimal point, specify round to scale value = 2. If for example the value needs to be converted to an integer, use round to scale value = 0.
func (*RoundToScale) Descriptor
func (*RoundToScale) Descriptor() ([]byte, []int)Deprecated: Use RoundToScale.ProtoReflect.Descriptor instead.
func (*RoundToScale) GetScale
func (x *RoundToScale) GetScale() int32func (*RoundToScale) ProtoMessage
func (*RoundToScale) ProtoMessage()func (*RoundToScale) ProtoReflect
func (x *RoundToScale) ProtoReflect() protoreflect.Messagefunc (*RoundToScale) Reset
func (x *RoundToScale) Reset()func (*RoundToScale) String
func (x *RoundToScale) String() stringSchemaEntity
type SchemaEntity struct {
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,1,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.
func (*SchemaEntity) Descriptor
func (*SchemaEntity) Descriptor() ([]byte, []int)Deprecated: Use SchemaEntity.ProtoReflect.Descriptor instead.
func (*SchemaEntity) GetCustomFeatures
func (x *SchemaEntity) GetCustomFeatures() *structpb.Structfunc (*SchemaEntity) ProtoMessage
func (*SchemaEntity) ProtoMessage()func (*SchemaEntity) ProtoReflect
func (x *SchemaEntity) ProtoReflect() protoreflect.Messagefunc (*SchemaEntity) Reset
func (x *SchemaEntity) Reset()func (*SchemaEntity) String
func (x *SchemaEntity) String() stringSearchBackgroundJobsRequest
type SearchBackgroundJobsRequest struct {
// Required. Name of the conversion workspace resource whose jobs are listed,
// in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// Optional. Whether or not to return just the most recent job per job type,
ReturnMostRecentPerJobType bool `protobuf:"varint,2,opt,name=return_most_recent_per_job_type,json=returnMostRecentPerJobType,proto3" json:"return_most_recent_per_job_type,omitempty"`
// Optional. The maximum number of jobs to return. The service may return
// fewer than this value. If unspecified, at most 100 jobs are
// returned. The maximum value is 100; values above 100 are coerced to
// 100.
MaxSize int32 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
// Optional. If provided, only returns jobs that completed until (not
// including) the given timestamp.
CompletedUntilTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=completed_until_time,json=completedUntilTime,proto3" json:"completed_until_time,omitempty"`
// contains filtered or unexported fields
}Request message for 'SearchBackgroundJobs' request.
func (*SearchBackgroundJobsRequest) Descriptor
func (*SearchBackgroundJobsRequest) Descriptor() ([]byte, []int)Deprecated: Use SearchBackgroundJobsRequest.ProtoReflect.Descriptor instead.
func (*SearchBackgroundJobsRequest) GetCompletedUntilTime
func (x *SearchBackgroundJobsRequest) GetCompletedUntilTime() *timestamppb.Timestampfunc (*SearchBackgroundJobsRequest) GetConversionWorkspace
func (x *SearchBackgroundJobsRequest) GetConversionWorkspace() stringfunc (*SearchBackgroundJobsRequest) GetMaxSize
func (x *SearchBackgroundJobsRequest) GetMaxSize() int32func (*SearchBackgroundJobsRequest) GetReturnMostRecentPerJobType
func (x *SearchBackgroundJobsRequest) GetReturnMostRecentPerJobType() boolfunc (*SearchBackgroundJobsRequest) ProtoMessage
func (*SearchBackgroundJobsRequest) ProtoMessage()func (*SearchBackgroundJobsRequest) ProtoReflect
func (x *SearchBackgroundJobsRequest) ProtoReflect() protoreflect.Messagefunc (*SearchBackgroundJobsRequest) Reset
func (x *SearchBackgroundJobsRequest) Reset()func (*SearchBackgroundJobsRequest) String
func (x *SearchBackgroundJobsRequest) String() stringSearchBackgroundJobsResponse
type SearchBackgroundJobsResponse struct {
// The list of conversion workspace mapping rules.
Jobs []*BackgroundJobLogEntry `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
// contains filtered or unexported fields
}Response message for 'SearchBackgroundJobs' request.
func (*SearchBackgroundJobsResponse) Descriptor
func (*SearchBackgroundJobsResponse) Descriptor() ([]byte, []int)Deprecated: Use SearchBackgroundJobsResponse.ProtoReflect.Descriptor instead.
func (*SearchBackgroundJobsResponse) GetJobs
func (x *SearchBackgroundJobsResponse) GetJobs() []*BackgroundJobLogEntryfunc (*SearchBackgroundJobsResponse) ProtoMessage
func (*SearchBackgroundJobsResponse) ProtoMessage()func (*SearchBackgroundJobsResponse) ProtoReflect
func (x *SearchBackgroundJobsResponse) ProtoReflect() protoreflect.Messagefunc (*SearchBackgroundJobsResponse) Reset
func (x *SearchBackgroundJobsResponse) Reset()func (*SearchBackgroundJobsResponse) String
func (x *SearchBackgroundJobsResponse) String() stringSeedConversionWorkspaceRequest
type SeedConversionWorkspaceRequest struct {
// Name of the conversion workspace resource to seed with new database
// structure, in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Should the conversion workspace be committed automatically after the
// seed operation.
AutoCommit bool `protobuf:"varint,2,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
// The input to be used for seeding the conversion workspace. The input can
// either be from the source or destination databases and it can be provided
// through a connection profile or a DDL file.
//
// Types that are valid to be assigned to SeedFrom:
//
// *SeedConversionWorkspaceRequest_SourceConnectionProfile
// *SeedConversionWorkspaceRequest_DestinationConnectionProfile
SeedFrom isSeedConversionWorkspaceRequest_SeedFrom `protobuf_oneof:"seed_from"`
// contains filtered or unexported fields
}Request message for 'SeedConversionWorkspace' request.
func (*SeedConversionWorkspaceRequest) Descriptor
func (*SeedConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use SeedConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*SeedConversionWorkspaceRequest) GetAutoCommit
func (x *SeedConversionWorkspaceRequest) GetAutoCommit() boolfunc (*SeedConversionWorkspaceRequest) GetDestinationConnectionProfile
func (x *SeedConversionWorkspaceRequest) GetDestinationConnectionProfile() stringfunc (*SeedConversionWorkspaceRequest) GetName
func (x *SeedConversionWorkspaceRequest) GetName() stringfunc (*SeedConversionWorkspaceRequest) GetSeedFrom
func (x *SeedConversionWorkspaceRequest) GetSeedFrom() isSeedConversionWorkspaceRequest_SeedFromfunc (*SeedConversionWorkspaceRequest) GetSourceConnectionProfile
func (x *SeedConversionWorkspaceRequest) GetSourceConnectionProfile() stringfunc (*SeedConversionWorkspaceRequest) ProtoMessage
func (*SeedConversionWorkspaceRequest) ProtoMessage()func (*SeedConversionWorkspaceRequest) ProtoReflect
func (x *SeedConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*SeedConversionWorkspaceRequest) Reset
func (x *SeedConversionWorkspaceRequest) Reset()func (*SeedConversionWorkspaceRequest) String
func (x *SeedConversionWorkspaceRequest) String() stringSeedConversionWorkspaceRequest_DestinationConnectionProfile
type SeedConversionWorkspaceRequest_DestinationConnectionProfile struct {
// Optional. Fully qualified (Uri) name of the destination connection
// profile.
DestinationConnectionProfile string `protobuf:"bytes,101,opt,name=destination_connection_profile,json=destinationConnectionProfile,proto3,oneof"`
}SeedConversionWorkspaceRequest_SourceConnectionProfile
type SeedConversionWorkspaceRequest_SourceConnectionProfile struct {
// Optional. Fully qualified (Uri) name of the source connection profile.
SourceConnectionProfile string `protobuf:"bytes,100,opt,name=source_connection_profile,json=sourceConnectionProfile,proto3,oneof"`
}SequenceEntity
type SequenceEntity struct {
// Increment value for the sequence.
Increment int64 `protobuf:"varint,1,opt,name=increment,proto3" json:"increment,omitempty"`
// Start number for the sequence represented as bytes to accommodate large.
// numbers
StartValue []byte `protobuf:"bytes,2,opt,name=start_value,json=startValue,proto3" json:"start_value,omitempty"`
// Maximum number for the sequence represented as bytes to accommodate large.
// numbers
MaxValue []byte `protobuf:"bytes,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
// Minimum number for the sequence represented as bytes to accommodate large.
// numbers
MinValue []byte `protobuf:"bytes,4,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
// Indicates whether the sequence value should cycle through.
Cycle bool `protobuf:"varint,5,opt,name=cycle,proto3" json:"cycle,omitempty"`
// Indicates number of entries to cache / precreate.
Cache int64 `protobuf:"varint,6,opt,name=cache,proto3" json:"cache,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,7,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Sequence's parent is a schema.
func (*SequenceEntity) Descriptor
func (*SequenceEntity) Descriptor() ([]byte, []int)Deprecated: Use SequenceEntity.ProtoReflect.Descriptor instead.
func (*SequenceEntity) GetCache
func (x *SequenceEntity) GetCache() int64func (*SequenceEntity) GetCustomFeatures
func (x *SequenceEntity) GetCustomFeatures() *structpb.Structfunc (*SequenceEntity) GetCycle
func (x *SequenceEntity) GetCycle() boolfunc (*SequenceEntity) GetIncrement
func (x *SequenceEntity) GetIncrement() int64func (*SequenceEntity) GetMaxValue
func (x *SequenceEntity) GetMaxValue() []bytefunc (*SequenceEntity) GetMinValue
func (x *SequenceEntity) GetMinValue() []bytefunc (*SequenceEntity) GetStartValue
func (x *SequenceEntity) GetStartValue() []bytefunc (*SequenceEntity) ProtoMessage
func (*SequenceEntity) ProtoMessage()func (*SequenceEntity) ProtoReflect
func (x *SequenceEntity) ProtoReflect() protoreflect.Messagefunc (*SequenceEntity) Reset
func (x *SequenceEntity) Reset()func (*SequenceEntity) String
func (x *SequenceEntity) String() stringSetTablePrimaryKey
type SetTablePrimaryKey struct {
// Required. List of column names for the primary key
PrimaryKeyColumns []string `protobuf:"bytes,1,rep,name=primary_key_columns,json=primaryKeyColumns,proto3" json:"primary_key_columns,omitempty"`
// Optional. Name for the primary key
PrimaryKey string `protobuf:"bytes,2,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table.
The rule filter field can refer to one entity.
The rule scope can be one of: Table.
func (*SetTablePrimaryKey) Descriptor
func (*SetTablePrimaryKey) Descriptor() ([]byte, []int)Deprecated: Use SetTablePrimaryKey.ProtoReflect.Descriptor instead.
func (*SetTablePrimaryKey) GetPrimaryKey
func (x *SetTablePrimaryKey) GetPrimaryKey() stringfunc (*SetTablePrimaryKey) GetPrimaryKeyColumns
func (x *SetTablePrimaryKey) GetPrimaryKeyColumns() []stringfunc (*SetTablePrimaryKey) ProtoMessage
func (*SetTablePrimaryKey) ProtoMessage()func (*SetTablePrimaryKey) ProtoReflect
func (x *SetTablePrimaryKey) ProtoReflect() protoreflect.Messagefunc (*SetTablePrimaryKey) Reset
func (x *SetTablePrimaryKey) Reset()func (*SetTablePrimaryKey) String
func (x *SetTablePrimaryKey) String() stringSingleColumnChange
type SingleColumnChange struct {
// Optional. Column data type name.
DataType string `protobuf:"bytes,1,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
// Optional. Charset override - instead of table level charset.
Charset string `protobuf:"bytes,2,opt,name=charset,proto3" json:"charset,omitempty"`
// Optional. Collation override - instead of table level collation.
Collation string `protobuf:"bytes,3,opt,name=collation,proto3" json:"collation,omitempty"`
// Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
Length int64 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
// Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
Precision int32 `protobuf:"varint,5,opt,name=precision,proto3" json:"precision,omitempty"`
// Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
Scale int32 `protobuf:"varint,6,opt,name=scale,proto3" json:"scale,omitempty"`
// Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
// - when relevant.
FractionalSecondsPrecision int32 `protobuf:"varint,7,opt,name=fractional_seconds_precision,json=fractionalSecondsPrecision,proto3" json:"fractional_seconds_precision,omitempty"`
// Optional. Is the column of array type.
Array bool `protobuf:"varint,8,opt,name=array,proto3" json:"array,omitempty"`
// Optional. The length of the array, only relevant if the column type is an
// array.
ArrayLength int32 `protobuf:"varint,9,opt,name=array_length,json=arrayLength,proto3" json:"array_length,omitempty"`
// Optional. Is the column nullable.
Nullable bool `protobuf:"varint,10,opt,name=nullable,proto3" json:"nullable,omitempty"`
// Optional. Is the column auto-generated/identity.
AutoGenerated bool `protobuf:"varint,11,opt,name=auto_generated,json=autoGenerated,proto3" json:"auto_generated,omitempty"`
// Optional. Is the column a UDT (User-defined Type).
Udt bool `protobuf:"varint,12,opt,name=udt,proto3" json:"udt,omitempty"`
// Optional. Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,13,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// Optional. Specifies the list of values allowed in the column.
SetValues []string `protobuf:"bytes,14,rep,name=set_values,json=setValues,proto3" json:"set_values,omitempty"`
// Optional. Comment associated with the column.
Comment string `protobuf:"bytes,15,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column.
The rule filter field can refer to one entity.
The rule scope can be one of: Column.
When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..
func (*SingleColumnChange) Descriptor
func (*SingleColumnChange) Descriptor() ([]byte, []int)Deprecated: Use SingleColumnChange.ProtoReflect.Descriptor instead.
func (*SingleColumnChange) GetArray
func (x *SingleColumnChange) GetArray() boolfunc (*SingleColumnChange) GetArrayLength
func (x *SingleColumnChange) GetArrayLength() int32func (*SingleColumnChange) GetAutoGenerated
func (x *SingleColumnChange) GetAutoGenerated() boolfunc (*SingleColumnChange) GetCharset
func (x *SingleColumnChange) GetCharset() stringfunc (*SingleColumnChange) GetCollation
func (x *SingleColumnChange) GetCollation() stringfunc (*SingleColumnChange) GetComment
func (x *SingleColumnChange) GetComment() stringfunc (*SingleColumnChange) GetCustomFeatures
func (x *SingleColumnChange) GetCustomFeatures() *structpb.Structfunc (*SingleColumnChange) GetDataType
func (x *SingleColumnChange) GetDataType() stringfunc (*SingleColumnChange) GetFractionalSecondsPrecision
func (x *SingleColumnChange) GetFractionalSecondsPrecision() int32func (*SingleColumnChange) GetLength
func (x *SingleColumnChange) GetLength() int64func (*SingleColumnChange) GetNullable
func (x *SingleColumnChange) GetNullable() boolfunc (*SingleColumnChange) GetPrecision
func (x *SingleColumnChange) GetPrecision() int32func (*SingleColumnChange) GetScale
func (x *SingleColumnChange) GetScale() int32func (*SingleColumnChange) GetSetValues
func (x *SingleColumnChange) GetSetValues() []stringfunc (*SingleColumnChange) GetUdt
func (x *SingleColumnChange) GetUdt() boolfunc (*SingleColumnChange) ProtoMessage
func (*SingleColumnChange) ProtoMessage()func (*SingleColumnChange) ProtoReflect
func (x *SingleColumnChange) ProtoReflect() protoreflect.Messagefunc (*SingleColumnChange) Reset
func (x *SingleColumnChange) Reset()func (*SingleColumnChange) String
func (x *SingleColumnChange) String() stringSingleEntityRename
type SingleEntityRename struct {
// Required. The new name of the destination entity
NewName string `protobuf:"bytes,1,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type SingleEntityRename. The rule is used to rename an entity.
The rule filter field can refer to only one entity.
The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT, Synonym
func (*SingleEntityRename) Descriptor
func (*SingleEntityRename) Descriptor() ([]byte, []int)Deprecated: Use SingleEntityRename.ProtoReflect.Descriptor instead.
func (*SingleEntityRename) GetNewName
func (x *SingleEntityRename) GetNewName() stringfunc (*SingleEntityRename) ProtoMessage
func (*SingleEntityRename) ProtoMessage()func (*SingleEntityRename) ProtoReflect
func (x *SingleEntityRename) ProtoReflect() protoreflect.Messagefunc (*SingleEntityRename) Reset
func (x *SingleEntityRename) Reset()func (*SingleEntityRename) String
func (x *SingleEntityRename) String() stringSinglePackageChange
type SinglePackageChange struct {
// Optional. Sql code for package description
PackageDescription string `protobuf:"bytes,1,opt,name=package_description,json=packageDescription,proto3" json:"package_description,omitempty"`
// Optional. Sql code for package body
PackageBody string `protobuf:"bytes,2,opt,name=package_body,json=packageBody,proto3" json:"package_body,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type SinglePackageChange. The rule is used to alter the sql code for a package entities.
The rule filter field can refer to one entity.
The rule scope can be: Package
func (*SinglePackageChange) Descriptor
func (*SinglePackageChange) Descriptor() ([]byte, []int)Deprecated: Use SinglePackageChange.ProtoReflect.Descriptor instead.
func (*SinglePackageChange) GetPackageBody
func (x *SinglePackageChange) GetPackageBody() stringfunc (*SinglePackageChange) GetPackageDescription
func (x *SinglePackageChange) GetPackageDescription() stringfunc (*SinglePackageChange) ProtoMessage
func (*SinglePackageChange) ProtoMessage()func (*SinglePackageChange) ProtoReflect
func (x *SinglePackageChange) ProtoReflect() protoreflect.Messagefunc (*SinglePackageChange) Reset
func (x *SinglePackageChange) Reset()func (*SinglePackageChange) String
func (x *SinglePackageChange) String() stringSourceNumericFilter
type SourceNumericFilter struct {
// Optional. The filter will match columns with scale greater than or equal to
// this number.
SourceMinScaleFilter int32 `protobuf:"varint,1,opt,name=source_min_scale_filter,json=sourceMinScaleFilter,proto3" json:"source_min_scale_filter,omitempty"`
// Optional. The filter will match columns with scale smaller than or equal to
// this number.
SourceMaxScaleFilter int32 `protobuf:"varint,2,opt,name=source_max_scale_filter,json=sourceMaxScaleFilter,proto3" json:"source_max_scale_filter,omitempty"`
// Optional. The filter will match columns with precision greater than or
// equal to this number.
SourceMinPrecisionFilter int32 `protobuf:"varint,3,opt,name=source_min_precision_filter,json=sourceMinPrecisionFilter,proto3" json:"source_min_precision_filter,omitempty"`
// Optional. The filter will match columns with precision smaller than or
// equal to this number.
SourceMaxPrecisionFilter int32 `protobuf:"varint,4,opt,name=source_max_precision_filter,json=sourceMaxPrecisionFilter,proto3" json:"source_max_precision_filter,omitempty"`
// Required. Enum to set the option defining the datatypes numeric filter has
// to be applied to
NumericFilterOption NumericFilterOption `protobuf:"varint,5,opt,name=numeric_filter_option,json=numericFilterOption,proto3,enum=google.cloud.clouddms.v1.NumericFilterOption" json:"numeric_filter_option,omitempty"`
// contains filtered or unexported fields
}Filter for fixed point number data types such as NUMERIC/NUMBER
func (*SourceNumericFilter) Descriptor
func (*SourceNumericFilter) Descriptor() ([]byte, []int)Deprecated: Use SourceNumericFilter.ProtoReflect.Descriptor instead.
func (*SourceNumericFilter) GetNumericFilterOption
func (x *SourceNumericFilter) GetNumericFilterOption() NumericFilterOptionfunc (*SourceNumericFilter) GetSourceMaxPrecisionFilter
func (x *SourceNumericFilter) GetSourceMaxPrecisionFilter() int32func (*SourceNumericFilter) GetSourceMaxScaleFilter
func (x *SourceNumericFilter) GetSourceMaxScaleFilter() int32func (*SourceNumericFilter) GetSourceMinPrecisionFilter
func (x *SourceNumericFilter) GetSourceMinPrecisionFilter() int32func (*SourceNumericFilter) GetSourceMinScaleFilter
func (x *SourceNumericFilter) GetSourceMinScaleFilter() int32func (*SourceNumericFilter) ProtoMessage
func (*SourceNumericFilter) ProtoMessage()func (*SourceNumericFilter) ProtoReflect
func (x *SourceNumericFilter) ProtoReflect() protoreflect.Messagefunc (*SourceNumericFilter) Reset
func (x *SourceNumericFilter) Reset()func (*SourceNumericFilter) String
func (x *SourceNumericFilter) String() stringSourceSqlChange
type SourceSqlChange struct {
// Required. Sql code for source (stored procedure, function, trigger or view)
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// contains filtered or unexported fields
}Options to configure rule type SourceSqlChange. The rule is used to alter the sql code for database entities.
The rule filter field can refer to one entity.
The rule scope can be: StoredProcedure, Function, Trigger, View
func (*SourceSqlChange) Descriptor
func (*SourceSqlChange) Descriptor() ([]byte, []int)Deprecated: Use SourceSqlChange.ProtoReflect.Descriptor instead.
func (*SourceSqlChange) GetSqlCode
func (x *SourceSqlChange) GetSqlCode() stringfunc (*SourceSqlChange) ProtoMessage
func (*SourceSqlChange) ProtoMessage()func (*SourceSqlChange) ProtoReflect
func (x *SourceSqlChange) ProtoReflect() protoreflect.Messagefunc (*SourceSqlChange) Reset
func (x *SourceSqlChange) Reset()func (*SourceSqlChange) String
func (x *SourceSqlChange) String() stringSourceTextFilter
type SourceTextFilter struct {
// Optional. The filter will match columns with length greater than or equal
// to this number.
SourceMinLengthFilter int64 `protobuf:"varint,1,opt,name=source_min_length_filter,json=sourceMinLengthFilter,proto3" json:"source_min_length_filter,omitempty"`
// Optional. The filter will match columns with length smaller than or equal
// to this number.
SourceMaxLengthFilter int64 `protobuf:"varint,2,opt,name=source_max_length_filter,json=sourceMaxLengthFilter,proto3" json:"source_max_length_filter,omitempty"`
// contains filtered or unexported fields
}Filter for text-based data types like varchar.
func (*SourceTextFilter) Descriptor
func (*SourceTextFilter) Descriptor() ([]byte, []int)Deprecated: Use SourceTextFilter.ProtoReflect.Descriptor instead.
func (*SourceTextFilter) GetSourceMaxLengthFilter
func (x *SourceTextFilter) GetSourceMaxLengthFilter() int64func (*SourceTextFilter) GetSourceMinLengthFilter
func (x *SourceTextFilter) GetSourceMinLengthFilter() int64func (*SourceTextFilter) ProtoMessage
func (*SourceTextFilter) ProtoMessage()func (*SourceTextFilter) ProtoReflect
func (x *SourceTextFilter) ProtoReflect() protoreflect.Messagefunc (*SourceTextFilter) Reset
func (x *SourceTextFilter) Reset()func (*SourceTextFilter) String
func (x *SourceTextFilter) String() stringSqlAclEntry
type SqlAclEntry struct {
// The allowlisted value for the access control list.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// The access control entry entry expiration.
//
// Types that are valid to be assigned to Expiration:
//
// *SqlAclEntry_ExpireTime
// *SqlAclEntry_Ttl
Expiration isSqlAclEntry_Expiration `protobuf_oneof:"expiration"`
// A label to identify this entry.
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}An entry for an Access Control list.
func (*SqlAclEntry) Descriptor
func (*SqlAclEntry) Descriptor() ([]byte, []int)Deprecated: Use SqlAclEntry.ProtoReflect.Descriptor instead.
func (*SqlAclEntry) GetExpiration
func (x *SqlAclEntry) GetExpiration() isSqlAclEntry_Expirationfunc (*SqlAclEntry) GetExpireTime
func (x *SqlAclEntry) GetExpireTime() *timestamppb.Timestampfunc (*SqlAclEntry) GetLabel
func (x *SqlAclEntry) GetLabel() stringfunc (*SqlAclEntry) GetTtl
func (x *SqlAclEntry) GetTtl() *durationpb.Durationfunc (*SqlAclEntry) GetValue
func (x *SqlAclEntry) GetValue() stringfunc (*SqlAclEntry) ProtoMessage
func (*SqlAclEntry) ProtoMessage()func (*SqlAclEntry) ProtoReflect
func (x *SqlAclEntry) ProtoReflect() protoreflect.Messagefunc (*SqlAclEntry) Reset
func (x *SqlAclEntry) Reset()func (*SqlAclEntry) String
func (x *SqlAclEntry) String() stringSqlAclEntry_ExpireTime
type SqlAclEntry_ExpireTime struct {
// The time when this access control entry expires in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example:
// `2012-11-15T16:19:00.094Z`.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3,oneof"`
}SqlAclEntry_Ttl
type SqlAclEntry_Ttl struct {
// Input only. The time-to-leave of this access control entry.
Ttl *durationpb.Duration `protobuf:"bytes,11,opt,name=ttl,proto3,oneof"`
}SqlIpConfig
type SqlIpConfig struct {
// Whether the instance should be assigned an IPv4 address or not.
EnableIpv4 *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable_ipv4,json=enableIpv4,proto3" json:"enable_ipv4,omitempty"`
// The resource link for the VPC network from which the Cloud SQL instance is
// accessible for private IP. For example,
// `projects/myProject/global/networks/default`. This setting can
// be updated, but it cannot be removed after it is set.
PrivateNetwork string `protobuf:"bytes,2,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
// Optional. The name of the allocated IP address range for the private IP
// Cloud SQL instance. This name refers to an already allocated IP range
// address. If set, the instance IP address will be created in the allocated
// range. Note that this IP address range can't be modified after the instance
// is created. If you change the VPC when configuring connectivity settings
// for the migration job, this field is not relevant.
AllocatedIpRange string `protobuf:"bytes,5,opt,name=allocated_ip_range,json=allocatedIpRange,proto3" json:"allocated_ip_range,omitempty"`
// Whether SSL connections over IP should be enforced or not.
RequireSsl *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=require_ssl,json=requireSsl,proto3" json:"require_ssl,omitempty"`
// The list of external networks that are allowed to connect to the instance
// using the IP. See
// https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
// 'slash' notation (e.g. `192.168.100.0/24`).
AuthorizedNetworks []*SqlAclEntry `protobuf:"bytes,4,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
// contains filtered or unexported fields
}IP Management configuration.
func (*SqlIpConfig) Descriptor
func (*SqlIpConfig) Descriptor() ([]byte, []int)Deprecated: Use SqlIpConfig.ProtoReflect.Descriptor instead.
func (*SqlIpConfig) GetAllocatedIpRange
func (x *SqlIpConfig) GetAllocatedIpRange() stringfunc (*SqlIpConfig) GetAuthorizedNetworks
func (x *SqlIpConfig) GetAuthorizedNetworks() []*SqlAclEntryfunc (*SqlIpConfig) GetEnableIpv4
func (x *SqlIpConfig) GetEnableIpv4() *wrapperspb.BoolValuefunc (*SqlIpConfig) GetPrivateNetwork
func (x *SqlIpConfig) GetPrivateNetwork() stringfunc (*SqlIpConfig) GetRequireSsl
func (x *SqlIpConfig) GetRequireSsl() *wrapperspb.BoolValuefunc (*SqlIpConfig) ProtoMessage
func (*SqlIpConfig) ProtoMessage()func (*SqlIpConfig) ProtoReflect
func (x *SqlIpConfig) ProtoReflect() protoreflect.Messagefunc (*SqlIpConfig) Reset
func (x *SqlIpConfig) Reset()func (*SqlIpConfig) String
func (x *SqlIpConfig) String() stringSshScript
type SshScript struct {
// The ssh configuration script.
Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
// contains filtered or unexported fields
}Response message for 'GenerateSshScript' request.
func (*SshScript) Descriptor
Deprecated: Use SshScript.ProtoReflect.Descriptor instead.
func (*SshScript) GetScript
func (*SshScript) ProtoMessage
func (*SshScript) ProtoMessage()func (*SshScript) ProtoReflect
func (x *SshScript) ProtoReflect() protoreflect.Messagefunc (*SshScript) Reset
func (x *SshScript) Reset()func (*SshScript) String
SslConfig
type SslConfig struct {
// Output only. The ssl config type according to 'client_key',
// 'client_certificate' and 'ca_certificate'.
Type SslConfig_SslType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.clouddms.v1.SslConfig_SslType" json:"type,omitempty"`
// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key
// associated with the Client Certificate. If this field is used then the
// 'client_certificate' field is mandatory.
ClientKey string `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
// Input only. The x509 PEM-encoded certificate that will be used by the
// replica to authenticate against the source database server.If this field is
// used then the 'client_key' field is mandatory.
ClientCertificate string `protobuf:"bytes,3,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
// Required. Input only. The x509 PEM-encoded certificate of the CA that
// signed the source database server's certificate. The replica will use this
// certificate to verify it's connecting to the right host.
CaCertificate string `protobuf:"bytes,4,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
// contains filtered or unexported fields
}SSL configuration information.
func (*SslConfig) Descriptor
Deprecated: Use SslConfig.ProtoReflect.Descriptor instead.
func (*SslConfig) GetCaCertificate
func (*SslConfig) GetClientCertificate
func (*SslConfig) GetClientKey
func (*SslConfig) GetType
func (x *SslConfig) GetType() SslConfig_SslTypefunc (*SslConfig) ProtoMessage
func (*SslConfig) ProtoMessage()func (*SslConfig) ProtoReflect
func (x *SslConfig) ProtoReflect() protoreflect.Messagefunc (*SslConfig) Reset
func (x *SslConfig) Reset()func (*SslConfig) String
SslConfig_SslType
type SslConfig_SslType int32Specifies The kind of ssl configuration used.
SslConfig_SSL_TYPE_UNSPECIFIED, SslConfig_SERVER_ONLY, SslConfig_SERVER_CLIENT
const (
// Unspecified.
SslConfig_SSL_TYPE_UNSPECIFIED SslConfig_SslType = 0
// Only 'ca_certificate' specified.
SslConfig_SERVER_ONLY SslConfig_SslType = 1
// Both server ('ca_certificate'), and client ('client_key',
// 'client_certificate') specified.
SslConfig_SERVER_CLIENT SslConfig_SslType = 2
)func (SslConfig_SslType) Descriptor
func (SslConfig_SslType) Descriptor() protoreflect.EnumDescriptorfunc (SslConfig_SslType) Enum
func (x SslConfig_SslType) Enum() *SslConfig_SslTypefunc (SslConfig_SslType) EnumDescriptor
func (SslConfig_SslType) EnumDescriptor() ([]byte, []int)Deprecated: Use SslConfig_SslType.Descriptor instead.
func (SslConfig_SslType) Number
func (x SslConfig_SslType) Number() protoreflect.EnumNumberfunc (SslConfig_SslType) String
func (x SslConfig_SslType) String() stringfunc (SslConfig_SslType) Type
func (SslConfig_SslType) Type() protoreflect.EnumTypeStartMigrationJobRequest
type StartMigrationJobRequest struct {
// Name of the migration job resource to start.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Start the migration job without running prior configuration
// verification. Defaults to `false`.
SkipValidation bool `protobuf:"varint,2,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}Request message for 'StartMigrationJob' request.
func (*StartMigrationJobRequest) Descriptor
func (*StartMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use StartMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*StartMigrationJobRequest) GetName
func (x *StartMigrationJobRequest) GetName() stringfunc (*StartMigrationJobRequest) GetSkipValidation
func (x *StartMigrationJobRequest) GetSkipValidation() boolfunc (*StartMigrationJobRequest) ProtoMessage
func (*StartMigrationJobRequest) ProtoMessage()func (*StartMigrationJobRequest) ProtoReflect
func (x *StartMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*StartMigrationJobRequest) Reset
func (x *StartMigrationJobRequest) Reset()func (*StartMigrationJobRequest) String
func (x *StartMigrationJobRequest) String() stringStaticIpConnectivity
type StaticIpConnectivity struct {
// contains filtered or unexported fields
}The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.
func (*StaticIpConnectivity) Descriptor
func (*StaticIpConnectivity) Descriptor() ([]byte, []int)Deprecated: Use StaticIpConnectivity.ProtoReflect.Descriptor instead.
func (*StaticIpConnectivity) ProtoMessage
func (*StaticIpConnectivity) ProtoMessage()func (*StaticIpConnectivity) ProtoReflect
func (x *StaticIpConnectivity) ProtoReflect() protoreflect.Messagefunc (*StaticIpConnectivity) Reset
func (x *StaticIpConnectivity) Reset()func (*StaticIpConnectivity) String
func (x *StaticIpConnectivity) String() stringStaticServiceIpConnectivity
type StaticServiceIpConnectivity struct {
// contains filtered or unexported fields
}Static IP address connectivity configured on service project.
func (*StaticServiceIpConnectivity) Descriptor
func (*StaticServiceIpConnectivity) Descriptor() ([]byte, []int)Deprecated: Use StaticServiceIpConnectivity.ProtoReflect.Descriptor instead.
func (*StaticServiceIpConnectivity) ProtoMessage
func (*StaticServiceIpConnectivity) ProtoMessage()func (*StaticServiceIpConnectivity) ProtoReflect
func (x *StaticServiceIpConnectivity) ProtoReflect() protoreflect.Messagefunc (*StaticServiceIpConnectivity) Reset
func (x *StaticServiceIpConnectivity) Reset()func (*StaticServiceIpConnectivity) String
func (x *StaticServiceIpConnectivity) String() stringStopMigrationJobRequest
type StopMigrationJobRequest struct {
// Name of the migration job resource to stop.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'StopMigrationJob' request.
func (*StopMigrationJobRequest) Descriptor
func (*StopMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use StopMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*StopMigrationJobRequest) GetName
func (x *StopMigrationJobRequest) GetName() stringfunc (*StopMigrationJobRequest) ProtoMessage
func (*StopMigrationJobRequest) ProtoMessage()func (*StopMigrationJobRequest) ProtoReflect
func (x *StopMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*StopMigrationJobRequest) Reset
func (x *StopMigrationJobRequest) Reset()func (*StopMigrationJobRequest) String
func (x *StopMigrationJobRequest) String() stringStoredProcedureEntity
type StoredProcedureEntity struct {
// The SQL code which creates the stored procedure.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Stored procedure's parent is a schema.
func (*StoredProcedureEntity) Descriptor
func (*StoredProcedureEntity) Descriptor() ([]byte, []int)Deprecated: Use StoredProcedureEntity.ProtoReflect.Descriptor instead.
func (*StoredProcedureEntity) GetCustomFeatures
func (x *StoredProcedureEntity) GetCustomFeatures() *structpb.Structfunc (*StoredProcedureEntity) GetSqlCode
func (x *StoredProcedureEntity) GetSqlCode() stringfunc (*StoredProcedureEntity) ProtoMessage
func (*StoredProcedureEntity) ProtoMessage()func (*StoredProcedureEntity) ProtoReflect
func (x *StoredProcedureEntity) ProtoReflect() protoreflect.Messagefunc (*StoredProcedureEntity) Reset
func (x *StoredProcedureEntity) Reset()func (*StoredProcedureEntity) String
func (x *StoredProcedureEntity) String() stringSynonymEntity
type SynonymEntity struct {
// The name of the entity for which the synonym is being created (the source).
SourceEntity string `protobuf:"bytes,1,opt,name=source_entity,json=sourceEntity,proto3" json:"source_entity,omitempty"`
// The type of the entity for which the synonym is being created
// (usually a table or a sequence).
SourceType DatabaseEntityType `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3,enum=google.cloud.clouddms.v1.DatabaseEntityType" json:"source_type,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,3,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Synonym's parent is a schema.
func (*SynonymEntity) Descriptor
func (*SynonymEntity) Descriptor() ([]byte, []int)Deprecated: Use SynonymEntity.ProtoReflect.Descriptor instead.
func (*SynonymEntity) GetCustomFeatures
func (x *SynonymEntity) GetCustomFeatures() *structpb.Structfunc (*SynonymEntity) GetSourceEntity
func (x *SynonymEntity) GetSourceEntity() stringfunc (*SynonymEntity) GetSourceType
func (x *SynonymEntity) GetSourceType() DatabaseEntityTypefunc (*SynonymEntity) ProtoMessage
func (*SynonymEntity) ProtoMessage()func (*SynonymEntity) ProtoReflect
func (x *SynonymEntity) ProtoReflect() protoreflect.Messagefunc (*SynonymEntity) Reset
func (x *SynonymEntity) Reset()func (*SynonymEntity) String
func (x *SynonymEntity) String() stringTableEntity
type TableEntity struct {
// Table columns.
Columns []*ColumnEntity `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// Table constraints.
Constraints []*ConstraintEntity `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"`
// Table indices.
Indices []*IndexEntity `protobuf:"bytes,3,rep,name=indices,proto3" json:"indices,omitempty"`
// Table triggers.
Triggers []*TriggerEntity `protobuf:"bytes,4,rep,name=triggers,proto3" json:"triggers,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// Comment associated with the table.
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}Table's parent is a schema.
func (*TableEntity) Descriptor
func (*TableEntity) Descriptor() ([]byte, []int)Deprecated: Use TableEntity.ProtoReflect.Descriptor instead.
func (*TableEntity) GetColumns
func (x *TableEntity) GetColumns() []*ColumnEntityfunc (*TableEntity) GetComment
func (x *TableEntity) GetComment() stringfunc (*TableEntity) GetConstraints
func (x *TableEntity) GetConstraints() []*ConstraintEntityfunc (*TableEntity) GetCustomFeatures
func (x *TableEntity) GetCustomFeatures() *structpb.Structfunc (*TableEntity) GetIndices
func (x *TableEntity) GetIndices() []*IndexEntityfunc (*TableEntity) GetTriggers
func (x *TableEntity) GetTriggers() []*TriggerEntityfunc (*TableEntity) ProtoMessage
func (*TableEntity) ProtoMessage()func (*TableEntity) ProtoReflect
func (x *TableEntity) ProtoReflect() protoreflect.Messagefunc (*TableEntity) Reset
func (x *TableEntity) Reset()func (*TableEntity) String
func (x *TableEntity) String() stringTcpProxyScript
type TcpProxyScript struct {
// The TCP Proxy configuration script.
Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
// contains filtered or unexported fields
}Response message for 'GenerateTcpProxyScript' request.
func (*TcpProxyScript) Descriptor
func (*TcpProxyScript) Descriptor() ([]byte, []int)Deprecated: Use TcpProxyScript.ProtoReflect.Descriptor instead.
func (*TcpProxyScript) GetScript
func (x *TcpProxyScript) GetScript() stringfunc (*TcpProxyScript) ProtoMessage
func (*TcpProxyScript) ProtoMessage()func (*TcpProxyScript) ProtoReflect
func (x *TcpProxyScript) ProtoReflect() protoreflect.Messagefunc (*TcpProxyScript) Reset
func (x *TcpProxyScript) Reset()func (*TcpProxyScript) String
func (x *TcpProxyScript) String() stringTriggerEntity
type TriggerEntity struct {
// The name of the trigger.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The DML, DDL, or database events that fire the trigger, for example
// INSERT, UPDATE.
TriggeringEvents []string `protobuf:"bytes,2,rep,name=triggering_events,json=triggeringEvents,proto3" json:"triggering_events,omitempty"`
// Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH
// ROW.
TriggerType string `protobuf:"bytes,3,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`
// The SQL code which creates the trigger.
SqlCode string `protobuf:"bytes,4,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
func (*TriggerEntity) Descriptor
func (*TriggerEntity) Descriptor() ([]byte, []int)Deprecated: Use TriggerEntity.ProtoReflect.Descriptor instead.
func (*TriggerEntity) GetCustomFeatures
func (x *TriggerEntity) GetCustomFeatures() *structpb.Structfunc (*TriggerEntity) GetName
func (x *TriggerEntity) GetName() stringfunc (*TriggerEntity) GetSqlCode
func (x *TriggerEntity) GetSqlCode() stringfunc (*TriggerEntity) GetTriggerType
func (x *TriggerEntity) GetTriggerType() stringfunc (*TriggerEntity) GetTriggeringEvents
func (x *TriggerEntity) GetTriggeringEvents() []stringfunc (*TriggerEntity) ProtoMessage
func (*TriggerEntity) ProtoMessage()func (*TriggerEntity) ProtoReflect
func (x *TriggerEntity) ProtoReflect() protoreflect.Messagefunc (*TriggerEntity) Reset
func (x *TriggerEntity) Reset()func (*TriggerEntity) String
func (x *TriggerEntity) String() stringUDTEntity
type UDTEntity struct {
// The SQL code which creates the udt.
UdtSqlCode string `protobuf:"bytes,1,opt,name=udt_sql_code,json=udtSqlCode,proto3" json:"udt_sql_code,omitempty"`
// The SQL code which creates the udt body.
UdtBody string `protobuf:"bytes,2,opt,name=udt_body,json=udtBody,proto3" json:"udt_body,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,3,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}UDT's parent is a schema.
func (*UDTEntity) Descriptor
Deprecated: Use UDTEntity.ProtoReflect.Descriptor instead.
func (*UDTEntity) GetCustomFeatures
func (*UDTEntity) GetUdtBody
func (*UDTEntity) GetUdtSqlCode
func (*UDTEntity) ProtoMessage
func (*UDTEntity) ProtoMessage()func (*UDTEntity) ProtoReflect
func (x *UDTEntity) ProtoReflect() protoreflect.Messagefunc (*UDTEntity) Reset
func (x *UDTEntity) Reset()func (*UDTEntity) String
UnimplementedDataMigrationServiceServer
type UnimplementedDataMigrationServiceServer struct {
}UnimplementedDataMigrationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataMigrationServiceServer) ApplyConversionWorkspace
func (UnimplementedDataMigrationServiceServer) ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) CommitConversionWorkspace
func (UnimplementedDataMigrationServiceServer) CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) ConvertConversionWorkspace
func (UnimplementedDataMigrationServiceServer) ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) CreateConnectionProfile
func (UnimplementedDataMigrationServiceServer) CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) CreateConversionWorkspace
func (UnimplementedDataMigrationServiceServer) CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) CreateMappingRule
func (UnimplementedDataMigrationServiceServer) CreateMappingRule(context.Context, *CreateMappingRuleRequest) (*MappingRule, error)func (UnimplementedDataMigrationServiceServer) CreateMigrationJob
func (UnimplementedDataMigrationServiceServer) CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) CreatePrivateConnection
func (UnimplementedDataMigrationServiceServer) CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) DeleteConnectionProfile
func (UnimplementedDataMigrationServiceServer) DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) DeleteConversionWorkspace
func (UnimplementedDataMigrationServiceServer) DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) DeleteMappingRule
func (UnimplementedDataMigrationServiceServer) DeleteMappingRule(context.Context, *DeleteMappingRuleRequest) (*emptypb.Empty, error)func (UnimplementedDataMigrationServiceServer) DeleteMigrationJob
func (UnimplementedDataMigrationServiceServer) DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) DeletePrivateConnection
func (UnimplementedDataMigrationServiceServer) DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) DescribeConversionWorkspaceRevisions
func (UnimplementedDataMigrationServiceServer) DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error)func (UnimplementedDataMigrationServiceServer) DescribeDatabaseEntities
func (UnimplementedDataMigrationServiceServer) DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error)func (UnimplementedDataMigrationServiceServer) FetchStaticIps
func (UnimplementedDataMigrationServiceServer) FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error)func (UnimplementedDataMigrationServiceServer) GenerateSshScript
func (UnimplementedDataMigrationServiceServer) GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error)func (UnimplementedDataMigrationServiceServer) GenerateTcpProxyScript
func (UnimplementedDataMigrationServiceServer) GenerateTcpProxyScript(context.Context, *GenerateTcpProxyScriptRequest) (*TcpProxyScript, error)func (UnimplementedDataMigrationServiceServer) GetConnectionProfile
func (UnimplementedDataMigrationServiceServer) GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error)func (UnimplementedDataMigrationServiceServer) GetConversionWorkspace
func (UnimplementedDataMigrationServiceServer) GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error)func (UnimplementedDataMigrationServiceServer) GetMappingRule
func (UnimplementedDataMigrationServiceServer) GetMappingRule(context.Context, *GetMappingRuleRequest) (*MappingRule, error)func (UnimplementedDataMigrationServiceServer) GetMigrationJob
func (UnimplementedDataMigrationServiceServer) GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error)func (UnimplementedDataMigrationServiceServer) GetPrivateConnection
func (UnimplementedDataMigrationServiceServer) GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error)func (UnimplementedDataMigrationServiceServer) ImportMappingRules
func (UnimplementedDataMigrationServiceServer) ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) ListConnectionProfiles
func (UnimplementedDataMigrationServiceServer) ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error)func (UnimplementedDataMigrationServiceServer) ListConversionWorkspaces
func (UnimplementedDataMigrationServiceServer) ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error)func (UnimplementedDataMigrationServiceServer) ListMappingRules
func (UnimplementedDataMigrationServiceServer) ListMappingRules(context.Context, *ListMappingRulesRequest) (*ListMappingRulesResponse, error)func (UnimplementedDataMigrationServiceServer) ListMigrationJobs
func (UnimplementedDataMigrationServiceServer) ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error)func (UnimplementedDataMigrationServiceServer) ListPrivateConnections
func (UnimplementedDataMigrationServiceServer) ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error)func (UnimplementedDataMigrationServiceServer) PromoteMigrationJob
func (UnimplementedDataMigrationServiceServer) PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) RestartMigrationJob
func (UnimplementedDataMigrationServiceServer) RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) ResumeMigrationJob
func (UnimplementedDataMigrationServiceServer) ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) RollbackConversionWorkspace
func (UnimplementedDataMigrationServiceServer) RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) SearchBackgroundJobs
func (UnimplementedDataMigrationServiceServer) SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error)func (UnimplementedDataMigrationServiceServer) SeedConversionWorkspace
func (UnimplementedDataMigrationServiceServer) SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) StartMigrationJob
func (UnimplementedDataMigrationServiceServer) StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) StopMigrationJob
func (UnimplementedDataMigrationServiceServer) StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) UpdateConnectionProfile
func (UnimplementedDataMigrationServiceServer) UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) UpdateConversionWorkspace
func (UnimplementedDataMigrationServiceServer) UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) UpdateMigrationJob
func (UnimplementedDataMigrationServiceServer) UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error)func (UnimplementedDataMigrationServiceServer) VerifyMigrationJob
func (UnimplementedDataMigrationServiceServer) VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error)UnsafeDataMigrationServiceServer
type UnsafeDataMigrationServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataMigrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataMigrationServiceServer will result in compilation errors.
UpdateConnectionProfileRequest
type UpdateConnectionProfileRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The connection profile parameters to update.
ConnectionProfile *ConnectionProfile `protobuf:"bytes,2,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the connection profile, but don't update any
// resources. The default is false. Only supported for Oracle connection
// profiles.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Update the connection profile without validating it.
// The default is false.
// Only supported for Oracle connection profiles.
SkipValidation bool `protobuf:"varint,5,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}Request message for 'UpdateConnectionProfile' request.
func (*UpdateConnectionProfileRequest) Descriptor
func (*UpdateConnectionProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionProfileRequest) GetConnectionProfile
func (x *UpdateConnectionProfileRequest) GetConnectionProfile() *ConnectionProfilefunc (*UpdateConnectionProfileRequest) GetRequestId
func (x *UpdateConnectionProfileRequest) GetRequestId() stringfunc (*UpdateConnectionProfileRequest) GetSkipValidation
func (x *UpdateConnectionProfileRequest) GetSkipValidation() boolfunc (*UpdateConnectionProfileRequest) GetUpdateMask
func (x *UpdateConnectionProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateConnectionProfileRequest) GetValidateOnly
func (x *UpdateConnectionProfileRequest) GetValidateOnly() boolfunc (*UpdateConnectionProfileRequest) ProtoMessage
func (*UpdateConnectionProfileRequest) ProtoMessage()func (*UpdateConnectionProfileRequest) ProtoReflect
func (x *UpdateConnectionProfileRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateConnectionProfileRequest) Reset
func (x *UpdateConnectionProfileRequest) Reset()func (*UpdateConnectionProfileRequest) String
func (x *UpdateConnectionProfileRequest) String() stringUpdateConversionWorkspaceRequest
type UpdateConversionWorkspaceRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The conversion workspace parameters to update.
ConversionWorkspace *ConversionWorkspace `protobuf:"bytes,2,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for 'UpdateConversionWorkspace' request.
func (*UpdateConversionWorkspaceRequest) Descriptor
func (*UpdateConversionWorkspaceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversionWorkspaceRequest) GetConversionWorkspace
func (x *UpdateConversionWorkspaceRequest) GetConversionWorkspace() *ConversionWorkspacefunc (*UpdateConversionWorkspaceRequest) GetRequestId
func (x *UpdateConversionWorkspaceRequest) GetRequestId() stringfunc (*UpdateConversionWorkspaceRequest) GetUpdateMask
func (x *UpdateConversionWorkspaceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateConversionWorkspaceRequest) ProtoMessage
func (*UpdateConversionWorkspaceRequest) ProtoMessage()func (*UpdateConversionWorkspaceRequest) ProtoReflect
func (x *UpdateConversionWorkspaceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateConversionWorkspaceRequest) Reset
func (x *UpdateConversionWorkspaceRequest) Reset()func (*UpdateConversionWorkspaceRequest) String
func (x *UpdateConversionWorkspaceRequest) String() stringUpdateMigrationJobRequest
type UpdateMigrationJobRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The migration job parameters to update.
MigrationJob *MigrationJob `protobuf:"bytes,2,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for 'UpdateMigrationJob' request.
func (*UpdateMigrationJobRequest) Descriptor
func (*UpdateMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateMigrationJobRequest) GetMigrationJob
func (x *UpdateMigrationJobRequest) GetMigrationJob() *MigrationJobfunc (*UpdateMigrationJobRequest) GetRequestId
func (x *UpdateMigrationJobRequest) GetRequestId() stringfunc (*UpdateMigrationJobRequest) GetUpdateMask
func (x *UpdateMigrationJobRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateMigrationJobRequest) ProtoMessage
func (*UpdateMigrationJobRequest) ProtoMessage()func (*UpdateMigrationJobRequest) ProtoReflect
func (x *UpdateMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateMigrationJobRequest) Reset
func (x *UpdateMigrationJobRequest) Reset()func (*UpdateMigrationJobRequest) String
func (x *UpdateMigrationJobRequest) String() stringValueComparison
type ValueComparison int32Enum used by IntComparisonFilter and DoubleComparisonFilter to indicate the relation between source value and compare value.
ValueComparison_VALUE_COMPARISON_UNSPECIFIED, ValueComparison_VALUE_COMPARISON_IF_VALUE_SMALLER_THAN, ValueComparison_VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN, ValueComparison_VALUE_COMPARISON_IF_VALUE_LARGER_THAN, ValueComparison_VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN
const (
// Value comparison unspecified.
ValueComparison_VALUE_COMPARISON_UNSPECIFIED ValueComparison = 0
// Value is smaller than the Compare value.
ValueComparison_VALUE_COMPARISON_IF_VALUE_SMALLER_THAN ValueComparison = 1
// Value is smaller or equal than the Compare value.
ValueComparison_VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN ValueComparison = 2
// Value is larger than the Compare value.
ValueComparison_VALUE_COMPARISON_IF_VALUE_LARGER_THAN ValueComparison = 3
// Value is larger or equal than the Compare value.
ValueComparison_VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN ValueComparison = 4
)func (ValueComparison) Descriptor
func (ValueComparison) Descriptor() protoreflect.EnumDescriptorfunc (ValueComparison) Enum
func (x ValueComparison) Enum() *ValueComparisonfunc (ValueComparison) EnumDescriptor
func (ValueComparison) EnumDescriptor() ([]byte, []int)Deprecated: Use ValueComparison.Descriptor instead.
func (ValueComparison) Number
func (x ValueComparison) Number() protoreflect.EnumNumberfunc (ValueComparison) String
func (x ValueComparison) String() stringfunc (ValueComparison) Type
func (ValueComparison) Type() protoreflect.EnumTypeValueListFilter
type ValueListFilter struct {
// Required. Indicates whether the filter matches rows with values that are
// present in the list or those with values not present in it.
ValuePresentList ValuePresentInList `protobuf:"varint,1,opt,name=value_present_list,json=valuePresentList,proto3,enum=google.cloud.clouddms.v1.ValuePresentInList" json:"value_present_list,omitempty"`
// Required. The list to be used to filter by
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
// Required. Whether to ignore case when filtering by values. Defaults to
// false
IgnoreCase bool `protobuf:"varint,3,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"`
// contains filtered or unexported fields
}A list of values to filter by in ConditionalColumnSetValue
func (*ValueListFilter) Descriptor
func (*ValueListFilter) Descriptor() ([]byte, []int)Deprecated: Use ValueListFilter.ProtoReflect.Descriptor instead.
func (*ValueListFilter) GetIgnoreCase
func (x *ValueListFilter) GetIgnoreCase() boolfunc (*ValueListFilter) GetValuePresentList
func (x *ValueListFilter) GetValuePresentList() ValuePresentInListfunc (*ValueListFilter) GetValues
func (x *ValueListFilter) GetValues() []stringfunc (*ValueListFilter) ProtoMessage
func (*ValueListFilter) ProtoMessage()func (*ValueListFilter) ProtoReflect
func (x *ValueListFilter) ProtoReflect() protoreflect.Messagefunc (*ValueListFilter) Reset
func (x *ValueListFilter) Reset()func (*ValueListFilter) String
func (x *ValueListFilter) String() stringValuePresentInList
type ValuePresentInList int32Enum used by ValueListFilter to indicate whether the source value is in the supplied list
ValuePresentInList_VALUE_PRESENT_IN_LIST_UNSPECIFIED, ValuePresentInList_VALUE_PRESENT_IN_LIST_IF_VALUE_LIST, ValuePresentInList_VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST
const (
// Value present in list unspecified
ValuePresentInList_VALUE_PRESENT_IN_LIST_UNSPECIFIED ValuePresentInList = 0
// If the source value is in the supplied list at value_list
ValuePresentInList_VALUE_PRESENT_IN_LIST_IF_VALUE_LIST ValuePresentInList = 1
// If the source value is not in the supplied list at value_list
ValuePresentInList_VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST ValuePresentInList = 2
)func (ValuePresentInList) Descriptor
func (ValuePresentInList) Descriptor() protoreflect.EnumDescriptorfunc (ValuePresentInList) Enum
func (x ValuePresentInList) Enum() *ValuePresentInListfunc (ValuePresentInList) EnumDescriptor
func (ValuePresentInList) EnumDescriptor() ([]byte, []int)Deprecated: Use ValuePresentInList.Descriptor instead.
func (ValuePresentInList) Number
func (x ValuePresentInList) Number() protoreflect.EnumNumberfunc (ValuePresentInList) String
func (x ValuePresentInList) String() stringfunc (ValuePresentInList) Type
func (ValuePresentInList) Type() protoreflect.EnumTypeValueTransformation
type ValueTransformation struct {
// Types that are valid to be assigned to Filter:
//
// *ValueTransformation_IsNull
// *ValueTransformation_ValueList
// *ValueTransformation_IntComparison
// *ValueTransformation_DoubleComparison
Filter isValueTransformation_Filter `protobuf_oneof:"filter"`
// Types that are valid to be assigned to Action:
//
// *ValueTransformation_AssignNull
// *ValueTransformation_AssignSpecificValue
// *ValueTransformation_AssignMinValue
// *ValueTransformation_AssignMaxValue
// *ValueTransformation_RoundScale
// *ValueTransformation_ApplyHash
Action isValueTransformation_Action `protobuf_oneof:"action"`
// contains filtered or unexported fields
}Description of data transformation during migration as part of the ConditionalColumnSetValue.
func (*ValueTransformation) Descriptor
func (*ValueTransformation) Descriptor() ([]byte, []int)Deprecated: Use ValueTransformation.ProtoReflect.Descriptor instead.
func (*ValueTransformation) GetAction
func (x *ValueTransformation) GetAction() isValueTransformation_Actionfunc (*ValueTransformation) GetApplyHash
func (x *ValueTransformation) GetApplyHash() *ApplyHashfunc (*ValueTransformation) GetAssignMaxValue
func (x *ValueTransformation) GetAssignMaxValue() *emptypb.Emptyfunc (*ValueTransformation) GetAssignMinValue
func (x *ValueTransformation) GetAssignMinValue() *emptypb.Emptyfunc (*ValueTransformation) GetAssignNull
func (x *ValueTransformation) GetAssignNull() *emptypb.Emptyfunc (*ValueTransformation) GetAssignSpecificValue
func (x *ValueTransformation) GetAssignSpecificValue() *AssignSpecificValuefunc (*ValueTransformation) GetDoubleComparison
func (x *ValueTransformation) GetDoubleComparison() *DoubleComparisonFilterfunc (*ValueTransformation) GetFilter
func (x *ValueTransformation) GetFilter() isValueTransformation_Filterfunc (*ValueTransformation) GetIntComparison
func (x *ValueTransformation) GetIntComparison() *IntComparisonFilterfunc (*ValueTransformation) GetIsNull
func (x *ValueTransformation) GetIsNull() *emptypb.Emptyfunc (*ValueTransformation) GetRoundScale
func (x *ValueTransformation) GetRoundScale() *RoundToScalefunc (*ValueTransformation) GetValueList
func (x *ValueTransformation) GetValueList() *ValueListFilterfunc (*ValueTransformation) ProtoMessage
func (*ValueTransformation) ProtoMessage()func (*ValueTransformation) ProtoReflect
func (x *ValueTransformation) ProtoReflect() protoreflect.Messagefunc (*ValueTransformation) Reset
func (x *ValueTransformation) Reset()func (*ValueTransformation) String
func (x *ValueTransformation) String() stringValueTransformation_ApplyHash
type ValueTransformation_ApplyHash struct {
// Optional. Applies a hash function on the data
ApplyHash *ApplyHash `protobuf:"bytes,205,opt,name=apply_hash,json=applyHash,proto3,oneof"`
}ValueTransformation_AssignMaxValue
type ValueTransformation_AssignMaxValue struct {
// Optional. Set to max_value - if integer or numeric, will use
// int.maxvalue, etc
AssignMaxValue *emptypb.Empty `protobuf:"bytes,203,opt,name=assign_max_value,json=assignMaxValue,proto3,oneof"`
}ValueTransformation_AssignMinValue
type ValueTransformation_AssignMinValue struct {
// Optional. Set to min_value - if integer or numeric, will use
// int.minvalue, etc
AssignMinValue *emptypb.Empty `protobuf:"bytes,202,opt,name=assign_min_value,json=assignMinValue,proto3,oneof"`
}ValueTransformation_AssignNull
type ValueTransformation_AssignNull struct {
// Optional. Set to null
AssignNull *emptypb.Empty `protobuf:"bytes,200,opt,name=assign_null,json=assignNull,proto3,oneof"`
}ValueTransformation_AssignSpecificValue
type ValueTransformation_AssignSpecificValue struct {
// Optional. Set to a specific value (value is converted to fit the target
// data type)
AssignSpecificValue *AssignSpecificValue `protobuf:"bytes,201,opt,name=assign_specific_value,json=assignSpecificValue,proto3,oneof"`
}ValueTransformation_DoubleComparison
type ValueTransformation_DoubleComparison struct {
// Optional. Filter on relation between source value and compare value of
// type double.
DoubleComparison *DoubleComparisonFilter `protobuf:"bytes,103,opt,name=double_comparison,json=doubleComparison,proto3,oneof"`
}ValueTransformation_IntComparison
type ValueTransformation_IntComparison struct {
// Optional. Filter on relation between source value and compare value of
// type integer.
IntComparison *IntComparisonFilter `protobuf:"bytes,102,opt,name=int_comparison,json=intComparison,proto3,oneof"`
}ValueTransformation_IsNull
type ValueTransformation_IsNull struct {
// Optional. Value is null
IsNull *emptypb.Empty `protobuf:"bytes,100,opt,name=is_null,json=isNull,proto3,oneof"`
}ValueTransformation_RoundScale
type ValueTransformation_RoundScale struct {
// Optional. Allows the data to change scale
RoundScale *RoundToScale `protobuf:"bytes,204,opt,name=round_scale,json=roundScale,proto3,oneof"`
}ValueTransformation_ValueList
type ValueTransformation_ValueList struct {
// Optional. Value is found in the specified list.
ValueList *ValueListFilter `protobuf:"bytes,101,opt,name=value_list,json=valueList,proto3,oneof"`
}VerifyMigrationJobRequest
type VerifyMigrationJobRequest struct {
// Name of the migration job resource to verify.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Field mask is used to specify the changed fields to be verified.
// It will not update the migration job.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The changed migration job parameters to verify.
// It will not update the migration job.
MigrationJob *MigrationJob `protobuf:"bytes,3,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// contains filtered or unexported fields
}Request message for 'VerifyMigrationJob' request.
func (*VerifyMigrationJobRequest) Descriptor
func (*VerifyMigrationJobRequest) Descriptor() ([]byte, []int)Deprecated: Use VerifyMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*VerifyMigrationJobRequest) GetMigrationJob
func (x *VerifyMigrationJobRequest) GetMigrationJob() *MigrationJobfunc (*VerifyMigrationJobRequest) GetName
func (x *VerifyMigrationJobRequest) GetName() stringfunc (*VerifyMigrationJobRequest) GetUpdateMask
func (x *VerifyMigrationJobRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*VerifyMigrationJobRequest) ProtoMessage
func (*VerifyMigrationJobRequest) ProtoMessage()func (*VerifyMigrationJobRequest) ProtoReflect
func (x *VerifyMigrationJobRequest) ProtoReflect() protoreflect.Messagefunc (*VerifyMigrationJobRequest) Reset
func (x *VerifyMigrationJobRequest) Reset()func (*VerifyMigrationJobRequest) String
func (x *VerifyMigrationJobRequest) String() stringViewEntity
type ViewEntity struct {
// The SQL code which creates the view.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// View constraints.
Constraints []*ConstraintEntity `protobuf:"bytes,3,rep,name=constraints,proto3" json:"constraints,omitempty"`
// contains filtered or unexported fields
}View's parent is a schema.
func (*ViewEntity) Descriptor
func (*ViewEntity) Descriptor() ([]byte, []int)Deprecated: Use ViewEntity.ProtoReflect.Descriptor instead.
func (*ViewEntity) GetConstraints
func (x *ViewEntity) GetConstraints() []*ConstraintEntityfunc (*ViewEntity) GetCustomFeatures
func (x *ViewEntity) GetCustomFeatures() *structpb.Structfunc (*ViewEntity) GetSqlCode
func (x *ViewEntity) GetSqlCode() stringfunc (*ViewEntity) ProtoMessage
func (*ViewEntity) ProtoMessage()func (*ViewEntity) ProtoReflect
func (x *ViewEntity) ProtoReflect() protoreflect.Messagefunc (*ViewEntity) Reset
func (x *ViewEntity) Reset()func (*ViewEntity) String
func (x *ViewEntity) String() stringVmCreationConfig
type VmCreationConfig struct {
// Required. VM instance machine type to create.
VmMachineType string `protobuf:"bytes,1,opt,name=vm_machine_type,json=vmMachineType,proto3" json:"vm_machine_type,omitempty"`
// The Google Cloud Platform zone to create the VM in.
VmZone string `protobuf:"bytes,2,opt,name=vm_zone,json=vmZone,proto3" json:"vm_zone,omitempty"`
// The subnet name the vm needs to be created in.
Subnet string `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}VM creation configuration message
func (*VmCreationConfig) Descriptor
func (*VmCreationConfig) Descriptor() ([]byte, []int)Deprecated: Use VmCreationConfig.ProtoReflect.Descriptor instead.
func (*VmCreationConfig) GetSubnet
func (x *VmCreationConfig) GetSubnet() stringfunc (*VmCreationConfig) GetVmMachineType
func (x *VmCreationConfig) GetVmMachineType() stringfunc (*VmCreationConfig) GetVmZone
func (x *VmCreationConfig) GetVmZone() stringfunc (*VmCreationConfig) ProtoMessage
func (*VmCreationConfig) ProtoMessage()func (*VmCreationConfig) ProtoReflect
func (x *VmCreationConfig) ProtoReflect() protoreflect.Messagefunc (*VmCreationConfig) Reset
func (x *VmCreationConfig) Reset()func (*VmCreationConfig) String
func (x *VmCreationConfig) String() stringVmSelectionConfig
type VmSelectionConfig struct {
// Required. The Google Cloud Platform zone the VM is located.
VmZone string `protobuf:"bytes,1,opt,name=vm_zone,json=vmZone,proto3" json:"vm_zone,omitempty"`
// contains filtered or unexported fields
}VM selection configuration message
func (*VmSelectionConfig) Descriptor
func (*VmSelectionConfig) Descriptor() ([]byte, []int)Deprecated: Use VmSelectionConfig.ProtoReflect.Descriptor instead.
func (*VmSelectionConfig) GetVmZone
func (x *VmSelectionConfig) GetVmZone() stringfunc (*VmSelectionConfig) ProtoMessage
func (*VmSelectionConfig) ProtoMessage()func (*VmSelectionConfig) ProtoReflect
func (x *VmSelectionConfig) ProtoReflect() protoreflect.Messagefunc (*VmSelectionConfig) Reset
func (x *VmSelectionConfig) Reset()func (*VmSelectionConfig) String
func (x *VmSelectionConfig) String() stringVpcPeeringConfig
type VpcPeeringConfig struct {
// Required. Fully qualified name of the VPC that Database Migration Service
// will peer to.
VpcName string `protobuf:"bytes,1,opt,name=vpc_name,json=vpcName,proto3" json:"vpc_name,omitempty"`
// Required. A free subnet for peering. (CIDR of /29)
Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}The VPC peering configuration is used to create VPC peering with the consumer's VPC.
func (*VpcPeeringConfig) Descriptor
func (*VpcPeeringConfig) Descriptor() ([]byte, []int)Deprecated: Use VpcPeeringConfig.ProtoReflect.Descriptor instead.
func (*VpcPeeringConfig) GetSubnet
func (x *VpcPeeringConfig) GetSubnet() stringfunc (*VpcPeeringConfig) GetVpcName
func (x *VpcPeeringConfig) GetVpcName() stringfunc (*VpcPeeringConfig) ProtoMessage
func (*VpcPeeringConfig) ProtoMessage()func (*VpcPeeringConfig) ProtoReflect
func (x *VpcPeeringConfig) ProtoReflect() protoreflect.Messagefunc (*VpcPeeringConfig) Reset
func (x *VpcPeeringConfig) Reset()func (*VpcPeeringConfig) String
func (x *VpcPeeringConfig) String() stringVpcPeeringConnectivity
type VpcPeeringConnectivity struct {
// The name of the VPC network to peer with the Cloud SQL private network.
Vpc string `protobuf:"bytes,1,opt,name=vpc,proto3" json:"vpc,omitempty"`
// contains filtered or unexported fields
}The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.
func (*VpcPeeringConnectivity) Descriptor
func (*VpcPeeringConnectivity) Descriptor() ([]byte, []int)Deprecated: Use VpcPeeringConnectivity.ProtoReflect.Descriptor instead.
func (*VpcPeeringConnectivity) GetVpc
func (x *VpcPeeringConnectivity) GetVpc() stringfunc (*VpcPeeringConnectivity) ProtoMessage
func (*VpcPeeringConnectivity) ProtoMessage()func (*VpcPeeringConnectivity) ProtoReflect
func (x *VpcPeeringConnectivity) ProtoReflect() protoreflect.Messagefunc (*VpcPeeringConnectivity) Reset
func (x *VpcPeeringConnectivity) Reset()func (*VpcPeeringConnectivity) String
func (x *VpcPeeringConnectivity) String() string