Google Cloud Dms V1 Client - Class OracleConnectionProfile (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class OracleConnectionProfile.

Specifies connection parameters required specifically for Oracle databases.

Generated from protobuf message google.cloud.clouddms.v1.OracleConnectionProfile

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ host string

Required. The IP or hostname of the source Oracle database.

↳ port int

Required. The network port of the source Oracle database.

↳ username string

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

↳ password string

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

↳ password_set bool

Output only. Indicates whether a new password is included in the request.

↳ database_service string

Required. Database service for the Oracle connection.

↳ ssl Google\Cloud\CloudDms\V1\SslConfig

SSL configuration for the connection to the source Oracle database. * Only SERVER_ONLY configuration is supported for Oracle SSL. * SSL is supported for Oracle versions 12 and above.

↳ static_service_ip_connectivity Google\Cloud\CloudDms\V1\StaticServiceIpConnectivity

Static Service IP connectivity.

↳ forward_ssh_connectivity Google\Cloud\CloudDms\V1\ForwardSshTunnelConnectivity

Forward SSH tunnel connectivity.

↳ private_connectivity Google\Cloud\CloudDms\V1\PrivateConnectivity

Private connectivity.

getHost

Required. The IP or hostname of the source Oracle database.

Returns
TypeDescription
string

setHost

Required. The IP or hostname of the source Oracle database.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPort

Required. The network port of the source Oracle database.

Returns
TypeDescription
int

setPort

Required. The network port of the source Oracle database.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUsername

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Returns
TypeDescription
string

setUsername

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPassword

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Returns
TypeDescription
string

setPassword

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPasswordSet

Output only. Indicates whether a new password is included in the request.

Returns
TypeDescription
bool

setPasswordSet

Output only. Indicates whether a new password is included in the request.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDatabaseService

Required. Database service for the Oracle connection.

Returns
TypeDescription
string

setDatabaseService

Required. Database service for the Oracle connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSsl

SSL configuration for the connection to the source Oracle database.

  • Only SERVER_ONLY configuration is supported for Oracle SSL.
    • SSL is supported for Oracle versions 12 and above.
Returns
TypeDescription
Google\Cloud\CloudDms\V1\SslConfig|null

hasSsl

clearSsl

setSsl

SSL configuration for the connection to the source Oracle database.

  • Only SERVER_ONLY configuration is supported for Oracle SSL.
    • SSL is supported for Oracle versions 12 and above.
Parameter
NameDescription
var Google\Cloud\CloudDms\V1\SslConfig
Returns
TypeDescription
$this

getStaticServiceIpConnectivity

Static Service IP connectivity.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\StaticServiceIpConnectivity|null

hasStaticServiceIpConnectivity

setStaticServiceIpConnectivity

Static Service IP connectivity.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\StaticServiceIpConnectivity
Returns
TypeDescription
$this

getForwardSshConnectivity

Forward SSH tunnel connectivity.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ForwardSshTunnelConnectivity|null

hasForwardSshConnectivity

setForwardSshConnectivity

Forward SSH tunnel connectivity.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\ForwardSshTunnelConnectivity
Returns
TypeDescription
$this

getPrivateConnectivity

Private connectivity.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\PrivateConnectivity|null

hasPrivateConnectivity

setPrivateConnectivity

Private connectivity.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\PrivateConnectivity
Returns
TypeDescription
$this

getConnectivity

Returns
TypeDescription
string