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
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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
Optional. Password for the Oracle connection. Mutually exclusive with the |
↳ database_service |
string
Required. Database for the Oracle connection. |
↳ connection_attributes |
array|Google\Protobuf\Internal\MapField
Connection string attributes |
↳ oracle_ssl_config |
OracleSslConfig
Optional. SSL configuration for the Oracle connection. |
↳ oracle_asm_config |
OracleAsmConfig
Optional. Configuration for Oracle ASM connection. |
↳ secret_manager_stored_password |
string
Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the |
getHostname
Required. Hostname for the Oracle connection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHostname
Required. Hostname for the Oracle connection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPort
Port for the Oracle connection, default value is 1521.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPort
Port for the Oracle connection, default value is 1521.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUsername
Required. Username for the Oracle connection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUsername
Required. Username for the Oracle connection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPassword
Optional. Password for the Oracle connection. Mutually exclusive with the
secret_manager_stored_password field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPassword
Optional. Password for the Oracle connection. Mutually exclusive with the
secret_manager_stored_password field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDatabaseService
Required. Database for the Oracle connection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDatabaseService
Required. Database for the Oracle connection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnectionAttributes
Connection string attributes
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setConnectionAttributes
Connection string attributes
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOracleSslConfig
Optional. SSL configuration for the Oracle connection.
| Returns | |
|---|---|
| Type | Description |
OracleSslConfig|null |
|
hasOracleSslConfig
clearOracleSslConfig
setOracleSslConfig
Optional. SSL configuration for the Oracle connection.
| Parameter | |
|---|---|
| Name | Description |
var |
OracleSslConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOracleAsmConfig
Optional. Configuration for Oracle ASM connection.
| Returns | |
|---|---|
| Type | Description |
OracleAsmConfig|null |
|
hasOracleAsmConfig
clearOracleAsmConfig
setOracleAsmConfig
Optional. Configuration for Oracle ASM connection.
| Parameter | |
|---|---|
| Name | Description |
var |
OracleAsmConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the Oracle
connection password. Mutually exclusive with the password field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the Oracle
connection password. Mutually exclusive with the password field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|