clouddmspb

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DatabaseEntityView_name = map[int32]string{
		0: "DATABASE_ENTITY_VIEW_UNSPECIFIED",
		1: "DATABASE_ENTITY_VIEW_BASIC",
		2: "DATABASE_ENTITY_VIEW_FULL",
		3: "DATABASE_ENTITY_VIEW_ROOT_SUMMARY",
	}
	DatabaseEntityView_value = map[string]int32{
		"DATABASE_ENTITY_VIEW_UNSPECIFIED":  0,
		"DATABASE_ENTITY_VIEW_BASIC":        1,
		"DATABASE_ENTITY_VIEW_FULL":         2,
		"DATABASE_ENTITY_VIEW_ROOT_SUMMARY": 3,
	}
)

Enum value maps for DatabaseEntityView.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	CloudSqlSettings_SqlDatabaseVersion_name = map[int32]string{
		0:  "SQL_DATABASE_VERSION_UNSPECIFIED",
		1:  "MYSQL_5_6",
		2:  "MYSQL_5_7",
		3:  "POSTGRES_9_6",
		4:  "POSTGRES_11",
		5:  "POSTGRES_10",
		6:  "MYSQL_8_0",
		7:  "POSTGRES_12",
		8:  "POSTGRES_13",
		17: "POSTGRES_14",
		18: "POSTGRES_15",
	}
	CloudSqlSettings_SqlDatabaseVersion_value = map[string]int32{
		"SQL_DATABASE_VERSION_UNSPECIFIED": 0,
		"MYSQL_5_6":                        1,
		"MYSQL_5_7":                        2,
		"POSTGRES_9_6":                     3,
		"POSTGRES_11":                      4,
		"POSTGRES_10":                      5,
		"MYSQL_8_0":                        6,
		"POSTGRES_12":                      7,
		"POSTGRES_13":                      8,
		"POSTGRES_14":                      17,
		"POSTGRES_15":                      18,
	}
)

Enum value maps for CloudSqlSettings_SqlDatabaseVersion.

View Source
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.

View Source
var (
	CloudSqlSettings_Edition_name = map[int32]string{
		0: "EDITION_UNSPECIFIED",
		2: "ENTERPRISE",
		3: "ENTERPRISE_PLUS",
	}
	CloudSqlSettings_Edition_value = map[string]int32{
		"EDITION_UNSPECIFIED": 0,
		"ENTERPRISE":          2,
		"ENTERPRISE_PLUS":     3,
	}
)

Enum value maps for CloudSqlSettings_Edition.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	MigrationJob_PerformanceConfig_DumpParallelLevel_name = map[int32]string{
		0: "DUMP_PARALLEL_LEVEL_UNSPECIFIED",
		1: "MIN",
		2: "OPTIMAL",
		3: "MAX",
	}
	MigrationJob_PerformanceConfig_DumpParallelLevel_value = map[string]int32{
		"DUMP_PARALLEL_LEVEL_UNSPECIFIED": 0,
		"MIN":                             1,
		"OPTIMAL":                         2,
		"MAX":                             3,
	}
)

Enum value maps for MigrationJob_PerformanceConfig_DumpParallelLevel.

View Source
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.

View Source
var (
	MigrationJobVerificationError_ErrorCode_name = map[int32]string{
		0:  "ERROR_CODE_UNSPECIFIED",
		1:  "CONNECTION_FAILURE",
		2:  "AUTHENTICATION_FAILURE",
		3:  "INVALID_CONNECTION_PROFILE_CONFIG",
		4:  "VERSION_INCOMPATIBILITY",
		5:  "CONNECTION_PROFILE_TYPES_INCOMPATIBILITY",
		7:  "NO_PGLOGICAL_INSTALLED",
		8:  "PGLOGICAL_NODE_ALREADY_EXISTS",
		9:  "INVALID_WAL_LEVEL",
		10: "INVALID_SHARED_PRELOAD_LIBRARY",
		11: "INSUFFICIENT_MAX_REPLICATION_SLOTS",
		12: "INSUFFICIENT_MAX_WAL_SENDERS",
		13: "INSUFFICIENT_MAX_WORKER_PROCESSES",
		14: "UNSUPPORTED_EXTENSIONS",
		15: "UNSUPPORTED_MIGRATION_TYPE",
		16: "INVALID_RDS_LOGICAL_REPLICATION",
		17: "UNSUPPORTED_GTID_MODE",
		18: "UNSUPPORTED_TABLE_DEFINITION",
		19: "UNSUPPORTED_DEFINER",
		21: "CANT_RESTART_RUNNING_MIGRATION",
		23: "SOURCE_ALREADY_SETUP",
		24: "TABLES_WITH_LIMITED_SUPPORT",
		25: "UNSUPPORTED_DATABASE_LOCALE",
		26: "UNSUPPORTED_DATABASE_FDW_CONFIG",
		27: "ERROR_RDBMS",
		28: "SOURCE_SIZE_EXCEEDS_THRESHOLD",
		29: "EXISTING_CONFLICTING_DATABASES",
		30: "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE",
	}
	MigrationJobVerificationError_ErrorCode_value = map[string]int32{
		"ERROR_CODE_UNSPECIFIED":                   0,
		"CONNECTION_FAILURE":                       1,
		"AUTHENTICATION_FAILURE":                   2,
		"INVALID_CONNECTION_PROFILE_CONFIG":        3,
		"VERSION_INCOMPATIBILITY":                  4,
		"CONNECTION_PROFILE_TYPES_INCOMPATIBILITY": 5,
		"NO_PGLOGICAL_INSTALLED":                   7,
		"PGLOGICAL_NODE_ALREADY_EXISTS":            8,
		"INVALID_WAL_LEVEL":                        9,
		"INVALID_SHARED_PRELOAD_LIBRARY":           10,
		"INSUFFICIENT_MAX_REPLICATION_SLOTS":       11,
		"INSUFFICIENT_MAX_WAL_SENDERS":             12,
		"INSUFFICIENT_MAX_WORKER_PROCESSES":        13,
		"UNSUPPORTED_EXTENSIONS":                   14,
		"UNSUPPORTED_MIGRATION_TYPE":               15,
		"INVALID_RDS_LOGICAL_REPLICATION":          16,
		"UNSUPPORTED_GTID_MODE":                    17,
		"UNSUPPORTED_TABLE_DEFINITION":             18,
		"UNSUPPORTED_DEFINER":                      19,
		"CANT_RESTART_RUNNING_MIGRATION":           21,
		"SOURCE_ALREADY_SETUP":                     23,
		"TABLES_WITH_LIMITED_SUPPORT":              24,
		"UNSUPPORTED_DATABASE_LOCALE":              25,
		"UNSUPPORTED_DATABASE_FDW_CONFIG":          26,
		"ERROR_RDBMS":                              27,
		"SOURCE_SIZE_EXCEEDS_THRESHOLD":            28,
		"EXISTING_CONFLICTING_DATABASES":           29,
		"PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE":   30,
	}
)

