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.
File_google_cloud_clouddms_v1_clouddms_proto
var File_google_cloud_clouddms_v1_clouddms_proto protoreflect.FileDescriptor
File_google_cloud_clouddms_v1_clouddms_resources_proto
var File_google_cloud_clouddms_v1_clouddms_resources_proto protoreflect.FileDescriptor
File_google_cloud_clouddms_v1_conversionworkspace_resources_proto
var File_google_cloud_clouddms_v1_conversionworkspace_resources_proto protoreflect.FileDescriptor
Functions
func RegisterDataMigrationServiceServer
func RegisterDataMigrationServiceServer(s *grpc.Server, 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() string
func (*AlloyDbConnectionProfile) GetSettings
func (x *AlloyDbConnectionProfile) GetSettings() *AlloyDbSettings
func (*AlloyDbConnectionProfile) ProtoMessage
func (*AlloyDbConnectionProfile) ProtoMessage()
func (*AlloyDbConnectionProfile) ProtoReflect
func (x *AlloyDbConnectionProfile) ProtoReflect() protoreflect.Message
func (*AlloyDbConnectionProfile) Reset
func (x *AlloyDbConnectionProfile) Reset()
func (*AlloyDbConnectionProfile) String
func (x *AlloyDbConnectionProfile) String() string
AlloyDbSettings
type AlloyDbSettings struct {
InitialUser *AlloyDbSettings_UserPassword `protobuf:"bytes,1,opt,name=initial_user,json=initialUser,proto3" json:"initial_user,omitempty"`
VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
PrimaryInstanceSettings *AlloyDbSettings_PrimaryInstanceSettings "" /* 132 byte string literal not displayed */
EncryptionConfig *AlloyDbSettings_EncryptionConfig `protobuf:"bytes,5,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
}
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_EncryptionConfig
func (*AlloyDbSettings) GetInitialUser
func (x *AlloyDbSettings) GetInitialUser() *AlloyDbSettings_UserPassword
func (*AlloyDbSettings) GetLabels
func (x *AlloyDbSettings) GetLabels() map[string]string
func (*AlloyDbSettings) GetPrimaryInstanceSettings
func (x *AlloyDbSettings) GetPrimaryInstanceSettings() *AlloyDbSettings_PrimaryInstanceSettings
func (*AlloyDbSettings) GetVpcNetwork
func (x *AlloyDbSettings) GetVpcNetwork() string
func (*AlloyDbSettings) ProtoMessage
func (*AlloyDbSettings) ProtoMessage()
func (*AlloyDbSettings) ProtoReflect
func (x *AlloyDbSettings) ProtoReflect() protoreflect.Message
func (*AlloyDbSettings) Reset
func (x *AlloyDbSettings) Reset()
func (*AlloyDbSettings) String
func (x *AlloyDbSettings) String() string
AlloyDbSettings_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() string
func (*AlloyDbSettings_EncryptionConfig) ProtoMessage
func (*AlloyDbSettings_EncryptionConfig) ProtoMessage()
func (*AlloyDbSettings_EncryptionConfig) ProtoReflect
func (x *AlloyDbSettings_EncryptionConfig) ProtoReflect() protoreflect.Message
func (*AlloyDbSettings_EncryptionConfig) Reset
func (x *AlloyDbSettings_EncryptionConfig) Reset()
func (*AlloyDbSettings_EncryptionConfig) String
func (x *AlloyDbSettings_EncryptionConfig) String() string
AlloyDbSettings_PrimaryInstanceSettings
type AlloyDbSettings_PrimaryInstanceSettings struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MachineConfig *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig `protobuf:"bytes,2,opt,name=machine_config,json=machineConfig,proto3" json:"machine_config,omitempty"`
DatabaseFlags map[string]string "" /* 188 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
PrivateIp string `protobuf:"bytes,8,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
}
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]string
func (*AlloyDbSettings_PrimaryInstanceSettings) GetId
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetId() string
func (*AlloyDbSettings_PrimaryInstanceSettings) GetLabels
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetLabels() map[string]string
func (*AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig() *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig
func (*AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp
func (x *AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp() string
func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage
func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage()
func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect
func (x *AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect() protoreflect.Message
func (*AlloyDbSettings_PrimaryInstanceSettings) Reset
func (x *AlloyDbSettings_PrimaryInstanceSettings) Reset()
func (*AlloyDbSettings_PrimaryInstanceSettings) String
func (x *AlloyDbSettings_PrimaryInstanceSettings) String() string
AlloyDbSettings_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() int32
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage()
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect() protoreflect.Message
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset()
func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String
func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String() string
AlloyDbSettings_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() string
func (*AlloyDbSettings_UserPassword) GetPasswordSet
func (x *AlloyDbSettings_UserPassword) GetPasswordSet() bool
func (*AlloyDbSettings_UserPassword) GetUser
func (x *AlloyDbSettings_UserPassword) GetUser() string
func (*AlloyDbSettings_UserPassword) ProtoMessage
func (*AlloyDbSettings_UserPassword) ProtoMessage()
func (*AlloyDbSettings_UserPassword) ProtoReflect
func (x *AlloyDbSettings_UserPassword) ProtoReflect() protoreflect.Message
func (*AlloyDbSettings_UserPassword) Reset
func (x *AlloyDbSettings_UserPassword) Reset()
func (*AlloyDbSettings_UserPassword) String
func (x *AlloyDbSettings_UserPassword) String() string
ApplyConversionWorkspaceRequest
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 assignable 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() bool
func (*ApplyConversionWorkspaceRequest) GetConnectionProfile
func (x *ApplyConversionWorkspaceRequest) GetConnectionProfile() string
func (*ApplyConversionWorkspaceRequest) GetDestination
func (m *ApplyConversionWorkspaceRequest) GetDestination() isApplyConversionWorkspaceRequest_Destination
func (*ApplyConversionWorkspaceRequest) GetDryRun
func (x *ApplyConversionWorkspaceRequest) GetDryRun() bool
func (*ApplyConversionWorkspaceRequest) GetFilter
func (x *ApplyConversionWorkspaceRequest) GetFilter() string
func (*ApplyConversionWorkspaceRequest) GetName
func (x *ApplyConversionWorkspaceRequest) GetName() string
func (*ApplyConversionWorkspaceRequest) ProtoMessage
func (*ApplyConversionWorkspaceRequest) ProtoMessage()
func (*ApplyConversionWorkspaceRequest) ProtoReflect
func (x *ApplyConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*ApplyConversionWorkspaceRequest) Reset
func (x *ApplyConversionWorkspaceRequest) Reset()
func (*ApplyConversionWorkspaceRequest) String
func (x *ApplyConversionWorkspaceRequest) String() string
ApplyConversionWorkspaceRequest_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 assignable 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 (m *ApplyHash) GetHashFunction() isApplyHash_HashFunction
func (*ApplyHash) GetUuidFromBytes
func (*ApplyHash) ProtoMessage
func (*ApplyHash) ProtoMessage()
func (*ApplyHash) ProtoReflect
func (x *ApplyHash) ProtoReflect() protoreflect.Message
func (*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() string
func (*AssignSpecificValue) ProtoMessage
func (*AssignSpecificValue) ProtoMessage()
func (*AssignSpecificValue) ProtoReflect
func (x *AssignSpecificValue) ProtoReflect() protoreflect.Message
func (*AssignSpecificValue) Reset
func (x *AssignSpecificValue) Reset()
func (*AssignSpecificValue) String
func (x *AssignSpecificValue) String() string
BackgroundJobLogEntry
type BackgroundJobLogEntry struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
JobType BackgroundJobType "" /* 131 byte string literal not displayed */
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
FinishTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
CompletionState BackgroundJobLogEntry_JobCompletionState "" /* 178 byte string literal not displayed */
CompletionComment string `protobuf:"bytes,6,opt,name=completion_comment,json=completionComment,proto3" json:"completion_comment,omitempty"`
RequestAutocommit bool `protobuf:"varint,7,opt,name=request_autocommit,json=requestAutocommit,proto3" json:"request_autocommit,omitempty"`
JobDetails isBackgroundJobLogEntry_JobDetails `protobuf_oneof:"job_details"`
}
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_ApplyJobDetails
func (*BackgroundJobLogEntry) GetCompletionComment
func (x *BackgroundJobLogEntry) GetCompletionComment() string
func (*BackgroundJobLogEntry) GetCompletionState
func (x *BackgroundJobLogEntry) GetCompletionState() BackgroundJobLogEntry_JobCompletionState
func (*BackgroundJobLogEntry) GetConvertJobDetails
func (x *BackgroundJobLogEntry) GetConvertJobDetails() *BackgroundJobLogEntry_ConvertJobDetails
func (*BackgroundJobLogEntry) GetFinishTime
func (x *BackgroundJobLogEntry) GetFinishTime() *timestamppb.Timestamp
func (*BackgroundJobLogEntry) GetId
func (x *BackgroundJobLogEntry) GetId() string
func (*BackgroundJobLogEntry) GetImportRulesJobDetails
func (x *BackgroundJobLogEntry) GetImportRulesJobDetails() *BackgroundJobLogEntry_ImportRulesJobDetails
func (*BackgroundJobLogEntry) GetJobDetails
func (m *BackgroundJobLogEntry) GetJobDetails() isBackgroundJobLogEntry_JobDetails
func (*BackgroundJobLogEntry) GetJobType
func (x *BackgroundJobLogEntry) GetJobType() BackgroundJobType
func (*BackgroundJobLogEntry) GetRequestAutocommit
func (x *BackgroundJobLogEntry) GetRequestAutocommit() bool
func (*BackgroundJobLogEntry) GetSeedJobDetails
func (x *BackgroundJobLogEntry) GetSeedJobDetails() *BackgroundJobLogEntry_SeedJobDetails
func (*BackgroundJobLogEntry) GetStartTime
func (x *BackgroundJobLogEntry) GetStartTime() *timestamppb.Timestamp
func (*BackgroundJobLogEntry) ProtoMessage
func (*BackgroundJobLogEntry) ProtoMessage()
func (*BackgroundJobLogEntry) ProtoReflect
func (x *BackgroundJobLogEntry) ProtoReflect() protoreflect.Message
func (*BackgroundJobLogEntry) Reset
func (x *BackgroundJobLogEntry) Reset()
func (*BackgroundJobLogEntry) String
func (x *BackgroundJobLogEntry) String() string
BackgroundJobLogEntry_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() string
func (*BackgroundJobLogEntry_ApplyJobDetails) GetFilter
func (x *BackgroundJobLogEntry_ApplyJobDetails) GetFilter() string
func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage()
func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ApplyJobDetails) ProtoReflect() protoreflect.Message
func (*BackgroundJobLogEntry_ApplyJobDetails) Reset
func (x *BackgroundJobLogEntry_ApplyJobDetails) Reset()
func (*BackgroundJobLogEntry_ApplyJobDetails) String
func (x *BackgroundJobLogEntry_ApplyJobDetails) String() string
BackgroundJobLogEntry_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() string
func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoMessage()
func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ConvertJobDetails) ProtoReflect() protoreflect.Message
func (*BackgroundJobLogEntry_ConvertJobDetails) Reset
func (x *BackgroundJobLogEntry_ConvertJobDetails) Reset()
func (*BackgroundJobLogEntry_ConvertJobDetails) String
func (x *BackgroundJobLogEntry_ConvertJobDetails) String() string
BackgroundJobLogEntry_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 {
Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
FileFormat ImportRulesFileFormat "" /* 144 byte string literal not displayed */
}
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() ImportRulesFileFormat
func (*BackgroundJobLogEntry_ImportRulesJobDetails) GetFiles
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) GetFiles() []string
func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoMessage()
func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) ProtoReflect() protoreflect.Message
func (*BackgroundJobLogEntry_ImportRulesJobDetails) Reset
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) Reset()
func (*BackgroundJobLogEntry_ImportRulesJobDetails) String
func (x *BackgroundJobLogEntry_ImportRulesJobDetails) String() string
BackgroundJobLogEntry_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 int32
Final 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.EnumDescriptor
func (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.EnumNumber
func (BackgroundJobLogEntry_JobCompletionState) String
func (x BackgroundJobLogEntry_JobCompletionState) String() string
func (BackgroundJobLogEntry_JobCompletionState) Type
func (BackgroundJobLogEntry_JobCompletionState) Type() protoreflect.EnumType
BackgroundJobLogEntry_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() string
func (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage
func (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage()
func (*BackgroundJobLogEntry_SeedJobDetails) ProtoReflect
func (x *BackgroundJobLogEntry_SeedJobDetails) ProtoReflect() protoreflect.Message
func (*BackgroundJobLogEntry_SeedJobDetails) Reset
func (x *BackgroundJobLogEntry_SeedJobDetails) Reset()
func (*BackgroundJobLogEntry_SeedJobDetails) String
func (x *BackgroundJobLogEntry_SeedJobDetails) String() string
BackgroundJobLogEntry_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 int32
The 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.EnumDescriptor
func (BackgroundJobType) Enum
func (x BackgroundJobType) Enum() *BackgroundJobType
func (BackgroundJobType) EnumDescriptor
func (BackgroundJobType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackgroundJobType.Descriptor instead.
func (BackgroundJobType) Number
func (x BackgroundJobType) Number() protoreflect.EnumNumber
func (BackgroundJobType) String
func (x BackgroundJobType) String() string
func (BackgroundJobType) Type
func (BackgroundJobType) Type() protoreflect.EnumType
CloudSqlConnectionProfile
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() string
func (*CloudSqlConnectionProfile) GetCloudSqlId
func (x *CloudSqlConnectionProfile) GetCloudSqlId() string
func (*CloudSqlConnectionProfile) GetPrivateIp
func (x *CloudSqlConnectionProfile) GetPrivateIp() string
func (*CloudSqlConnectionProfile) GetPublicIp
func (x *CloudSqlConnectionProfile) GetPublicIp() string
func (*CloudSqlConnectionProfile) GetSettings
func (x *CloudSqlConnectionProfile) GetSettings() *CloudSqlSettings
func (*CloudSqlConnectionProfile) ProtoMessage
func (*CloudSqlConnectionProfile) ProtoMessage()
func (*CloudSqlConnectionProfile) ProtoReflect
func (x *CloudSqlConnectionProfile) ProtoReflect() protoreflect.Message
func (*CloudSqlConnectionProfile) Reset
func (x *CloudSqlConnectionProfile) Reset()
func (*CloudSqlConnectionProfile) String
func (x *CloudSqlConnectionProfile) String() string
CloudSqlSettings
type CloudSqlSettings struct {
DatabaseVersion CloudSqlSettings_SqlDatabaseVersion "" /* 173 byte string literal not displayed */
UserLabels map[string]string "" /* 179 byte string literal not displayed */
Tier string `protobuf:"bytes,3,opt,name=tier,proto3" json:"tier,omitempty"`
StorageAutoResizeLimit *wrapperspb.Int64Value "" /* 131 byte string literal not displayed */
ActivationPolicy CloudSqlSettings_SqlActivationPolicy "" /* 177 byte string literal not displayed */
IpConfig *SqlIpConfig `protobuf:"bytes,6,opt,name=ip_config,json=ipConfig,proto3" json:"ip_config,omitempty"`
AutoStorageIncrease *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=auto_storage_increase,json=autoStorageIncrease,proto3" json:"auto_storage_increase,omitempty"`
DatabaseFlags map[string]string "" /* 188 byte string literal not displayed */
DataDiskType CloudSqlSettings_SqlDataDiskType "" /* 163 byte string literal not displayed */
DataDiskSizeGb *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"`
Zone string `protobuf:"bytes,11,opt,name=zone,proto3" json:"zone,omitempty"`
SecondaryZone string `protobuf:"bytes,18,opt,name=secondary_zone,json=secondaryZone,proto3" json:"secondary_zone,omitempty"`
SourceId string `protobuf:"bytes,12,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
RootPassword string `protobuf:"bytes,13,opt,name=root_password,json=rootPassword,proto3" json:"root_password,omitempty"`
RootPasswordSet bool `protobuf:"varint,14,opt,name=root_password_set,json=rootPasswordSet,proto3" json:"root_password_set,omitempty"`
Collation string `protobuf:"bytes,15,opt,name=collation,proto3" json:"collation,omitempty"`
CmekKeyName string `protobuf:"bytes,16,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
AvailabilityType CloudSqlSettings_SqlAvailabilityType "" /* 178 byte string literal not displayed */
Edition CloudSqlSettings_Edition `protobuf:"varint,19,opt,name=edition,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_Edition" json:"edition,omitempty"`
}
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_SqlActivationPolicy
func (*CloudSqlSettings) GetAutoStorageIncrease
func (x *CloudSqlSettings) GetAutoStorageIncrease() *wrapperspb.BoolValue
func (*CloudSqlSettings) GetAvailabilityType
func (x *CloudSqlSettings) GetAvailabilityType() CloudSqlSettings_SqlAvailabilityType
func (*CloudSqlSettings) GetCmekKeyName
func (x *CloudSqlSettings) GetCmekKeyName() string
func (*CloudSqlSettings) GetCollation
func (x *CloudSqlSettings) GetCollation() string
func (*CloudSqlSettings) GetDataDiskSizeGb
func (x *CloudSqlSettings) GetDataDiskSizeGb() *wrapperspb.Int64Value
func (*CloudSqlSettings) GetDataDiskType
func (x *CloudSqlSettings) GetDataDiskType() CloudSqlSettings_SqlDataDiskType
func (*CloudSqlSettings) GetDatabaseFlags
func (x *CloudSqlSettings) GetDatabaseFlags() map[string]string
func (*CloudSqlSettings) GetDatabaseVersion
func (x *CloudSqlSettings) GetDatabaseVersion() CloudSqlSettings_SqlDatabaseVersion
func (*CloudSqlSettings) GetEdition
func (x *CloudSqlSettings) GetEdition() CloudSqlSettings_Edition
func (*CloudSqlSettings) GetIpConfig
func (x *CloudSqlSettings) GetIpConfig() *SqlIpConfig
func (*CloudSqlSettings) GetRootPassword
func (x *CloudSqlSettings) GetRootPassword() string
func (*CloudSqlSettings) GetRootPasswordSet
func (x *CloudSqlSettings) GetRootPasswordSet() bool
func (*CloudSqlSettings) GetSecondaryZone
func (x *CloudSqlSettings) GetSecondaryZone() string
func (*CloudSqlSettings) GetSourceId
func (x *CloudSqlSettings) GetSourceId() string
func (*CloudSqlSettings) GetStorageAutoResizeLimit
func (x *CloudSqlSettings) GetStorageAutoResizeLimit() *wrapperspb.Int64Value
func (*CloudSqlSettings) GetTier
func (x *CloudSqlSettings) GetTier() string
func (*CloudSqlSettings) GetUserLabels
func (x *CloudSqlSettings) GetUserLabels() map[string]string
func (*CloudSqlSettings) GetZone
func (x *CloudSqlSettings) GetZone() string
func (*CloudSqlSettings) ProtoMessage
func (*CloudSqlSettings) ProtoMessage()
func (*CloudSqlSettings) ProtoReflect
func (x *CloudSqlSettings) ProtoReflect() protoreflect.Message
func (*CloudSqlSettings) Reset
func (x *CloudSqlSettings) Reset()
func (*CloudSqlSettings) String
func (x *CloudSqlSettings) String() string
CloudSqlSettings_Edition
type CloudSqlSettings_Edition int32
The 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.EnumDescriptor
func (CloudSqlSettings_Edition) Enum
func (x CloudSqlSettings_Edition) Enum() *CloudSqlSettings_Edition
func (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.EnumNumber
func (CloudSqlSettings_Edition) String
func (x CloudSqlSettings_Edition) String() string
func (CloudSqlSettings_Edition) Type
func (CloudSqlSettings_Edition) Type() protoreflect.EnumType
CloudSqlSettings_SqlActivationPolicy
type CloudSqlSettings_SqlActivationPolicy int32
Specifies 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.EnumDescriptor
func (CloudSqlSettings_SqlActivationPolicy) Enum
func (x CloudSqlSettings_SqlActivationPolicy) Enum() *CloudSqlSettings_SqlActivationPolicy
func (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.EnumNumber
func (CloudSqlSettings_SqlActivationPolicy) String
func (x CloudSqlSettings_SqlActivationPolicy) String() string
func (CloudSqlSettings_SqlActivationPolicy) Type
func (CloudSqlSettings_SqlActivationPolicy) Type() protoreflect.EnumType
CloudSqlSettings_SqlAvailabilityType
type CloudSqlSettings_SqlAvailabilityType int32
The 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.EnumDescriptor
func (CloudSqlSettings_SqlAvailabilityType) Enum
func (x CloudSqlSettings_SqlAvailabilityType) Enum() *CloudSqlSettings_SqlAvailabilityType
func (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.EnumNumber
func (CloudSqlSettings_SqlAvailabilityType) String
func (x CloudSqlSettings_SqlAvailabilityType) String() string
func (CloudSqlSettings_SqlAvailabilityType) Type
func (CloudSqlSettings_SqlAvailabilityType) Type() protoreflect.EnumType
CloudSqlSettings_SqlDataDiskType
type CloudSqlSettings_SqlDataDiskType int32
The 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.EnumDescriptor
func (CloudSqlSettings_SqlDataDiskType) Enum
func (x CloudSqlSettings_SqlDataDiskType) Enum() *CloudSqlSettings_SqlDataDiskType
func (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.EnumNumber
func (CloudSqlSettings_SqlDataDiskType) String
func (x CloudSqlSettings_SqlDataDiskType) String() string
func (CloudSqlSettings_SqlDataDiskType) Type
func (CloudSqlSettings_SqlDataDiskType) Type() protoreflect.EnumType
CloudSqlSettings_SqlDatabaseVersion
type CloudSqlSettings_SqlDatabaseVersion int32
The 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.EnumDescriptor
func (CloudSqlSettings_SqlDatabaseVersion) Enum
func (x CloudSqlSettings_SqlDatabaseVersion) Enum() *CloudSqlSettings_SqlDatabaseVersion
func (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.EnumNumber
func (CloudSqlSettings_SqlDatabaseVersion) String
func (x CloudSqlSettings_SqlDatabaseVersion) String() string
func (CloudSqlSettings_SqlDatabaseVersion) Type
func (CloudSqlSettings_SqlDatabaseVersion) Type() protoreflect.EnumType
ColumnEntity
type ColumnEntity struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
Charset string `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"`
Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`
Length int64 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
Precision int32 `protobuf:"varint,6,opt,name=precision,proto3" json:"precision,omitempty"`
Scale int32 `protobuf:"varint,7,opt,name=scale,proto3" json:"scale,omitempty"`
FractionalSecondsPrecision int32 "" /* 142 byte string literal not displayed */
Array bool `protobuf:"varint,9,opt,name=array,proto3" json:"array,omitempty"`
ArrayLength int32 `protobuf:"varint,10,opt,name=array_length,json=arrayLength,proto3" json:"array_length,omitempty"`
Nullable bool `protobuf:"varint,11,opt,name=nullable,proto3" json:"nullable,omitempty"`
AutoGenerated bool `protobuf:"varint,12,opt,name=auto_generated,json=autoGenerated,proto3" json:"auto_generated,omitempty"`
Udt bool `protobuf:"varint,13,opt,name=udt,proto3" json:"udt,omitempty"`
CustomFeatures *structpb.Struct `protobuf:"bytes,14,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
SetValues []string `protobuf:"bytes,15,rep,name=set_values,json=setValues,proto3" json:"set_values,omitempty"`
Comment string `protobuf:"bytes,16,opt,name=comment,proto3" json:"comment,omitempty"`
OrdinalPosition int32 `protobuf:"varint,17,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"`
DefaultValue string `protobuf:"bytes,18,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
}
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() bool
func (*ColumnEntity) GetArrayLength
func (x *ColumnEntity) GetArrayLength() int32
func (*ColumnEntity) GetAutoGenerated
func (x *ColumnEntity) GetAutoGenerated() bool
func (*ColumnEntity) GetCharset
func (x *ColumnEntity) GetCharset() string
func (*ColumnEntity) GetCollation
func (x *ColumnEntity) GetCollation() string
func (*ColumnEntity) GetComment
func (x *ColumnEntity) GetComment() string
func (*ColumnEntity) GetCustomFeatures
func (x *ColumnEntity) GetCustomFeatures() *structpb.Struct
func (*ColumnEntity) GetDataType
func (x *ColumnEntity) GetDataType() string
func (*ColumnEntity) GetDefaultValue
func (x *ColumnEntity) GetDefaultValue() string
func (*ColumnEntity) GetFractionalSecondsPrecision
func (x *ColumnEntity) GetFractionalSecondsPrecision() int32
func (*ColumnEntity) GetLength
func (x *ColumnEntity) GetLength() int64
func (*ColumnEntity) GetName
func (x *ColumnEntity) GetName() string
func (*ColumnEntity) GetNullable
func (x *ColumnEntity) GetNullable() bool
func (*ColumnEntity) GetOrdinalPosition
func (x *ColumnEntity) GetOrdinalPosition() int32
func (*ColumnEntity) GetPrecision
func (x *ColumnEntity) GetPrecision() int32
func (*ColumnEntity) GetScale
func (x *ColumnEntity) GetScale() int32
func (*ColumnEntity) GetSetValues
func (x *ColumnEntity) GetSetValues() []string
func (*ColumnEntity) GetUdt
func (x *ColumnEntity) GetUdt() bool
func (*ColumnEntity) ProtoMessage
func (*ColumnEntity) ProtoMessage()
func (*ColumnEntity) ProtoReflect
func (x *ColumnEntity) ProtoReflect() protoreflect.Message
func (*ColumnEntity) Reset
func (x *ColumnEntity) Reset()
func (*ColumnEntity) String
func (x *ColumnEntity) String() string
CommitConversionWorkspaceRequest
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() string
func (*CommitConversionWorkspaceRequest) GetName
func (x *CommitConversionWorkspaceRequest) GetName() string
func (*CommitConversionWorkspaceRequest) ProtoMessage
func (*CommitConversionWorkspaceRequest) ProtoMessage()
func (*CommitConversionWorkspaceRequest) ProtoReflect
func (x *CommitConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*CommitConversionWorkspaceRequest) Reset
func (x *CommitConversionWorkspaceRequest) Reset()
func (*CommitConversionWorkspaceRequest) String
func (x *CommitConversionWorkspaceRequest) String() string
ConditionalColumnSetValue
type ConditionalColumnSetValue struct {
// Types that are assignable 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.Struct
func (*ConditionalColumnSetValue) GetSourceFilter
func (m *ConditionalColumnSetValue) GetSourceFilter() isConditionalColumnSetValue_SourceFilter
func (*ConditionalColumnSetValue) GetSourceNumericFilter
func (x *ConditionalColumnSetValue) GetSourceNumericFilter() *SourceNumericFilter
func (*ConditionalColumnSetValue) GetSourceTextFilter
func (x *ConditionalColumnSetValue) GetSourceTextFilter() *SourceTextFilter
func (*ConditionalColumnSetValue) GetValueTransformation
func (x *ConditionalColumnSetValue) GetValueTransformation() *ValueTransformation
func (*ConditionalColumnSetValue) ProtoMessage
func (*ConditionalColumnSetValue) ProtoMessage()
func (*ConditionalColumnSetValue) ProtoReflect
func (x *ConditionalColumnSetValue) ProtoReflect() protoreflect.Message
func (*ConditionalColumnSetValue) Reset
func (x *ConditionalColumnSetValue) Reset()
func (*ConditionalColumnSetValue) String
func (x *ConditionalColumnSetValue) String() string
ConditionalColumnSetValue_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 {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
State ConnectionProfile_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.clouddms.v1.ConnectionProfile_State" json:"state,omitempty"`
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
ConnectionProfile isConnectionProfile_ConnectionProfile `protobuf_oneof:"connection_profile"`
Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
Provider DatabaseProvider `protobuf:"varint,8,opt,name=provider,proto3,enum=google.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"`
}
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() *AlloyDbConnectionProfile
func (*ConnectionProfile) GetCloudsql
func (x *ConnectionProfile) GetCloudsql() *CloudSqlConnectionProfile
func (*ConnectionProfile) GetConnectionProfile
func (m *ConnectionProfile) GetConnectionProfile() isConnectionProfile_ConnectionProfile
func (*ConnectionProfile) GetCreateTime
func (x *ConnectionProfile) GetCreateTime() *timestamppb.Timestamp
func (*ConnectionProfile) GetDisplayName
func (x *ConnectionProfile) GetDisplayName() string
func (*ConnectionProfile) GetError
func (x *ConnectionProfile) GetError() *status.Status
func (*ConnectionProfile) GetLabels
func (x *ConnectionProfile) GetLabels() map[string]string
func (*ConnectionProfile) GetMysql
func (x *ConnectionProfile) GetMysql() *MySqlConnectionProfile
func (*ConnectionProfile) GetName
func (x *ConnectionProfile) GetName() string
func (*ConnectionProfile) GetOracle
func (x *ConnectionProfile) GetOracle() *OracleConnectionProfile
func (*ConnectionProfile) GetPostgresql
func (x *ConnectionProfile) GetPostgresql() *PostgreSqlConnectionProfile
func (*ConnectionProfile) GetProvider
func (x *ConnectionProfile) GetProvider() DatabaseProvider
func (*ConnectionProfile) GetState
func (x *ConnectionProfile) GetState() ConnectionProfile_State
func (*ConnectionProfile) GetUpdateTime
func (x *ConnectionProfile) GetUpdateTime() *timestamppb.Timestamp
func (*ConnectionProfile) ProtoMessage
func (*ConnectionProfile) ProtoMessage()
func (*ConnectionProfile) ProtoReflect
func (x *ConnectionProfile) ProtoReflect() protoreflect.Message
func (*ConnectionProfile) Reset
func (x *ConnectionProfile) Reset()
func (*ConnectionProfile) String
func (x *ConnectionProfile) String() string
ConnectionProfile_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 int32
The 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.EnumDescriptor
func (ConnectionProfile_State) Enum
func (x ConnectionProfile_State) Enum() *ConnectionProfile_State
func (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.EnumNumber
func (ConnectionProfile_State) String
func (x ConnectionProfile_State) String() string
func (ConnectionProfile_State) Type
func (ConnectionProfile_State) Type() protoreflect.EnumType
ConstraintEntity
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.Struct
func (*ConstraintEntity) GetName
func (x *ConstraintEntity) GetName() string
func (*ConstraintEntity) GetReferenceColumns
func (x *ConstraintEntity) GetReferenceColumns() []string
func (*ConstraintEntity) GetReferenceTable
func (x *ConstraintEntity) GetReferenceTable() string
func (*ConstraintEntity) GetTableColumns
func (x *ConstraintEntity) GetTableColumns() []string
func (*ConstraintEntity) GetTableName
func (x *ConstraintEntity) GetTableName() string
func (*ConstraintEntity) GetType
func (x *ConstraintEntity) GetType() string
func (*ConstraintEntity) ProtoMessage
func (*ConstraintEntity) ProtoMessage()
func (*ConstraintEntity) ProtoReflect
func (x *ConstraintEntity) ProtoReflect() protoreflect.Message
func (*ConstraintEntity) Reset
func (x *ConstraintEntity) Reset()
func (*ConstraintEntity) String
func (x *ConstraintEntity) String() string
ConversionWorkspace
type ConversionWorkspace struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Source *DatabaseEngineInfo `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
Destination *DatabaseEngineInfo `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
GlobalSettings map[string]string "" /* 191 byte string literal not displayed */
HasUncommittedChanges bool "" /* 127 byte string literal not displayed */
LatestCommitId string `protobuf:"bytes,6,opt,name=latest_commit_id,json=latestCommitId,proto3" json:"latest_commit_id,omitempty"`
LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}
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.Timestamp
func (*ConversionWorkspace) GetDestination
func (x *ConversionWorkspace) GetDestination() *DatabaseEngineInfo
func (*ConversionWorkspace) GetDisplayName
func (x *ConversionWorkspace) GetDisplayName() string
func (*ConversionWorkspace) GetGlobalSettings
func (x *ConversionWorkspace) GetGlobalSettings() map[string]string
func (*ConversionWorkspace) GetHasUncommittedChanges
func (x *ConversionWorkspace) GetHasUncommittedChanges() bool
func (*ConversionWorkspace) GetLatestCommitId
func (x *ConversionWorkspace) GetLatestCommitId() string
func (*ConversionWorkspace) GetLatestCommitTime
func (x *ConversionWorkspace) GetLatestCommitTime() *timestamppb.Timestamp
func (*ConversionWorkspace) GetName
func (x *ConversionWorkspace) GetName() string
func (*ConversionWorkspace) GetSource
func (x *ConversionWorkspace) GetSource() *DatabaseEngineInfo
func (*ConversionWorkspace) GetUpdateTime
func (x *ConversionWorkspace) GetUpdateTime() *timestamppb.Timestamp
func (*ConversionWorkspace) ProtoMessage
func (*ConversionWorkspace) ProtoMessage()
func (*ConversionWorkspace) ProtoReflect
func (x *ConversionWorkspace) ProtoReflect() protoreflect.Message
func (*ConversionWorkspace) Reset
func (x *ConversionWorkspace) Reset()
func (*ConversionWorkspace) String
func (x *ConversionWorkspace) String() string
ConversionWorkspaceInfo
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() string
func (*ConversionWorkspaceInfo) GetName
func (x *ConversionWorkspaceInfo) GetName() string
func (*ConversionWorkspaceInfo) ProtoMessage
func (*ConversionWorkspaceInfo) ProtoMessage()
func (*ConversionWorkspaceInfo) ProtoReflect
func (x *ConversionWorkspaceInfo) ProtoReflect() protoreflect.Message
func (*ConversionWorkspaceInfo) Reset
func (x *ConversionWorkspaceInfo) Reset()
func (*ConversionWorkspaceInfo) String
func (x *ConversionWorkspaceInfo) String() string
ConvertConversionWorkspaceRequest
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() bool
func (*ConvertConversionWorkspaceRequest) GetConvertFullPath
func (x *ConvertConversionWorkspaceRequest) GetConvertFullPath() bool
func (*ConvertConversionWorkspaceRequest) GetFilter
func (x *ConvertConversionWorkspaceRequest) GetFilter() string
func (*ConvertConversionWorkspaceRequest) GetName
func (x *ConvertConversionWorkspaceRequest) GetName() string
func (*ConvertConversionWorkspaceRequest) ProtoMessage
func (*ConvertConversionWorkspaceRequest) ProtoMessage()
func (*ConvertConversionWorkspaceRequest) ProtoReflect
func (x *ConvertConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*ConvertConversionWorkspaceRequest) Reset
func (x *ConvertConversionWorkspaceRequest) Reset()
func (*ConvertConversionWorkspaceRequest) String
func (x *ConvertConversionWorkspaceRequest) String() string
ConvertRowIdToColumn
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() bool
func (*ConvertRowIdToColumn) ProtoMessage
func (*ConvertRowIdToColumn) ProtoMessage()
func (*ConvertRowIdToColumn) ProtoReflect
func (x *ConvertRowIdToColumn) ProtoReflect() protoreflect.Message
func (*ConvertRowIdToColumn) Reset
func (x *ConvertRowIdToColumn) Reset()
func (*ConvertRowIdToColumn) String
func (x *ConvertRowIdToColumn) String() string
CreateConnectionProfileRequest
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() *ConnectionProfile
func (*CreateConnectionProfileRequest) GetConnectionProfileId
func (x *CreateConnectionProfileRequest) GetConnectionProfileId() string
func (*CreateConnectionProfileRequest) GetParent
func (x *CreateConnectionProfileRequest) GetParent() string
func (*CreateConnectionProfileRequest) GetRequestId
func (x *CreateConnectionProfileRequest) GetRequestId() string
func (*CreateConnectionProfileRequest) GetSkipValidation
func (x *CreateConnectionProfileRequest) GetSkipValidation() bool
func (*CreateConnectionProfileRequest) GetValidateOnly
func (x *CreateConnectionProfileRequest) GetValidateOnly() bool
func (*CreateConnectionProfileRequest) ProtoMessage
func (*CreateConnectionProfileRequest) ProtoMessage()
func (*CreateConnectionProfileRequest) ProtoReflect
func (x *CreateConnectionProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectionProfileRequest) Reset
func (x *CreateConnectionProfileRequest) Reset()
func (*CreateConnectionProfileRequest) String
func (x *CreateConnectionProfileRequest) String() string
CreateConversionWorkspaceRequest
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() *ConversionWorkspace
func (*CreateConversionWorkspaceRequest) GetConversionWorkspaceId
func (x *CreateConversionWorkspaceRequest) GetConversionWorkspaceId() string
func (*CreateConversionWorkspaceRequest) GetParent
func (x *CreateConversionWorkspaceRequest) GetParent() string
func (*CreateConversionWorkspaceRequest) GetRequestId
func (x *CreateConversionWorkspaceRequest) GetRequestId() string
func (*CreateConversionWorkspaceRequest) ProtoMessage
func (*CreateConversionWorkspaceRequest) ProtoMessage()
func (*CreateConversionWorkspaceRequest) ProtoReflect
func (x *CreateConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*CreateConversionWorkspaceRequest) Reset
func (x *CreateConversionWorkspaceRequest) Reset()
func (*CreateConversionWorkspaceRequest) String
func (x *CreateConversionWorkspaceRequest) String() string
CreateMappingRuleRequest
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() *MappingRule
func (*CreateMappingRuleRequest) GetMappingRuleId
func (x *CreateMappingRuleRequest) GetMappingRuleId() string
func (*CreateMappingRuleRequest) GetParent
func (x *CreateMappingRuleRequest) GetParent() string
func (*CreateMappingRuleRequest) GetRequestId
func (x *CreateMappingRuleRequest) GetRequestId() string
func (*CreateMappingRuleRequest) ProtoMessage
func (*CreateMappingRuleRequest) ProtoMessage()
func (*CreateMappingRuleRequest) ProtoReflect
func (x *CreateMappingRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateMappingRuleRequest) Reset
func (x *CreateMappingRuleRequest) Reset()
func (*CreateMappingRuleRequest) String
func (x *CreateMappingRuleRequest) String() string
CreateMigrationJobRequest
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() *MigrationJob
func (*CreateMigrationJobRequest) GetMigrationJobId
func (x *CreateMigrationJobRequest) GetMigrationJobId() string
func (*CreateMigrationJobRequest) GetParent
func (x *CreateMigrationJobRequest) GetParent() string
func (*CreateMigrationJobRequest) GetRequestId
func (x *CreateMigrationJobRequest) GetRequestId() string
func (*CreateMigrationJobRequest) ProtoMessage
func (*CreateMigrationJobRequest) ProtoMessage()
func (*CreateMigrationJobRequest) ProtoReflect
func (x *CreateMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*CreateMigrationJobRequest) Reset
func (x *CreateMigrationJobRequest) Reset()
func (*CreateMigrationJobRequest) String
func (x *CreateMigrationJobRequest) String() string
CreatePrivateConnectionRequest
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() string
func (*CreatePrivateConnectionRequest) GetPrivateConnection
func (x *CreatePrivateConnectionRequest) GetPrivateConnection() *PrivateConnection
func (*CreatePrivateConnectionRequest) GetPrivateConnectionId
func (x *CreatePrivateConnectionRequest) GetPrivateConnectionId() string
func (*CreatePrivateConnectionRequest) GetRequestId
func (x *CreatePrivateConnectionRequest) GetRequestId() string
func (*CreatePrivateConnectionRequest) GetSkipValidation
func (x *CreatePrivateConnectionRequest) GetSkipValidation() bool
func (*CreatePrivateConnectionRequest) ProtoMessage
func (*CreatePrivateConnectionRequest) ProtoMessage()
func (*CreatePrivateConnectionRequest) ProtoReflect
func (x *CreatePrivateConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreatePrivateConnectionRequest) Reset
func (x *CreatePrivateConnectionRequest) Reset()
func (*CreatePrivateConnectionRequest) String
func (x *CreatePrivateConnectionRequest) String() string
DataMigrationServiceClient
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, <