Variables
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",
}
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,
}
)
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.
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.
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",
24: "TABLES_WITH_LIMITED_SUPPORT",
25: "UNSUPPORTED_DATABASE_LOCALE",
26: "UNSUPPORTED_DATABASE_FDW_CONFIG",
27: "ERROR_RDBMS",
28: "SOURCE_SIZE_EXCEEDS_THRESHOLD",
}
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,
"TABLES_WITH_LIMITED_SUPPORT": 24,
"UNSUPPORTED_DATABASE_LOCALE": 25,
"UNSUPPORTED_DATABASE_FDW_CONFIG": 26,
"ERROR_RDBMS": 27,
"SOURCE_SIZE_EXCEEDS_THRESHOLD": 28,
}
)
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.
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.
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.
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.
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.
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"`
// 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) GetConnectionProfile
func (x *ApplyConversionWorkspaceRequest) GetConnectionProfile() string
func (*ApplyConversionWorkspaceRequest) GetDestination
func (m *ApplyConversionWorkspaceRequest) GetDestination() isApplyConversionWorkspaceRequest_Destination
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 {
// Fully qualified (Uri) name of the destination connection profile.
ConnectionProfile string `protobuf:"bytes,100,opt,name=connection_profile,json=connectionProfile,proto3,oneof"`
}
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 {
// 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"`
// 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 {
// Apply job details.
ApplyJobDetails *BackgroundJobLogEntry_ApplyJobDetails `protobuf:"bytes,103,opt,name=apply_job_details,json=applyJobDetails,proto3,oneof"`
}
BackgroundJobLogEntry_ConvertJobDetails
type BackgroundJobLogEntry_ConvertJobDetails struct {
// 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 {
// 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 {
// 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 {
// 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 {
// 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 */
}
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) 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_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
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
)
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
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"`
// 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"`
// 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"`
// 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) 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
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
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"`
// 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)
// Retrieves a list of all connection profiles in a given project and
// location.
ListConnectionProfiles(ctx context.Context, in *ListConnectionProfilesRequest, opts ...grpc.CallOption) (*ListConnectionProfilesResponse, error)
// Gets details of a single connection profile.
GetConnectionProfile(ctx context.Context, in *GetConnectionProfileRequest, opts ...grpc.CallOption) (*ConnectionProfile, error)
// Creates a new connection profile in a given project and location.
CreateConnectionProfile(ctx context.Context, in *CreateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update the configuration of a single connection profile.
UpdateConnectionProfile(ctx context.Context, in *UpdateConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Database Migration Service connection profile.
// A connection profile can only be deleted if it is not in use by any
// active migration jobs.
DeleteConnectionProfile(ctx context.Context, in *DeleteConnectionProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new private connection in a given project and location.
CreatePrivateConnection(ctx context.Context, in *CreatePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single private connection.
GetPrivateConnection(ctx context.Context, in *GetPrivateConnectionRequest, opts ...grpc.CallOption) (*PrivateConnection, error)
// Retrieves a list of private connections in a given project and location.
ListPrivateConnections(ctx context.Context, in *ListPrivateConnectionsRequest, opts ...grpc.CallOption) (*ListPrivateConnectionsResponse, error)
// Deletes a single Database Migration Service private connection.
DeletePrivateConnection(ctx context.Context, in *DeletePrivateConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single conversion workspace.
GetConversionWorkspace(ctx context.Context, in *GetConversionWorkspaceRequest, opts ...grpc.CallOption) (*ConversionWorkspace, error)
// Lists conversion workspaces in a given project and location.
ListConversionWorkspaces(ctx context.Context, in *ListConversionWorkspacesRequest, opts ...grpc.CallOption) (*ListConversionWorkspacesResponse, error)
// Creates a new conversion workspace in a given project and location.
CreateConversionWorkspace(ctx context.Context, in *CreateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single conversion workspace.
UpdateConversionWorkspace(ctx context.Context, in *UpdateConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single conversion workspace.
DeleteConversionWorkspace(ctx context.Context, in *DeleteConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports a snapshot of the source database into the
// conversion workspace.
SeedConversionWorkspace(ctx context.Context, in *SeedConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports the mapping rules for a given conversion workspace.
// Supports various formats of external rules files.
ImportMappingRules(ctx context.Context, in *ImportMappingRulesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a draft tree schema for the destination database.
ConvertConversionWorkspace(ctx context.Context, in *ConvertConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Marks all the data in the conversion workspace as committed.
CommitConversionWorkspace(ctx context.Context, in *CommitConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rolls back a conversion workspace to the last committed snapshot.
RollbackConversionWorkspace(ctx context.Context, in *RollbackConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Applies draft tree onto a specific destination database.
ApplyConversionWorkspace(ctx context.Context, in *ApplyConversionWorkspaceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Describes the database entities tree for a specific conversion workspace
// and a specific tree type.
//
// Database entities are not resources like conversion workspaces or mapping
// rules, and they can't be created, updated or deleted. Instead, they are
// simple data objects describing the structure of the client database.
DescribeDatabaseEntities(ctx context.Context, in *DescribeDatabaseEntitiesRequest, opts ...grpc.CallOption) (*DescribeDatabaseEntitiesResponse, error)
// Searches/lists the background jobs for a specific
// conversion workspace.
//
// The background jobs are not resources like conversion workspaces or
// mapping rules, and they can't be created, updated or deleted.
// Instead, they are a way to expose the data plane jobs log.
SearchBackgroundJobs(ctx context.Context, in *SearchBackgroundJobsRequest, opts ...grpc.CallOption) (*SearchBackgroundJobsResponse, error)
// Retrieves a list of committed revisions of a specific conversion
// workspace.
DescribeConversionWorkspaceRevisions(ctx context.Context, in *DescribeConversionWorkspaceRevisionsRequest, opts ...grpc.CallOption) (*DescribeConversionWorkspaceRevisionsResponse, error)
// Fetches a set of static IP addresses that need to be allowlisted by the
// customer when using the static-IP connectivity method.
FetchStaticIps(ctx context.Context, in *FetchStaticIpsRequest, opts ...grpc.CallOption) (*FetchStaticIpsResponse, error)
}
DataMigrationServiceClient is the client API for DataMigrationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDataMigrationServiceClient
func NewDataMigrationServiceClient(cc grpc.ClientConnInterface) DataMigrationServiceClient
DataMigrationServiceServer
type DataMigrationServiceServer interface {
// Lists migration jobs in a given project and location.
ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error)
// Gets details of a single migration job.
GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error)
// Creates a new migration job in a given project and location.
CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single migration job.
UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error)
// Deletes a single migration job.
DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error)
// Start an already created migration job.
StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error)
// Stops a running migration job.
StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error)
// Resume a migration job that is currently stopped and is resumable (was
// stopped during CDC phase).
ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error)
// Promote a migration job, stopping replication to the destination and
// promoting the destination to be a standalone database.
PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error)
// Verify a migration job, making sure the destination can reach the source
// and that all configuration and prerequisites are met.
VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error)
// Restart a stopped or failed migration job, resetting the destination
// instance to its original state and starting the migration process from
// scratch.
RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error)
// Generate a SSH configuration script to configure the reverse SSH
// connectivity.
GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error)
// Retrieves a list of all connection profiles in a given project and
// location.
ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error)
// Gets details of a single connection profile.
GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error)
// Creates a new connection profile in a given project and location.
CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error)
// Update the configuration of a single connection profile.
UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error)
// Deletes a single Database Migration Service connection profile.
// A connection profile can only be deleted if it is not in use by any
// active migration jobs.
DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error)
// Creates a new private connection in a given project and location.
CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error)
// Gets details of a single private connection.
GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error)
// Retrieves a list of private connections in a given project and location.
ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error)
// Deletes a single Database Migration Service private connection.
DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error)
// Gets details of a single conversion workspace.
GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error)
// Lists conversion workspaces in a given project and location.
ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error)
// Creates a new conversion workspace in a given project and location.
CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single conversion workspace.
UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Deletes a single conversion workspace.
DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Imports a snapshot of the source database into the
// conversion workspace.
SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Imports the mapping rules for a given conversion workspace.
// Supports various formats of external rules files.
ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error)
// Creates a draft tree schema for the destination database.
ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Marks all the data in the conversion workspace as committed.
CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Rolls back a conversion workspace to the last committed snapshot.
RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Applies draft tree onto a specific destination database.
ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error)
// Describes the database entities tree for a specific conversion workspace
// and a specific tree type.
//
// Database entities are not resources like conversion workspaces or mapping
// rules, and they can't be created, updated or deleted. Instead, they are
// simple data objects describing the structure of the client database.
DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error)
// Searches/lists the background jobs for a specific
// conversion workspace.
//
// The background jobs are not resources like conversion workspaces or
// mapping rules, and they can't be created, updated or deleted.
// Instead, they are a way to expose the data plane jobs log.
SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error)
// Retrieves a list of committed revisions of a specific conversion
// workspace.
DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error)
// Fetches a set of static IP addresses that need to be allowlisted by the
// customer when using the static-IP connectivity method.
FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error)
}
DataMigrationServiceServer is the server API for DataMigrationService service.
DatabaseEngine
type DatabaseEngine int32
The database engine types.
DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED, DatabaseEngine_MYSQL, DatabaseEngine_POSTGRESQL, DatabaseEngine_ORACLE
const (
// The source database engine of the migration job is unknown.
DatabaseEngine_DATABASE_ENGINE_UNSPECIFIED DatabaseEngine = 0
// The source engine is MySQL.
DatabaseEngine_MYSQL DatabaseEngine = 1
// The source engine is PostgreSQL.
DatabaseEngine_POSTGRESQL DatabaseEngine = 2
// The source engine is Oracle.
DatabaseEngine_ORACLE DatabaseEngine = 4
)
func (DatabaseEngine) Descriptor
func (DatabaseEngine) Descriptor() protoreflect.EnumDescriptor
func (DatabaseEngine) Enum
func (x DatabaseEngine) Enum() *DatabaseEngine
func (DatabaseEngine) EnumDescriptor
func (DatabaseEngine) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseEngine.Descriptor instead.
func (DatabaseEngine) Number
func (x DatabaseEngine) Number() protoreflect.EnumNumber
func (DatabaseEngine) String
func (x DatabaseEngine) String() string
func (DatabaseEngine) Type
func (DatabaseEngine) Type() protoreflect.EnumType
DatabaseEngineInfo
type DatabaseEngineInfo struct {
// Required. Engine type.
Engine DatabaseEngine `protobuf:"varint,1,opt,name=engine,proto3,enum=google.cloud.clouddms.v1.DatabaseEngine" json:"engine,omitempty"`
// Required. Engine named version, for example 12.c.1.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
The type and version of a source or destination database.
func (*DatabaseEngineInfo) Descriptor
func (*DatabaseEngineInfo) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseEngineInfo.ProtoReflect.Descriptor instead.
func (*DatabaseEngineInfo) GetEngine
func (x *DatabaseEngineInfo) GetEngine() DatabaseEngine
func (*DatabaseEngineInfo) GetVersion
func (x *DatabaseEngineInfo) GetVersion() string
func (*DatabaseEngineInfo) ProtoMessage
func (*DatabaseEngineInfo) ProtoMessage()
func (*DatabaseEngineInfo) ProtoReflect
func (x *DatabaseEngineInfo) ProtoReflect() protoreflect.Message
func (*DatabaseEngineInfo) Reset
func (x *DatabaseEngineInfo) Reset()
func (*DatabaseEngineInfo) String
func (x *DatabaseEngineInfo) String() string
DatabaseEntity
type DatabaseEntity struct {
ShortName string `protobuf:"bytes,1,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
ParentEntity string `protobuf:"bytes,2,opt,name=parent_entity,json=parentEntity,proto3" json:"parent_entity,omitempty"`
Tree DatabaseEntity_TreeType `protobuf:"varint,3,opt,name=tree,proto3,enum=google.cloud.clouddms.v1.DatabaseEntity_TreeType" json:"tree,omitempty"`
EntityType DatabaseEntityType "" /* 141 byte string literal not displayed */
Mappings []*EntityMapping `protobuf:"bytes,5,rep,name=mappings,proto3" json:"mappings,omitempty"`
EntityBody isDatabaseEntity_EntityBody `protobuf_oneof:"entity_body"`
}
The base entity type for all the database related entities. The message contains the entity name, the name of its parent, the entity type, and the specific details per entity type.
func (*DatabaseEntity) Descriptor
func (*DatabaseEntity) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseEntity.ProtoReflect.Descriptor instead.
func (*DatabaseEntity) GetDatabaseFunction
func (x *DatabaseEntity) GetDatabaseFunction() *FunctionEntity
func (*DatabaseEntity) GetDatabasePackage
func (x *DatabaseEntity) GetDatabasePackage() *PackageEntity
func (*DatabaseEntity) GetEntityBody
func (m *DatabaseEntity) GetEntityBody() isDatabaseEntity_EntityBody
func (*DatabaseEntity) GetEntityType
func (x *DatabaseEntity) GetEntityType() DatabaseEntityType
func (*DatabaseEntity) GetMappings
func (x *DatabaseEntity) GetMappings() []*EntityMapping
func (*DatabaseEntity) GetParentEntity
func (x *DatabaseEntity) GetParentEntity() string
func (*DatabaseEntity) GetSchema
func (x *DatabaseEntity) GetSchema() *SchemaEntity
func (*DatabaseEntity) GetSequence
func (x *DatabaseEntity) GetSequence() *SequenceEntity
func (*DatabaseEntity) GetShortName
func (x *DatabaseEntity) GetShortName() string
func (*DatabaseEntity) GetStoredProcedure
func (x *DatabaseEntity) GetStoredProcedure() *StoredProcedureEntity
func (*DatabaseEntity) GetSynonym
func (x *DatabaseEntity) GetSynonym() *SynonymEntity
func (*DatabaseEntity) GetTable
func (x *DatabaseEntity) GetTable() *TableEntity
func (*DatabaseEntity) GetTree
func (x *DatabaseEntity) GetTree() DatabaseEntity_TreeType
func (*DatabaseEntity) GetView
func (x *DatabaseEntity) GetView() *ViewEntity
func (*DatabaseEntity) ProtoMessage
func (*DatabaseEntity) ProtoMessage()
func (*DatabaseEntity) ProtoReflect
func (x *DatabaseEntity) ProtoReflect() protoreflect.Message
func (*DatabaseEntity) Reset
func (x *DatabaseEntity) Reset()
func (*DatabaseEntity) String
func (x *DatabaseEntity) String() string
DatabaseEntityType
type DatabaseEntityType int32
The type of database entities supported,
DatabaseEntityType_DATABASE_ENTITY_TYPE_UNSPECIFIED, DatabaseEntityType_DATABASE_ENTITY_TYPE_SCHEMA, DatabaseEntityType_DATABASE_ENTITY_TYPE_TABLE, DatabaseEntityType_DATABASE_ENTITY_TYPE_COLUMN, DatabaseEntityType_DATABASE_ENTITY_TYPE_CONSTRAINT, DatabaseEntityType_DATABASE_ENTITY_TYPE_INDEX, DatabaseEntityType_DATABASE_ENTITY_TYPE_TRIGGER, DatabaseEntityType_DATABASE_ENTITY_TYPE_VIEW, DatabaseEntityType_DATABASE_ENTITY_TYPE_SEQUENCE, DatabaseEntityType_DATABASE_ENTITY_TYPE_STORED_PROCEDURE, DatabaseEntityType_DATABASE_ENTITY_TYPE_FUNCTION, DatabaseEntityType_DATABASE_ENTITY_TYPE_SYNONYM, DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE_PACKAGE, DatabaseEntityType_DATABASE_ENTITY_TYPE_UDT, DatabaseEntityType_DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW, DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE
const (
// Unspecified database entity type.
DatabaseEntityType_DATABASE_ENTITY_TYPE_UNSPECIFIED DatabaseEntityType = 0
// Schema.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SCHEMA DatabaseEntityType = 1
// Table.
DatabaseEntityType_DATABASE_ENTITY_TYPE_TABLE DatabaseEntityType = 2
// Column.
DatabaseEntityType_DATABASE_ENTITY_TYPE_COLUMN DatabaseEntityType = 3
// Constraint.
DatabaseEntityType_DATABASE_ENTITY_TYPE_CONSTRAINT DatabaseEntityType = 4
// Index.
DatabaseEntityType_DATABASE_ENTITY_TYPE_INDEX DatabaseEntityType = 5
// Trigger.
DatabaseEntityType_DATABASE_ENTITY_TYPE_TRIGGER DatabaseEntityType = 6
// View.
DatabaseEntityType_DATABASE_ENTITY_TYPE_VIEW DatabaseEntityType = 7
// Sequence.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SEQUENCE DatabaseEntityType = 8
// Stored Procedure.
DatabaseEntityType_DATABASE_ENTITY_TYPE_STORED_PROCEDURE DatabaseEntityType = 9
// Function.
DatabaseEntityType_DATABASE_ENTITY_TYPE_FUNCTION DatabaseEntityType = 10
// Synonym.
DatabaseEntityType_DATABASE_ENTITY_TYPE_SYNONYM DatabaseEntityType = 11
// Package.
DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE_PACKAGE DatabaseEntityType = 12
// UDT.
DatabaseEntityType_DATABASE_ENTITY_TYPE_UDT DatabaseEntityType = 13
// Materialized View.
DatabaseEntityType_DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW DatabaseEntityType = 14
// Database.
DatabaseEntityType_DATABASE_ENTITY_TYPE_DATABASE DatabaseEntityType = 15
)
func (DatabaseEntityType) Descriptor
func (DatabaseEntityType) Descriptor() protoreflect.EnumDescriptor
func (DatabaseEntityType) Enum
func (x DatabaseEntityType) Enum() *DatabaseEntityType
func (DatabaseEntityType) EnumDescriptor
func (DatabaseEntityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseEntityType.Descriptor instead.
func (DatabaseEntityType) Number
func (x DatabaseEntityType) Number() protoreflect.EnumNumber
func (DatabaseEntityType) String
func (x DatabaseEntityType) String() string
func (DatabaseEntityType) Type
func (DatabaseEntityType) Type() protoreflect.EnumType
DatabaseEntity_DatabaseFunction
type DatabaseEntity_DatabaseFunction struct {
// Function.
DatabaseFunction *FunctionEntity `protobuf:"bytes,107,opt,name=database_function,json=databaseFunction,proto3,oneof"`
}
DatabaseEntity_DatabasePackage
type DatabaseEntity_DatabasePackage struct {
// Package.
DatabasePackage *PackageEntity `protobuf:"bytes,109,opt,name=database_package,json=databasePackage,proto3,oneof"`
}
DatabaseEntity_Schema
type DatabaseEntity_Schema struct {
// Schema.
Schema *SchemaEntity `protobuf:"bytes,102,opt,name=schema,proto3,oneof"`
}
DatabaseEntity_Sequence
type DatabaseEntity_Sequence struct {
// Sequence.
Sequence *SequenceEntity `protobuf:"bytes,105,opt,name=sequence,proto3,oneof"`
}
DatabaseEntity_StoredProcedure
type DatabaseEntity_StoredProcedure struct {
// Stored procedure.
StoredProcedure *StoredProcedureEntity `protobuf:"bytes,106,opt,name=stored_procedure,json=storedProcedure,proto3,oneof"`
}
DatabaseEntity_Synonym
type DatabaseEntity_Synonym struct {
// Synonym.
Synonym *SynonymEntity `protobuf:"bytes,108,opt,name=synonym,proto3,oneof"`
}
DatabaseEntity_Table
type DatabaseEntity_Table struct {
// Table.
Table *TableEntity `protobuf:"bytes,103,opt,name=table,proto3,oneof"`
}
DatabaseEntity_TreeType
type DatabaseEntity_TreeType int32
The type of database entities tree.
DatabaseEntity_TREE_TYPE_UNSPECIFIED, DatabaseEntity_SOURCE, DatabaseEntity_DRAFT, DatabaseEntity_DESTINATION
const (
// Tree type unspecified.
DatabaseEntity_TREE_TYPE_UNSPECIFIED DatabaseEntity_TreeType = 0
// Tree of entities loaded from a source database.
DatabaseEntity_SOURCE DatabaseEntity_TreeType = 1
// Tree of entities converted from the source tree using the mapping rules.
DatabaseEntity_DRAFT DatabaseEntity_TreeType = 2
// Tree of entities observed on the destination database.
DatabaseEntity_DESTINATION DatabaseEntity_TreeType = 3
)
func (DatabaseEntity_TreeType) Descriptor
func (DatabaseEntity_TreeType) Descriptor() protoreflect.EnumDescriptor
func (DatabaseEntity_TreeType) Enum
func (x DatabaseEntity_TreeType) Enum() *DatabaseEntity_TreeType
func (DatabaseEntity_TreeType) EnumDescriptor
func (DatabaseEntity_TreeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseEntity_TreeType.Descriptor instead.
func (DatabaseEntity_TreeType) Number
func (x DatabaseEntity_TreeType) Number() protoreflect.EnumNumber
func (DatabaseEntity_TreeType) String
func (x DatabaseEntity_TreeType) String() string
func (DatabaseEntity_TreeType) Type
func (DatabaseEntity_TreeType) Type() protoreflect.EnumType
DatabaseEntity_View
type DatabaseEntity_View struct {
// View.
View *ViewEntity `protobuf:"bytes,104,opt,name=view,proto3,oneof"`
}
DatabaseProvider
type DatabaseProvider int32
The database providers.
DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED, DatabaseProvider_CLOUDSQL, DatabaseProvider_RDS, DatabaseProvider_AURORA, DatabaseProvider_ALLOYDB
const (
// The database provider is unknown.
DatabaseProvider_DATABASE_PROVIDER_UNSPECIFIED DatabaseProvider = 0
// CloudSQL runs the database.
DatabaseProvider_CLOUDSQL DatabaseProvider = 1
// RDS runs the database.
DatabaseProvider_RDS DatabaseProvider = 2
// Amazon Aurora.
DatabaseProvider_AURORA DatabaseProvider = 3
// AlloyDB.
DatabaseProvider_ALLOYDB DatabaseProvider = 4
)
func (DatabaseProvider) Descriptor
func (DatabaseProvider) Descriptor() protoreflect.EnumDescriptor
func (DatabaseProvider) Enum
func (x DatabaseProvider) Enum() *DatabaseProvider
func (DatabaseProvider) EnumDescriptor
func (DatabaseProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseProvider.Descriptor instead.
func (DatabaseProvider) Number
func (x DatabaseProvider) Number() protoreflect.EnumNumber
func (DatabaseProvider) String
func (x DatabaseProvider) String() string
func (DatabaseProvider) Type
func (DatabaseProvider) Type() protoreflect.EnumType
DatabaseType
type DatabaseType struct {
// The database provider.
Provider DatabaseProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"`
// The database engine.
Engine DatabaseEngine `protobuf:"varint,2,opt,name=engine,proto3,enum=google.cloud.clouddms.v1.DatabaseEngine" json:"engine,omitempty"`
// contains filtered or unexported fields
}
A message defining the database engine and provider.
func (*DatabaseType) Descriptor
func (*DatabaseType) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseType.ProtoReflect.Descriptor instead.
func (*DatabaseType) GetEngine
func (x *DatabaseType) GetEngine() DatabaseEngine
func (*DatabaseType) GetProvider
func (x *DatabaseType) GetProvider() DatabaseProvider
func (*DatabaseType) ProtoMessage
func (*DatabaseType) ProtoMessage()
func (*DatabaseType) ProtoReflect
func (x *DatabaseType) ProtoReflect() protoreflect.Message
func (*DatabaseType) Reset
func (x *DatabaseType) Reset()
func (*DatabaseType) String
func (x *DatabaseType) String() string
DeleteConnectionProfileRequest
type DeleteConnectionProfileRequest struct {
// Required. Name of the connection profile resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// In case of force delete, the CloudSQL replica database is also deleted
// (only for CloudSQL connection profile).
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Request message for 'DeleteConnectionProfile' request.
func (*DeleteConnectionProfileRequest) Descriptor
func (*DeleteConnectionProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionProfileRequest) GetForce
func (x *DeleteConnectionProfileRequest) GetForce() bool
func (*DeleteConnectionProfileRequest) GetName
func (x *DeleteConnectionProfileRequest) GetName() string
func (*DeleteConnectionProfileRequest) GetRequestId
func (x *DeleteConnectionProfileRequest) GetRequestId() string
func (*DeleteConnectionProfileRequest) ProtoMessage
func (*DeleteConnectionProfileRequest) ProtoMessage()
func (*DeleteConnectionProfileRequest) ProtoReflect
func (x *DeleteConnectionProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteConnectionProfileRequest) Reset
func (x *DeleteConnectionProfileRequest) Reset()
func (*DeleteConnectionProfileRequest) String
func (x *DeleteConnectionProfileRequest) String() string
DeleteConversionWorkspaceRequest
type DeleteConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for 'DeleteConversionWorkspace' request.
func (*DeleteConversionWorkspaceRequest) Descriptor
func (*DeleteConversionWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversionWorkspaceRequest) GetName
func (x *DeleteConversionWorkspaceRequest) GetName() string
func (*DeleteConversionWorkspaceRequest) GetRequestId
func (x *DeleteConversionWorkspaceRequest) GetRequestId() string
func (*DeleteConversionWorkspaceRequest) ProtoMessage
func (*DeleteConversionWorkspaceRequest) ProtoMessage()
func (*DeleteConversionWorkspaceRequest) ProtoReflect
func (x *DeleteConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteConversionWorkspaceRequest) Reset
func (x *DeleteConversionWorkspaceRequest) Reset()
func (*DeleteConversionWorkspaceRequest) String
func (x *DeleteConversionWorkspaceRequest) String() string
DeleteMigrationJobRequest
type DeleteMigrationJobRequest struct {
// Required. Name of the migration job resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The destination CloudSQL connection profile is always deleted with the
// migration job. In case of force delete, the destination CloudSQL replica
// database is also deleted.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Request message for 'DeleteMigrationJob' request.
func (*DeleteMigrationJobRequest) Descriptor
func (*DeleteMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteMigrationJobRequest) GetForce
func (x *DeleteMigrationJobRequest) GetForce() bool
func (*DeleteMigrationJobRequest) GetName
func (x *DeleteMigrationJobRequest) GetName() string
func (*DeleteMigrationJobRequest) GetRequestId
func (x *DeleteMigrationJobRequest) GetRequestId() string
func (*DeleteMigrationJobRequest) ProtoMessage
func (*DeleteMigrationJobRequest) ProtoMessage()
func (*DeleteMigrationJobRequest) ProtoReflect
func (x *DeleteMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteMigrationJobRequest) Reset
func (x *DeleteMigrationJobRequest) Reset()
func (*DeleteMigrationJobRequest) String
func (x *DeleteMigrationJobRequest) String() string
DeletePrivateConnectionRequest
type DeletePrivateConnectionRequest struct {
// Required. The name of the private connection to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message to delete a private connection.
func (*DeletePrivateConnectionRequest) Descriptor
func (*DeletePrivateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePrivateConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeletePrivateConnectionRequest) GetName
func (x *DeletePrivateConnectionRequest) GetName() string
func (*DeletePrivateConnectionRequest) GetRequestId
func (x *DeletePrivateConnectionRequest) GetRequestId() string
func (*DeletePrivateConnectionRequest) ProtoMessage
func (*DeletePrivateConnectionRequest) ProtoMessage()
func (*DeletePrivateConnectionRequest) ProtoReflect
func (x *DeletePrivateConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeletePrivateConnectionRequest) Reset
func (x *DeletePrivateConnectionRequest) Reset()
func (*DeletePrivateConnectionRequest) String
func (x *DeletePrivateConnectionRequest) String() string
DescribeConversionWorkspaceRevisionsRequest
type DescribeConversionWorkspaceRevisionsRequest struct {
// Required. Name of the conversion workspace resource whose revisions are
// listed. Must be in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// Optional. Optional filter to request a specific commit ID.
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// contains filtered or unexported fields
}
Request message for 'DescribeConversionWorkspaceRevisions' request.
func (*DescribeConversionWorkspaceRevisionsRequest) Descriptor
func (*DescribeConversionWorkspaceRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeConversionWorkspaceRevisionsRequest.ProtoReflect.Descriptor instead.
func (*DescribeConversionWorkspaceRevisionsRequest) GetCommitId
func (x *DescribeConversionWorkspaceRevisionsRequest) GetCommitId() string
func (*DescribeConversionWorkspaceRevisionsRequest) GetConversionWorkspace
func (x *DescribeConversionWorkspaceRevisionsRequest) GetConversionWorkspace() string
func (*DescribeConversionWorkspaceRevisionsRequest) ProtoMessage
func (*DescribeConversionWorkspaceRevisionsRequest) ProtoMessage()
func (*DescribeConversionWorkspaceRevisionsRequest) ProtoReflect
func (x *DescribeConversionWorkspaceRevisionsRequest) ProtoReflect() protoreflect.Message
func (*DescribeConversionWorkspaceRevisionsRequest) Reset
func (x *DescribeConversionWorkspaceRevisionsRequest) Reset()
func (*DescribeConversionWorkspaceRevisionsRequest) String
func (x *DescribeConversionWorkspaceRevisionsRequest) String() string
DescribeConversionWorkspaceRevisionsResponse
type DescribeConversionWorkspaceRevisionsResponse struct {
// The list of conversion workspace revisions.
Revisions []*ConversionWorkspace `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
// contains filtered or unexported fields
}
Response message for 'DescribeConversionWorkspaceRevisions' request.
func (*DescribeConversionWorkspaceRevisionsResponse) Descriptor
func (*DescribeConversionWorkspaceRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeConversionWorkspaceRevisionsResponse.ProtoReflect.Descriptor instead.
func (*DescribeConversionWorkspaceRevisionsResponse) GetRevisions
func (x *DescribeConversionWorkspaceRevisionsResponse) GetRevisions() []*ConversionWorkspace
func (*DescribeConversionWorkspaceRevisionsResponse) ProtoMessage
func (*DescribeConversionWorkspaceRevisionsResponse) ProtoMessage()
func (*DescribeConversionWorkspaceRevisionsResponse) ProtoReflect
func (x *DescribeConversionWorkspaceRevisionsResponse) ProtoReflect() protoreflect.Message
func (*DescribeConversionWorkspaceRevisionsResponse) Reset
func (x *DescribeConversionWorkspaceRevisionsResponse) Reset()
func (*DescribeConversionWorkspaceRevisionsResponse) String
func (x *DescribeConversionWorkspaceRevisionsResponse) String() string
DescribeDatabaseEntitiesRequest
type DescribeDatabaseEntitiesRequest struct {
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
Tree DescribeDatabaseEntitiesRequest_DBTreeType "" /* 135 byte string literal not displayed */
Uncommitted bool `protobuf:"varint,11,opt,name=uncommitted,proto3" json:"uncommitted,omitempty"`
CommitId string `protobuf:"bytes,12,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
Filter string `protobuf:"bytes,13,opt,name=filter,proto3" json:"filter,omitempty"`
}
Request message for 'DescribeDatabaseEntities' request.
func (*DescribeDatabaseEntitiesRequest) Descriptor
func (*DescribeDatabaseEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseEntitiesRequest.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseEntitiesRequest) GetCommitId
func (x *DescribeDatabaseEntitiesRequest) GetCommitId() string
func (*DescribeDatabaseEntitiesRequest) GetConversionWorkspace
func (x *DescribeDatabaseEntitiesRequest) GetConversionWorkspace() string
func (*DescribeDatabaseEntitiesRequest) GetFilter
func (x *DescribeDatabaseEntitiesRequest) GetFilter() string
func (*DescribeDatabaseEntitiesRequest) GetPageSize
func (x *DescribeDatabaseEntitiesRequest) GetPageSize() int32
func (*DescribeDatabaseEntitiesRequest) GetPageToken
func (x *DescribeDatabaseEntitiesRequest) GetPageToken() string
func (*DescribeDatabaseEntitiesRequest) GetTree
func (x *DescribeDatabaseEntitiesRequest) GetTree() DescribeDatabaseEntitiesRequest_DBTreeType
func (*DescribeDatabaseEntitiesRequest) GetUncommitted
func (x *DescribeDatabaseEntitiesRequest) GetUncommitted() bool
func (*DescribeDatabaseEntitiesRequest) ProtoMessage
func (*DescribeDatabaseEntitiesRequest) ProtoMessage()
func (*DescribeDatabaseEntitiesRequest) ProtoReflect
func (x *DescribeDatabaseEntitiesRequest) ProtoReflect() protoreflect.Message
func (*DescribeDatabaseEntitiesRequest) Reset
func (x *DescribeDatabaseEntitiesRequest) Reset()
func (*DescribeDatabaseEntitiesRequest) String
func (x *DescribeDatabaseEntitiesRequest) String() string
DescribeDatabaseEntitiesRequest_DBTreeType
type DescribeDatabaseEntitiesRequest_DBTreeType int32
The type of a tree to return
DescribeDatabaseEntitiesRequest_DB_TREE_TYPE_UNSPECIFIED, DescribeDatabaseEntitiesRequest_SOURCE_TREE, DescribeDatabaseEntitiesRequest_DRAFT_TREE, DescribeDatabaseEntitiesRequest_DESTINATION_TREE
const (
// Unspecified tree type.
DescribeDatabaseEntitiesRequest_DB_TREE_TYPE_UNSPECIFIED DescribeDatabaseEntitiesRequest_DBTreeType = 0
// The source database tree.
DescribeDatabaseEntitiesRequest_SOURCE_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 1
// The draft database tree.
DescribeDatabaseEntitiesRequest_DRAFT_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 2
// The destination database tree.
DescribeDatabaseEntitiesRequest_DESTINATION_TREE DescribeDatabaseEntitiesRequest_DBTreeType = 3
)
func (DescribeDatabaseEntitiesRequest_DBTreeType) Descriptor
func (DescribeDatabaseEntitiesRequest_DBTreeType) Descriptor() protoreflect.EnumDescriptor
func (DescribeDatabaseEntitiesRequest_DBTreeType) Enum
func (x DescribeDatabaseEntitiesRequest_DBTreeType) Enum() *DescribeDatabaseEntitiesRequest_DBTreeType
func (DescribeDatabaseEntitiesRequest_DBTreeType) EnumDescriptor
func (DescribeDatabaseEntitiesRequest_DBTreeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseEntitiesRequest_DBTreeType.Descriptor instead.
func (DescribeDatabaseEntitiesRequest_DBTreeType) Number
func (x DescribeDatabaseEntitiesRequest_DBTreeType) Number() protoreflect.EnumNumber
func (DescribeDatabaseEntitiesRequest_DBTreeType) String
func (x DescribeDatabaseEntitiesRequest_DBTreeType) String() string
func (DescribeDatabaseEntitiesRequest_DBTreeType) Type
func (DescribeDatabaseEntitiesRequest_DBTreeType) Type() protoreflect.EnumType
DescribeDatabaseEntitiesResponse
type DescribeDatabaseEntitiesResponse struct {
// The list of database entities for the conversion workspace.
DatabaseEntities []*DatabaseEntity `protobuf:"bytes,1,rep,name=database_entities,json=databaseEntities,proto3" json:"database_entities,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for 'DescribeDatabaseEntities' request.
func (*DescribeDatabaseEntitiesResponse) Descriptor
func (*DescribeDatabaseEntitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseEntitiesResponse.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseEntitiesResponse) GetDatabaseEntities
func (x *DescribeDatabaseEntitiesResponse) GetDatabaseEntities() []*DatabaseEntity
func (*DescribeDatabaseEntitiesResponse) GetNextPageToken
func (x *DescribeDatabaseEntitiesResponse) GetNextPageToken() string
func (*DescribeDatabaseEntitiesResponse) ProtoMessage
func (*DescribeDatabaseEntitiesResponse) ProtoMessage()
func (*DescribeDatabaseEntitiesResponse) ProtoReflect
func (x *DescribeDatabaseEntitiesResponse) ProtoReflect() protoreflect.Message
func (*DescribeDatabaseEntitiesResponse) Reset
func (x *DescribeDatabaseEntitiesResponse) Reset()
func (*DescribeDatabaseEntitiesResponse) String
func (x *DescribeDatabaseEntitiesResponse) String() string
EntityMapping
type EntityMapping struct {
SourceEntity string `protobuf:"bytes,1,opt,name=source_entity,json=sourceEntity,proto3" json:"source_entity,omitempty"`
DraftEntity string `protobuf:"bytes,2,opt,name=draft_entity,json=draftEntity,proto3" json:"draft_entity,omitempty"`
SourceType DatabaseEntityType "" /* 141 byte string literal not displayed */
DraftType DatabaseEntityType "" /* 138 byte string literal not displayed */
MappingLog []*EntityMappingLogEntry `protobuf:"bytes,3,rep,name=mapping_log,json=mappingLog,proto3" json:"mapping_log,omitempty"`
}
Details of the mappings of a database entity.
func (*EntityMapping) Descriptor
func (*EntityMapping) Descriptor() ([]byte, []int)
Deprecated: Use EntityMapping.ProtoReflect.Descriptor instead.
func (*EntityMapping) GetDraftEntity
func (x *EntityMapping) GetDraftEntity() string
func (*EntityMapping) GetDraftType
func (x *EntityMapping) GetDraftType() DatabaseEntityType
func (*EntityMapping) GetMappingLog
func (x *EntityMapping) GetMappingLog() []*EntityMappingLogEntry
func (*EntityMapping) GetSourceEntity
func (x *EntityMapping) GetSourceEntity() string
func (*EntityMapping) GetSourceType
func (x *EntityMapping) GetSourceType() DatabaseEntityType
func (*EntityMapping) ProtoMessage
func (*EntityMapping) ProtoMessage()
func (*EntityMapping) ProtoReflect
func (x *EntityMapping) ProtoReflect() protoreflect.Message
func (*EntityMapping) Reset
func (x *EntityMapping) Reset()
func (*EntityMapping) String
func (x *EntityMapping) String() string
EntityMappingLogEntry
type EntityMappingLogEntry struct {
// Which rule caused this log entry.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Rule revision ID.
RuleRevisionId string `protobuf:"bytes,2,opt,name=rule_revision_id,json=ruleRevisionId,proto3" json:"rule_revision_id,omitempty"`
// Comment.
MappingComment string `protobuf:"bytes,3,opt,name=mapping_comment,json=mappingComment,proto3" json:"mapping_comment,omitempty"`
// contains filtered or unexported fields
}
A single record of a rule which was used for a mapping.
func (*EntityMappingLogEntry) Descriptor
func (*EntityMappingLogEntry) Descriptor() ([]byte, []int)
Deprecated: Use EntityMappingLogEntry.ProtoReflect.Descriptor instead.
func (*EntityMappingLogEntry) GetMappingComment
func (x *EntityMappingLogEntry) GetMappingComment() string
func (*EntityMappingLogEntry) GetRuleId
func (x *EntityMappingLogEntry) GetRuleId() string
func (*EntityMappingLogEntry) GetRuleRevisionId
func (x *EntityMappingLogEntry) GetRuleRevisionId() string
func (*EntityMappingLogEntry) ProtoMessage
func (*EntityMappingLogEntry) ProtoMessage()
func (*EntityMappingLogEntry) ProtoReflect
func (x *EntityMappingLogEntry) ProtoReflect() protoreflect.Message
func (*EntityMappingLogEntry) Reset
func (x *EntityMappingLogEntry) Reset()
func (*EntityMappingLogEntry) String
func (x *EntityMappingLogEntry) String() string
FetchStaticIpsRequest
type FetchStaticIpsRequest struct {
// Required. The resource name for the location for which static IPs should be
// returned. Must be in the format `projects/*/locations/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Maximum number of IPs to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `FetchStaticIps` call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for 'FetchStaticIps' request.
func (*FetchStaticIpsRequest) Descriptor
func (*FetchStaticIpsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchStaticIpsRequest.ProtoReflect.Descriptor instead.
func (*FetchStaticIpsRequest) GetName
func (x *FetchStaticIpsRequest) GetName() string
func (*FetchStaticIpsRequest) GetPageSize
func (x *FetchStaticIpsRequest) GetPageSize() int32
func (*FetchStaticIpsRequest) GetPageToken
func (x *FetchStaticIpsRequest) GetPageToken() string
func (*FetchStaticIpsRequest) ProtoMessage
func (*FetchStaticIpsRequest) ProtoMessage()
func (*FetchStaticIpsRequest) ProtoReflect
func (x *FetchStaticIpsRequest) ProtoReflect() protoreflect.Message
func (*FetchStaticIpsRequest) Reset
func (x *FetchStaticIpsRequest) Reset()
func (*FetchStaticIpsRequest) String
func (x *FetchStaticIpsRequest) String() string
FetchStaticIpsResponse
type FetchStaticIpsResponse struct {
// List of static IPs.
StaticIps []string `protobuf:"bytes,1,rep,name=static_ips,json=staticIps,proto3" json:"static_ips,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for a 'FetchStaticIps' request.
func (*FetchStaticIpsResponse) Descriptor
func (*FetchStaticIpsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchStaticIpsResponse.ProtoReflect.Descriptor instead.
func (*FetchStaticIpsResponse) GetNextPageToken
func (x *FetchStaticIpsResponse) GetNextPageToken() string
func (*FetchStaticIpsResponse) GetStaticIps
func (x *FetchStaticIpsResponse) GetStaticIps() []string
func (*FetchStaticIpsResponse) ProtoMessage
func (*FetchStaticIpsResponse) ProtoMessage()
func (*FetchStaticIpsResponse) ProtoReflect
func (x *FetchStaticIpsResponse) ProtoReflect() protoreflect.Message
func (*FetchStaticIpsResponse) Reset
func (x *FetchStaticIpsResponse) Reset()
func (*FetchStaticIpsResponse) String
func (x *FetchStaticIpsResponse) String() string
ForwardSshTunnelConnectivity
type ForwardSshTunnelConnectivity struct {
// Required. Hostname for the SSH tunnel.
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
// Required. Username for the SSH tunnel.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// Port for the SSH tunnel, default value is 22.
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
// Types that are assignable to AuthenticationMethod:
// *ForwardSshTunnelConnectivity_Password
// *ForwardSshTunnelConnectivity_PrivateKey
AuthenticationMethod isForwardSshTunnelConnectivity_AuthenticationMethod `protobuf_oneof:"authentication_method"`
// contains filtered or unexported fields
}
Forward SSH Tunnel connectivity.
func (*ForwardSshTunnelConnectivity) Descriptor
func (*ForwardSshTunnelConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use ForwardSshTunnelConnectivity.ProtoReflect.Descriptor instead.
func (*ForwardSshTunnelConnectivity) GetAuthenticationMethod
func (m *ForwardSshTunnelConnectivity) GetAuthenticationMethod() isForwardSshTunnelConnectivity_AuthenticationMethod
func (*ForwardSshTunnelConnectivity) GetHostname
func (x *ForwardSshTunnelConnectivity) GetHostname() string
func (*ForwardSshTunnelConnectivity) GetPassword
func (x *ForwardSshTunnelConnectivity) GetPassword() string
func (*ForwardSshTunnelConnectivity) GetPort
func (x *ForwardSshTunnelConnectivity) GetPort() int32
func (*ForwardSshTunnelConnectivity) GetPrivateKey
func (x *ForwardSshTunnelConnectivity) GetPrivateKey() string
func (*ForwardSshTunnelConnectivity) GetUsername
func (x *ForwardSshTunnelConnectivity) GetUsername() string
func (*ForwardSshTunnelConnectivity) ProtoMessage
func (*ForwardSshTunnelConnectivity) ProtoMessage()
func (*ForwardSshTunnelConnectivity) ProtoReflect
func (x *ForwardSshTunnelConnectivity) ProtoReflect() protoreflect.Message
func (*ForwardSshTunnelConnectivity) Reset
func (x *ForwardSshTunnelConnectivity) Reset()
func (*ForwardSshTunnelConnectivity) String
func (x *ForwardSshTunnelConnectivity) String() string
ForwardSshTunnelConnectivity_Password
type ForwardSshTunnelConnectivity_Password struct {
// Input only. SSH password.
Password string `protobuf:"bytes,100,opt,name=password,proto3,oneof"`
}
ForwardSshTunnelConnectivity_PrivateKey
type ForwardSshTunnelConnectivity_PrivateKey struct {
// Input only. SSH private key.
PrivateKey string `protobuf:"bytes,101,opt,name=private_key,json=privateKey,proto3,oneof"`
}
FunctionEntity
type FunctionEntity struct {
// The SQL code which creates the function.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Function's parent is a schema.
func (*FunctionEntity) Descriptor
func (*FunctionEntity) Descriptor() ([]byte, []int)
Deprecated: Use FunctionEntity.ProtoReflect.Descriptor instead.
func (*FunctionEntity) GetCustomFeatures
func (x *FunctionEntity) GetCustomFeatures() *structpb.Struct
func (*FunctionEntity) GetSqlCode
func (x *FunctionEntity) GetSqlCode() string
func (*FunctionEntity) ProtoMessage
func (*FunctionEntity) ProtoMessage()
func (*FunctionEntity) ProtoReflect
func (x *FunctionEntity) ProtoReflect() protoreflect.Message
func (*FunctionEntity) Reset
func (x *FunctionEntity) Reset()
func (*FunctionEntity) String
func (x *FunctionEntity) String() string
GenerateSshScriptRequest
type GenerateSshScriptRequest struct {
// Name of the migration job resource to generate the SSH script.
MigrationJob string `protobuf:"bytes,1,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// Required. Bastion VM Instance name to use or to create.
Vm string `protobuf:"bytes,2,opt,name=vm,proto3" json:"vm,omitempty"`
// The VM configuration
//
// Types that are assignable to VmConfig:
// *GenerateSshScriptRequest_VmCreationConfig
// *GenerateSshScriptRequest_VmSelectionConfig
VmConfig isGenerateSshScriptRequest_VmConfig `protobuf_oneof:"vm_config"`
// The port that will be open on the bastion host.
VmPort int32 `protobuf:"varint,3,opt,name=vm_port,json=vmPort,proto3" json:"vm_port,omitempty"`
// contains filtered or unexported fields
}
Request message for 'GenerateSshScript' request.
func (*GenerateSshScriptRequest) Descriptor
func (*GenerateSshScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateSshScriptRequest.ProtoReflect.Descriptor instead.
func (*GenerateSshScriptRequest) GetMigrationJob
func (x *GenerateSshScriptRequest) GetMigrationJob() string
func (*GenerateSshScriptRequest) GetVm
func (x *GenerateSshScriptRequest) GetVm() string
func (*GenerateSshScriptRequest) GetVmConfig
func (m *GenerateSshScriptRequest) GetVmConfig() isGenerateSshScriptRequest_VmConfig
func (*GenerateSshScriptRequest) GetVmCreationConfig
func (x *GenerateSshScriptRequest) GetVmCreationConfig() *VmCreationConfig
func (*GenerateSshScriptRequest) GetVmPort
func (x *GenerateSshScriptRequest) GetVmPort() int32
func (*GenerateSshScriptRequest) GetVmSelectionConfig
func (x *GenerateSshScriptRequest) GetVmSelectionConfig() *VmSelectionConfig
func (*GenerateSshScriptRequest) ProtoMessage
func (*GenerateSshScriptRequest) ProtoMessage()
func (*GenerateSshScriptRequest) ProtoReflect
func (x *GenerateSshScriptRequest) ProtoReflect() protoreflect.Message
func (*GenerateSshScriptRequest) Reset
func (x *GenerateSshScriptRequest) Reset()
func (*GenerateSshScriptRequest) String
func (x *GenerateSshScriptRequest) String() string
GenerateSshScriptRequest_VmCreationConfig
type GenerateSshScriptRequest_VmCreationConfig struct {
// The VM creation configuration
VmCreationConfig *VmCreationConfig `protobuf:"bytes,100,opt,name=vm_creation_config,json=vmCreationConfig,proto3,oneof"`
}
GenerateSshScriptRequest_VmSelectionConfig
type GenerateSshScriptRequest_VmSelectionConfig struct {
// The VM selection configuration
VmSelectionConfig *VmSelectionConfig `protobuf:"bytes,101,opt,name=vm_selection_config,json=vmSelectionConfig,proto3,oneof"`
}
GetConnectionProfileRequest
type GetConnectionProfileRequest struct {
// Required. Name of the connection profile resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'GetConnectionProfile' request.
func (*GetConnectionProfileRequest) Descriptor
func (*GetConnectionProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionProfileRequest) GetName
func (x *GetConnectionProfileRequest) GetName() string
func (*GetConnectionProfileRequest) ProtoMessage
func (*GetConnectionProfileRequest) ProtoMessage()
func (*GetConnectionProfileRequest) ProtoReflect
func (x *GetConnectionProfileRequest) ProtoReflect() protoreflect.Message
func (*GetConnectionProfileRequest) Reset
func (x *GetConnectionProfileRequest) Reset()
func (*GetConnectionProfileRequest) String
func (x *GetConnectionProfileRequest) String() string
GetConversionWorkspaceRequest
type GetConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'GetConversionWorkspace' request.
func (*GetConversionWorkspaceRequest) Descriptor
func (*GetConversionWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*GetConversionWorkspaceRequest) GetName
func (x *GetConversionWorkspaceRequest) GetName() string
func (*GetConversionWorkspaceRequest) ProtoMessage
func (*GetConversionWorkspaceRequest) ProtoMessage()
func (*GetConversionWorkspaceRequest) ProtoReflect
func (x *GetConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*GetConversionWorkspaceRequest) Reset
func (x *GetConversionWorkspaceRequest) Reset()
func (*GetConversionWorkspaceRequest) String
func (x *GetConversionWorkspaceRequest) String() string
GetMigrationJobRequest
type GetMigrationJobRequest struct {
// Required. Name of the migration job resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'GetMigrationJob' request.
func (*GetMigrationJobRequest) Descriptor
func (*GetMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*GetMigrationJobRequest) GetName
func (x *GetMigrationJobRequest) GetName() string
func (*GetMigrationJobRequest) ProtoMessage
func (*GetMigrationJobRequest) ProtoMessage()
func (*GetMigrationJobRequest) ProtoReflect
func (x *GetMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*GetMigrationJobRequest) Reset
func (x *GetMigrationJobRequest) Reset()
func (*GetMigrationJobRequest) String
func (x *GetMigrationJobRequest) String() string
GetPrivateConnectionRequest
type GetPrivateConnectionRequest struct {
// Required. The name of the private connection to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message to get a private connection resource.
func (*GetPrivateConnectionRequest) Descriptor
func (*GetPrivateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivateConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetPrivateConnectionRequest) GetName
func (x *GetPrivateConnectionRequest) GetName() string
func (*GetPrivateConnectionRequest) ProtoMessage
func (*GetPrivateConnectionRequest) ProtoMessage()
func (*GetPrivateConnectionRequest) ProtoReflect
func (x *GetPrivateConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetPrivateConnectionRequest) Reset
func (x *GetPrivateConnectionRequest) Reset()
func (*GetPrivateConnectionRequest) String
func (x *GetPrivateConnectionRequest) String() string
ImportMappingRulesRequest
type ImportMappingRulesRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
RulesFormat ImportRulesFileFormat "" /* 147 byte string literal not displayed */
RulesFiles []*ImportMappingRulesRequest_RulesFile `protobuf:"bytes,3,rep,name=rules_files,json=rulesFiles,proto3" json:"rules_files,omitempty"`
AutoCommit bool `protobuf:"varint,6,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
}
Request message for 'ImportMappingRules' request.
func (*ImportMappingRulesRequest) Descriptor
func (*ImportMappingRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportMappingRulesRequest.ProtoReflect.Descriptor instead.
func (*ImportMappingRulesRequest) GetAutoCommit
func (x *ImportMappingRulesRequest) GetAutoCommit() bool
func (*ImportMappingRulesRequest) GetParent
func (x *ImportMappingRulesRequest) GetParent() string
func (*ImportMappingRulesRequest) GetRulesFiles
func (x *ImportMappingRulesRequest) GetRulesFiles() []*ImportMappingRulesRequest_RulesFile
func (*ImportMappingRulesRequest) GetRulesFormat
func (x *ImportMappingRulesRequest) GetRulesFormat() ImportRulesFileFormat
func (*ImportMappingRulesRequest) ProtoMessage
func (*ImportMappingRulesRequest) ProtoMessage()
func (*ImportMappingRulesRequest) ProtoReflect
func (x *ImportMappingRulesRequest) ProtoReflect() protoreflect.Message
func (*ImportMappingRulesRequest) Reset
func (x *ImportMappingRulesRequest) Reset()
func (*ImportMappingRulesRequest) String
func (x *ImportMappingRulesRequest) String() string
ImportMappingRulesRequest_RulesFile
type ImportMappingRulesRequest_RulesFile struct {
// The filename of the rules that needs to be converted. The filename is
// used mainly so that future logs of the import rules job contain it, and
// can therefore be searched by it.
RulesSourceFilename string `protobuf:"bytes,1,opt,name=rules_source_filename,json=rulesSourceFilename,proto3" json:"rules_source_filename,omitempty"`
// The text content of the rules that needs to be converted.
RulesContent string `protobuf:"bytes,2,opt,name=rules_content,json=rulesContent,proto3" json:"rules_content,omitempty"`
// contains filtered or unexported fields
}
Details of a single rules file.
func (*ImportMappingRulesRequest_RulesFile) Descriptor
func (*ImportMappingRulesRequest_RulesFile) Descriptor() ([]byte, []int)
Deprecated: Use ImportMappingRulesRequest_RulesFile.ProtoReflect.Descriptor instead.
func (*ImportMappingRulesRequest_RulesFile) GetRulesContent
func (x *ImportMappingRulesRequest_RulesFile) GetRulesContent() string
func (*ImportMappingRulesRequest_RulesFile) GetRulesSourceFilename
func (x *ImportMappingRulesRequest_RulesFile) GetRulesSourceFilename() string
func (*ImportMappingRulesRequest_RulesFile) ProtoMessage
func (*ImportMappingRulesRequest_RulesFile) ProtoMessage()
func (*ImportMappingRulesRequest_RulesFile) ProtoReflect
func (x *ImportMappingRulesRequest_RulesFile) ProtoReflect() protoreflect.Message
func (*ImportMappingRulesRequest_RulesFile) Reset
func (x *ImportMappingRulesRequest_RulesFile) Reset()
func (*ImportMappingRulesRequest_RulesFile) String
func (x *ImportMappingRulesRequest_RulesFile) String() string
ImportRulesFileFormat
type ImportRulesFileFormat int32
The format for the import rules file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_UNSPECIFIED, ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE, ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE
const (
// Unspecified rules format.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_UNSPECIFIED ImportRulesFileFormat = 0
// HarbourBridge session file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE ImportRulesFileFormat = 1
// Ora2Pg configuration file.
ImportRulesFileFormat_IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE ImportRulesFileFormat = 2
)
func (ImportRulesFileFormat) Descriptor
func (ImportRulesFileFormat) Descriptor() protoreflect.EnumDescriptor
func (ImportRulesFileFormat) Enum
func (x ImportRulesFileFormat) Enum() *ImportRulesFileFormat
func (ImportRulesFileFormat) EnumDescriptor
func (ImportRulesFileFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportRulesFileFormat.Descriptor instead.
func (ImportRulesFileFormat) Number
func (x ImportRulesFileFormat) Number() protoreflect.EnumNumber
func (ImportRulesFileFormat) String
func (x ImportRulesFileFormat) String() string
func (ImportRulesFileFormat) Type
func (ImportRulesFileFormat) Type() protoreflect.EnumType
IndexEntity
type IndexEntity struct {
// The name of the index.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of index, for example B-TREE.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Table columns used as part of the Index, for example B-TREE index should
// list the columns which constitutes the index.
TableColumns []string `protobuf:"bytes,3,rep,name=table_columns,json=tableColumns,proto3" json:"table_columns,omitempty"`
// Boolean value indicating whether the index is unique.
Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Index is not used as an independent entity, it is retrieved as part of a Table entity.
func (*IndexEntity) Descriptor
func (*IndexEntity) Descriptor() ([]byte, []int)
Deprecated: Use IndexEntity.ProtoReflect.Descriptor instead.
func (*IndexEntity) GetCustomFeatures
func (x *IndexEntity) GetCustomFeatures() *structpb.Struct
func (*IndexEntity) GetName
func (x *IndexEntity) GetName() string
func (*IndexEntity) GetTableColumns
func (x *IndexEntity) GetTableColumns() []string
func (*IndexEntity) GetType
func (x *IndexEntity) GetType() string
func (*IndexEntity) GetUnique
func (x *IndexEntity) GetUnique() bool
func (*IndexEntity) ProtoMessage
func (*IndexEntity) ProtoMessage()
func (*IndexEntity) ProtoReflect
func (x *IndexEntity) ProtoReflect() protoreflect.Message
func (*IndexEntity) Reset
func (x *IndexEntity) Reset()
func (*IndexEntity) String
func (x *IndexEntity) String() string
ListConnectionProfilesRequest
type ListConnectionProfilesRequest struct {
// Required. The parent which owns this collection of connection profiles.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of connection profiles to return. The service may return
// fewer than this value. If unspecified, at most 50 connection profiles will
// be returned. The maximum value is 1000; values above 1000 are coerced
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListConnectionProfiles` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListConnectionProfiles`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters connection profiles listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" connection="" profiles="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z**.="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **mysql.username="" =="" %lt;my_username%gt;**="" to="" list="" all="" connection="" profiles="" configured="" to="" connect="" with="" a="" specific="" username.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// A comma-separated list of fields to order results according to.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for 'ListConnectionProfiles' request.
func (*ListConnectionProfilesRequest) Descriptor
func (*ListConnectionProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionProfilesRequest) GetFilter
func (x *ListConnectionProfilesRequest) GetFilter() string
func (*ListConnectionProfilesRequest) GetOrderBy
func (x *ListConnectionProfilesRequest) GetOrderBy() string
func (*ListConnectionProfilesRequest) GetPageSize
func (x *ListConnectionProfilesRequest) GetPageSize() int32
func (*ListConnectionProfilesRequest) GetPageToken
func (x *ListConnectionProfilesRequest) GetPageToken() string
func (*ListConnectionProfilesRequest) GetParent
func (x *ListConnectionProfilesRequest) GetParent() string
func (*ListConnectionProfilesRequest) ProtoMessage
func (*ListConnectionProfilesRequest) ProtoMessage()
func (*ListConnectionProfilesRequest) ProtoReflect
func (x *ListConnectionProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListConnectionProfilesRequest) Reset
func (x *ListConnectionProfilesRequest) Reset()
func (*ListConnectionProfilesRequest) String
func (x *ListConnectionProfilesRequest) String() string
ListConnectionProfilesResponse
type ListConnectionProfilesResponse struct {
// The response list of connection profiles.
ConnectionProfiles []*ConnectionProfile `protobuf:"bytes,1,rep,name=connection_profiles,json=connectionProfiles,proto3" json:"connection_profiles,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for 'ListConnectionProfiles' request.
func (*ListConnectionProfilesResponse) Descriptor
func (*ListConnectionProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionProfilesResponse) GetConnectionProfiles
func (x *ListConnectionProfilesResponse) GetConnectionProfiles() []*ConnectionProfile
func (*ListConnectionProfilesResponse) GetNextPageToken
func (x *ListConnectionProfilesResponse) GetNextPageToken() string
func (*ListConnectionProfilesResponse) GetUnreachable
func (x *ListConnectionProfilesResponse) GetUnreachable() []string
func (*ListConnectionProfilesResponse) ProtoMessage
func (*ListConnectionProfilesResponse) ProtoMessage()
func (*ListConnectionProfilesResponse) ProtoReflect
func (x *ListConnectionProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListConnectionProfilesResponse) Reset
func (x *ListConnectionProfilesResponse) Reset()
func (*ListConnectionProfilesResponse) String
func (x *ListConnectionProfilesResponse) String() string
ListConversionWorkspacesRequest
type ListConversionWorkspacesRequest struct {
// Required. The parent which owns this collection of conversion workspaces.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of conversion workspaces to return. The service may
// return fewer than this value. If unspecified, at most 50 sets are returned.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The nextPageToken value received in the previous call to
// conversionWorkspaces.list, used in the subsequent request to retrieve the
// next page of results. On first call this should be left blank. When
// paginating, all other parameters provided to conversionWorkspaces.list must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters conversion workspaces listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" conversion="" workspaces="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z.**="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **source.version="12.c.1" **="" to="" select="" all="" conversion="" workspaces="" with="" source="" database="" version="" equal="" to="" 12.c.1.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Retrieve a list of all conversion workspaces in a given project and location.
func (*ListConversionWorkspacesRequest) Descriptor
func (*ListConversionWorkspacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConversionWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*ListConversionWorkspacesRequest) GetFilter
func (x *ListConversionWorkspacesRequest) GetFilter() string
func (*ListConversionWorkspacesRequest) GetPageSize
func (x *ListConversionWorkspacesRequest) GetPageSize() int32
func (*ListConversionWorkspacesRequest) GetPageToken
func (x *ListConversionWorkspacesRequest) GetPageToken() string
func (*ListConversionWorkspacesRequest) GetParent
func (x *ListConversionWorkspacesRequest) GetParent() string
func (*ListConversionWorkspacesRequest) ProtoMessage
func (*ListConversionWorkspacesRequest) ProtoMessage()
func (*ListConversionWorkspacesRequest) ProtoReflect
func (x *ListConversionWorkspacesRequest) ProtoReflect() protoreflect.Message
func (*ListConversionWorkspacesRequest) Reset
func (x *ListConversionWorkspacesRequest) Reset()
func (*ListConversionWorkspacesRequest) String
func (x *ListConversionWorkspacesRequest) String() string
ListConversionWorkspacesResponse
type ListConversionWorkspacesResponse struct {
// The list of conversion workspace objects.
ConversionWorkspaces []*ConversionWorkspace `protobuf:"bytes,1,rep,name=conversion_workspaces,json=conversionWorkspaces,proto3" json:"conversion_workspaces,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for 'ListConversionWorkspaces' request.
func (*ListConversionWorkspacesResponse) Descriptor
func (*ListConversionWorkspacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConversionWorkspacesResponse.ProtoReflect.Descriptor instead.
func (*ListConversionWorkspacesResponse) GetConversionWorkspaces
func (x *ListConversionWorkspacesResponse) GetConversionWorkspaces() []*ConversionWorkspace
func (*ListConversionWorkspacesResponse) GetNextPageToken
func (x *ListConversionWorkspacesResponse) GetNextPageToken() string
func (*ListConversionWorkspacesResponse) GetUnreachable
func (x *ListConversionWorkspacesResponse) GetUnreachable() []string
func (*ListConversionWorkspacesResponse) ProtoMessage
func (*ListConversionWorkspacesResponse) ProtoMessage()
func (*ListConversionWorkspacesResponse) ProtoReflect
func (x *ListConversionWorkspacesResponse) ProtoReflect() protoreflect.Message
func (*ListConversionWorkspacesResponse) Reset
func (x *ListConversionWorkspacesResponse) Reset()
func (*ListConversionWorkspacesResponse) String
func (x *ListConversionWorkspacesResponse) String() string
ListMigrationJobsRequest
type ListMigrationJobsRequest struct {
// Required. The parent which owns this collection of migrationJobs.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of migration jobs to return. The service may return
// fewer than this value. If unspecified, at most 50 migration jobs will be
// returned. The maximum value is 1000; values above 1000 are coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The nextPageToken value received in the previous call to
// migrationJobs.list, used in the subsequent request to retrieve the next
// page of results. On first call this should be left blank. When paginating,
// all other parameters provided to migrationJobs.list must match the call
// that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters migration jobs listed in the response.
// The expression must specify the field name, a comparison operator, and the
// value that you want to use for filtering. The value must be a string,
// a number, or a boolean. The comparison operator must be
// either =, !=, >, or <. for="" example,="" list="" migration="" jobs="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2020-01-01t00:00:00.000000000z.**="" you="" can="" also="" filter="" nested="" fields.="" for="" example,="" you="" could="" specify="" **reversesshconnectivity.vmip="1.2.3.4" **="" to="" select="" all="" migration="" jobs="" connecting="" through="" the="" specific="" ssh="" tunnel="" bastion.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Sort the results based on the migration job name.
// Valid values are: "name", "name asc", and "name desc".
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Retrieves a list of all migration jobs in a given project and location.
func (*ListMigrationJobsRequest) Descriptor
func (*ListMigrationJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMigrationJobsRequest.ProtoReflect.Descriptor instead.
func (*ListMigrationJobsRequest) GetFilter
func (x *ListMigrationJobsRequest) GetFilter() string
func (*ListMigrationJobsRequest) GetOrderBy
func (x *ListMigrationJobsRequest) GetOrderBy() string
func (*ListMigrationJobsRequest) GetPageSize
func (x *ListMigrationJobsRequest) GetPageSize() int32
func (*ListMigrationJobsRequest) GetPageToken
func (x *ListMigrationJobsRequest) GetPageToken() string
func (*ListMigrationJobsRequest) GetParent
func (x *ListMigrationJobsRequest) GetParent() string
func (*ListMigrationJobsRequest) ProtoMessage
func (*ListMigrationJobsRequest) ProtoMessage()
func (*ListMigrationJobsRequest) ProtoReflect
func (x *ListMigrationJobsRequest) ProtoReflect() protoreflect.Message
func (*ListMigrationJobsRequest) Reset
func (x *ListMigrationJobsRequest) Reset()
func (*ListMigrationJobsRequest) String
func (x *ListMigrationJobsRequest) String() string
ListMigrationJobsResponse
type ListMigrationJobsResponse struct {
// The list of migration jobs objects.
MigrationJobs []*MigrationJob `protobuf:"bytes,1,rep,name=migration_jobs,json=migrationJobs,proto3" json:"migration_jobs,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for 'ListMigrationJobs' request.
func (*ListMigrationJobsResponse) Descriptor
func (*ListMigrationJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMigrationJobsResponse.ProtoReflect.Descriptor instead.
func (*ListMigrationJobsResponse) GetMigrationJobs
func (x *ListMigrationJobsResponse) GetMigrationJobs() []*MigrationJob
func (*ListMigrationJobsResponse) GetNextPageToken
func (x *ListMigrationJobsResponse) GetNextPageToken() string
func (*ListMigrationJobsResponse) GetUnreachable
func (x *ListMigrationJobsResponse) GetUnreachable() []string
func (*ListMigrationJobsResponse) ProtoMessage
func (*ListMigrationJobsResponse) ProtoMessage()
func (*ListMigrationJobsResponse) ProtoReflect
func (x *ListMigrationJobsResponse) ProtoReflect() protoreflect.Message
func (*ListMigrationJobsResponse) Reset
func (x *ListMigrationJobsResponse) Reset()
func (*ListMigrationJobsResponse) String
func (x *ListMigrationJobsResponse) String() string
ListPrivateConnectionsRequest
type ListPrivateConnectionsRequest struct {
// Required. The parent that owns the collection of private connections.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of private connections to return.
// If unspecified, at most 50 private connections that are returned.
// The maximum value is 1000; values above 1000 are coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token received from a previous `ListPrivateConnections` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ListPrivateConnections` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters private connections listed in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. The value must
// be a string, a number, or a boolean. The comparison operator must be either
// =, !=, >, or <. for="" example,="" list="" private="" connections="" created="" this="" year="" by="" specifying="" **createtime="" %gt;="" 2021-01-01t00:00:00.000000000z**.="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Order by fields for the result.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message to retrieve a list of private connections in a given project and location.
func (*ListPrivateConnectionsRequest) Descriptor
func (*ListPrivateConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPrivateConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListPrivateConnectionsRequest) GetFilter
func (x *ListPrivateConnectionsRequest) GetFilter() string
func (*ListPrivateConnectionsRequest) GetOrderBy
func (x *ListPrivateConnectionsRequest) GetOrderBy() string
func (*ListPrivateConnectionsRequest) GetPageSize
func (x *ListPrivateConnectionsRequest) GetPageSize() int32
func (*ListPrivateConnectionsRequest) GetPageToken
func (x *ListPrivateConnectionsRequest) GetPageToken() string
func (*ListPrivateConnectionsRequest) GetParent
func (x *ListPrivateConnectionsRequest) GetParent() string
func (*ListPrivateConnectionsRequest) ProtoMessage
func (*ListPrivateConnectionsRequest) ProtoMessage()
func (*ListPrivateConnectionsRequest) ProtoReflect
func (x *ListPrivateConnectionsRequest) ProtoReflect() protoreflect.Message
func (*ListPrivateConnectionsRequest) Reset
func (x *ListPrivateConnectionsRequest) Reset()
func (*ListPrivateConnectionsRequest) String
func (x *ListPrivateConnectionsRequest) String() string
ListPrivateConnectionsResponse
type ListPrivateConnectionsResponse struct {
// List of private connections.
PrivateConnections []*PrivateConnection `protobuf:"bytes,1,rep,name=private_connections,json=privateConnections,proto3" json:"private_connections,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for 'ListPrivateConnections' request.
func (*ListPrivateConnectionsResponse) Descriptor
func (*ListPrivateConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPrivateConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListPrivateConnectionsResponse) GetNextPageToken
func (x *ListPrivateConnectionsResponse) GetNextPageToken() string
func (*ListPrivateConnectionsResponse) GetPrivateConnections
func (x *ListPrivateConnectionsResponse) GetPrivateConnections() []*PrivateConnection
func (*ListPrivateConnectionsResponse) GetUnreachable
func (x *ListPrivateConnectionsResponse) GetUnreachable() []string
func (*ListPrivateConnectionsResponse) ProtoMessage
func (*ListPrivateConnectionsResponse) ProtoMessage()
func (*ListPrivateConnectionsResponse) ProtoReflect
func (x *ListPrivateConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ListPrivateConnectionsResponse) Reset
func (x *ListPrivateConnectionsResponse) Reset()
func (*ListPrivateConnectionsResponse) String
func (x *ListPrivateConnectionsResponse) String() string
MigrationJob
type MigrationJob 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 */
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
State MigrationJob_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.clouddms.v1.MigrationJob_State" json:"state,omitempty"`
Phase MigrationJob_Phase `protobuf:"varint,7,opt,name=phase,proto3,enum=google.cloud.clouddms.v1.MigrationJob_Phase" json:"phase,omitempty"`
Type MigrationJob_Type `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.clouddms.v1.MigrationJob_Type" json:"type,omitempty"`
DumpPath string `protobuf:"bytes,9,opt,name=dump_path,json=dumpPath,proto3" json:"dump_path,omitempty"`
DumpFlags *MigrationJob_DumpFlags `protobuf:"bytes,17,opt,name=dump_flags,json=dumpFlags,proto3" json:"dump_flags,omitempty"`
Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
Destination string `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"`
Connectivity isMigrationJob_Connectivity `protobuf_oneof:"connectivity"`
Duration *durationpb.Duration `protobuf:"bytes,12,opt,name=duration,proto3" json:"duration,omitempty"`
Error *status.Status `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
SourceDatabase *DatabaseType `protobuf:"bytes,14,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"`
DestinationDatabase *DatabaseType `protobuf:"bytes,15,opt,name=destination_database,json=destinationDatabase,proto3" json:"destination_database,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
ConversionWorkspace *ConversionWorkspaceInfo `protobuf:"bytes,18,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
Filter string `protobuf:"bytes,20,opt,name=filter,proto3" json:"filter,omitempty"`
CmekKeyName string `protobuf:"bytes,21,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
}
Represents a Database Migration Service migration job object.
func (*MigrationJob) Descriptor
func (*MigrationJob) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJob.ProtoReflect.Descriptor instead.
func (*MigrationJob) GetCmekKeyName
func (x *MigrationJob) GetCmekKeyName() string
func (*MigrationJob) GetConnectivity
func (m *MigrationJob) GetConnectivity() isMigrationJob_Connectivity
func (*MigrationJob) GetConversionWorkspace
func (x *MigrationJob) GetConversionWorkspace() *ConversionWorkspaceInfo
func (*MigrationJob) GetCreateTime
func (x *MigrationJob) GetCreateTime() *timestamppb.Timestamp
func (*MigrationJob) GetDestination
func (x *MigrationJob) GetDestination() string
func (*MigrationJob) GetDestinationDatabase
func (x *MigrationJob) GetDestinationDatabase() *DatabaseType
func (*MigrationJob) GetDisplayName
func (x *MigrationJob) GetDisplayName() string
func (*MigrationJob) GetDumpFlags
func (x *MigrationJob) GetDumpFlags() *MigrationJob_DumpFlags
func (*MigrationJob) GetDumpPath
func (x *MigrationJob) GetDumpPath() string
func (*MigrationJob) GetDuration
func (x *MigrationJob) GetDuration() *durationpb.Duration
func (*MigrationJob) GetEndTime
func (x *MigrationJob) GetEndTime() *timestamppb.Timestamp
func (*MigrationJob) GetError
func (x *MigrationJob) GetError() *status.Status
func (*MigrationJob) GetFilter
func (x *MigrationJob) GetFilter() string
func (*MigrationJob) GetLabels
func (x *MigrationJob) GetLabels() map[string]string
func (*MigrationJob) GetName
func (x *MigrationJob) GetName() string
func (*MigrationJob) GetPhase
func (x *MigrationJob) GetPhase() MigrationJob_Phase
func (*MigrationJob) GetReverseSshConnectivity
func (x *MigrationJob) GetReverseSshConnectivity() *ReverseSshConnectivity
func (*MigrationJob) GetSource
func (x *MigrationJob) GetSource() string
func (*MigrationJob) GetSourceDatabase
func (x *MigrationJob) GetSourceDatabase() *DatabaseType
func (*MigrationJob) GetState
func (x *MigrationJob) GetState() MigrationJob_State
func (*MigrationJob) GetStaticIpConnectivity
func (x *MigrationJob) GetStaticIpConnectivity() *StaticIpConnectivity
func (*MigrationJob) GetType
func (x *MigrationJob) GetType() MigrationJob_Type
func (*MigrationJob) GetUpdateTime
func (x *MigrationJob) GetUpdateTime() *timestamppb.Timestamp
func (*MigrationJob) GetVpcPeeringConnectivity
func (x *MigrationJob) GetVpcPeeringConnectivity() *VpcPeeringConnectivity
func (*MigrationJob) ProtoMessage
func (*MigrationJob) ProtoMessage()
func (*MigrationJob) ProtoReflect
func (x *MigrationJob) ProtoReflect() protoreflect.Message
func (*MigrationJob) Reset
func (x *MigrationJob) Reset()
func (*MigrationJob) String
func (x *MigrationJob) String() string
MigrationJobVerificationError
type MigrationJobVerificationError struct {
ErrorCode MigrationJobVerificationError_ErrorCode "" /* 159 byte string literal not displayed */
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ErrorDetailMessage string `protobuf:"bytes,3,opt,name=error_detail_message,json=errorDetailMessage,proto3" json:"error_detail_message,omitempty"`
}
Error message of a verification Migration job.
func (*MigrationJobVerificationError) Descriptor
func (*MigrationJobVerificationError) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJobVerificationError.ProtoReflect.Descriptor instead.
func (*MigrationJobVerificationError) GetErrorCode
func (x *MigrationJobVerificationError) GetErrorCode() MigrationJobVerificationError_ErrorCode
func (*MigrationJobVerificationError) GetErrorDetailMessage
func (x *MigrationJobVerificationError) GetErrorDetailMessage() string
func (*MigrationJobVerificationError) GetErrorMessage
func (x *MigrationJobVerificationError) GetErrorMessage() string
func (*MigrationJobVerificationError) ProtoMessage
func (*MigrationJobVerificationError) ProtoMessage()
func (*MigrationJobVerificationError) ProtoReflect
func (x *MigrationJobVerificationError) ProtoReflect() protoreflect.Message
func (*MigrationJobVerificationError) Reset
func (x *MigrationJobVerificationError) Reset()
func (*MigrationJobVerificationError) String
func (x *MigrationJobVerificationError) String() string
MigrationJobVerificationError_ErrorCode
type MigrationJobVerificationError_ErrorCode int32
A general error code describing the type of error that occurred.
MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED, MigrationJobVerificationError_CONNECTION_FAILURE, MigrationJobVerificationError_AUTHENTICATION_FAILURE, MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG, MigrationJobVerificationError_VERSION_INCOMPATIBILITY, MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY, MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED, MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS, MigrationJobVerificationError_INVALID_WAL_LEVEL, MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY, MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS, MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS, MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES, MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS, MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE, MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION, MigrationJobVerificationError_UNSUPPORTED_GTID_MODE, MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION, MigrationJobVerificationError_UNSUPPORTED_DEFINER, MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION, MigrationJobVerificationError_TABLES_WITH_LIMITED_SUPPORT, MigrationJobVerificationError_UNSUPPORTED_DATABASE_LOCALE, MigrationJobVerificationError_UNSUPPORTED_DATABASE_FDW_CONFIG, MigrationJobVerificationError_ERROR_RDBMS, MigrationJobVerificationError_SOURCE_SIZE_EXCEEDS_THRESHOLD
const (
// An unknown error occurred
MigrationJobVerificationError_ERROR_CODE_UNSPECIFIED MigrationJobVerificationError_ErrorCode = 0
// We failed to connect to one of the connection profile.
MigrationJobVerificationError_CONNECTION_FAILURE MigrationJobVerificationError_ErrorCode = 1
// We failed to authenticate to one of the connection profile.
MigrationJobVerificationError_AUTHENTICATION_FAILURE MigrationJobVerificationError_ErrorCode = 2
// One of the involved connection profiles has an invalid configuration.
MigrationJobVerificationError_INVALID_CONNECTION_PROFILE_CONFIG MigrationJobVerificationError_ErrorCode = 3
// The versions of the source and the destination are incompatible.
MigrationJobVerificationError_VERSION_INCOMPATIBILITY MigrationJobVerificationError_ErrorCode = 4
// The types of the source and the destination are incompatible.
MigrationJobVerificationError_CONNECTION_PROFILE_TYPES_INCOMPATIBILITY MigrationJobVerificationError_ErrorCode = 5
// No pglogical extension installed on databases, applicable for postgres.
MigrationJobVerificationError_NO_PGLOGICAL_INSTALLED MigrationJobVerificationError_ErrorCode = 7
// pglogical node already exists on databases, applicable for postgres.
MigrationJobVerificationError_PGLOGICAL_NODE_ALREADY_EXISTS MigrationJobVerificationError_ErrorCode = 8
// The value of parameter wal_level is not set to logical.
MigrationJobVerificationError_INVALID_WAL_LEVEL MigrationJobVerificationError_ErrorCode = 9
// The value of parameter shared_preload_libraries does not include
// pglogical.
MigrationJobVerificationError_INVALID_SHARED_PRELOAD_LIBRARY MigrationJobVerificationError_ErrorCode = 10
// The value of parameter max_replication_slots is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_REPLICATION_SLOTS MigrationJobVerificationError_ErrorCode = 11
// The value of parameter max_wal_senders is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_WAL_SENDERS MigrationJobVerificationError_ErrorCode = 12
// The value of parameter max_worker_processes is not sufficient.
MigrationJobVerificationError_INSUFFICIENT_MAX_WORKER_PROCESSES MigrationJobVerificationError_ErrorCode = 13
// Extensions installed are either not supported or having unsupported
// versions.
MigrationJobVerificationError_UNSUPPORTED_EXTENSIONS MigrationJobVerificationError_ErrorCode = 14
// Unsupported migration type.
MigrationJobVerificationError_UNSUPPORTED_MIGRATION_TYPE MigrationJobVerificationError_ErrorCode = 15
// Invalid RDS logical replication.
MigrationJobVerificationError_INVALID_RDS_LOGICAL_REPLICATION MigrationJobVerificationError_ErrorCode = 16
// The gtid_mode is not supported, applicable for MySQL.
MigrationJobVerificationError_UNSUPPORTED_GTID_MODE MigrationJobVerificationError_ErrorCode = 17
// The table definition is not support due to missing primary key or replica
// identity.
MigrationJobVerificationError_UNSUPPORTED_TABLE_DEFINITION MigrationJobVerificationError_ErrorCode = 18
// The definer is not supported.
MigrationJobVerificationError_UNSUPPORTED_DEFINER MigrationJobVerificationError_ErrorCode = 19
// Migration is already running at the time of restart request.
MigrationJobVerificationError_CANT_RESTART_RUNNING_MIGRATION MigrationJobVerificationError_ErrorCode = 21
// The source has tables with limited support.
// E.g. PostgreSQL tables without primary keys.
MigrationJobVerificationError_TABLES_WITH_LIMITED_SUPPORT MigrationJobVerificationError_ErrorCode = 24
// The source uses an unsupported locale.
MigrationJobVerificationError_UNSUPPORTED_DATABASE_LOCALE MigrationJobVerificationError_ErrorCode = 25
// The source uses an unsupported Foreign Data Wrapper configuration.
MigrationJobVerificationError_UNSUPPORTED_DATABASE_FDW_CONFIG MigrationJobVerificationError_ErrorCode = 26
// There was an underlying RDBMS error.
MigrationJobVerificationError_ERROR_RDBMS MigrationJobVerificationError_ErrorCode = 27
// The source DB size in Bytes exceeds a certain threshold. The migration
// might require an increase of quota, or might not be supported.
MigrationJobVerificationError_SOURCE_SIZE_EXCEEDS_THRESHOLD MigrationJobVerificationError_ErrorCode = 28
)
func (MigrationJobVerificationError_ErrorCode) Descriptor
func (MigrationJobVerificationError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (MigrationJobVerificationError_ErrorCode) Enum
func (MigrationJobVerificationError_ErrorCode) EnumDescriptor
func (MigrationJobVerificationError_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MigrationJobVerificationError_ErrorCode.Descriptor instead.
func (MigrationJobVerificationError_ErrorCode) Number
func (x MigrationJobVerificationError_ErrorCode) Number() protoreflect.EnumNumber
func (MigrationJobVerificationError_ErrorCode) String
func (x MigrationJobVerificationError_ErrorCode) String() string
func (MigrationJobVerificationError_ErrorCode) Type
func (MigrationJobVerificationError_ErrorCode) Type() protoreflect.EnumType
MigrationJob_DumpFlag
type MigrationJob_DumpFlag struct {
// The name of the flag
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The value of the flag.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Dump flag definition.
func (*MigrationJob_DumpFlag) Descriptor
func (*MigrationJob_DumpFlag) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJob_DumpFlag.ProtoReflect.Descriptor instead.
func (*MigrationJob_DumpFlag) GetName
func (x *MigrationJob_DumpFlag) GetName() string
func (*MigrationJob_DumpFlag) GetValue
func (x *MigrationJob_DumpFlag) GetValue() string
func (*MigrationJob_DumpFlag) ProtoMessage
func (*MigrationJob_DumpFlag) ProtoMessage()
func (*MigrationJob_DumpFlag) ProtoReflect
func (x *MigrationJob_DumpFlag) ProtoReflect() protoreflect.Message
func (*MigrationJob_DumpFlag) Reset
func (x *MigrationJob_DumpFlag) Reset()
func (*MigrationJob_DumpFlag) String
func (x *MigrationJob_DumpFlag) String() string
MigrationJob_DumpFlags
type MigrationJob_DumpFlags struct {
// The flags for the initial dump.
DumpFlags []*MigrationJob_DumpFlag `protobuf:"bytes,1,rep,name=dump_flags,json=dumpFlags,proto3" json:"dump_flags,omitempty"`
// contains filtered or unexported fields
}
Dump flags definition.
func (*MigrationJob_DumpFlags) Descriptor
func (*MigrationJob_DumpFlags) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJob_DumpFlags.ProtoReflect.Descriptor instead.
func (*MigrationJob_DumpFlags) GetDumpFlags
func (x *MigrationJob_DumpFlags) GetDumpFlags() []*MigrationJob_DumpFlag
func (*MigrationJob_DumpFlags) ProtoMessage
func (*MigrationJob_DumpFlags) ProtoMessage()
func (*MigrationJob_DumpFlags) ProtoReflect
func (x *MigrationJob_DumpFlags) ProtoReflect() protoreflect.Message
func (*MigrationJob_DumpFlags) Reset
func (x *MigrationJob_DumpFlags) Reset()
func (*MigrationJob_DumpFlags) String
func (x *MigrationJob_DumpFlags) String() string
MigrationJob_Phase
type MigrationJob_Phase int32
The current migration job phase.
MigrationJob_PHASE_UNSPECIFIED, MigrationJob_FULL_DUMP, MigrationJob_CDC, MigrationJob_PROMOTE_IN_PROGRESS, MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP, MigrationJob_PREPARING_THE_DUMP
const (
// The phase of the migration job is unknown.
MigrationJob_PHASE_UNSPECIFIED MigrationJob_Phase = 0
// The migration job is in the full dump phase.
MigrationJob_FULL_DUMP MigrationJob_Phase = 1
// The migration job is CDC phase.
MigrationJob_CDC MigrationJob_Phase = 2
// The migration job is running the promote phase.
MigrationJob_PROMOTE_IN_PROGRESS MigrationJob_Phase = 3
// Only RDS flow - waiting for source writes to stop
MigrationJob_WAITING_FOR_SOURCE_WRITES_TO_STOP MigrationJob_Phase = 4
// Only RDS flow - the sources writes stopped, waiting for dump to begin
MigrationJob_PREPARING_THE_DUMP MigrationJob_Phase = 5
)
func (MigrationJob_Phase) Descriptor
func (MigrationJob_Phase) Descriptor() protoreflect.EnumDescriptor
func (MigrationJob_Phase) Enum
func (x MigrationJob_Phase) Enum() *MigrationJob_Phase
func (MigrationJob_Phase) EnumDescriptor
func (MigrationJob_Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use MigrationJob_Phase.Descriptor instead.
func (MigrationJob_Phase) Number
func (x MigrationJob_Phase) Number() protoreflect.EnumNumber
func (MigrationJob_Phase) String
func (x MigrationJob_Phase) String() string
func (MigrationJob_Phase) Type
func (MigrationJob_Phase) Type() protoreflect.EnumType
MigrationJob_ReverseSshConnectivity
type MigrationJob_ReverseSshConnectivity struct {
// The details needed to communicate to the source over Reverse SSH
// tunnel connectivity.
ReverseSshConnectivity *ReverseSshConnectivity `protobuf:"bytes,101,opt,name=reverse_ssh_connectivity,json=reverseSshConnectivity,proto3,oneof"`
}
MigrationJob_State
type MigrationJob_State int32
The current migration job states.
MigrationJob_STATE_UNSPECIFIED, MigrationJob_MAINTENANCE, MigrationJob_DRAFT, MigrationJob_CREATING, MigrationJob_NOT_STARTED, MigrationJob_RUNNING, MigrationJob_FAILED, MigrationJob_COMPLETED, MigrationJob_DELETING, MigrationJob_STOPPING, MigrationJob_STOPPED, MigrationJob_DELETED, MigrationJob_UPDATING, MigrationJob_STARTING, MigrationJob_RESTARTING, MigrationJob_RESUMING
const (
// The state of the migration job is unknown.
MigrationJob_STATE_UNSPECIFIED MigrationJob_State = 0
// The migration job is down for maintenance.
MigrationJob_MAINTENANCE MigrationJob_State = 1
// The migration job is in draft mode and no resources are created.
MigrationJob_DRAFT MigrationJob_State = 2
// The migration job is being created.
MigrationJob_CREATING MigrationJob_State = 3
// The migration job is created and not started.
MigrationJob_NOT_STARTED MigrationJob_State = 4
// The migration job is running.
MigrationJob_RUNNING MigrationJob_State = 5
// The migration job failed.
MigrationJob_FAILED MigrationJob_State = 6
// The migration job has been completed.
MigrationJob_COMPLETED MigrationJob_State = 7
// The migration job is being deleted.
MigrationJob_DELETING MigrationJob_State = 8
// The migration job is being stopped.
MigrationJob_STOPPING MigrationJob_State = 9
// The migration job is currently stopped.
MigrationJob_STOPPED MigrationJob_State = 10
// The migration job has been deleted.
MigrationJob_DELETED MigrationJob_State = 11
// The migration job is being updated.
MigrationJob_UPDATING MigrationJob_State = 12
// The migration job is starting.
MigrationJob_STARTING MigrationJob_State = 13
// The migration job is restarting.
MigrationJob_RESTARTING MigrationJob_State = 14
// The migration job is resuming.
MigrationJob_RESUMING MigrationJob_State = 15
)
func (MigrationJob_State) Descriptor
func (MigrationJob_State) Descriptor() protoreflect.EnumDescriptor
func (MigrationJob_State) Enum
func (x MigrationJob_State) Enum() *MigrationJob_State
func (MigrationJob_State) EnumDescriptor
func (MigrationJob_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MigrationJob_State.Descriptor instead.
func (MigrationJob_State) Number
func (x MigrationJob_State) Number() protoreflect.EnumNumber
func (MigrationJob_State) String
func (x MigrationJob_State) String() string
func (MigrationJob_State) Type
func (MigrationJob_State) Type() protoreflect.EnumType
MigrationJob_StaticIpConnectivity
type MigrationJob_StaticIpConnectivity struct {
// static ip connectivity data (default, no additional details needed).
StaticIpConnectivity *StaticIpConnectivity `protobuf:"bytes,103,opt,name=static_ip_connectivity,json=staticIpConnectivity,proto3,oneof"`
}
MigrationJob_Type
type MigrationJob_Type int32
The type of migration job (one-time or continuous).
MigrationJob_TYPE_UNSPECIFIED, MigrationJob_ONE_TIME, MigrationJob_CONTINUOUS
const (
// The type of the migration job is unknown.
MigrationJob_TYPE_UNSPECIFIED MigrationJob_Type = 0
// The migration job is a one time migration.
MigrationJob_ONE_TIME MigrationJob_Type = 1
// The migration job is a continuous migration.
MigrationJob_CONTINUOUS MigrationJob_Type = 2
)
func (MigrationJob_Type) Descriptor
func (MigrationJob_Type) Descriptor() protoreflect.EnumDescriptor
func (MigrationJob_Type) Enum
func (x MigrationJob_Type) Enum() *MigrationJob_Type
func (MigrationJob_Type) EnumDescriptor
func (MigrationJob_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MigrationJob_Type.Descriptor instead.
func (MigrationJob_Type) Number
func (x MigrationJob_Type) Number() protoreflect.EnumNumber
func (MigrationJob_Type) String
func (x MigrationJob_Type) String() string
func (MigrationJob_Type) Type
func (MigrationJob_Type) Type() protoreflect.EnumType
MigrationJob_VpcPeeringConnectivity
type MigrationJob_VpcPeeringConnectivity struct {
// The details of the VPC network that the source database is located in.
VpcPeeringConnectivity *VpcPeeringConnectivity `protobuf:"bytes,102,opt,name=vpc_peering_connectivity,json=vpcPeeringConnectivity,proto3,oneof"`
}
MySqlConnectionProfile
type MySqlConnectionProfile struct {
// Required. The IP or hostname of the source MySQL database.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Required. The network port of the source MySQL database.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Required. The username that Database Migration Service will use to connect
// to the database. The value is encrypted when stored in Database Migration
// Service.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Required. Input only. The password for the user that Database Migration
// Service will be using to connect to the database. This field is not
// returned on request, and the value is encrypted when stored in Database
// Migration Service.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates If this connection profile password is stored.
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// SSL configuration for the destination to connect to the source database.
Ssl *SslConfig `protobuf:"bytes,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
// If the source is a Cloud SQL database, use this field to
// provide the Cloud SQL instance ID of the source.
CloudSqlId string `protobuf:"bytes,7,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"`
// contains filtered or unexported fields
}
Specifies connection parameters required specifically for MySQL databases.
func (*MySqlConnectionProfile) Descriptor
func (*MySqlConnectionProfile) Descriptor() ([]byte, []int)
Deprecated: Use MySqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*MySqlConnectionProfile) GetCloudSqlId
func (x *MySqlConnectionProfile) GetCloudSqlId() string
func (*MySqlConnectionProfile) GetHost
func (x *MySqlConnectionProfile) GetHost() string
func (*MySqlConnectionProfile) GetPassword
func (x *MySqlConnectionProfile) GetPassword() string
func (*MySqlConnectionProfile) GetPasswordSet
func (x *MySqlConnectionProfile) GetPasswordSet() bool
func (*MySqlConnectionProfile) GetPort
func (x *MySqlConnectionProfile) GetPort() int32
func (*MySqlConnectionProfile) GetSsl
func (x *MySqlConnectionProfile) GetSsl() *SslConfig
func (*MySqlConnectionProfile) GetUsername
func (x *MySqlConnectionProfile) GetUsername() string
func (*MySqlConnectionProfile) ProtoMessage
func (*MySqlConnectionProfile) ProtoMessage()
func (*MySqlConnectionProfile) ProtoReflect
func (x *MySqlConnectionProfile) ProtoReflect() protoreflect.Message
func (*MySqlConnectionProfile) Reset
func (x *MySqlConnectionProfile) Reset()
func (*MySqlConnectionProfile) String
func (x *MySqlConnectionProfile) String() string
NetworkArchitecture
type NetworkArchitecture int32
NetworkArchitecture_NETWORK_ARCHITECTURE_UNSPECIFIED, NetworkArchitecture_NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, NetworkArchitecture_NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER
const (
NetworkArchitecture_NETWORK_ARCHITECTURE_UNSPECIFIED NetworkArchitecture = 0
// Instance is in Cloud SQL's old producer network architecture.
NetworkArchitecture_NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER NetworkArchitecture = 1
// Instance is in Cloud SQL's new producer network architecture.
NetworkArchitecture_NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER NetworkArchitecture = 2
)
func (NetworkArchitecture) Descriptor
func (NetworkArchitecture) Descriptor() protoreflect.EnumDescriptor
func (NetworkArchitecture) Enum
func (x NetworkArchitecture) Enum() *NetworkArchitecture
func (NetworkArchitecture) EnumDescriptor
func (NetworkArchitecture) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkArchitecture.Descriptor instead.
func (NetworkArchitecture) Number
func (x NetworkArchitecture) Number() protoreflect.EnumNumber
func (NetworkArchitecture) String
func (x NetworkArchitecture) String() string
func (NetworkArchitecture) Type
func (NetworkArchitecture) Type() protoreflect.EnumType
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
OracleConnectionProfile
type OracleConnectionProfile struct {
// Required. The IP or hostname of the source Oracle database.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Required. The network port of the source Oracle database.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Required. The username that Database Migration Service will use to connect
// to the database. The value is encrypted when stored in Database Migration
// Service.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Required. Input only. The password for the user that Database Migration
// Service will be using to connect to the database. This field is not
// returned on request, and the value is encrypted when stored in Database
// Migration Service.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Output only. Indicates whether a new password is included in the request.
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
// Required. Database service for the Oracle connection.
DatabaseService string `protobuf:"bytes,6,opt,name=database_service,json=databaseService,proto3" json:"database_service,omitempty"`
// Connectivity options used to establish a connection to the database server.
//
// Types that are assignable to Connectivity:
// *OracleConnectionProfile_StaticServiceIpConnectivity
// *OracleConnectionProfile_ForwardSshConnectivity
// *OracleConnectionProfile_PrivateConnectivity
Connectivity isOracleConnectionProfile_Connectivity `protobuf_oneof:"connectivity"`
// contains filtered or unexported fields
}
Specifies connection parameters required specifically for Oracle databases.
func (*OracleConnectionProfile) Descriptor
func (*OracleConnectionProfile) Descriptor() ([]byte, []int)
Deprecated: Use OracleConnectionProfile.ProtoReflect.Descriptor instead.
func (*OracleConnectionProfile) GetConnectivity
func (m *OracleConnectionProfile) GetConnectivity() isOracleConnectionProfile_Connectivity
func (*OracleConnectionProfile) GetDatabaseService
func (x *OracleConnectionProfile) GetDatabaseService() string
func (*OracleConnectionProfile) GetForwardSshConnectivity
func (x *OracleConnectionProfile) GetForwardSshConnectivity() *ForwardSshTunnelConnectivity
func (*OracleConnectionProfile) GetHost
func (x *OracleConnectionProfile) GetHost() string
func (*OracleConnectionProfile) GetPassword
func (x *OracleConnectionProfile) GetPassword() string
func (*OracleConnectionProfile) GetPasswordSet
func (x *OracleConnectionProfile) GetPasswordSet() bool
func (*OracleConnectionProfile) GetPort
func (x *OracleConnectionProfile) GetPort() int32
func (*OracleConnectionProfile) GetPrivateConnectivity
func (x *OracleConnectionProfile) GetPrivateConnectivity() *PrivateConnectivity
func (*OracleConnectionProfile) GetStaticServiceIpConnectivity
func (x *OracleConnectionProfile) GetStaticServiceIpConnectivity() *StaticServiceIpConnectivity
func (*OracleConnectionProfile) GetUsername
func (x *OracleConnectionProfile) GetUsername() string
func (*OracleConnectionProfile) ProtoMessage
func (*OracleConnectionProfile) ProtoMessage()
func (*OracleConnectionProfile) ProtoReflect
func (x *OracleConnectionProfile) ProtoReflect() protoreflect.Message
func (*OracleConnectionProfile) Reset
func (x *OracleConnectionProfile) Reset()
func (*OracleConnectionProfile) String
func (x *OracleConnectionProfile) String() string
OracleConnectionProfile_ForwardSshConnectivity
type OracleConnectionProfile_ForwardSshConnectivity struct {
// Forward SSH tunnel connectivity.
ForwardSshConnectivity *ForwardSshTunnelConnectivity `protobuf:"bytes,101,opt,name=forward_ssh_connectivity,json=forwardSshConnectivity,proto3,oneof"`
}
OracleConnectionProfile_PrivateConnectivity
type OracleConnectionProfile_PrivateConnectivity struct {
// Private connectivity.
PrivateConnectivity *PrivateConnectivity `protobuf:"bytes,102,opt,name=private_connectivity,json=privateConnectivity,proto3,oneof"`
}
OracleConnectionProfile_StaticServiceIpConnectivity
type OracleConnectionProfile_StaticServiceIpConnectivity struct {
// Static Service IP connectivity.
StaticServiceIpConnectivity *StaticServiceIpConnectivity `protobuf:"bytes,100,opt,name=static_service_ip_connectivity,json=staticServiceIpConnectivity,proto3,oneof"`
}
PackageEntity
type PackageEntity struct {
// The SQL code which creates the package.
PackageSqlCode string `protobuf:"bytes,1,opt,name=package_sql_code,json=packageSqlCode,proto3" json:"package_sql_code,omitempty"`
// The SQL code which creates the package body. If the package specification
// has cursors or subprograms, then the package body is mandatory.
PackageBody string `protobuf:"bytes,2,opt,name=package_body,json=packageBody,proto3" json:"package_body,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,3,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Package's parent is a schema.
func (*PackageEntity) Descriptor
func (*PackageEntity) Descriptor() ([]byte, []int)
Deprecated: Use PackageEntity.ProtoReflect.Descriptor instead.
func (*PackageEntity) GetCustomFeatures
func (x *PackageEntity) GetCustomFeatures() *structpb.Struct
func (*PackageEntity) GetPackageBody
func (x *PackageEntity) GetPackageBody() string
func (*PackageEntity) GetPackageSqlCode
func (x *PackageEntity) GetPackageSqlCode() string
func (*PackageEntity) ProtoMessage
func (*PackageEntity) ProtoMessage()
func (*PackageEntity) ProtoReflect
func (x *PackageEntity) ProtoReflect() protoreflect.Message
func (*PackageEntity) Reset
func (x *PackageEntity) Reset()
func (*PackageEntity) String
func (x *PackageEntity) String() string
PostgreSqlConnectionProfile
type PostgreSqlConnectionProfile struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
Ssl *SslConfig `protobuf:"bytes,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
CloudSqlId string `protobuf:"bytes,7,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"`
NetworkArchitecture NetworkArchitecture "" /* 169 byte string literal not displayed */
Connectivity isPostgreSqlConnectionProfile_Connectivity `protobuf_oneof:"connectivity"`
}
Specifies connection parameters required specifically for PostgreSQL databases.
func (*PostgreSqlConnectionProfile) Descriptor
func (*PostgreSqlConnectionProfile) Descriptor() ([]byte, []int)
Deprecated: Use PostgreSqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*PostgreSqlConnectionProfile) GetCloudSqlId
func (x *PostgreSqlConnectionProfile) GetCloudSqlId() string
func (*PostgreSqlConnectionProfile) GetConnectivity
func (m *PostgreSqlConnectionProfile) GetConnectivity() isPostgreSqlConnectionProfile_Connectivity
func (*PostgreSqlConnectionProfile) GetHost
func (x *PostgreSqlConnectionProfile) GetHost() string
func (*PostgreSqlConnectionProfile) GetNetworkArchitecture
func (x *PostgreSqlConnectionProfile) GetNetworkArchitecture() NetworkArchitecture
func (*PostgreSqlConnectionProfile) GetPassword
func (x *PostgreSqlConnectionProfile) GetPassword() string
func (*PostgreSqlConnectionProfile) GetPasswordSet
func (x *PostgreSqlConnectionProfile) GetPasswordSet() bool
func (*PostgreSqlConnectionProfile) GetPort
func (x *PostgreSqlConnectionProfile) GetPort() int32
func (*PostgreSqlConnectionProfile) GetPrivateServiceConnectConnectivity
func (x *PostgreSqlConnectionProfile) GetPrivateServiceConnectConnectivity() *PrivateServiceConnectConnectivity
func (*PostgreSqlConnectionProfile) GetSsl
func (x *PostgreSqlConnectionProfile) GetSsl() *SslConfig
func (*PostgreSqlConnectionProfile) GetStaticIpConnectivity
func (x *PostgreSqlConnectionProfile) GetStaticIpConnectivity() *StaticIpConnectivity
func (*PostgreSqlConnectionProfile) GetUsername
func (x *PostgreSqlConnectionProfile) GetUsername() string
func (*PostgreSqlConnectionProfile) ProtoMessage
func (*PostgreSqlConnectionProfile) ProtoMessage()
func (*PostgreSqlConnectionProfile) ProtoReflect
func (x *PostgreSqlConnectionProfile) ProtoReflect() protoreflect.Message
func (*PostgreSqlConnectionProfile) Reset
func (x *PostgreSqlConnectionProfile) Reset()
func (*PostgreSqlConnectionProfile) String
func (x *PostgreSqlConnectionProfile) String() string
PostgreSqlConnectionProfile_PrivateServiceConnectConnectivity
type PostgreSqlConnectionProfile_PrivateServiceConnectConnectivity struct {
// Private service connect connectivity.
PrivateServiceConnectConnectivity *PrivateServiceConnectConnectivity `protobuf:"bytes,101,opt,name=private_service_connect_connectivity,json=privateServiceConnectConnectivity,proto3,oneof"`
}
PostgreSqlConnectionProfile_StaticIpConnectivity
type PostgreSqlConnectionProfile_StaticIpConnectivity struct {
// Static ip connectivity data (default, no additional details needed).
StaticIpConnectivity *StaticIpConnectivity `protobuf:"bytes,100,opt,name=static_ip_connectivity,json=staticIpConnectivity,proto3,oneof"`
}
PrivateConnection
type PrivateConnection struct {
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 */
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
State PrivateConnection_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.clouddms.v1.PrivateConnection_State" json:"state,omitempty"`
Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
Connectivity isPrivateConnection_Connectivity `protobuf_oneof:"connectivity"`
}
The PrivateConnection resource is used to establish private connectivity with the customer's network.
func (*PrivateConnection) Descriptor
func (*PrivateConnection) Descriptor() ([]byte, []int)
Deprecated: Use PrivateConnection.ProtoReflect.Descriptor instead.
func (*PrivateConnection) GetConnectivity
func (m *PrivateConnection) GetConnectivity() isPrivateConnection_Connectivity
func (*PrivateConnection) GetCreateTime
func (x *PrivateConnection) GetCreateTime() *timestamppb.Timestamp
func (*PrivateConnection) GetDisplayName
func (x *PrivateConnection) GetDisplayName() string
func (*PrivateConnection) GetError
func (x *PrivateConnection) GetError() *status.Status
func (*PrivateConnection) GetLabels
func (x *PrivateConnection) GetLabels() map[string]string
func (*PrivateConnection) GetName
func (x *PrivateConnection) GetName() string
func (*PrivateConnection) GetState
func (x *PrivateConnection) GetState() PrivateConnection_State
func (*PrivateConnection) GetUpdateTime
func (x *PrivateConnection) GetUpdateTime() *timestamppb.Timestamp
func (*PrivateConnection) GetVpcPeeringConfig
func (x *PrivateConnection) GetVpcPeeringConfig() *VpcPeeringConfig
func (*PrivateConnection) ProtoMessage
func (*PrivateConnection) ProtoMessage()
func (*PrivateConnection) ProtoReflect
func (x *PrivateConnection) ProtoReflect() protoreflect.Message
func (*PrivateConnection) Reset
func (x *PrivateConnection) Reset()
func (*PrivateConnection) String
func (x *PrivateConnection) String() string
PrivateConnection_State
type PrivateConnection_State int32
Private Connection state.
PrivateConnection_STATE_UNSPECIFIED, PrivateConnection_CREATING, PrivateConnection_CREATED, PrivateConnection_FAILED, PrivateConnection_DELETING, PrivateConnection_FAILED_TO_DELETE, PrivateConnection_DELETED
const (
PrivateConnection_STATE_UNSPECIFIED PrivateConnection_State = 0
// The private connection is in creation state - creating resources.
PrivateConnection_CREATING PrivateConnection_State = 1
// The private connection has been created with all of its resources.
PrivateConnection_CREATED PrivateConnection_State = 2
// The private connection creation has failed.
PrivateConnection_FAILED PrivateConnection_State = 3
// The private connection is being deleted.
PrivateConnection_DELETING PrivateConnection_State = 4
// Delete request has failed, resource is in invalid state.
PrivateConnection_FAILED_TO_DELETE PrivateConnection_State = 5
// The private connection has been deleted.
PrivateConnection_DELETED PrivateConnection_State = 6
)
func (PrivateConnection_State) Descriptor
func (PrivateConnection_State) Descriptor() protoreflect.EnumDescriptor
func (PrivateConnection_State) Enum
func (x PrivateConnection_State) Enum() *PrivateConnection_State
func (PrivateConnection_State) EnumDescriptor
func (PrivateConnection_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrivateConnection_State.Descriptor instead.
func (PrivateConnection_State) Number
func (x PrivateConnection_State) Number() protoreflect.EnumNumber
func (PrivateConnection_State) String
func (x PrivateConnection_State) String() string
func (PrivateConnection_State) Type
func (PrivateConnection_State) Type() protoreflect.EnumType
PrivateConnection_VpcPeeringConfig
type PrivateConnection_VpcPeeringConfig struct {
// VPC peering configuration.
VpcPeeringConfig *VpcPeeringConfig `protobuf:"bytes,100,opt,name=vpc_peering_config,json=vpcPeeringConfig,proto3,oneof"`
}
PrivateConnectivity
type PrivateConnectivity struct {
// Required. The resource name (URI) of the private connection.
PrivateConnection string `protobuf:"bytes,1,opt,name=private_connection,json=privateConnection,proto3" json:"private_connection,omitempty"`
// contains filtered or unexported fields
}
Private Connectivity.
func (*PrivateConnectivity) Descriptor
func (*PrivateConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use PrivateConnectivity.ProtoReflect.Descriptor instead.
func (*PrivateConnectivity) GetPrivateConnection
func (x *PrivateConnectivity) GetPrivateConnection() string
func (*PrivateConnectivity) ProtoMessage
func (*PrivateConnectivity) ProtoMessage()
func (*PrivateConnectivity) ProtoReflect
func (x *PrivateConnectivity) ProtoReflect() protoreflect.Message
func (*PrivateConnectivity) Reset
func (x *PrivateConnectivity) Reset()
func (*PrivateConnectivity) String
func (x *PrivateConnectivity) String() string
PrivateServiceConnectConnectivity
type PrivateServiceConnectConnectivity struct {
// Required. A service attachment that exposes a database, and has the
// following format:
// projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
ServiceAttachment string `protobuf:"bytes,1,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
// contains filtered or unexported fields
}
Private Service Connect connectivity (https://cloud.google.com/vpc/docs/private-service-connect#service-attachments)
func (*PrivateServiceConnectConnectivity) Descriptor
func (*PrivateServiceConnectConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use PrivateServiceConnectConnectivity.ProtoReflect.Descriptor instead.
func (*PrivateServiceConnectConnectivity) GetServiceAttachment
func (x *PrivateServiceConnectConnectivity) GetServiceAttachment() string
func (*PrivateServiceConnectConnectivity) ProtoMessage
func (*PrivateServiceConnectConnectivity) ProtoMessage()
func (*PrivateServiceConnectConnectivity) ProtoReflect
func (x *PrivateServiceConnectConnectivity) ProtoReflect() protoreflect.Message
func (*PrivateServiceConnectConnectivity) Reset
func (x *PrivateServiceConnectConnectivity) Reset()
func (*PrivateServiceConnectConnectivity) String
func (x *PrivateServiceConnectConnectivity) String() string
PromoteMigrationJobRequest
type PromoteMigrationJobRequest struct {
// Name of the migration job resource to promote.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'PromoteMigrationJob' request.
func (*PromoteMigrationJobRequest) Descriptor
func (*PromoteMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromoteMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*PromoteMigrationJobRequest) GetName
func (x *PromoteMigrationJobRequest) GetName() string
func (*PromoteMigrationJobRequest) ProtoMessage
func (*PromoteMigrationJobRequest) ProtoMessage()
func (*PromoteMigrationJobRequest) ProtoReflect
func (x *PromoteMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*PromoteMigrationJobRequest) Reset
func (x *PromoteMigrationJobRequest) Reset()
func (*PromoteMigrationJobRequest) String
func (x *PromoteMigrationJobRequest) String() string
RestartMigrationJobRequest
type RestartMigrationJobRequest struct {
// Name of the migration job resource to restart.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'RestartMigrationJob' request.
func (*RestartMigrationJobRequest) Descriptor
func (*RestartMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*RestartMigrationJobRequest) GetName
func (x *RestartMigrationJobRequest) GetName() string
func (*RestartMigrationJobRequest) ProtoMessage
func (*RestartMigrationJobRequest) ProtoMessage()
func (*RestartMigrationJobRequest) ProtoReflect
func (x *RestartMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*RestartMigrationJobRequest) Reset
func (x *RestartMigrationJobRequest) Reset()
func (*RestartMigrationJobRequest) String
func (x *RestartMigrationJobRequest) String() string
ResumeMigrationJobRequest
type ResumeMigrationJobRequest struct {
// Name of the migration job resource to resume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'ResumeMigrationJob' request.
func (*ResumeMigrationJobRequest) Descriptor
func (*ResumeMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*ResumeMigrationJobRequest) GetName
func (x *ResumeMigrationJobRequest) GetName() string
func (*ResumeMigrationJobRequest) ProtoMessage
func (*ResumeMigrationJobRequest) ProtoMessage()
func (*ResumeMigrationJobRequest) ProtoReflect
func (x *ResumeMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*ResumeMigrationJobRequest) Reset
func (x *ResumeMigrationJobRequest) Reset()
func (*ResumeMigrationJobRequest) String
func (x *ResumeMigrationJobRequest) String() string
ReverseSshConnectivity
type ReverseSshConnectivity struct {
// Required. The IP of the virtual machine (Compute Engine) used as the
// bastion server for the SSH tunnel.
VmIp string `protobuf:"bytes,1,opt,name=vm_ip,json=vmIp,proto3" json:"vm_ip,omitempty"`
// Required. The forwarding port of the virtual machine (Compute Engine) used
// as the bastion server for the SSH tunnel.
VmPort int32 `protobuf:"varint,2,opt,name=vm_port,json=vmPort,proto3" json:"vm_port,omitempty"`
// The name of the virtual machine (Compute Engine) used as the bastion server
// for the SSH tunnel.
Vm string `protobuf:"bytes,3,opt,name=vm,proto3" json:"vm,omitempty"`
// The name of the VPC to peer with the Cloud SQL private network.
Vpc string `protobuf:"bytes,4,opt,name=vpc,proto3" json:"vpc,omitempty"`
// contains filtered or unexported fields
}
The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.
func (*ReverseSshConnectivity) Descriptor
func (*ReverseSshConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use ReverseSshConnectivity.ProtoReflect.Descriptor instead.
func (*ReverseSshConnectivity) GetVm
func (x *ReverseSshConnectivity) GetVm() string
func (*ReverseSshConnectivity) GetVmIp
func (x *ReverseSshConnectivity) GetVmIp() string
func (*ReverseSshConnectivity) GetVmPort
func (x *ReverseSshConnectivity) GetVmPort() int32
func (*ReverseSshConnectivity) GetVpc
func (x *ReverseSshConnectivity) GetVpc() string
func (*ReverseSshConnectivity) ProtoMessage
func (*ReverseSshConnectivity) ProtoMessage()
func (*ReverseSshConnectivity) ProtoReflect
func (x *ReverseSshConnectivity) ProtoReflect() protoreflect.Message
func (*ReverseSshConnectivity) Reset
func (x *ReverseSshConnectivity) Reset()
func (*ReverseSshConnectivity) String
func (x *ReverseSshConnectivity) String() string
RollbackConversionWorkspaceRequest
type RollbackConversionWorkspaceRequest struct {
// Required. Name of the conversion workspace resource to roll back to.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'RollbackConversionWorkspace' request.
func (*RollbackConversionWorkspaceRequest) Descriptor
func (*RollbackConversionWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*RollbackConversionWorkspaceRequest) GetName
func (x *RollbackConversionWorkspaceRequest) GetName() string
func (*RollbackConversionWorkspaceRequest) ProtoMessage
func (*RollbackConversionWorkspaceRequest) ProtoMessage()
func (*RollbackConversionWorkspaceRequest) ProtoReflect
func (x *RollbackConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*RollbackConversionWorkspaceRequest) Reset
func (x *RollbackConversionWorkspaceRequest) Reset()
func (*RollbackConversionWorkspaceRequest) String
func (x *RollbackConversionWorkspaceRequest) String() string
SchemaEntity
type SchemaEntity struct {
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,1,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.
func (*SchemaEntity) Descriptor
func (*SchemaEntity) Descriptor() ([]byte, []int)
Deprecated: Use SchemaEntity.ProtoReflect.Descriptor instead.
func (*SchemaEntity) GetCustomFeatures
func (x *SchemaEntity) GetCustomFeatures() *structpb.Struct
func (*SchemaEntity) ProtoMessage
func (*SchemaEntity) ProtoMessage()
func (*SchemaEntity) ProtoReflect
func (x *SchemaEntity) ProtoReflect() protoreflect.Message
func (*SchemaEntity) Reset
func (x *SchemaEntity) Reset()
func (*SchemaEntity) String
func (x *SchemaEntity) String() string
SearchBackgroundJobsRequest
type SearchBackgroundJobsRequest struct {
ConversionWorkspace string `protobuf:"bytes,1,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
ReturnMostRecentPerJobType bool "" /* 148 byte string literal not displayed */
MaxSize int32 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
CompletedUntilTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=completed_until_time,json=completedUntilTime,proto3" json:"completed_until_time,omitempty"`
}
Request message for 'SearchBackgroundJobs' request.
func (*SearchBackgroundJobsRequest) Descriptor
func (*SearchBackgroundJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchBackgroundJobsRequest.ProtoReflect.Descriptor instead.
func (*SearchBackgroundJobsRequest) GetCompletedUntilTime
func (x *SearchBackgroundJobsRequest) GetCompletedUntilTime() *timestamppb.Timestamp
func (*SearchBackgroundJobsRequest) GetConversionWorkspace
func (x *SearchBackgroundJobsRequest) GetConversionWorkspace() string
func (*SearchBackgroundJobsRequest) GetMaxSize
func (x *SearchBackgroundJobsRequest) GetMaxSize() int32
func (*SearchBackgroundJobsRequest) GetReturnMostRecentPerJobType
func (x *SearchBackgroundJobsRequest) GetReturnMostRecentPerJobType() bool
func (*SearchBackgroundJobsRequest) ProtoMessage
func (*SearchBackgroundJobsRequest) ProtoMessage()
func (*SearchBackgroundJobsRequest) ProtoReflect
func (x *SearchBackgroundJobsRequest) ProtoReflect() protoreflect.Message
func (*SearchBackgroundJobsRequest) Reset
func (x *SearchBackgroundJobsRequest) Reset()
func (*SearchBackgroundJobsRequest) String
func (x *SearchBackgroundJobsRequest) String() string
SearchBackgroundJobsResponse
type SearchBackgroundJobsResponse struct {
// The list of conversion workspace mapping rules.
Jobs []*BackgroundJobLogEntry `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
// contains filtered or unexported fields
}
Response message for 'SearchBackgroundJobs' request.
func (*SearchBackgroundJobsResponse) Descriptor
func (*SearchBackgroundJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchBackgroundJobsResponse.ProtoReflect.Descriptor instead.
func (*SearchBackgroundJobsResponse) GetJobs
func (x *SearchBackgroundJobsResponse) GetJobs() []*BackgroundJobLogEntry
func (*SearchBackgroundJobsResponse) ProtoMessage
func (*SearchBackgroundJobsResponse) ProtoMessage()
func (*SearchBackgroundJobsResponse) ProtoReflect
func (x *SearchBackgroundJobsResponse) ProtoReflect() protoreflect.Message
func (*SearchBackgroundJobsResponse) Reset
func (x *SearchBackgroundJobsResponse) Reset()
func (*SearchBackgroundJobsResponse) String
func (x *SearchBackgroundJobsResponse) String() string
SeedConversionWorkspaceRequest
type SeedConversionWorkspaceRequest struct {
// Name of the conversion workspace resource to seed with new database
// structure, in the form of:
// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Should the conversion workspace be committed automatically after the
// seed operation.
AutoCommit bool `protobuf:"varint,2,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
// The input to be used for seeding the conversion workspace. The input can
// either be from the source or destination databases and it can be provided
// through a connection profile or a DDL file.
//
// Types that are assignable to SeedFrom:
// *SeedConversionWorkspaceRequest_SourceConnectionProfile
// *SeedConversionWorkspaceRequest_DestinationConnectionProfile
SeedFrom isSeedConversionWorkspaceRequest_SeedFrom `protobuf_oneof:"seed_from"`
// contains filtered or unexported fields
}
Request message for 'SeedConversionWorkspace' request.
func (*SeedConversionWorkspaceRequest) Descriptor
func (*SeedConversionWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SeedConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*SeedConversionWorkspaceRequest) GetAutoCommit
func (x *SeedConversionWorkspaceRequest) GetAutoCommit() bool
func (*SeedConversionWorkspaceRequest) GetDestinationConnectionProfile
func (x *SeedConversionWorkspaceRequest) GetDestinationConnectionProfile() string
func (*SeedConversionWorkspaceRequest) GetName
func (x *SeedConversionWorkspaceRequest) GetName() string
func (*SeedConversionWorkspaceRequest) GetSeedFrom
func (m *SeedConversionWorkspaceRequest) GetSeedFrom() isSeedConversionWorkspaceRequest_SeedFrom
func (*SeedConversionWorkspaceRequest) GetSourceConnectionProfile
func (x *SeedConversionWorkspaceRequest) GetSourceConnectionProfile() string
func (*SeedConversionWorkspaceRequest) ProtoMessage
func (*SeedConversionWorkspaceRequest) ProtoMessage()
func (*SeedConversionWorkspaceRequest) ProtoReflect
func (x *SeedConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*SeedConversionWorkspaceRequest) Reset
func (x *SeedConversionWorkspaceRequest) Reset()
func (*SeedConversionWorkspaceRequest) String
func (x *SeedConversionWorkspaceRequest) String() string
SeedConversionWorkspaceRequest_DestinationConnectionProfile
type SeedConversionWorkspaceRequest_DestinationConnectionProfile struct {
// Fully qualified (Uri) name of the destination connection profile.
DestinationConnectionProfile string `protobuf:"bytes,101,opt,name=destination_connection_profile,json=destinationConnectionProfile,proto3,oneof"`
}
SeedConversionWorkspaceRequest_SourceConnectionProfile
type SeedConversionWorkspaceRequest_SourceConnectionProfile struct {
// Fully qualified (Uri) name of the source connection profile.
SourceConnectionProfile string `protobuf:"bytes,100,opt,name=source_connection_profile,json=sourceConnectionProfile,proto3,oneof"`
}
SequenceEntity
type SequenceEntity struct {
// Increment value for the sequence.
Increment int64 `protobuf:"varint,1,opt,name=increment,proto3" json:"increment,omitempty"`
// Start number for the sequence represented as bytes to accommodate large.
// numbers
StartValue []byte `protobuf:"bytes,2,opt,name=start_value,json=startValue,proto3" json:"start_value,omitempty"`
// Maximum number for the sequence represented as bytes to accommodate large.
// numbers
MaxValue []byte `protobuf:"bytes,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
// Minimum number for the sequence represented as bytes to accommodate large.
// numbers
MinValue []byte `protobuf:"bytes,4,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
// Indicates whether the sequence value should cycle through.
Cycle bool `protobuf:"varint,5,opt,name=cycle,proto3" json:"cycle,omitempty"`
// Indicates number of entries to cache / precreate.
Cache int64 `protobuf:"varint,6,opt,name=cache,proto3" json:"cache,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,7,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Sequence's parent is a schema.
func (*SequenceEntity) Descriptor
func (*SequenceEntity) Descriptor() ([]byte, []int)
Deprecated: Use SequenceEntity.ProtoReflect.Descriptor instead.
func (*SequenceEntity) GetCache
func (x *SequenceEntity) GetCache() int64
func (*SequenceEntity) GetCustomFeatures
func (x *SequenceEntity) GetCustomFeatures() *structpb.Struct
func (*SequenceEntity) GetCycle
func (x *SequenceEntity) GetCycle() bool
func (*SequenceEntity) GetIncrement
func (x *SequenceEntity) GetIncrement() int64
func (*SequenceEntity) GetMaxValue
func (x *SequenceEntity) GetMaxValue() []byte
func (*SequenceEntity) GetMinValue
func (x *SequenceEntity) GetMinValue() []byte
func (*SequenceEntity) GetStartValue
func (x *SequenceEntity) GetStartValue() []byte
func (*SequenceEntity) ProtoMessage
func (*SequenceEntity) ProtoMessage()
func (*SequenceEntity) ProtoReflect
func (x *SequenceEntity) ProtoReflect() protoreflect.Message
func (*SequenceEntity) Reset
func (x *SequenceEntity) Reset()
func (*SequenceEntity) String
func (x *SequenceEntity) String() string
SqlAclEntry
type SqlAclEntry struct {
// The allowlisted value for the access control list.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// The access control entry entry expiration.
//
// Types that are assignable to Expiration:
// *SqlAclEntry_ExpireTime
// *SqlAclEntry_Ttl
Expiration isSqlAclEntry_Expiration `protobuf_oneof:"expiration"`
// A label to identify this entry.
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
An entry for an Access Control list.
func (*SqlAclEntry) Descriptor
func (*SqlAclEntry) Descriptor() ([]byte, []int)
Deprecated: Use SqlAclEntry.ProtoReflect.Descriptor instead.
func (*SqlAclEntry) GetExpiration
func (m *SqlAclEntry) GetExpiration() isSqlAclEntry_Expiration
func (*SqlAclEntry) GetExpireTime
func (x *SqlAclEntry) GetExpireTime() *timestamppb.Timestamp
func (*SqlAclEntry) GetLabel
func (x *SqlAclEntry) GetLabel() string
func (*SqlAclEntry) GetTtl
func (x *SqlAclEntry) GetTtl() *durationpb.Duration
func (*SqlAclEntry) GetValue
func (x *SqlAclEntry) GetValue() string
func (*SqlAclEntry) ProtoMessage
func (*SqlAclEntry) ProtoMessage()
func (*SqlAclEntry) ProtoReflect
func (x *SqlAclEntry) ProtoReflect() protoreflect.Message
func (*SqlAclEntry) Reset
func (x *SqlAclEntry) Reset()
func (*SqlAclEntry) String
func (x *SqlAclEntry) String() string
SqlAclEntry_ExpireTime
type SqlAclEntry_ExpireTime struct {
// The time when this access control entry expires in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example:
// `2012-11-15T16:19:00.094Z`.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3,oneof"`
}
SqlAclEntry_Ttl
type SqlAclEntry_Ttl struct {
// Input only. The time-to-leave of this access control entry.
Ttl *durationpb.Duration `protobuf:"bytes,11,opt,name=ttl,proto3,oneof"`
}
SqlIpConfig
type SqlIpConfig struct {
// Whether the instance should be assigned an IPv4 address or not.
EnableIpv4 *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable_ipv4,json=enableIpv4,proto3" json:"enable_ipv4,omitempty"`
// The resource link for the VPC network from which the Cloud SQL instance is
// accessible for private IP. For example,
// `projects/myProject/global/networks/default`. This setting can
// be updated, but it cannot be removed after it is set.
PrivateNetwork string `protobuf:"bytes,2,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
// Optional. The name of the allocated IP address range for the private IP
// Cloud SQL instance. This name refers to an already allocated IP range
// address. If set, the instance IP address will be created in the allocated
// range. Note that this IP address range can't be modified after the instance
// is created. If you change the VPC when configuring connectivity settings
// for the migration job, this field is not relevant.
AllocatedIpRange string `protobuf:"bytes,5,opt,name=allocated_ip_range,json=allocatedIpRange,proto3" json:"allocated_ip_range,omitempty"`
// Whether SSL connections over IP should be enforced or not.
RequireSsl *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=require_ssl,json=requireSsl,proto3" json:"require_ssl,omitempty"`
// The list of external networks that are allowed to connect to the instance
// using the IP. See
// https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
// 'slash' notation (e.g. `192.168.100.0/24`).
AuthorizedNetworks []*SqlAclEntry `protobuf:"bytes,4,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
// contains filtered or unexported fields
}
IP Management configuration.
func (*SqlIpConfig) Descriptor
func (*SqlIpConfig) Descriptor() ([]byte, []int)
Deprecated: Use SqlIpConfig.ProtoReflect.Descriptor instead.
func (*SqlIpConfig) GetAllocatedIpRange
func (x *SqlIpConfig) GetAllocatedIpRange() string
func (*SqlIpConfig) GetAuthorizedNetworks
func (x *SqlIpConfig) GetAuthorizedNetworks() []*SqlAclEntry
func (*SqlIpConfig) GetEnableIpv4
func (x *SqlIpConfig) GetEnableIpv4() *wrapperspb.BoolValue
func (*SqlIpConfig) GetPrivateNetwork
func (x *SqlIpConfig) GetPrivateNetwork() string
func (*SqlIpConfig) GetRequireSsl
func (x *SqlIpConfig) GetRequireSsl() *wrapperspb.BoolValue
func (*SqlIpConfig) ProtoMessage
func (*SqlIpConfig) ProtoMessage()
func (*SqlIpConfig) ProtoReflect
func (x *SqlIpConfig) ProtoReflect() protoreflect.Message
func (*SqlIpConfig) Reset
func (x *SqlIpConfig) Reset()
func (*SqlIpConfig) String
func (x *SqlIpConfig) String() string
SshScript
type SshScript struct {
// The ssh configuration script.
Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
// contains filtered or unexported fields
}
Response message for 'GenerateSshScript' request.
func (*SshScript) Descriptor
Deprecated: Use SshScript.ProtoReflect.Descriptor instead.
func (*SshScript) GetScript
func (*SshScript) ProtoMessage
func (*SshScript) ProtoMessage()
func (*SshScript) ProtoReflect
func (x *SshScript) ProtoReflect() protoreflect.Message
func (*SshScript) Reset
func (x *SshScript) Reset()
func (*SshScript) String
SslConfig
type SslConfig struct {
// Output only. The ssl config type according to 'client_key',
// 'client_certificate' and 'ca_certificate'.
Type SslConfig_SslType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.clouddms.v1.SslConfig_SslType" json:"type,omitempty"`
// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key
// associated with the Client Certificate. If this field is used then the
// 'client_certificate' field is mandatory.
ClientKey string `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
// Input only. The x509 PEM-encoded certificate that will be used by the
// replica to authenticate against the source database server.If this field is
// used then the 'client_key' field is mandatory.
ClientCertificate string `protobuf:"bytes,3,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
// Required. Input only. The x509 PEM-encoded certificate of the CA that
// signed the source database server's certificate. The replica will use this
// certificate to verify it's connecting to the right host.
CaCertificate string `protobuf:"bytes,4,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
// contains filtered or unexported fields
}
SSL configuration information.
func (*SslConfig) Descriptor
Deprecated: Use SslConfig.ProtoReflect.Descriptor instead.
func (*SslConfig) GetCaCertificate
func (*SslConfig) GetClientCertificate
func (*SslConfig) GetClientKey
func (*SslConfig) GetType
func (x *SslConfig) GetType() SslConfig_SslType
func (*SslConfig) ProtoMessage
func (*SslConfig) ProtoMessage()
func (*SslConfig) ProtoReflect
func (x *SslConfig) ProtoReflect() protoreflect.Message
func (*SslConfig) Reset
func (x *SslConfig) Reset()
func (*SslConfig) String
SslConfig_SslType
type SslConfig_SslType int32
Specifies The kind of ssl configuration used.
SslConfig_SSL_TYPE_UNSPECIFIED, SslConfig_SERVER_ONLY, SslConfig_SERVER_CLIENT
const (
// Unspecified.
SslConfig_SSL_TYPE_UNSPECIFIED SslConfig_SslType = 0
// Only 'ca_certificate' specified.
SslConfig_SERVER_ONLY SslConfig_SslType = 1
// Both server ('ca_certificate'), and client ('client_key',
// 'client_certificate') specified.
SslConfig_SERVER_CLIENT SslConfig_SslType = 2
)
func (SslConfig_SslType) Descriptor
func (SslConfig_SslType) Descriptor() protoreflect.EnumDescriptor
func (SslConfig_SslType) Enum
func (x SslConfig_SslType) Enum() *SslConfig_SslType
func (SslConfig_SslType) EnumDescriptor
func (SslConfig_SslType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SslConfig_SslType.Descriptor instead.
func (SslConfig_SslType) Number
func (x SslConfig_SslType) Number() protoreflect.EnumNumber
func (SslConfig_SslType) String
func (x SslConfig_SslType) String() string
func (SslConfig_SslType) Type
func (SslConfig_SslType) Type() protoreflect.EnumType
StartMigrationJobRequest
type StartMigrationJobRequest struct {
// Name of the migration job resource to start.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'StartMigrationJob' request.
func (*StartMigrationJobRequest) Descriptor
func (*StartMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*StartMigrationJobRequest) GetName
func (x *StartMigrationJobRequest) GetName() string
func (*StartMigrationJobRequest) ProtoMessage
func (*StartMigrationJobRequest) ProtoMessage()
func (*StartMigrationJobRequest) ProtoReflect
func (x *StartMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*StartMigrationJobRequest) Reset
func (x *StartMigrationJobRequest) Reset()
func (*StartMigrationJobRequest) String
func (x *StartMigrationJobRequest) String() string
StaticIpConnectivity
type StaticIpConnectivity struct {
// contains filtered or unexported fields
}
The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.
func (*StaticIpConnectivity) Descriptor
func (*StaticIpConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use StaticIpConnectivity.ProtoReflect.Descriptor instead.
func (*StaticIpConnectivity) ProtoMessage
func (*StaticIpConnectivity) ProtoMessage()
func (*StaticIpConnectivity) ProtoReflect
func (x *StaticIpConnectivity) ProtoReflect() protoreflect.Message
func (*StaticIpConnectivity) Reset
func (x *StaticIpConnectivity) Reset()
func (*StaticIpConnectivity) String
func (x *StaticIpConnectivity) String() string
StaticServiceIpConnectivity
type StaticServiceIpConnectivity struct {
// contains filtered or unexported fields
}
Static IP address connectivity configured on service project.
func (*StaticServiceIpConnectivity) Descriptor
func (*StaticServiceIpConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use StaticServiceIpConnectivity.ProtoReflect.Descriptor instead.
func (*StaticServiceIpConnectivity) ProtoMessage
func (*StaticServiceIpConnectivity) ProtoMessage()
func (*StaticServiceIpConnectivity) ProtoReflect
func (x *StaticServiceIpConnectivity) ProtoReflect() protoreflect.Message
func (*StaticServiceIpConnectivity) Reset
func (x *StaticServiceIpConnectivity) Reset()
func (*StaticServiceIpConnectivity) String
func (x *StaticServiceIpConnectivity) String() string
StopMigrationJobRequest
type StopMigrationJobRequest struct {
// Name of the migration job resource to stop.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'StopMigrationJob' request.
func (*StopMigrationJobRequest) Descriptor
func (*StopMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*StopMigrationJobRequest) GetName
func (x *StopMigrationJobRequest) GetName() string
func (*StopMigrationJobRequest) ProtoMessage
func (*StopMigrationJobRequest) ProtoMessage()
func (*StopMigrationJobRequest) ProtoReflect
func (x *StopMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*StopMigrationJobRequest) Reset
func (x *StopMigrationJobRequest) Reset()
func (*StopMigrationJobRequest) String
func (x *StopMigrationJobRequest) String() string
StoredProcedureEntity
type StoredProcedureEntity struct {
// The SQL code which creates the stored procedure.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Stored procedure's parent is a schema.
func (*StoredProcedureEntity) Descriptor
func (*StoredProcedureEntity) Descriptor() ([]byte, []int)
Deprecated: Use StoredProcedureEntity.ProtoReflect.Descriptor instead.
func (*StoredProcedureEntity) GetCustomFeatures
func (x *StoredProcedureEntity) GetCustomFeatures() *structpb.Struct
func (*StoredProcedureEntity) GetSqlCode
func (x *StoredProcedureEntity) GetSqlCode() string
func (*StoredProcedureEntity) ProtoMessage
func (*StoredProcedureEntity) ProtoMessage()
func (*StoredProcedureEntity) ProtoReflect
func (x *StoredProcedureEntity) ProtoReflect() protoreflect.Message
func (*StoredProcedureEntity) Reset
func (x *StoredProcedureEntity) Reset()
func (*StoredProcedureEntity) String
func (x *StoredProcedureEntity) String() string
SynonymEntity
type SynonymEntity struct {
SourceEntity string `protobuf:"bytes,1,opt,name=source_entity,json=sourceEntity,proto3" json:"source_entity,omitempty"`
SourceType DatabaseEntityType "" /* 141 byte string literal not displayed */
CustomFeatures *structpb.Struct `protobuf:"bytes,3,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
}
Synonym's parent is a schema.
func (*SynonymEntity) Descriptor
func (*SynonymEntity) Descriptor() ([]byte, []int)
Deprecated: Use SynonymEntity.ProtoReflect.Descriptor instead.
func (*SynonymEntity) GetCustomFeatures
func (x *SynonymEntity) GetCustomFeatures() *structpb.Struct
func (*SynonymEntity) GetSourceEntity
func (x *SynonymEntity) GetSourceEntity() string
func (*SynonymEntity) GetSourceType
func (x *SynonymEntity) GetSourceType() DatabaseEntityType
func (*SynonymEntity) ProtoMessage
func (*SynonymEntity) ProtoMessage()
func (*SynonymEntity) ProtoReflect
func (x *SynonymEntity) ProtoReflect() protoreflect.Message
func (*SynonymEntity) Reset
func (x *SynonymEntity) Reset()
func (*SynonymEntity) String
func (x *SynonymEntity) String() string
TableEntity
type TableEntity struct {
// Table columns.
Columns []*ColumnEntity `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// Table constraints.
Constraints []*ConstraintEntity `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"`
// Table indices.
Indices []*IndexEntity `protobuf:"bytes,3,rep,name=indices,proto3" json:"indices,omitempty"`
// Table triggers.
Triggers []*TriggerEntity `protobuf:"bytes,4,rep,name=triggers,proto3" json:"triggers,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// Comment associated with the table.
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
Table's parent is a schema.
func (*TableEntity) Descriptor
func (*TableEntity) Descriptor() ([]byte, []int)
Deprecated: Use TableEntity.ProtoReflect.Descriptor instead.
func (*TableEntity) GetColumns
func (x *TableEntity) GetColumns() []*ColumnEntity
func (*TableEntity) GetComment
func (x *TableEntity) GetComment() string
func (*TableEntity) GetConstraints
func (x *TableEntity) GetConstraints() []*ConstraintEntity
func (*TableEntity) GetCustomFeatures
func (x *TableEntity) GetCustomFeatures() *structpb.Struct
func (*TableEntity) GetIndices
func (x *TableEntity) GetIndices() []*IndexEntity
func (*TableEntity) GetTriggers
func (x *TableEntity) GetTriggers() []*TriggerEntity
func (*TableEntity) ProtoMessage
func (*TableEntity) ProtoMessage()
func (*TableEntity) ProtoReflect
func (x *TableEntity) ProtoReflect() protoreflect.Message
func (*TableEntity) Reset
func (x *TableEntity) Reset()
func (*TableEntity) String
func (x *TableEntity) String() string
TriggerEntity
type TriggerEntity struct {
// The name of the trigger.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The DML, DDL, or database events that fire the trigger, for example
// INSERT, UPDATE.
TriggeringEvents []string `protobuf:"bytes,2,rep,name=triggering_events,json=triggeringEvents,proto3" json:"triggering_events,omitempty"`
// Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH
// ROW.
TriggerType string `protobuf:"bytes,3,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`
// The SQL code which creates the trigger.
SqlCode string `protobuf:"bytes,4,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,5,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// contains filtered or unexported fields
}
Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
func (*TriggerEntity) Descriptor
func (*TriggerEntity) Descriptor() ([]byte, []int)
Deprecated: Use TriggerEntity.ProtoReflect.Descriptor instead.
func (*TriggerEntity) GetCustomFeatures
func (x *TriggerEntity) GetCustomFeatures() *structpb.Struct
func (*TriggerEntity) GetName
func (x *TriggerEntity) GetName() string
func (*TriggerEntity) GetSqlCode
func (x *TriggerEntity) GetSqlCode() string
func (*TriggerEntity) GetTriggerType
func (x *TriggerEntity) GetTriggerType() string
func (*TriggerEntity) GetTriggeringEvents
func (x *TriggerEntity) GetTriggeringEvents() []string
func (*TriggerEntity) ProtoMessage
func (*TriggerEntity) ProtoMessage()
func (*TriggerEntity) ProtoReflect
func (x *TriggerEntity) ProtoReflect() protoreflect.Message
func (*TriggerEntity) Reset
func (x *TriggerEntity) Reset()
func (*TriggerEntity) String
func (x *TriggerEntity) String() string
UnimplementedDataMigrationServiceServer
type UnimplementedDataMigrationServiceServer struct {
}
UnimplementedDataMigrationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDataMigrationServiceServer) ApplyConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) ApplyConversionWorkspace(context.Context, *ApplyConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) CommitConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) CommitConversionWorkspace(context.Context, *CommitConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) ConvertConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) ConvertConversionWorkspace(context.Context, *ConvertConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) CreateConnectionProfile
func (*UnimplementedDataMigrationServiceServer) CreateConnectionProfile(context.Context, *CreateConnectionProfileRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) CreateConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) CreateConversionWorkspace(context.Context, *CreateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) CreateMigrationJob
func (*UnimplementedDataMigrationServiceServer) CreateMigrationJob(context.Context, *CreateMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) CreatePrivateConnection
func (*UnimplementedDataMigrationServiceServer) CreatePrivateConnection(context.Context, *CreatePrivateConnectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) DeleteConnectionProfile
func (*UnimplementedDataMigrationServiceServer) DeleteConnectionProfile(context.Context, *DeleteConnectionProfileRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) DeleteConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) DeleteConversionWorkspace(context.Context, *DeleteConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) DeleteMigrationJob
func (*UnimplementedDataMigrationServiceServer) DeleteMigrationJob(context.Context, *DeleteMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) DeletePrivateConnection
func (*UnimplementedDataMigrationServiceServer) DeletePrivateConnection(context.Context, *DeletePrivateConnectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) DescribeConversionWorkspaceRevisions
func (*UnimplementedDataMigrationServiceServer) DescribeConversionWorkspaceRevisions(context.Context, *DescribeConversionWorkspaceRevisionsRequest) (*DescribeConversionWorkspaceRevisionsResponse, error)
func (*UnimplementedDataMigrationServiceServer) DescribeDatabaseEntities
func (*UnimplementedDataMigrationServiceServer) DescribeDatabaseEntities(context.Context, *DescribeDatabaseEntitiesRequest) (*DescribeDatabaseEntitiesResponse, error)
func (*UnimplementedDataMigrationServiceServer) FetchStaticIps
func (*UnimplementedDataMigrationServiceServer) FetchStaticIps(context.Context, *FetchStaticIpsRequest) (*FetchStaticIpsResponse, error)
func (*UnimplementedDataMigrationServiceServer) GenerateSshScript
func (*UnimplementedDataMigrationServiceServer) GenerateSshScript(context.Context, *GenerateSshScriptRequest) (*SshScript, error)
func (*UnimplementedDataMigrationServiceServer) GetConnectionProfile
func (*UnimplementedDataMigrationServiceServer) GetConnectionProfile(context.Context, *GetConnectionProfileRequest) (*ConnectionProfile, error)
func (*UnimplementedDataMigrationServiceServer) GetConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) GetConversionWorkspace(context.Context, *GetConversionWorkspaceRequest) (*ConversionWorkspace, error)
func (*UnimplementedDataMigrationServiceServer) GetMigrationJob
func (*UnimplementedDataMigrationServiceServer) GetMigrationJob(context.Context, *GetMigrationJobRequest) (*MigrationJob, error)
func (*UnimplementedDataMigrationServiceServer) GetPrivateConnection
func (*UnimplementedDataMigrationServiceServer) GetPrivateConnection(context.Context, *GetPrivateConnectionRequest) (*PrivateConnection, error)
func (*UnimplementedDataMigrationServiceServer) ImportMappingRules
func (*UnimplementedDataMigrationServiceServer) ImportMappingRules(context.Context, *ImportMappingRulesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) ListConnectionProfiles
func (*UnimplementedDataMigrationServiceServer) ListConnectionProfiles(context.Context, *ListConnectionProfilesRequest) (*ListConnectionProfilesResponse, error)
func (*UnimplementedDataMigrationServiceServer) ListConversionWorkspaces
func (*UnimplementedDataMigrationServiceServer) ListConversionWorkspaces(context.Context, *ListConversionWorkspacesRequest) (*ListConversionWorkspacesResponse, error)
func (*UnimplementedDataMigrationServiceServer) ListMigrationJobs
func (*UnimplementedDataMigrationServiceServer) ListMigrationJobs(context.Context, *ListMigrationJobsRequest) (*ListMigrationJobsResponse, error)
func (*UnimplementedDataMigrationServiceServer) ListPrivateConnections
func (*UnimplementedDataMigrationServiceServer) ListPrivateConnections(context.Context, *ListPrivateConnectionsRequest) (*ListPrivateConnectionsResponse, error)
func (*UnimplementedDataMigrationServiceServer) PromoteMigrationJob
func (*UnimplementedDataMigrationServiceServer) PromoteMigrationJob(context.Context, *PromoteMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) RestartMigrationJob
func (*UnimplementedDataMigrationServiceServer) RestartMigrationJob(context.Context, *RestartMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) ResumeMigrationJob
func (*UnimplementedDataMigrationServiceServer) ResumeMigrationJob(context.Context, *ResumeMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) RollbackConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) RollbackConversionWorkspace(context.Context, *RollbackConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) SearchBackgroundJobs
func (*UnimplementedDataMigrationServiceServer) SearchBackgroundJobs(context.Context, *SearchBackgroundJobsRequest) (*SearchBackgroundJobsResponse, error)
func (*UnimplementedDataMigrationServiceServer) SeedConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) SeedConversionWorkspace(context.Context, *SeedConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) StartMigrationJob
func (*UnimplementedDataMigrationServiceServer) StartMigrationJob(context.Context, *StartMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) StopMigrationJob
func (*UnimplementedDataMigrationServiceServer) StopMigrationJob(context.Context, *StopMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) UpdateConnectionProfile
func (*UnimplementedDataMigrationServiceServer) UpdateConnectionProfile(context.Context, *UpdateConnectionProfileRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) UpdateConversionWorkspace
func (*UnimplementedDataMigrationServiceServer) UpdateConversionWorkspace(context.Context, *UpdateConversionWorkspaceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) UpdateMigrationJob
func (*UnimplementedDataMigrationServiceServer) UpdateMigrationJob(context.Context, *UpdateMigrationJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataMigrationServiceServer) VerifyMigrationJob
func (*UnimplementedDataMigrationServiceServer) VerifyMigrationJob(context.Context, *VerifyMigrationJobRequest) (*longrunningpb.Operation, error)
UpdateConnectionProfileRequest
type UpdateConnectionProfileRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The connection profile parameters to update.
ConnectionProfile *ConnectionProfile `protobuf:"bytes,2,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
// Optional. A unique ID used to identify the request. If the server receives
// two requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the connection profile, but don't update any
// resources. The default is false. Only supported for Oracle connection
// profiles.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Update the connection profile without validating it.
// The default is false.
// Only supported for Oracle connection profiles.
SkipValidation bool `protobuf:"varint,5,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,omitempty"`
// contains filtered or unexported fields
}
Request message for 'UpdateConnectionProfile' request.
func (*UpdateConnectionProfileRequest) Descriptor
func (*UpdateConnectionProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectionProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionProfileRequest) GetConnectionProfile
func (x *UpdateConnectionProfileRequest) GetConnectionProfile() *ConnectionProfile
func (*UpdateConnectionProfileRequest) GetRequestId
func (x *UpdateConnectionProfileRequest) GetRequestId() string
func (*UpdateConnectionProfileRequest) GetSkipValidation
func (x *UpdateConnectionProfileRequest) GetSkipValidation() bool
func (*UpdateConnectionProfileRequest) GetUpdateMask
func (x *UpdateConnectionProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConnectionProfileRequest) GetValidateOnly
func (x *UpdateConnectionProfileRequest) GetValidateOnly() bool
func (*UpdateConnectionProfileRequest) ProtoMessage
func (*UpdateConnectionProfileRequest) ProtoMessage()
func (*UpdateConnectionProfileRequest) ProtoReflect
func (x *UpdateConnectionProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateConnectionProfileRequest) Reset
func (x *UpdateConnectionProfileRequest) Reset()
func (*UpdateConnectionProfileRequest) String
func (x *UpdateConnectionProfileRequest) String() string
UpdateConversionWorkspaceRequest
type UpdateConversionWorkspaceRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The conversion workspace parameters to update.
ConversionWorkspace *ConversionWorkspace `protobuf:"bytes,2,opt,name=conversion_workspace,json=conversionWorkspace,proto3" json:"conversion_workspace,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for 'UpdateConversionWorkspace' request.
func (*UpdateConversionWorkspaceRequest) Descriptor
func (*UpdateConversionWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConversionWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversionWorkspaceRequest) GetConversionWorkspace
func (x *UpdateConversionWorkspaceRequest) GetConversionWorkspace() *ConversionWorkspace
func (*UpdateConversionWorkspaceRequest) GetRequestId
func (x *UpdateConversionWorkspaceRequest) GetRequestId() string
func (*UpdateConversionWorkspaceRequest) GetUpdateMask
func (x *UpdateConversionWorkspaceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConversionWorkspaceRequest) ProtoMessage
func (*UpdateConversionWorkspaceRequest) ProtoMessage()
func (*UpdateConversionWorkspaceRequest) ProtoReflect
func (x *UpdateConversionWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateConversionWorkspaceRequest) Reset
func (x *UpdateConversionWorkspaceRequest) Reset()
func (*UpdateConversionWorkspaceRequest) String
func (x *UpdateConversionWorkspaceRequest) String() string
UpdateMigrationJobRequest
type UpdateMigrationJobRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the conversion workspace resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The migration job parameters to update.
MigrationJob *MigrationJob `protobuf:"bytes,2,opt,name=migration_job,json=migrationJob,proto3" json:"migration_job,omitempty"`
// A unique ID used to identify the request. If the server receives two
// requests with the same ID, then the second request is ignored.
//
// It is recommended to always set this value to a UUID.
//
// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
// (_), and hyphens (-). The maximum length is 40 characters.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for 'UpdateMigrationJob' request.
func (*UpdateMigrationJobRequest) Descriptor
func (*UpdateMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateMigrationJobRequest) GetMigrationJob
func (x *UpdateMigrationJobRequest) GetMigrationJob() *MigrationJob
func (*UpdateMigrationJobRequest) GetRequestId
func (x *UpdateMigrationJobRequest) GetRequestId() string
func (*UpdateMigrationJobRequest) GetUpdateMask
func (x *UpdateMigrationJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMigrationJobRequest) ProtoMessage
func (*UpdateMigrationJobRequest) ProtoMessage()
func (*UpdateMigrationJobRequest) ProtoReflect
func (x *UpdateMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateMigrationJobRequest) Reset
func (x *UpdateMigrationJobRequest) Reset()
func (*UpdateMigrationJobRequest) String
func (x *UpdateMigrationJobRequest) String() string
VerifyMigrationJobRequest
type VerifyMigrationJobRequest struct {
// Name of the migration job resource to verify.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for 'VerifyMigrationJob' request.
func (*VerifyMigrationJobRequest) Descriptor
func (*VerifyMigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyMigrationJobRequest.ProtoReflect.Descriptor instead.
func (*VerifyMigrationJobRequest) GetName
func (x *VerifyMigrationJobRequest) GetName() string
func (*VerifyMigrationJobRequest) ProtoMessage
func (*VerifyMigrationJobRequest) ProtoMessage()
func (*VerifyMigrationJobRequest) ProtoReflect
func (x *VerifyMigrationJobRequest) ProtoReflect() protoreflect.Message
func (*VerifyMigrationJobRequest) Reset
func (x *VerifyMigrationJobRequest) Reset()
func (*VerifyMigrationJobRequest) String
func (x *VerifyMigrationJobRequest) String() string
ViewEntity
type ViewEntity struct {
// The SQL code which creates the view.
SqlCode string `protobuf:"bytes,1,opt,name=sql_code,json=sqlCode,proto3" json:"sql_code,omitempty"`
// Custom engine specific features.
CustomFeatures *structpb.Struct `protobuf:"bytes,2,opt,name=custom_features,json=customFeatures,proto3" json:"custom_features,omitempty"`
// View constraints.
Constraints []*ConstraintEntity `protobuf:"bytes,3,rep,name=constraints,proto3" json:"constraints,omitempty"`
// contains filtered or unexported fields
}
View's parent is a schema.
func (*ViewEntity) Descriptor
func (*ViewEntity) Descriptor() ([]byte, []int)
Deprecated: Use ViewEntity.ProtoReflect.Descriptor instead.
func (*ViewEntity) GetConstraints
func (x *ViewEntity) GetConstraints() []*ConstraintEntity
func (*ViewEntity) GetCustomFeatures
func (x *ViewEntity) GetCustomFeatures() *structpb.Struct
func (*ViewEntity) GetSqlCode
func (x *ViewEntity) GetSqlCode() string
func (*ViewEntity) ProtoMessage
func (*ViewEntity) ProtoMessage()
func (*ViewEntity) ProtoReflect
func (x *ViewEntity) ProtoReflect() protoreflect.Message
func (*ViewEntity) Reset
func (x *ViewEntity) Reset()
func (*ViewEntity) String
func (x *ViewEntity) String() string
VmCreationConfig
type VmCreationConfig struct {
// Required. VM instance machine type to create.
VmMachineType string `protobuf:"bytes,1,opt,name=vm_machine_type,json=vmMachineType,proto3" json:"vm_machine_type,omitempty"`
// The Google Cloud Platform zone to create the VM in.
VmZone string `protobuf:"bytes,2,opt,name=vm_zone,json=vmZone,proto3" json:"vm_zone,omitempty"`
// The subnet name the vm needs to be created in.
Subnet string `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}
VM creation configuration message
func (*VmCreationConfig) Descriptor
func (*VmCreationConfig) Descriptor() ([]byte, []int)
Deprecated: Use VmCreationConfig.ProtoReflect.Descriptor instead.
func (*VmCreationConfig) GetSubnet
func (x *VmCreationConfig) GetSubnet() string
func (*VmCreationConfig) GetVmMachineType
func (x *VmCreationConfig) GetVmMachineType() string
func (*VmCreationConfig) GetVmZone
func (x *VmCreationConfig) GetVmZone() string
func (*VmCreationConfig) ProtoMessage
func (*VmCreationConfig) ProtoMessage()
func (*VmCreationConfig) ProtoReflect
func (x *VmCreationConfig) ProtoReflect() protoreflect.Message
func (*VmCreationConfig) Reset
func (x *VmCreationConfig) Reset()
func (*VmCreationConfig) String
func (x *VmCreationConfig) String() string
VmSelectionConfig
type VmSelectionConfig struct {
// Required. The Google Cloud Platform zone the VM is located.
VmZone string `protobuf:"bytes,1,opt,name=vm_zone,json=vmZone,proto3" json:"vm_zone,omitempty"`
// contains filtered or unexported fields
}
VM selection configuration message
func (*VmSelectionConfig) Descriptor
func (*VmSelectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use VmSelectionConfig.ProtoReflect.Descriptor instead.
func (*VmSelectionConfig) GetVmZone
func (x *VmSelectionConfig) GetVmZone() string
func (*VmSelectionConfig) ProtoMessage
func (*VmSelectionConfig) ProtoMessage()
func (*VmSelectionConfig) ProtoReflect
func (x *VmSelectionConfig) ProtoReflect() protoreflect.Message
func (*VmSelectionConfig) Reset
func (x *VmSelectionConfig) Reset()
func (*VmSelectionConfig) String
func (x *VmSelectionConfig) String() string
VpcPeeringConfig
type VpcPeeringConfig struct {
// Required. Fully qualified name of the VPC that Database Migration Service
// will peer to.
VpcName string `protobuf:"bytes,1,opt,name=vpc_name,json=vpcName,proto3" json:"vpc_name,omitempty"`
// Required. A free subnet for peering. (CIDR of /29)
Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}
The VPC peering configuration is used to create VPC peering with the consumer's VPC.
func (*VpcPeeringConfig) Descriptor
func (*VpcPeeringConfig) Descriptor() ([]byte, []int)
Deprecated: Use VpcPeeringConfig.ProtoReflect.Descriptor instead.
func (*VpcPeeringConfig) GetSubnet
func (x *VpcPeeringConfig) GetSubnet() string
func (*VpcPeeringConfig) GetVpcName
func (x *VpcPeeringConfig) GetVpcName() string
func (*VpcPeeringConfig) ProtoMessage
func (*VpcPeeringConfig) ProtoMessage()
func (*VpcPeeringConfig) ProtoReflect
func (x *VpcPeeringConfig) ProtoReflect() protoreflect.Message
func (*VpcPeeringConfig) Reset
func (x *VpcPeeringConfig) Reset()
func (*VpcPeeringConfig) String
func (x *VpcPeeringConfig) String() string
VpcPeeringConnectivity
type VpcPeeringConnectivity struct {
// The name of the VPC network to peer with the Cloud SQL private network.
Vpc string `protobuf:"bytes,1,opt,name=vpc,proto3" json:"vpc,omitempty"`
// contains filtered or unexported fields
}
The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.
func (*VpcPeeringConnectivity) Descriptor
func (*VpcPeeringConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use VpcPeeringConnectivity.ProtoReflect.Descriptor instead.
func (*VpcPeeringConnectivity) GetVpc
func (x *VpcPeeringConnectivity) GetVpc() string
func (*VpcPeeringConnectivity) ProtoMessage
func (*VpcPeeringConnectivity) ProtoMessage()
func (*VpcPeeringConnectivity) ProtoReflect
func (x *VpcPeeringConnectivity) ProtoReflect() protoreflect.Message
func (*VpcPeeringConnectivity) Reset
func (x *VpcPeeringConnectivity) Reset()
func (*VpcPeeringConnectivity) String
func (x *VpcPeeringConnectivity) String() string