Enum value maps for MigrationJobVerificationError_ErrorCode.

View Source
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.

View Source
var (
	ValuePresentInList_name = map[int32]string{
		0: "VALUE_PRESENT_IN_LIST_UNSPECIFIED",
		1: "VALUE_PRESENT_IN_LIST_IF_VALUE_LIST",
		2: "VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST",
	}
	ValuePresentInList_value = map[string]int32{
		"VALUE_PRESENT_IN_LIST_UNSPECIFIED":       0,
		"VALUE_PRESENT_IN_LIST_IF_VALUE_LIST":     1,
		"VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST": 2,
	}
)

Enum value maps for ValuePresentInList.

View Source
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.

View Source
var (
	EntityNameTransformation_name = map[int32]string{
		0: "ENTITY_NAME_TRANSFORMATION_UNSPECIFIED",
		1: "ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION",
		2: "ENTITY_NAME_TRANSFORMATION_LOWER_CASE",
		3: "ENTITY_NAME_TRANSFORMATION_UPPER_CASE",
		4: "ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE",
	}
	EntityNameTransformation_value = map[string]int32{
		"ENTITY_NAME_TRANSFORMATION_UNSPECIFIED":       0,
		"ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION": 1,
		"ENTITY_NAME_TRANSFORMATION_LOWER_CASE":        2,
		"ENTITY_NAME_TRANSFORMATION_UPPER_CASE":        3,
		"ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE":  4,
	}
)

Enum value maps for EntityNameTransformation.

View Source
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.

View Source
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.

View Source
var (
	ValueComparison_name = map[int32]string{
		0: "VALUE_COMPARISON_UNSPECIFIED",
		1: "VALUE_COMPARISON_IF_VALUE_SMALLER_THAN",
		2: "VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN",
		3: "VALUE_COMPARISON_IF_VALUE_LARGER_THAN",
		4: "VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN",
	}
	ValueComparison_value = map[string]int32{
		"VALUE_COMPARISON_UNSPECIFIED":                 0,
		"VALUE_COMPARISON_IF_VALUE_SMALLER_THAN":       1,
		"VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN": 2,
		"VALUE_COMPARISON_IF_VALUE_LARGER_THAN":        3,
		"VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN":  4,
	}
)

Enum value maps for ValueComparison.

View Source
var (
	NumericFilterOption_name = map[int32]string{
		0: "NUMERIC_FILTER_OPTION_UNSPECIFIED",
		1: "NUMERIC_FILTER_OPTION_ALL",
		2: "NUMERIC_FILTER_OPTION_LIMIT",
		3: "NUMERIC_FILTER_OPTION_LIMITLESS",
	}
	NumericFilterOption_value = map[string]int32{
		"NUMERIC_FILTER_OPTION_UNSPECIFIED": 0,
		"NUMERIC_FILTER_OPTION_ALL":         1,
		"NUMERIC_FILTER_OPTION_LIMIT":       2,
		"NUMERIC_FILTER_OPTION_LIMITLESS":   3,
	}
)

Enum value maps for NumericFilterOption.

View Source
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.

View Source
var (
	MappingRule_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
		3: "DELETED",
	}
	MappingRule_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLED":           1,
		"DISABLED":          2,
		"DELETED":           3,
	}
)

Enum value maps for MappingRule_State.

View Source
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.

View Source
var (
	EntityIssue_IssueType_name = map[int32]string{
		0: "ISSUE_TYPE_UNSPECIFIED",
		1: "ISSUE_TYPE_DDL",
		2: "ISSUE_TYPE_APPLY",
		3: "ISSUE_TYPE_CONVERT",
	}
	EntityIssue_IssueType_value = map[string]int32{
		"ISSUE_TYPE_UNSPECIFIED": 0,
		"ISSUE_TYPE_DDL":         1,
		"ISSUE_TYPE_APPLY":       2,
		"ISSUE_TYPE_CONVERT":     3,
	}
)

Enum value maps for EntityIssue_IssueType.

View Source
var (
	EntityIssue_IssueSeverity_name = map[int32]string{
		0: "ISSUE_SEVERITY_UNSPECIFIED",
		1: "ISSUE_SEVERITY_INFO",
		2: "ISSUE_SEVERITY_WARNING",
		3: "ISSUE_SEVERITY_ERROR",
	}
	EntityIssue_IssueSeverity_value = map[string]int32{
		"ISSUE_SEVERITY_UNSPECIFIED": 0,
		"ISSUE_SEVERITY_INFO":        1,
		"ISSUE_SEVERITY_WARNING":     2,
		"ISSUE_SEVERITY_ERROR":       3,
	}
)

