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

The properties of a GoldengateConnectionAssignment.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ocid` | `string` Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being referenced. |
| `↳ goldengate_connection` | `string` Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection} |
| `↳ goldengate_deployment` | `string` Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment} |
| `↳ alias` | `string` Output only. Credential store alias. |
| `↳ state` | `int` Output only. The lifecycle state of the connection assignment. |

### getOcid

Output only. The
[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
of the connection assignment being referenced.

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

### setOcid

Output only. The
[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
of the connection assignment being referenced.

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

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

### getGoldengateConnection

Required. The GoldengateConnection resource to be assigned.

Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

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

### setGoldengateConnection

Required. The GoldengateConnection resource to be assigned.

Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

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

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

### getGoldengateDeployment

Required. The GoldenGateDeployment to assign the connection to.

Format:
projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

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

### setGoldengateDeployment

Required. The GoldenGateDeployment to assign the connection to.

Format:
projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

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

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

### getAlias

Output only. Credential store alias.

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

### setAlias

Output only. Credential store alias.

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

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

### getState

Output only. The lifecycle state of the connection assignment.

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

### setState

Output only. The lifecycle state of the connection assignment.

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

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