Google Cloud Datastream V1 Client - Class OracleProfile (1.0.5)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class OracleProfile.

Oracle database profile.

Generated from protobuf message google.cloud.datastream.v1.OracleProfile

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hostname string

Required. Hostname for the Oracle connection.

↳ port int

Port for the Oracle connection, default value is 1521.

↳ username string

Required. Username for the Oracle connection.

↳ password string

Required. Password for the Oracle connection.

↳ database_service string

Required. Database for the Oracle connection.

↳ connection_attributes array|Google\Protobuf\Internal\MapField

Connection string attributes

getHostname

Required. Hostname for the Oracle connection.

Returns
TypeDescription
string

setHostname

Required. Hostname for the Oracle connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPort

Port for the Oracle connection, default value is 1521.

Returns
TypeDescription
int

setPort

Port for the Oracle connection, default value is 1521.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUsername

Required. Username for the Oracle connection.

Returns
TypeDescription
string

setUsername

Required. Username for the Oracle connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPassword

Required. Password for the Oracle connection.

Returns
TypeDescription
string

setPassword

Required. Password for the Oracle connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDatabaseService

Required. Database for the Oracle connection.

Returns
TypeDescription
string

setDatabaseService

Required. Database for the Oracle connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnectionAttributes

Connection string attributes

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setConnectionAttributes

Connection string attributes

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this