---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test

`POST /v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test`

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Tests a single GoldengateConnectionAssignment.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `goldengateConnectionAssignmentsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- TestGoldengateConnectionAssignmentRequest: Request message for TestGoldengateConnectionAssignment.
  - `type` 'TEST_TYPE_UNSPECIFIED' | 'DEFAULT': Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

## Response `200`

Successful response

- TestGoldengateConnectionAssignmentResponse: The result of the connectivity test performed between the Goldengate deployment and the associated database / service.
  - `error` TestConnectionAssignmentError: Error details for TestGoldengateConnectionAssignment.
    - `action` string: The text describing the action required to fix the issue.
    - `code` string: A short error code that defines the error, meant for programmatic parsing.
    - `issue` string: The text describing the root cause of the reported issue.
    - `message` string: A human-readable error message.
  - `errors` TestConnectionAssignmentError[]: List of test connection assignment error objects.
    - `action` string: The text describing the action required to fix the issue.
    - `code` string: A short error code that defines the error, meant for programmatic parsing.
    - `issue` string: The text describing the root cause of the reported issue.
    - `message` string: A human-readable error message.
  - `resultType` 'RESULT_TYPE_UNSPECIFIED' | 'SUCCEEDED' | 'FAILED' | 'TIMED_OUT': Type of the result i.e. Success, Failure or Timeout.

---

[API](https://skmtc.dev/google/apis/oracledatabase.md) - [All operations](https://skmtc.dev/google/apis/oracledatabase/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/oracledatabase/revisions/215e9c1e9c3f?raw)
