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

The request for `GoldengateConnection.Create`.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The value for parent of the GoldengateConnection in the following format: projects/{project}/locations/{location}. |
| `↳ goldengate_connection_id` | `string` Required. The ID of the GoldengateConnection to create. This value is restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |
| `↳ goldengate_connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnection` Required. The resource being created. |
| `↳ request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

### getParent

Required. The value for parent of the GoldengateConnection in the following
format: projects/{project}/locations/{location}.

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

### setParent

Required. The value for parent of the GoldengateConnection in the following
format: projects/{project}/locations/{location}.

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

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

### getGoldengateConnectionId

Required. The ID of the GoldengateConnection to create. This value is
restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
63 characters in length. The value must start with a letter and end with a
letter or a number.

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

### setGoldengateConnectionId

Required. The ID of the GoldengateConnection to create. This value is
restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
63 characters in length. The value must start with a letter and end with a
letter or a number.

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

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

### getGoldengateConnection

Required. The resource being created.

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

### hasGoldengateConnection

### clearGoldengateConnection

### setGoldengateConnection

Required. The resource being created.

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

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

### getRequestId

Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

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

### setRequestId

Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The value for parent of the GoldengateConnection in the following format: projects/{project}/locations/{location}. Please see OracleDatabaseClient::locationName() for help formatting this field. |
| `goldengateConnection` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnection` Required. The resource being created. |
| `goldengateConnectionId` | `string` Required. The ID of the GoldengateConnection to create. This value is restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |

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