Enum value maps for EntityIssue_IssueSeverity.

View Source
var File_google_cloud_clouddms_v1_clouddms_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_clouddms_v1_clouddms_resources_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_clouddms_v1_conversionworkspace_resources_proto protoreflect.FileDescriptor

Functions

func RegisterDataMigrationServiceServer

func RegisterDataMigrationServiceServer(s *grpc.Server, srv DataMigrationServiceServer)

Types

type AlloyDbConnectionProfile added in v1.6.0

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 deprecated added in v1.6.0

func (*AlloyDbConnectionProfile) Descriptor() ([]byte, []int)

Deprecated: Use AlloyDbConnectionProfile.ProtoReflect.Descriptor instead.

func (*AlloyDbConnectionProfile) GetClusterId added in v1.6.0

func (x *AlloyDbConnectionProfile) GetClusterId() string

func (*AlloyDbConnectionProfile) GetSettings added in v1.6.0

func (x *AlloyDbConnectionProfile) GetSettings() *AlloyDbSettings

func (*AlloyDbConnectionProfile) ProtoMessage added in v1.6.0

func (*AlloyDbConnectionProfile) ProtoMessage()

func (*AlloyDbConnectionProfile) ProtoReflect added in v1.6.0

func (x *AlloyDbConnectionProfile) ProtoReflect() protoreflect.Message

func (*AlloyDbConnectionProfile) Reset added in v1.6.0

func (x *AlloyDbConnectionProfile) Reset()

func (*AlloyDbConnectionProfile) String added in v1.6.0

func (x *AlloyDbConnectionProfile) String() string

type AlloyDbSettings added in v1.6.0

type AlloyDbSettings struct {

	// Required. Input only. Initial user to setup during cluster creation.
	// Required.
	InitialUser *AlloyDbSettings_UserPassword `protobuf:"bytes,1,opt,name=initial_user,json=initialUser,proto3" json:"initial_user,omitempty"`
	// Required. The resource link for the VPC network in which cluster resources
	// are created and from which they are accessible via Private IP. The network
	// must belong to the same project as the cluster. It is specified in the
	// form: "projects/{project_number}/global/networks/{network_id}". This is
	// required to create a cluster.
	VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
	// Labels for the AlloyDB cluster created by DMS. An object containing a list
	// of 'key', 'value' pairs.
	Labels                  map[string]string                        `` /* 153-byte string literal not displayed */
	PrimaryInstanceSettings *AlloyDbSettings_PrimaryInstanceSettings `` /* 132-byte string literal not displayed */
	// Optional. The encryption config can be specified to encrypt the data disks
	// and other persistent data resources of a cluster with a
	// customer-managed encryption key (CMEK). When this field is not
	// specified, the cluster will then use default encryption scheme to
	// protect the user data.
	EncryptionConfig *AlloyDbSettings_EncryptionConfig `protobuf:"bytes,5,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
	// contains filtered or unexported fields
}

Settings for creating an AlloyDB cluster.

func (*AlloyDbSettings) Descriptor deprecated added in v1.6.0

func (*AlloyDbSettings) Descriptor() ([]byte, []int)

Deprecated: Use AlloyDbSettings.ProtoReflect.Descriptor instead.

func (*AlloyDbSettings) GetEncryptionConfig added in v1.6.0

func (x *AlloyDbSettings) GetEncryptionConfig() *AlloyDbSettings_EncryptionConfig

func (*AlloyDbSettings) GetInitialUser added in v1.6.0

func (x *AlloyDbSettings) GetInitialUser() *AlloyDbSettings_UserPassword

func (*AlloyDbSettings) GetLabels added in v1.6.0

func (x *AlloyDbSettings) GetLabels() map[string]string

func (*AlloyDbSettings) GetPrimaryInstanceSettings added in v1.6.0

func (x *AlloyDbSettings) GetPrimaryInstanceSettings() *AlloyDbSettings_PrimaryInstanceSettings

func (*AlloyDbSettings) GetVpcNetwork added in v1.6.0

func (x *AlloyDbSettings) GetVpcNetwork() string

func (*AlloyDbSettings) ProtoMessage added in v1.6.0

func (*AlloyDbSettings) ProtoMessage()

func (*AlloyDbSettings) ProtoReflect added in v1.6.0

func (x *AlloyDbSettings) ProtoReflect() protoreflect.Message

func (*AlloyDbSettings) Reset added in v1.6.0

func (x *AlloyDbSettings) Reset()

func (*AlloyDbSettings) String added in v1.6.0

func (x *AlloyDbSettings) String() string

type AlloyDbSettings_EncryptionConfig added in v1.6.0

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 deprecated added in v1.6.0

func (*AlloyDbSettings_EncryptionConfig) Descriptor() ([]byte, []int)

Deprecated: Use AlloyDbSettings_EncryptionConfig.ProtoReflect.Descriptor instead.

func (*AlloyDbSettings_EncryptionConfig) GetKmsKeyName added in v1.6.0

func (x *AlloyDbSettings_EncryptionConfig) GetKmsKeyName() string

func (*AlloyDbSettings_EncryptionConfig) ProtoMessage added in v1.6.0

func (*AlloyDbSettings_EncryptionConfig) ProtoMessage()

func (*AlloyDbSettings_EncryptionConfig) ProtoReflect added in v1.6.0

func (*AlloyDbSettings_EncryptionConfig) Reset added in v1.6.0

func (*AlloyDbSettings_EncryptionConfig) String added in v1.6.0

type AlloyDbSettings_PrimaryInstanceSettings added in v1.6.0

type AlloyDbSettings_PrimaryInstanceSettings struct {

	// Required. The ID of the AlloyDB primary instance. The ID must satisfy the
	// regex expression "[a-z0-9-]+".
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Configuration for the machines that host the underlying
	// database engine.
	MachineConfig *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig `protobuf:"bytes,2,opt,name=machine_config,json=machineConfig,proto3" json:"machine_config,omitempty"`
	// Database flags to pass to AlloyDB when DMS is creating the AlloyDB
	// cluster and instances. See the AlloyDB documentation for how these can be
	// used.
	DatabaseFlags map[string]string `` /* 188-byte string literal not displayed */
	// Labels for the AlloyDB primary instance created by DMS. An object
	// containing a list of 'key', 'value' pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. The private IP address for the Instance.
	// This is the connection endpoint for an end-user application.
	PrivateIp string `protobuf:"bytes,8,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
	// contains filtered or unexported fields
}

