- [Resource: GoldengateConnectionAssignment](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#GoldengateConnectionAssignment)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#GoldengateConnectionAssignment.SCHEMA_REPRESENTATION)
- [GoldengateConnectionAssignmentProperties](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#GoldengateConnectionAssignmentProperties)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#GoldengateConnectionAssignmentProperties.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#State)
- [Methods](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.goldengateConnectionAssignments.md.txt#METHODS_SUMMARY)

## Resource: GoldengateConnectionAssignment

Represents the metadata of a Goldengate Connection Assignment.

| JSON representation |
|---|
| ``` { "name": string, "properties": { object (`GoldengateConnectionAssignmentProperties`) }, "createTime": string, "labels": { string: string, ... }, "displayName": string, "entitlementId": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengateConnectionAssignment} |
| `properties` | ``object (`GoldengateConnectionAssignmentProperties`)`` Required. Immutable. The properties of the GoldengateConnectionAssignment. |
| `createTime` | ``string (`Timestamp` format)`` Output only. The time when the connection assignment was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels` | `map (key: string, value: string)` Optional. The labels or tags associated with the GoldengateConnectionAssignment. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `displayName` | `string` Optional. Immutable. The display name for the GoldengateConnectionAssignment. |
| `entitlementId` | `string` Output only. The OCID of the entitlement linked to this resource. |

## GoldengateConnectionAssignmentProperties

The properties of a GoldengateConnectionAssignment.

| JSON representation |
|---|
| ``` { "ocid": string, "goldengateConnection": string, "goldengateDeployment": string, "alias": string, "state": enum (`State`) } ``` |

| Fields ||
|---|---|
| `ocid` | `string` Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being referenced. |
| `goldengateConnection` | `string` Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengateConnection} |
| `goldengateDeployment` | `string` Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengateDeployment} |
| `alias` | `string` Output only. Credential store alias. |
| `state` | ``enum (`State`)`` Output only. The lifecycle state of the connection assignment. |

## State

Possible lifecycle states for connection assignments.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Lifecycle state is unspecified. |
| `CREATING` | Connection assignment is being created. |
| `ACTIVE` | Connection assignment is active. |
| `FAILED` | Connection assignment failed. |
| `UPDATING` | Connection assignment is being updated. |
| `DELETING` | Connection assignment is being deleted. |

| ## Methods ||
|---|---|
| ### `create` | Creates a new GoldengateConnectionAssignment in a given project and location. |
| ### `delete` | Deletes a single GoldengateConnectionAssignment. |
| ### `get` | Gets details of a single GoldengateConnectionAssignment. |
| ### `list` | Lists GoldengateConnectionAssignments in a given project and location. |
| ### `patch` | Updates the `labels` of a single GoldengateConnectionAssignment. |
| ### `test` | Tests a single GoldengateConnectionAssignment. |