Google Cloud Oracle Database V1 Client - Class TestDatabaseConnectionResponse (0.15.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class TestDatabaseConnectionResponse.

Response message for DatabaseConnection.TestDatabaseConnection.

Generated from protobuf message google.cloud.oracledatabase.v1.TestDatabaseConnectionResponse

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ success bool

Whether the test connection was successful.

↳ error_message string

Error message if the test connection failed.

getSuccess

Whether the test connection was successful.

Returns
Type Description
bool

setSuccess

Whether the test connection was successful.

Parameter
Name Description
var bool
Returns
Type Description
$this

getErrorMessage

Error message if the test connection failed.

Returns
Type Description
string

setErrorMessage

Error message if the test connection failed.

Parameter
Name Description
var string
Returns
Type Description
$this