Settings for the cluster's primary instance

func (*AlloyDbSettings_PrimaryInstanceSettings) Descriptor deprecated added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) Descriptor() ([]byte, []int)

Deprecated: Use AlloyDbSettings_PrimaryInstanceSettings.ProtoReflect.Descriptor instead.

func (*AlloyDbSettings_PrimaryInstanceSettings) GetDatabaseFlags added in v1.6.0

func (x *AlloyDbSettings_PrimaryInstanceSettings) GetDatabaseFlags() map[string]string

func (*AlloyDbSettings_PrimaryInstanceSettings) GetId added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) GetLabels added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) Reset added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings) String added in v1.6.0

type AlloyDbSettings_PrimaryInstanceSettings_MachineConfig added in v1.6.0

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 deprecated added in v1.6.0

Deprecated: Use AlloyDbSettings_PrimaryInstanceSettings_MachineConfig.ProtoReflect.Descriptor instead.

func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) GetCpuCount added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset added in v1.6.0

func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String added in v1.6.0

type AlloyDbSettings_UserPassword added in v1.6.0

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 deprecated added in v1.6.0

func (*AlloyDbSettings_UserPassword) Descriptor() ([]byte, []int)

Deprecated: Use AlloyDbSettings_UserPassword.ProtoReflect.Descriptor instead.

func (*AlloyDbSettings_UserPassword) GetPassword added in v1.6.0

func (x *AlloyDbSettings_UserPassword) GetPassword() string

func (*AlloyDbSettings_UserPassword) GetPasswordSet added in v1.6.0

func (x *AlloyDbSettings_UserPassword) GetPasswordSet() bool

func (*AlloyDbSettings_UserPassword) GetUser added in v1.6.0

func (x *AlloyDbSettings_UserPassword) GetUser() string

func (*AlloyDbSettings_UserPassword) ProtoMessage added in v1.6.0

func (*AlloyDbSettings_UserPassword) ProtoMessage()

func (*AlloyDbSettings_UserPassword) ProtoReflect added in v1.6.0

func (*AlloyDbSettings_UserPassword) Reset added in v1.6.0

func (x *AlloyDbSettings_UserPassword) Reset()

func (*AlloyDbSettings_UserPassword) String added in v1.6.0

type ApplyConversionWorkspaceRequest added in v1.6.0

type ApplyConversionWorkspaceRequest struct {

	// Required. The name of the conversion workspace resource for which to apply
	// the draft tree. Must be in the form of:
	//  projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Filter which entities to apply. Leaving this field empty will apply all of
	// the entities. Supports Google AIP 160 based filtering.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Only validates the apply process, but doesn't change the
	// destination database. Only works for PostgreSQL destination connection
	// profile.
	DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Optional. Specifies whether the conversion workspace is to be committed
	// automatically after the apply.
	AutoCommit bool `protobuf:"varint,4,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
	// Which destination to use when applying the conversion workspace.
	//
	// Types that are assignable to Destination:
	//	*ApplyConversionWorkspaceRequest_ConnectionProfile
	Destination isApplyConversionWorkspaceRequest_Destination `protobuf_oneof:"destination"`
	// contains filtered or unexported fields
}

Request message for 'ApplyConversionWorkspace' request.

func (*ApplyConversionWorkspaceRequest) Descriptor deprecated added in v1.6.0

func (*ApplyConversionWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplyConversionWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*ApplyConversionWorkspaceRequest) GetAutoCommit added in v1.7.0

func (x *ApplyConversionWorkspaceRequest) GetAutoCommit() bool

func (*ApplyConversionWorkspaceRequest) GetConnectionProfile added in v1.6.0

func (x *ApplyConversionWorkspaceRequest) GetConnectionProfile() string

func (*ApplyConversionWorkspaceRequest) GetDestination added in v1.6.0

func (m *ApplyConversionWorkspaceRequest) GetDestination() isApplyConversionWorkspaceRequest_Destination

func (*ApplyConversionWorkspaceRequest) GetDryRun added in v1.7.0

func (x *ApplyConversionWorkspaceRequest) GetDryRun() bool

func (*ApplyConversionWorkspaceRequest) GetFilter added in v1.6.0

func (x *ApplyConversionWorkspaceRequest) GetFilter() string

func (*ApplyConversionWorkspaceRequest) GetName added in v1.6.0

func (*ApplyConversionWorkspaceRequest) ProtoMessage added in v1.6.0

func (*ApplyConversionWorkspaceRequest) ProtoMessage()

func (*ApplyConversionWorkspaceRequest) ProtoReflect added in v1.6.0

func (*ApplyConversionWorkspaceRequest) Reset added in v1.6.0

func (*ApplyConversionWorkspaceRequest) String added in v1.6.0

type ApplyConversionWorkspaceRequest_ConnectionProfile added in v1.6.0

type ApplyConversionWorkspaceRequest_ConnectionProfile struct {
	// Optional. Fully qualified (Uri) name of the destination connection
	// profile.
	ConnectionProfile string `protobuf:"bytes,100,opt,name=connection_profile,json=connectionProfile,proto3,oneof"`
}

type ApplyHash added in v1.7.0

type ApplyHash struct {

	// Types that are assignable to HashFunction:
	//	*ApplyHash_UuidFromBytes
	HashFunction isApplyHash_HashFunction `protobuf_oneof:"hash_function"`
	// contains filtered or unexported fields
}

Apply a hash function on the value.

func (*ApplyHash) Descriptor deprecated added in v1.7.0

func (*ApplyHash) Descriptor() ([]byte, []int)

Deprecated: Use ApplyHash.ProtoReflect.Descriptor instead.

func (*ApplyHash) GetHashFunction added in v1.7.0

func (m *ApplyHash) GetHashFunction() isApplyHash_HashFunction

func (*ApplyHash) GetUuidFromBytes added in v1.7.0

func (x *ApplyHash) GetUuidFromBytes() *emptypb.Empty

func (*ApplyHash) ProtoMessage added in v1.7.0

func (*ApplyHash) ProtoMessage()

func (*ApplyHash) ProtoReflect added in v1.7.0

func (x *ApplyHash) ProtoReflect() protoreflect.Message

func (*ApplyHash) Reset added in v1.7.0

func (x *ApplyHash) Reset()

func (*ApplyHash) String added in v1.7.0

func (x *ApplyHash) String() string

type ApplyHash_UuidFromBytes added in v1.7.0

type ApplyHash_UuidFromBytes struct {
	// Optional. Generate UUID from the data's byte array
	UuidFromBytes *emptypb.Empty `protobuf:"bytes,100,opt,name=uuid_from_bytes,json=uuidFromBytes,proto3,oneof"`
}

type AssignSpecificValue added in v1.7.0

type AssignSpecificValue struct {

	// Required. Specific value to be assigned
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Set to a specific value (value is converted to fit the target data type)

func (*AssignSpecificValue) Descriptor deprecated added in v1.7.0

func (*AssignSpecificValue) Descriptor() ([]byte, []int)

Deprecated: Use AssignSpecificValue.ProtoReflect.Descriptor instead.

func (*AssignSpecificValue) GetValue added in v1.7.0

func (x *AssignSpecificValue) GetValue() string

func (*AssignSpecificValue) ProtoMessage added in v1.7.0

func (*AssignSpecificValue) ProtoMessage()

func (*AssignSpecificValue) ProtoReflect added in v1.7.0

func (x *AssignSpecificValue) ProtoReflect() protoreflect.Message

func (*AssignSpecificValue) Reset added in v1.7.0

func (x *AssignSpecificValue) Reset()

func (*AssignSpecificValue) String added in v1.7.0

func (x *AssignSpecificValue) String() string

type BackgroundJobLogEntry added in v1.6.0

type BackgroundJobLogEntry struct {

	// The background job log entry ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of job that was executed.
	JobType BackgroundJobType `` /* 131-byte string literal not displayed */
	// The timestamp when the background job was started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The timestamp when the background job was finished.
	FinishTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
	// Output only. Job completion state, i.e. the final state after the job
	// completed.
	CompletionState BackgroundJobLogEntry_JobCompletionState `` /* 178-byte string literal not displayed */
	// Output only. Job completion comment, such as how many entities were seeded,
	// how many warnings were found during conversion, and similar information.
	CompletionComment string `protobuf:"bytes,6,opt,name=completion_comment,json=completionComment,proto3" json:"completion_comment,omitempty"`
	// Output only. Whether the client requested the conversion workspace to be
	// committed after a successful completion of the job.
	RequestAutocommit bool `protobuf:"varint,7,opt,name=request_autocommit,json=requestAutocommit,proto3" json:"request_autocommit,omitempty"`
	// Types that are assignable to JobDetails:
	//	*BackgroundJobLogEntry_SeedJobDetails_
	//	*BackgroundJobLogEntry_ImportRulesJobDetails_
	//	*BackgroundJobLogEntry_ConvertJobDetails_
	//	*BackgroundJobLogEntry_ApplyJobDetails_
	JobDetails isBackgroundJobLogEntry_JobDetails `protobuf_oneof:"job_details"`
	// contains filtered or unexported fields
}

Execution log of a background job.

func (*BackgroundJobLogEntry) Descriptor deprecated added in v1.6.0

func (*BackgroundJobLogEntry) Descriptor() ([]byte, []int)

Deprecated: Use BackgroundJobLogEntry.ProtoReflect.Descriptor instead.

func (*BackgroundJobLogEntry) GetApplyJobDetails added in v1.6.0

func (*BackgroundJobLogEntry) GetCompletionComment added in v1.6.0

func (x *BackgroundJobLogEntry) GetCompletionComment() string

func (*BackgroundJobLogEntry) GetCompletionState added in v1.6.0

func (*BackgroundJobLogEntry) GetConvertJobDetails added in v1.6.0

func (*BackgroundJobLogEntry) GetFinishTime added in v1.6.0

func (x *BackgroundJobLogEntry) GetFinishTime() *timestamppb.Timestamp

func (*BackgroundJobLogEntry) GetId added in v1.6.0

func (x *BackgroundJobLogEntry) GetId() string

func (*BackgroundJobLogEntry) GetImportRulesJobDetails added in v1.6.0

func (*BackgroundJobLogEntry) GetJobDetails added in v1.6.0

func (m *BackgroundJobLogEntry) GetJobDetails() isBackgroundJobLogEntry_JobDetails

func (*BackgroundJobLogEntry) GetJobType added in v1.6.0

func (x *BackgroundJobLogEntry) GetJobType() BackgroundJobType

func (*BackgroundJobLogEntry) GetRequestAutocommit added in v1.6.0

func (x *BackgroundJobLogEntry) GetRequestAutocommit() bool

func (*BackgroundJobLogEntry) GetSeedJobDetails added in v1.6.0

func (*BackgroundJobLogEntry) GetStartTime added in v1.6.0

func (x *BackgroundJobLogEntry) GetStartTime() *timestamppb.Timestamp

func (*BackgroundJobLogEntry) ProtoMessage added in v1.6.0

func (*BackgroundJobLogEntry) ProtoMessage()

func (*BackgroundJobLogEntry) ProtoReflect added in v1.6.0

func (x *BackgroundJobLogEntry) ProtoReflect() protoreflect.Message

func (*BackgroundJobLogEntry) Reset added in v1.6.0

func (x *BackgroundJobLogEntry) Reset()

func (*BackgroundJobLogEntry) String added in v1.6.0

func (x *BackgroundJobLogEntry) String() string

type BackgroundJobLogEntry_ApplyJobDetails added in v1.6.0

type BackgroundJobLogEntry_ApplyJobDetails struct {

	// Output only. The connection profile which was used for the apply job.
	ConnectionProfile string `protobuf:"bytes,1,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
	// Output only. AIP-160 based filter used to specify the entities to apply
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Details regarding an Apply background job.

func (*BackgroundJobLogEntry_ApplyJobDetails) Descriptor deprecated added in v1.6.0

func (*BackgroundJobLogEntry_ApplyJobDetails) Descriptor() ([]byte, []int)

Deprecated: Use BackgroundJobLogEntry_ApplyJobDetails.ProtoReflect.Descriptor instead.

func (*BackgroundJobLogEntry_ApplyJobDetails) GetConnectionProfile added in v1.6.0

func (x *BackgroundJobLogEntry_ApplyJobDetails) GetConnectionProfile() string

func (*BackgroundJobLogEntry_ApplyJobDetails) GetFilter added in v1.6.0

func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage added in v1.6.0

func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoMessage()

func (*BackgroundJobLogEntry_ApplyJobDetails) ProtoReflect added in v1.6.0

func (*BackgroundJobLogEntry_ApplyJobDetails) Reset added in v1.6.0

func (*BackgroundJobLogEntry_ApplyJobDetails) String added in v1.6.0

type BackgroundJobLogEntry_ApplyJobDetails_ added in v1.6.0

type BackgroundJobLogEntry_ApplyJobDetails_ struct {
	// Output only. Apply job details.
	ApplyJobDetails *BackgroundJobLogEntry_ApplyJobDetails `protobuf:"bytes,103,opt,name=apply_job_details,json=applyJobDetails,proto3,oneof"`
}

type BackgroundJobLogEntry_ConvertJobDetails added in v1.6.0

type BackgroundJobLogEntry_ConvertJobDetails struct {

	// Output only. AIP-160 based filter used to specify the entities to convert
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Details regarding a Convert background job.

func (*BackgroundJobLogEntry_ConvertJobDetails) Descriptor deprecated added in v1.6.0

func (*BackgroundJobLogEntry_ConvertJobDetails) Descriptor() ([]byte, []int)

Deprecated: Use BackgroundJobLogEntry_ConvertJobDetails.ProtoReflect.Descriptor instead.

func (*BackgroundJobLogEntry_ConvertJobDetails) GetFilter added in v1.6.0

func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoMessage added in v1.6.0

func (*BackgroundJobLogEntry_ConvertJobDetails) ProtoReflect added in v1.6.0

func (*BackgroundJobLogEntry_ConvertJobDetails) Reset added in v1.6.0

func (*BackgroundJobLogEntry_ConvertJobDetails) String added in v1.6.0

type BackgroundJobLogEntry_ConvertJobDetails_ added in v1.6.0

type BackgroundJobLogEntry_ConvertJobDetails_ struct {
	// Output only. Convert job details.
	ConvertJobDetails *BackgroundJobLogEntry_ConvertJobDetails `protobuf:"bytes,102,opt,name=convert_job_details,json=convertJobDetails,proto3,oneof"`
}

type BackgroundJobLogEntry_ImportRulesJobDetails added in v1.6.0

type BackgroundJobLogEntry_ImportRulesJobDetails struct {

	// Output only. File names used for the import rules job.
	Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// Output only. The requested file format.
	FileFormat ImportRulesFileFormat `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Details regarding an Import Rules background job.

func (*BackgroundJobLogEntry_ImportRulesJobDetails) Descriptor deprecated added in v1.6.0

Deprecated: Use BackgroundJobLogEntry_ImportRulesJobDetails.ProtoReflect.Descriptor instead.

func (*BackgroundJobLogEntry_ImportRulesJobDetails) GetFileFormat added in v1.6.0

func (*BackgroundJobLogEntry_ImportRulesJobDetails) GetFiles added in v1.6.0

func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoMessage added in v1.6.0

func (*BackgroundJobLogEntry_ImportRulesJobDetails) ProtoReflect added in v1.6.0

func (*BackgroundJobLogEntry_ImportRulesJobDetails) Reset added in v1.6.0

func (*BackgroundJobLogEntry_ImportRulesJobDetails) String added in v1.6.0

type BackgroundJobLogEntry_ImportRulesJobDetails_ added in v1.6.0

type BackgroundJobLogEntry_ImportRulesJobDetails_ struct {
	// Output only. Import rules job details.
	ImportRulesJobDetails *BackgroundJobLogEntry_ImportRulesJobDetails `protobuf:"bytes,101,opt,name=import_rules_job_details,json=importRulesJobDetails,proto3,oneof"`
}

type BackgroundJobLogEntry_JobCompletionState added in v1.6.0

type BackgroundJobLogEntry_JobCompletionState int32

Final state after a job completes.

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 added in v1.6.0

func (BackgroundJobLogEntry_JobCompletionState) Enum added in v1.6.0

func (BackgroundJobLogEntry_JobCompletionState) EnumDescriptor deprecated added in v1.6.0

func (BackgroundJobLogEntry_JobCompletionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackgroundJobLogEntry_JobCompletionState.Descriptor instead.

func (BackgroundJobLogEntry_JobCompletionState) Number added in v1.6.0

func (BackgroundJobLogEntry_JobCompletionState) String added in v1.6.0

func (BackgroundJobLogEntry_JobCompletionState) Type added in v1.6.0

type BackgroundJobLogEntry_SeedJobDetails added in v1.6.0

type BackgroundJobLogEntry_SeedJobDetails struct {

	// Output only. The connection profile which was used for the seed job.
	ConnectionProfile string `protobuf:"bytes,1,opt,name=connection_profile,json=connectionProfile,proto3" json:"connection_profile,omitempty"`
	// contains filtered or unexported fields
}

Details regarding a Seed background job.

func (*BackgroundJobLogEntry_SeedJobDetails) Descriptor deprecated added in v1.6.0

func (*BackgroundJobLogEntry_SeedJobDetails) Descriptor() ([]byte, []int)

Deprecated: Use BackgroundJobLogEntry_SeedJobDetails.ProtoReflect.Descriptor instead.

func (*BackgroundJobLogEntry_SeedJobDetails) GetConnectionProfile added in v1.6.0

func (x *BackgroundJobLogEntry_SeedJobDetails) GetConnectionProfile() string

func (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage added in v1.6.0

func (*BackgroundJobLogEntry_SeedJobDetails) ProtoMessage()

func (*BackgroundJobLogEntry_SeedJobDetails) ProtoReflect added in v1.6.0

func (*BackgroundJobLogEntry_SeedJobDetails) Reset added in v1.6.0

func (*BackgroundJobLogEntry_SeedJobDetails) String added in v1.6.0

type BackgroundJobLogEntry_SeedJobDetails_ added in v1.6.0

type BackgroundJobLogEntry_SeedJobDetails_ struct {
	// Output only. Seed job details.
	SeedJobDetails *BackgroundJobLogEntry_SeedJobDetails `protobuf:"bytes,100,opt,name=seed_job_details,json=seedJobDetails,proto3,oneof"`
}

type BackgroundJobType added in v1.6.0

type BackgroundJobType int32

The types of jobs that can be executed in the background.

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 added in v1.6.0

func (BackgroundJobType) Enum added in v1.6.0

func (BackgroundJobType) EnumDescriptor deprecated added in v1.6.0

func (BackgroundJobType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackgroundJobType.Descriptor instead.

func (BackgroundJobType) Number added in v1.6.0

func (BackgroundJobType) String added in v1.6.0

func (x BackgroundJobType) String() string

func (BackgroundJobType) Type added in v1.6.0

type 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 deprecated

func (*CloudSqlConnectionProfile) Descriptor() ([]byte, []int)

Deprecated: Use CloudSqlConnectionProfile.ProtoReflect.Descriptor instead.

func (*CloudSqlConnectionProfile) GetAdditionalPublicIp added in v1.6.0

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 (*CloudSqlConnectionProfile) Reset

func (x *CloudSqlConnectionProfile) Reset()

func (*CloudSqlConnectionProfile) String

func (x *CloudSqlConnectionProfile) String() string

type CloudSqlSettings

type CloudSqlSettings struct {

	// The database engine type and version.
	DatabaseVersion CloudSqlSettings_SqlDatabaseVersion `` /* 173-byte string literal not displayed */
	// The resource labels for a Cloud SQL instance to use to annotate any related
	// underlying resources such as Compute Engine VMs.
	// An object containing a list of "key": "value" pairs.
	//
	// Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
	UserLabels map[string]string `` /* 179-byte string literal not displayed */
	// The tier (or machine type) for this instance, for example:
	// `db-n1-standard-1` (MySQL instances) or
	// `db-custom-1-3840` (PostgreSQL instances).
	// For more information, see
	// [Cloud SQL Instance
	// Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
	Tier string `protobuf:"bytes,3,opt,name=tier,proto3" json:"tier,omitempty"`
	// The maximum size to which storage capacity can be automatically increased.
	// The default value is 0, which specifies that there is no limit.
	StorageAutoResizeLimit *wrapperspb.Int64Value `` /* 131-byte string literal not displayed */
	// The activation policy specifies when the instance is activated; it is
	// applicable only when the instance state is 'RUNNABLE'. Valid values:
	//
	// 'ALWAYS': The instance is on, and remains so even in
	// the absence of connection requests.
	//
	// `NEVER`: The instance is off; it is not activated, even if a
	// connection request arrives.
	ActivationPolicy CloudSqlSettings_SqlActivationPolicy `` /* 177-byte string literal not displayed */
	// The settings for IP Management. This allows to enable or disable the
	// instance IP and manage which external networks can connect to the instance.
	// The IPv4 address cannot be disabled.
	IpConfig *SqlIpConfig `protobuf:"bytes,6,opt,name=ip_config,json=ipConfig,proto3" json:"ip_config,omitempty"`
	// [default: ON] If you enable this setting, Cloud SQL checks your available
	// storage every 30 seconds. If the available storage falls below a threshold
	// size, Cloud SQL automatically adds additional storage capacity. If the
	// available storage repeatedly falls below the threshold size, Cloud SQL
	// continues to add storage until it reaches the maximum of 30 TB.
	AutoStorageIncrease *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=auto_storage_increase,json=autoStorageIncrease,proto3" json:"auto_storage_increase,omitempty"`
	// The database flags passed to the Cloud SQL instance at startup.
	// An object containing a list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	DatabaseFlags map[string]string `` /* 188-byte string literal not displayed */
	// The type of storage: `PD_SSD` (default) or `PD_HDD`.
	DataDiskType CloudSqlSettings_SqlDataDiskType `` /* 163-byte string literal not displayed */
	// The storage capacity available to the database, in GB.
	// The minimum (and default) size is 10GB.
	DataDiskSizeGb *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"`
	// The Google Cloud Platform zone where your Cloud SQL database instance is
	// located.
	Zone string `protobuf:"bytes,11,opt,name=zone,proto3" json:"zone,omitempty"`
	// Optional. The Google Cloud Platform zone where the failover Cloud SQL
	// database instance is located. Used when the Cloud SQL database availability
	// type is REGIONAL (i.e. multiple zones / highly available).
	SecondaryZone string `protobuf:"bytes,18,opt,name=secondary_zone,json=secondaryZone,proto3" json:"secondary_zone,omitempty"`
	// The Database Migration Service source connection profile ID,
	// in the format:
	// `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
	SourceId string `protobuf:"bytes,12,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	// Input only. Initial root password.
	RootPassword string `protobuf:"bytes,13,opt,name=root_password,json=rootPassword,proto3" json:"root_password,omitempty"`
	// Output only. Indicates If this connection profile root password is stored.
	RootPasswordSet bool `protobuf:"varint,14,opt,name=root_password_set,json=rootPasswordSet,proto3" json:"root_password_set,omitempty"`
	// The Cloud SQL default instance level collation.
	Collation string `protobuf:"bytes,15,opt,name=collation,proto3" json:"collation,omitempty"`
	// The KMS key name used for the csql instance.
	CmekKeyName string `protobuf:"bytes,16,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
	// Optional. Availability type. Potential values:
	// *  `ZONAL`: The instance serves data from only one zone. Outages in that
	// zone affect data availability.
	// *  `REGIONAL`: The instance can serve data from more than one zone in a
	// region (it is highly available).
	AvailabilityType CloudSqlSettings_SqlAvailabilityType `` /* 178-byte string literal not displayed */
	// Optional. The edition of the given Cloud SQL instance.
	Edition CloudSqlSettings_Edition `protobuf:"varint,19,opt,name=edition,proto3,enum=google.cloud.clouddms.v1.CloudSqlSettings_Edition" json:"edition,omitempty"`
	// contains filtered or unexported fields
}

Settings for creating a Cloud SQL database instance.

func (*CloudSqlSettings) Descriptor deprecated

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 added in v1.6.0

func (x *CloudSqlSettings) GetAvailabilityType() CloudSqlSettings_SqlAvailabilityType

func (*CloudSqlSettings) GetCmekKeyName added in v1.6.0

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 (*CloudSqlSettings) GetDatabaseFlags

func (x *CloudSqlSettings) GetDatabaseFlags() map[string]string

func (*CloudSqlSettings) GetDatabaseVersion

func (x *CloudSqlSettings) GetDatabaseVersion() CloudSqlSettings_SqlDatabaseVersion

func (*CloudSqlSettings) GetEdition added in v1.7.0

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 added in v1.6.0

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

type CloudSqlSettings_Edition added in v1.7.0

type CloudSqlSettings_Edition int32

The edition of the given Cloud SQL instance. Can be ENTERPRISE or ENTERPRISE_PLUS.

const (
	// The instance did not specify the edition.
	CloudSqlSettings_EDITION_UNSPECIFIED CloudSqlSettings_Edition = 0
	// The instance is an enterprise edition.
	CloudSqlSettings_ENTERPRISE CloudSqlSettings_Edition = 2
	// The instance is an enterprise plus edition.
	CloudSqlSettings_ENTERPRISE_PLUS CloudSqlSettings_Edition = 3
)

func (CloudSqlSettings_Edition) Descriptor added in v1.7.0

func (CloudSqlSettings_Edition) Enum added in v1.7.0

func (CloudSqlSettings_Edition) EnumDescriptor deprecated added in v1.7.0

func (CloudSqlSettings_Edition) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudSqlSettings_Edition.Descriptor instead.

func (CloudSqlSettings_Edition) Number added in v1.7.0

func (CloudSqlSettings_Edition) String added in v1.7.0

func (x CloudSqlSettings_Edition) String() string

func (CloudSqlSettings_Edition) Type added in v1.7.0

type CloudSqlSettings_SqlActivationPolicy

type CloudSqlSettings_SqlActivationPolicy int32

Specifies when the instance should be activated.

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) Enum

func (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor deprecated

func (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudSqlSettings_SqlActivationPolicy.Descriptor instead.

func (CloudSqlSettings_SqlActivationPolicy) Number

func (CloudSqlSettings_SqlActivationPolicy) String

func (CloudSqlSettings_SqlActivationPolicy) Type

type CloudSqlSettings_SqlAvailabilityType added in v1.6.0

type CloudSqlSettings_SqlAvailabilityType int32

The availability type of the given Cloud SQL instance.

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 added in v1.6.0

func (CloudSqlSettings_SqlAvailabilityType) Enum added in v1.6.0

func (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor deprecated added in v1.6.0

func (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudSqlSettings_SqlAvailabilityType.Descriptor instead.

func (CloudSqlSettings_SqlAvailabilityType) Number added in v1.6.0

func (CloudSqlSettings_SqlAvailabilityType) String added in v1.6.0

func (CloudSqlSettings_SqlAvailabilityType) Type added in v1.6.0

type