Documentation ¶
Overview ¶
Package clouddmsdata provides Database Migration type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.clouddms.migrationJob.v1.created
- google.cloud.clouddms.migrationJob.v1.updated
- google.cloud.clouddms.migrationJob.v1.deleted
- google.cloud.clouddms.connectionProfile.v1.created
- google.cloud.clouddms.connectionProfile.v1.updated
- google.cloud.clouddms.connectionProfile.v1.deleted
Index ¶
- Variables
- type AlloyDbConnectionProfile
- func (*AlloyDbConnectionProfile) Descriptor() ([]byte, []int)deprecated
- func (x *AlloyDbConnectionProfile) GetClusterId() string
- func (x *AlloyDbConnectionProfile) GetSettings() *AlloyDbSettings
- func (*AlloyDbConnectionProfile) ProtoMessage()
- func (x *AlloyDbConnectionProfile) ProtoReflect() protoreflect.Message
- func (x *AlloyDbConnectionProfile) Reset()
- func (x *AlloyDbConnectionProfile) String() string
- type AlloyDbSettings
- func (*AlloyDbSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AlloyDbSettings) GetLabels() map[string]string
- func (x *AlloyDbSettings) GetPrimaryInstanceSettings() *AlloyDbSettings_PrimaryInstanceSettings
- func (x *AlloyDbSettings) GetVpcNetwork() string
- func (*AlloyDbSettings) ProtoMessage()
- func (x *AlloyDbSettings) ProtoReflect() protoreflect.Message
- func (x *AlloyDbSettings) Reset()
- func (x *AlloyDbSettings) String() string
- type AlloyDbSettings_PrimaryInstanceSettings
- func (*AlloyDbSettings_PrimaryInstanceSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AlloyDbSettings_PrimaryInstanceSettings) GetDatabaseFlags() map[string]string
- func (x *AlloyDbSettings_PrimaryInstanceSettings) GetId() string
- func (x *AlloyDbSettings_PrimaryInstanceSettings) GetLabels() map[string]string
- func (x *AlloyDbSettings_PrimaryInstanceSettings) GetMachineConfig() *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig
- func (x *AlloyDbSettings_PrimaryInstanceSettings) GetPrivateIp() string
- func (*AlloyDbSettings_PrimaryInstanceSettings) ProtoMessage()
- func (x *AlloyDbSettings_PrimaryInstanceSettings) ProtoReflect() protoreflect.Message
- func (x *AlloyDbSettings_PrimaryInstanceSettings) Reset()
- func (x *AlloyDbSettings_PrimaryInstanceSettings) String() string
- type AlloyDbSettings_PrimaryInstanceSettings_MachineConfig
- func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) GetCpuCount() int32
- func (*AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoMessage()
- func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) ProtoReflect() protoreflect.Message
- func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) Reset()
- func (x *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig) String() string
- type AlloyDbSettings_UserPassword
- func (*AlloyDbSettings_UserPassword) Descriptor() ([]byte, []int)deprecated
- func (x *AlloyDbSettings_UserPassword) GetPasswordSet() bool
- func (x *AlloyDbSettings_UserPassword) GetUser() string
- func (*AlloyDbSettings_UserPassword) ProtoMessage()
- func (x *AlloyDbSettings_UserPassword) ProtoReflect() protoreflect.Message
- func (x *AlloyDbSettings_UserPassword) Reset()
- func (x *AlloyDbSettings_UserPassword) String() string
- type CloudSqlConnectionProfile
- func (*CloudSqlConnectionProfile) Descriptor() ([]byte, []int)deprecated
- func (x *CloudSqlConnectionProfile) GetAdditionalPublicIp() string
- func (x *CloudSqlConnectionProfile) GetCloudSqlId() string
- func (x *CloudSqlConnectionProfile) GetPrivateIp() string
- func (x *CloudSqlConnectionProfile) GetPublicIp() string
- func (x *CloudSqlConnectionProfile) GetSettings() *CloudSqlSettings
- func (*CloudSqlConnectionProfile) ProtoMessage()
- func (x *CloudSqlConnectionProfile) ProtoReflect() protoreflect.Message
- func (x *CloudSqlConnectionProfile) Reset()
- func (x *CloudSqlConnectionProfile) String() string
- type CloudSqlSettings
- func (*CloudSqlSettings) Descriptor() ([]byte, []int)deprecated
- func (x *CloudSqlSettings) GetActivationPolicy() CloudSqlSettings_SqlActivationPolicy
- func (x *CloudSqlSettings) GetAutoStorageIncrease() *wrapperspb.BoolValue
- func (x *CloudSqlSettings) GetAvailabilityType() CloudSqlSettings_SqlAvailabilityType
- func (x *CloudSqlSettings) GetCmekKeyName() string
- func (x *CloudSqlSettings) GetCollation() string
- func (x *CloudSqlSettings) GetDataDiskSizeGb() *wrapperspb.Int64Value
- func (x *CloudSqlSettings) GetDataDiskType() CloudSqlSettings_SqlDataDiskType
- func (x *CloudSqlSettings) GetDatabaseFlags() map[string]string
- func (x *CloudSqlSettings) GetDatabaseVersion() CloudSqlSettings_SqlDatabaseVersion
- func (x *CloudSqlSettings) GetIpConfig() *SqlIpConfig
- func (x *CloudSqlSettings) GetRootPasswordSet() bool
- func (x *CloudSqlSettings) GetSecondaryZone() string
- func (x *CloudSqlSettings) GetSourceId() string
- func (x *CloudSqlSettings) GetStorageAutoResizeLimit() *wrapperspb.Int64Value
- func (x *CloudSqlSettings) GetTier() string
- func (x *CloudSqlSettings) GetUserLabels() map[string]string
- func (x *CloudSqlSettings) GetZone() string
- func (*CloudSqlSettings) ProtoMessage()
- func (x *CloudSqlSettings) ProtoReflect() protoreflect.Message
- func (x *CloudSqlSettings) Reset()
- func (x *CloudSqlSettings) String() string
- type CloudSqlSettings_SqlActivationPolicy
- func (CloudSqlSettings_SqlActivationPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x CloudSqlSettings_SqlActivationPolicy) Enum() *CloudSqlSettings_SqlActivationPolicy
- func (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudSqlSettings_SqlActivationPolicy) Number() protoreflect.EnumNumber
- func (x CloudSqlSettings_SqlActivationPolicy) String() string
- func (CloudSqlSettings_SqlActivationPolicy) Type() protoreflect.EnumType
- type CloudSqlSettings_SqlAvailabilityType
- func (CloudSqlSettings_SqlAvailabilityType) Descriptor() protoreflect.EnumDescriptor
- func (x CloudSqlSettings_SqlAvailabilityType) Enum() *CloudSqlSettings_SqlAvailabilityType
- func (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudSqlSettings_SqlAvailabilityType) Number() protoreflect.EnumNumber
- func (x CloudSqlSettings_SqlAvailabilityType) String() string
- func (CloudSqlSettings_SqlAvailabilityType) Type() protoreflect.EnumType
- type CloudSqlSettings_SqlDataDiskType
- func (CloudSqlSettings_SqlDataDiskType) Descriptor() protoreflect.EnumDescriptor
- func (x CloudSqlSettings_SqlDataDiskType) Enum() *CloudSqlSettings_SqlDataDiskType
- func (CloudSqlSettings_SqlDataDiskType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudSqlSettings_SqlDataDiskType) Number() protoreflect.EnumNumber
- func (x CloudSqlSettings_SqlDataDiskType) String() string
- func (CloudSqlSettings_SqlDataDiskType) Type() protoreflect.EnumType
- type CloudSqlSettings_SqlDatabaseVersion
- func (CloudSqlSettings_SqlDatabaseVersion) Descriptor() protoreflect.EnumDescriptor
- func (x CloudSqlSettings_SqlDatabaseVersion) Enum() *CloudSqlSettings_SqlDatabaseVersion
- func (CloudSqlSettings_SqlDatabaseVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudSqlSettings_SqlDatabaseVersion) Number() protoreflect.EnumNumber
- func (x CloudSqlSettings_SqlDatabaseVersion) String() string
- func (CloudSqlSettings_SqlDatabaseVersion) Type() protoreflect.EnumType
- type ConnectionProfile
- func (*ConnectionProfile) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionProfile) GetAlloydb() *AlloyDbConnectionProfile
- func (x *ConnectionProfile) GetCloudsql() *CloudSqlConnectionProfile
- func (m *ConnectionProfile) GetConnectionProfile() isConnectionProfile_ConnectionProfile
- func (x *ConnectionProfile) GetCreateTime() *timestamppb.Timestamp
- func (x *ConnectionProfile) GetDisplayName() string
- func (x *ConnectionProfile) GetError() *status.Status
- func (x *ConnectionProfile) GetLabels() map[string]string
- func (x *ConnectionProfile) GetMysql() *MySqlConnectionProfile
- func (x *ConnectionProfile) GetName() string
- func (x *ConnectionProfile) GetPostgresql() *PostgreSqlConnectionProfile
- func (x *ConnectionProfile) GetProvider() DatabaseProvider
- func (x *ConnectionProfile) GetState() ConnectionProfile_State
- func (x *ConnectionProfile) GetUpdateTime() *timestamppb.Timestamp
- func (*ConnectionProfile) ProtoMessage()
- func (x *ConnectionProfile) ProtoReflect() protoreflect.Message
- func (x *ConnectionProfile) Reset()
- func (x *ConnectionProfile) String() string
- type ConnectionProfileEventData
- func (*ConnectionProfileEventData) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionProfileEventData) GetPayload() *ConnectionProfile
- func (*ConnectionProfileEventData) ProtoMessage()
- func (x *ConnectionProfileEventData) ProtoReflect() protoreflect.Message
- func (x *ConnectionProfileEventData) Reset()
- func (x *ConnectionProfileEventData) String() string
- type ConnectionProfile_Alloydb
- type ConnectionProfile_Cloudsql
- type ConnectionProfile_Mysql
- type ConnectionProfile_Postgresql
- type ConnectionProfile_State
- func (ConnectionProfile_State) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionProfile_State) Enum() *ConnectionProfile_State
- func (ConnectionProfile_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionProfile_State) Number() protoreflect.EnumNumber
- func (x ConnectionProfile_State) String() string
- func (ConnectionProfile_State) Type() protoreflect.EnumType
- type DatabaseEngine
- func (DatabaseEngine) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseEngine) Enum() *DatabaseEngine
- func (DatabaseEngine) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseEngine) Number() protoreflect.EnumNumber
- func (x DatabaseEngine) String() string
- func (DatabaseEngine) Type() protoreflect.EnumType
- type DatabaseProvider
- func (DatabaseProvider) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseProvider) Enum() *DatabaseProvider
- func (DatabaseProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseProvider) Number() protoreflect.EnumNumber
- func (x DatabaseProvider) String() string
- func (DatabaseProvider) Type() protoreflect.EnumType
- type DatabaseType
- func (*DatabaseType) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseType) GetEngine() DatabaseEngine
- func (x *DatabaseType) GetProvider() DatabaseProvider
- func (*DatabaseType) ProtoMessage()
- func (x *DatabaseType) ProtoReflect() protoreflect.Message
- func (x *DatabaseType) Reset()
- func (x *DatabaseType) String() string
- type MigrationJob
- func (*MigrationJob) Descriptor() ([]byte, []int)deprecated
- func (m *MigrationJob) GetConnectivity() isMigrationJob_Connectivity
- func (x *MigrationJob) GetCreateTime() *timestamppb.Timestamp
- func (x *MigrationJob) GetDestination() string
- func (x *MigrationJob) GetDestinationDatabase() *DatabaseType
- func (x *MigrationJob) GetDisplayName() string
- func (x *MigrationJob) GetDumpFlags() *MigrationJob_DumpFlags
- func (x *MigrationJob) GetDumpPath() string
- func (x *MigrationJob) GetDuration() *durationpb.Duration
- func (x *MigrationJob) GetEndTime() *timestamppb.Timestamp
- func (x *MigrationJob) GetError() *status.Status
- func (x *MigrationJob) GetLabels() map[string]string
- func (x *MigrationJob) GetName() string
- func (x *MigrationJob) GetPhase() MigrationJob_Phase
- func (x *MigrationJob) GetReverseSshConnectivity() *ReverseSshConnectivity
- func (x *MigrationJob) GetSource() string
- func (x *MigrationJob) GetSourceDatabase() *DatabaseType
- func (x *MigrationJob) GetState() MigrationJob_State
- func (x *MigrationJob) GetStaticIpConnectivity() *StaticIpConnectivity
- func (x *MigrationJob) GetType() MigrationJob_Type
- func (x *MigrationJob) GetUpdateTime() *timestamppb.Timestamp
- func (x *MigrationJob) GetVpcPeeringConnectivity() *VpcPeeringConnectivity
- func (*MigrationJob) ProtoMessage()
- func (x *MigrationJob) ProtoReflect() protoreflect.Message
- func (x *MigrationJob) Reset()
- func (x *MigrationJob) String() string
- type MigrationJobEventData
- func (*MigrationJobEventData) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationJobEventData) GetPayload() *MigrationJob
- func (*MigrationJobEventData) ProtoMessage()
- func (x *MigrationJobEventData) ProtoReflect() protoreflect.Message
- func (x *MigrationJobEventData) Reset()
- func (x *MigrationJobEventData) String() string
- type MigrationJob_DumpFlag
- func (*MigrationJob_DumpFlag) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationJob_DumpFlag) GetName() string
- func (x *MigrationJob_DumpFlag) GetValue() string
- func (*MigrationJob_DumpFlag) ProtoMessage()
- func (x *MigrationJob_DumpFlag) ProtoReflect() protoreflect.Message
- func (x *MigrationJob_DumpFlag) Reset()
- func (x *MigrationJob_DumpFlag) String() string
- type MigrationJob_DumpFlags
- func (*MigrationJob_DumpFlags) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationJob_DumpFlags) GetDumpFlags() []*MigrationJob_DumpFlag
- func (*MigrationJob_DumpFlags) ProtoMessage()
- func (x *MigrationJob_DumpFlags) ProtoReflect() protoreflect.Message
- func (x *MigrationJob_DumpFlags) Reset()
- func (x *MigrationJob_DumpFlags) String() string
- type MigrationJob_Phase
- func (MigrationJob_Phase) Descriptor() protoreflect.EnumDescriptor
- func (x MigrationJob_Phase) Enum() *MigrationJob_Phase
- func (MigrationJob_Phase) EnumDescriptor() ([]byte, []int)deprecated
- func (x MigrationJob_Phase) Number() protoreflect.EnumNumber
- func (x MigrationJob_Phase) String() string
- func (MigrationJob_Phase) Type() protoreflect.EnumType
- type MigrationJob_ReverseSshConnectivity
- type MigrationJob_State
- func (MigrationJob_State) Descriptor() protoreflect.EnumDescriptor
- func (x MigrationJob_State) Enum() *MigrationJob_State
- func (MigrationJob_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MigrationJob_State) Number() protoreflect.EnumNumber
- func (x MigrationJob_State) String() string
- func (MigrationJob_State) Type() protoreflect.EnumType
- type MigrationJob_StaticIpConnectivity
- type MigrationJob_Type
- func (MigrationJob_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MigrationJob_Type) Enum() *MigrationJob_Type
- func (MigrationJob_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MigrationJob_Type) Number() protoreflect.EnumNumber
- func (x MigrationJob_Type) String() string
- func (MigrationJob_Type) Type() protoreflect.EnumType
- type MigrationJob_VpcPeeringConnectivity
- type MySqlConnectionProfile
- func (*MySqlConnectionProfile) Descriptor() ([]byte, []int)deprecated
- func (x *MySqlConnectionProfile) GetCloudSqlId() string
- func (x *MySqlConnectionProfile) GetHost() string
- func (x *MySqlConnectionProfile) GetPasswordSet() bool
- func (x *MySqlConnectionProfile) GetPort() int32
- func (x *MySqlConnectionProfile) GetSsl() *SslConfig
- func (x *MySqlConnectionProfile) GetUsername() string
- func (*MySqlConnectionProfile) ProtoMessage()
- func (x *MySqlConnectionProfile) ProtoReflect() protoreflect.Message
- func (x *MySqlConnectionProfile) Reset()
- func (x *MySqlConnectionProfile) String() string
- type NetworkArchitecture
- func (NetworkArchitecture) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkArchitecture) Enum() *NetworkArchitecture
- func (NetworkArchitecture) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkArchitecture) Number() protoreflect.EnumNumber
- func (x NetworkArchitecture) String() string
- func (NetworkArchitecture) Type() protoreflect.EnumType
- type PostgreSqlConnectionProfile
- func (*PostgreSqlConnectionProfile) Descriptor() ([]byte, []int)deprecated
- func (x *PostgreSqlConnectionProfile) GetCloudSqlId() string
- func (x *PostgreSqlConnectionProfile) GetHost() string
- func (x *PostgreSqlConnectionProfile) GetNetworkArchitecture() NetworkArchitecture
- func (x *PostgreSqlConnectionProfile) GetPasswordSet() bool
- func (x *PostgreSqlConnectionProfile) GetPort() int32
- func (x *PostgreSqlConnectionProfile) GetSsl() *SslConfig
- func (x *PostgreSqlConnectionProfile) GetUsername() string
- func (*PostgreSqlConnectionProfile) ProtoMessage()
- func (x *PostgreSqlConnectionProfile) ProtoReflect() protoreflect.Message
- func (x *PostgreSqlConnectionProfile) Reset()
- func (x *PostgreSqlConnectionProfile) String() string
- type ReverseSshConnectivity
- func (*ReverseSshConnectivity) Descriptor() ([]byte, []int)deprecated
- func (x *ReverseSshConnectivity) GetVm() string
- func (x *ReverseSshConnectivity) GetVmIp() string
- func (x *ReverseSshConnectivity) GetVmPort() int32
- func (x *ReverseSshConnectivity) GetVpc() string
- func (*ReverseSshConnectivity) ProtoMessage()
- func (x *ReverseSshConnectivity) ProtoReflect() protoreflect.Message
- func (x *ReverseSshConnectivity) Reset()
- func (x *ReverseSshConnectivity) String() string
- type SqlAclEntry
- func (*SqlAclEntry) Descriptor() ([]byte, []int)deprecated
- func (m *SqlAclEntry) GetExpiration() isSqlAclEntry_Expiration
- func (x *SqlAclEntry) GetExpireTime() *timestamppb.Timestamp
- func (x *SqlAclEntry) GetLabel() string
- func (x *SqlAclEntry) GetValue() string
- func (*SqlAclEntry) ProtoMessage()
- func (x *SqlAclEntry) ProtoReflect() protoreflect.Message
- func (x *SqlAclEntry) Reset()
- func (x *SqlAclEntry) String() string
- type SqlAclEntry_ExpireTime
- type SqlIpConfig
- func (*SqlIpConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SqlIpConfig) GetAuthorizedNetworks() []*SqlAclEntry
- func (x *SqlIpConfig) GetEnableIpv4() *wrapperspb.BoolValue
- func (x *SqlIpConfig) GetPrivateNetwork() string
- func (x *SqlIpConfig) GetRequireSsl() *wrapperspb.BoolValue
- func (*SqlIpConfig) ProtoMessage()
- func (x *SqlIpConfig) ProtoReflect() protoreflect.Message
- func (x *SqlIpConfig) Reset()
- func (x *SqlIpConfig) String() string
- type SslConfig
- type SslConfig_SslType
- func (SslConfig_SslType) Descriptor() protoreflect.EnumDescriptor
- func (x SslConfig_SslType) Enum() *SslConfig_SslType
- func (SslConfig_SslType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SslConfig_SslType) Number() protoreflect.EnumNumber
- func (x SslConfig_SslType) String() string
- func (SslConfig_SslType) Type() protoreflect.EnumType
- type StaticIpConnectivity
- type VpcPeeringConnectivity
- func (*VpcPeeringConnectivity) Descriptor() ([]byte, []int)deprecated
- func (x *VpcPeeringConnectivity) GetVpc() string
- func (*VpcPeeringConnectivity) ProtoMessage()
- func (x *VpcPeeringConnectivity) ProtoReflect() protoreflect.Message
- func (x *VpcPeeringConnectivity) Reset()
- func (x *VpcPeeringConnectivity) String() string
Constants ¶
This section is empty.
Variables ¶
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.
var ( DatabaseEngine_name = map[int32]string{ 0: "DATABASE_ENGINE_UNSPECIFIED", 1: "MYSQL", 2: "POSTGRESQL", } DatabaseEngine_value = map[string]int32{ "DATABASE_ENGINE_UNSPECIFIED": 0, "MYSQL": 1, "POSTGRESQL": 2, } )
Enum value maps for DatabaseEngine.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
var File_cloud_clouddms_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type 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
deprecated
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
type AlloyDbSettings ¶
type AlloyDbSettings struct { // 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 */ // contains filtered or unexported fields }
Settings for creating an AlloyDB cluster.
func (*AlloyDbSettings) Descriptor
deprecated
func (*AlloyDbSettings) Descriptor() ([]byte, []int)
Deprecated: Use AlloyDbSettings.ProtoReflect.Descriptor instead.
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
type AlloyDbSettings_PrimaryInstanceSettings ¶
type AlloyDbSettings_PrimaryInstanceSettings struct { // Required. The ID of the AlloyDB primary instance. The ID must satisfy the // regex expression "[a-z0-9-]+". Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Configuration for the machines that host the underlying // database engine. MachineConfig *AlloyDbSettings_PrimaryInstanceSettings_MachineConfig `protobuf:"bytes,2,opt,name=machine_config,json=machineConfig,proto3" json:"machine_config,omitempty"` // Database flags to pass to AlloyDB when DMS is creating the AlloyDB // cluster and instances. See the AlloyDB documentation for how these can be // used. DatabaseFlags map[string]string `` /* 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
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
type 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
deprecated
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
type AlloyDbSettings_UserPassword ¶
type AlloyDbSettings_UserPassword struct { // The database username. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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
func (*AlloyDbSettings_UserPassword) Descriptor() ([]byte, []int)
Deprecated: Use AlloyDbSettings_UserPassword.ProtoReflect.Descriptor instead.
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
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 ¶
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
type CloudSqlSettings ¶
type CloudSqlSettings struct { // The database engine type and version. DatabaseVersion CloudSqlSettings_SqlDatabaseVersion `` /* 180-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 `` /* 184-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 `` /* 170-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"` // 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 `` /* 185-byte string literal not displayed */ // 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 ¶
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) 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
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) Descriptor() protoreflect.EnumDescriptor
func (CloudSqlSettings_SqlActivationPolicy) Enum ¶
func (x CloudSqlSettings_SqlActivationPolicy) Enum() *CloudSqlSettings_SqlActivationPolicy
func (CloudSqlSettings_SqlActivationPolicy) EnumDescriptor
deprecated
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
type CloudSqlSettings_SqlAvailabilityType ¶
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 ¶
func (CloudSqlSettings_SqlAvailabilityType) Descriptor() protoreflect.EnumDescriptor
func (CloudSqlSettings_SqlAvailabilityType) Enum ¶
func (x CloudSqlSettings_SqlAvailabilityType) Enum() *CloudSqlSettings_SqlAvailabilityType
func (CloudSqlSettings_SqlAvailabilityType) EnumDescriptor
deprecated
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
type CloudSqlSettings_SqlDataDiskType ¶
type CloudSqlSettings_SqlDataDiskType int32
The storage options for Cloud SQL databases.
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
deprecated
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
type CloudSqlSettings_SqlDatabaseVersion ¶
type CloudSqlSettings_SqlDatabaseVersion int32
The database engine type and version.
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
deprecated
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
type ConnectionProfile ¶
type ConnectionProfile struct { // The name of this connection profile resource in the form of // projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The timestamp when the resource was created. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the resource was last updated. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The resource labels for connection profile to use to annotate any related // underlying resources such as Compute Engine VMs. An object containing a // list of "key": "value" pairs. // // Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. Labels map[string]string `` /* 153-byte string literal not displayed */ // The current connection profile state (e.g. DRAFT, READY, or FAILED). State ConnectionProfile_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.events.cloud.clouddms.v1.ConnectionProfile_State" json:"state,omitempty"` // The connection profile display name. DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The connection profile definition. // // Types that are assignable to ConnectionProfile: // // *ConnectionProfile_Mysql // *ConnectionProfile_Postgresql // *ConnectionProfile_Cloudsql // *ConnectionProfile_Alloydb ConnectionProfile isConnectionProfile_ConnectionProfile `protobuf_oneof:"connection_profile"` // Output only. The error details in case of state FAILED. Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` // The database provider. Provider DatabaseProvider `protobuf:"varint,8,opt,name=provider,proto3,enum=google.events.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"` // contains filtered or unexported fields }
A connection profile definition.
func (*ConnectionProfile) Descriptor
deprecated
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) 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
type ConnectionProfileEventData ¶
type ConnectionProfileEventData struct { // Optional. The ConnectionProfile event payload. Unset for deletion events. Payload *ConnectionProfile `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all ConnectionProfile events.
func (*ConnectionProfileEventData) Descriptor
deprecated
func (*ConnectionProfileEventData) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionProfileEventData.ProtoReflect.Descriptor instead.
func (*ConnectionProfileEventData) GetPayload ¶
func (x *ConnectionProfileEventData) GetPayload() *ConnectionProfile
func (*ConnectionProfileEventData) ProtoMessage ¶
func (*ConnectionProfileEventData) ProtoMessage()
func (*ConnectionProfileEventData) ProtoReflect ¶
func (x *ConnectionProfileEventData) ProtoReflect() protoreflect.Message
func (*ConnectionProfileEventData) Reset ¶
func (x *ConnectionProfileEventData) Reset()
func (*ConnectionProfileEventData) String ¶
func (x *ConnectionProfileEventData) String() string
type ConnectionProfile_Alloydb ¶
type ConnectionProfile_Alloydb struct { // An AlloyDB cluster connection profile. Alloydb *AlloyDbConnectionProfile `protobuf:"bytes,105,opt,name=alloydb,proto3,oneof"` }
type ConnectionProfile_Cloudsql ¶
type ConnectionProfile_Cloudsql struct { // A CloudSQL database connection profile. Cloudsql *CloudSqlConnectionProfile `protobuf:"bytes,102,opt,name=cloudsql,proto3,oneof"` }
type ConnectionProfile_Mysql ¶
type ConnectionProfile_Mysql struct { // A MySQL database connection profile. Mysql *MySqlConnectionProfile `protobuf:"bytes,100,opt,name=mysql,proto3,oneof"` }
type ConnectionProfile_Postgresql ¶
type ConnectionProfile_Postgresql struct { // A PostgreSQL database connection profile. Postgresql *PostgreSqlConnectionProfile `protobuf:"bytes,101,opt,name=postgresql,proto3,oneof"` }
type ConnectionProfile_State ¶
type ConnectionProfile_State int32
The current connection profile state (e.g. DRAFT, READY, or 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
deprecated
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
type DatabaseEngine ¶
type DatabaseEngine int32
The database engine types.
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 )
func (DatabaseEngine) Descriptor ¶
func (DatabaseEngine) Descriptor() protoreflect.EnumDescriptor
func (DatabaseEngine) Enum ¶
func (x DatabaseEngine) Enum() *DatabaseEngine
func (DatabaseEngine) EnumDescriptor
deprecated
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
type DatabaseProvider ¶
type DatabaseProvider int32
The database providers.
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
deprecated
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
type DatabaseType ¶
type DatabaseType struct { // The database provider. Provider DatabaseProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.events.cloud.clouddms.v1.DatabaseProvider" json:"provider,omitempty"` // The database engine. Engine DatabaseEngine `protobuf:"varint,2,opt,name=engine,proto3,enum=google.events.cloud.clouddms.v1.DatabaseEngine" json:"engine,omitempty"` // contains filtered or unexported fields }
A message defining the database engine and provider.
func (*DatabaseType) Descriptor
deprecated
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
type MigrationJob ¶
type MigrationJob struct { // The name (URI) of this migration job resource, in the form of: // projects/{project}/locations/{location}/migrationJobs/{migrationJob}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The timestamp when the migration job resource was created. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp when the migration job resource was last // updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The resource labels for migration job to use to annotate any related // underlying resources such as Compute Engine VMs. An object containing a // list of "key": "value" pairs. // // Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. Labels map[string]string `` /* 153-byte string literal not displayed */ // The migration job display name. DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The current migration job state. State MigrationJob_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.events.cloud.clouddms.v1.MigrationJob_State" json:"state,omitempty"` // Output only. The current migration job phase. Phase MigrationJob_Phase `protobuf:"varint,7,opt,name=phase,proto3,enum=google.events.cloud.clouddms.v1.MigrationJob_Phase" json:"phase,omitempty"` // Required. The migration job type. Type MigrationJob_Type `protobuf:"varint,8,opt,name=type,proto3,enum=google.events.cloud.clouddms.v1.MigrationJob_Type" json:"type,omitempty"` // The path to the dump file in Google Cloud Storage, // in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). // This field and the "dump_flags" field are mutually exclusive. DumpPath string `protobuf:"bytes,9,opt,name=dump_path,json=dumpPath,proto3" json:"dump_path,omitempty"` // The initial dump flags. // This field and the "dump_path" field are mutually exclusive. DumpFlags *MigrationJob_DumpFlags `protobuf:"bytes,17,opt,name=dump_flags,json=dumpFlags,proto3" json:"dump_flags,omitempty"` // Required. The resource name (URI) of the source connection profile. Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"` // Required. The resource name (URI) of the destination connection profile. Destination string `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"` // The connectivity method. // // Types that are assignable to Connectivity: // // *MigrationJob_ReverseSshConnectivity // *MigrationJob_VpcPeeringConnectivity // *MigrationJob_StaticIpConnectivity Connectivity isMigrationJob_Connectivity `protobuf_oneof:"connectivity"` // Output only. The duration of the migration job (in seconds). A duration in // seconds with up to nine fractional digits, terminated by 's'. Example: // "3.5s". Duration *durationpb.Duration `protobuf:"bytes,12,opt,name=duration,proto3" json:"duration,omitempty"` // Output only. The error details in case of state FAILED. Error *status.Status `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` // The database engine type and provider of the source. SourceDatabase *DatabaseType `protobuf:"bytes,14,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"` // The database engine type and provider of the destination. DestinationDatabase *DatabaseType `protobuf:"bytes,15,opt,name=destination_database,json=destinationDatabase,proto3" json:"destination_database,omitempty"` // Output only. If the migration job is completed, the time when it was // completed. EndTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
Represents a Database Migration Service migration job object.
func (*MigrationJob) Descriptor
deprecated
func (*MigrationJob) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJob.ProtoReflect.Descriptor instead.
func (*MigrationJob) GetConnectivity ¶
func (m *MigrationJob) GetConnectivity() isMigrationJob_Connectivity
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) 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
type MigrationJobEventData ¶
type MigrationJobEventData struct { // Optional. The MigrationJob event payload. Unset for deletion events. Payload *MigrationJob `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all MigrationJob events.
func (*MigrationJobEventData) Descriptor
deprecated
func (*MigrationJobEventData) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJobEventData.ProtoReflect.Descriptor instead.
func (*MigrationJobEventData) GetPayload ¶
func (x *MigrationJobEventData) GetPayload() *MigrationJob
func (*MigrationJobEventData) ProtoMessage ¶
func (*MigrationJobEventData) ProtoMessage()
func (*MigrationJobEventData) ProtoReflect ¶
func (x *MigrationJobEventData) ProtoReflect() protoreflect.Message
func (*MigrationJobEventData) Reset ¶
func (x *MigrationJobEventData) Reset()
func (*MigrationJobEventData) String ¶
func (x *MigrationJobEventData) String() string
type 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
deprecated
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
type 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
deprecated
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
type MigrationJob_Phase ¶
type MigrationJob_Phase int32
The current migration job phase.
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
deprecated
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
type 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"` }
type MigrationJob_State ¶
type MigrationJob_State int32
The current migration job states.
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
deprecated
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
type 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"` }
type MigrationJob_Type ¶
type MigrationJob_Type int32
The type of migration job (one-time or 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
deprecated
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
type 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"` }
type 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"` // 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
deprecated
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) 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
type NetworkArchitecture ¶
type NetworkArchitecture int32
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
deprecated
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
type PostgreSqlConnectionProfile ¶
type PostgreSqlConnectionProfile struct { // Required. The IP or hostname of the source PostgreSQL database. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Required. The network port of the source PostgreSQL database. Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Required. The username that Database Migration Service will use to connect // to the database. The value is encrypted when stored in Database Migration // Service. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Output only. Indicates If this connection profile password is stored. PasswordSet bool `protobuf:"varint,5,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"` // SSL configuration for the destination to connect to the source database. Ssl *SslConfig `protobuf:"bytes,6,opt,name=ssl,proto3" json:"ssl,omitempty"` // If the source is a Cloud SQL database, use this field to // provide the Cloud SQL instance ID of the source. CloudSqlId string `protobuf:"bytes,7,opt,name=cloud_sql_id,json=cloudSqlId,proto3" json:"cloud_sql_id,omitempty"` // Output only. If the source is a Cloud SQL database, this field indicates // the network architecture it's associated with. NetworkArchitecture NetworkArchitecture `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies connection parameters required specifically for PostgreSQL databases.
func (*PostgreSqlConnectionProfile) Descriptor
deprecated
func (*PostgreSqlConnectionProfile) Descriptor() ([]byte, []int)
Deprecated: Use PostgreSqlConnectionProfile.ProtoReflect.Descriptor instead.
func (*PostgreSqlConnectionProfile) GetCloudSqlId ¶
func (x *PostgreSqlConnectionProfile) GetCloudSqlId() string
func (*PostgreSqlConnectionProfile) GetHost ¶
func (x *PostgreSqlConnectionProfile) GetHost() string
func (*PostgreSqlConnectionProfile) GetNetworkArchitecture ¶
func (x *PostgreSqlConnectionProfile) GetNetworkArchitecture() NetworkArchitecture
func (*PostgreSqlConnectionProfile) GetPasswordSet ¶
func (x *PostgreSqlConnectionProfile) GetPasswordSet() bool
func (*PostgreSqlConnectionProfile) GetPort ¶
func (x *PostgreSqlConnectionProfile) GetPort() int32
func (*PostgreSqlConnectionProfile) GetSsl ¶
func (x *PostgreSqlConnectionProfile) GetSsl() *SslConfig
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
type 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
deprecated
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
type 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 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
deprecated
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) 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
type 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"` }
type 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"` // 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
deprecated
func (*SqlIpConfig) Descriptor() ([]byte, []int)
Deprecated: Use SqlIpConfig.ProtoReflect.Descriptor instead.
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
type 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.events.cloud.clouddms.v1.SslConfig_SslType" json:"type,omitempty"` // contains filtered or unexported fields }
SSL configuration information.
func (*SslConfig) Descriptor
deprecated
func (*SslConfig) GetType ¶
func (x *SslConfig) GetType() SslConfig_SslType
func (*SslConfig) ProtoMessage ¶
func (*SslConfig) ProtoMessage()
func (*SslConfig) ProtoReflect ¶
func (x *SslConfig) ProtoReflect() protoreflect.Message
type SslConfig_SslType ¶
type SslConfig_SslType int32
Specifies The kind of ssl configuration used.
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
deprecated
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
type StaticIpConnectivity ¶
type StaticIpConnectivity struct {
// contains filtered or unexported fields
}
The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.
func (*StaticIpConnectivity) Descriptor
deprecated
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
type 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
deprecated
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