Skip to main content

goldengate_connections

Creates, updates, deletes, gets or lists a goldengate_connections resource.

Overview

Namegoldengate_connections
TypeResource
Idgoogle.oracledatabase.goldengate_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}
createTimestring (google-datetime)Output only. The date and time that the GoldengateConnection was created.
entitlementIdstringOutput only. The ID of the subscription entitlement associated with the GoldengateConnection.
gcpOracleZonestringOptional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
labelsobjectOptional. The labels or tags associated with the GoldengateConnection.
ociUrlstringOutput only. HTTPS link to OCI resources exposed to Customer via UI Interface.
odbNetworkstringOptional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
odbSubnetstringOptional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
propertiesobjectRequired. The properties of the GoldengateConnection. (id: GoldengateConnectionProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, goldengateConnectionsIdGets details of a single GoldengateConnection.
listselectprojectsId, locationsIdfilter, pageToken, pageSize, orderByLists all the GoldengateConnections for the given project and location.
createinsertprojectsId, locationsIdgoldengateConnectionId, requestIdCreates a new GoldengateConnection in a given project and location.
deletedeleteprojectsId, locationsId, goldengateConnectionsIdrequestIdDeletes a single GoldengateConnection.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
goldengateConnectionsIdstring
locationsIdstring
projectsIdstring
filterstring
goldengateConnectionIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring

SELECT examples

Gets details of a single GoldengateConnection.

SELECT
name,
createTime,
entitlementId,
gcpOracleZone,
labels,
ociUrl,
odbNetwork,
odbSubnet,
properties
FROM google.oracledatabase.goldengate_connections
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND goldengateConnectionsId = '{{ goldengateConnectionsId }}' -- required
;

INSERT examples

Creates a new GoldengateConnection in a given project and location.

INSERT INTO google.oracledatabase.goldengate_connections (
data__properties,
data__odbSubnet,
data__odbNetwork,
data__name,
data__gcpOracleZone,
data__labels,
projectsId,
locationsId,
goldengateConnectionId,
requestId
)
SELECT
'{{ properties }}',
'{{ odbSubnet }}',
'{{ odbNetwork }}',
'{{ name }}',
'{{ gcpOracleZone }}',
'{{ labels }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ goldengateConnectionId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Deletes a single GoldengateConnection.

DELETE FROM google.oracledatabase.goldengate_connections
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND goldengateConnectionsId = '{{ goldengateConnectionsId }}' --required
AND requestId = '{{ requestId }}'
;