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 TestGoldengateConnectionAssignmentRequest.

Request message for TestGoldengateConnectionAssignment.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} |
| `↳ type` | `int` Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT. |

### getName

Required. Name of the connection assignment for which to test connection.

projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Name of the connection assignment for which to test connection.

projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getType

Optional. The type of the test of the assigned connection.

The only type actually supported is DEFAULT.

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

### setType

Optional. The type of the test of the assigned connection.

The only type actually supported is DEFAULT.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} Please see OracleDatabaseClient::goldengateConnectionAssignmentName() for help formatting this field. |

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