0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class TestGoldengateConnectionAssignmentResponse.

The result of the connectivity test performed between the Goldengate
deployment and the associated database / service.

Generated from protobuf message `google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentResponse`

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ result_type` | `int` Type of the result i.e. Success, Failure or Timeout. |
| `↳ error` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError` Error details if test connection failed. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError>` List of test connection assignment error objects. |

### getResultType

Type of the result i.e. Success, Failure or Timeout.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ResultType](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentResponse.ResultType). |

### setResultType

Type of the result i.e. Success, Failure or Timeout.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ResultType](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentResponse.ResultType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getError

Error details if test connection failed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError|null` |   |

### hasError

### clearError

### setError

Error details if test connection failed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrors

List of test connection assignment error objects.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError>` |   |

### setErrors

List of test connection assignment error objects.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestConnectionAssignmentError>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |