Skip to main content

goldengate_connection_assignments

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

Overview​

Namegoldengate_connection_assignments
TypeResource
Idgoogle.oracledatabase.goldengate_connection_assignments

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
createTimestring (google-datetime)Output only. The time when the connection assignment was created.
displayNamestringOptional. The display name for the GoldengateConnectionAssignment.
entitlementIdstringOutput only. The OCID of the entitlement linked to this resource.
labelsobjectOptional. The labels or tags associated with the GoldengateConnectionAssignment.
propertiesobjectRequired. The properties of the GoldengateConnectionAssignment. (id: GoldengateConnectionAssignmentProperties)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, goldengateConnectionAssignmentsIdGets details of a single GoldengateConnectionAssignment.
listselectprojectsId, locationsIdfilter, orderBy, pageSize, pageTokenLists GoldengateConnectionAssignments in a given project and location.
createinsertprojectsId, locationsIdgoldengateConnectionAssignmentId, requestIdCreates a new GoldengateConnectionAssignment in a given project and location.
deletedeleteprojectsId, locationsId, goldengateConnectionAssignmentsIdrequestIdDeletes a single GoldengateConnectionAssignment.
testexecprojectsId, locationsId, goldengateConnectionAssignmentsIdTests a single GoldengateConnectionAssignment.

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
goldengateConnectionAssignmentsIdstring
locationsIdstring
projectsIdstring
filterstring
goldengateConnectionAssignmentIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring

SELECT examples​

Gets details of a single GoldengateConnectionAssignment.

SELECT
name,
createTime,
displayName,
entitlementId,
labels,
properties
FROM google.oracledatabase.goldengate_connection_assignments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND goldengateConnectionAssignmentsId = '{{ goldengateConnectionAssignmentsId }}' -- required
;

INSERT examples​

Creates a new GoldengateConnectionAssignment in a given project and location.

INSERT INTO google.oracledatabase.goldengate_connection_assignments (
data__displayName,
data__labels,
data__name,
data__properties,
projectsId,
locationsId,
goldengateConnectionAssignmentId,
requestId
)
SELECT
'{{ displayName }}',
'{{ labels }}',
'{{ name }}',
'{{ properties }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ goldengateConnectionAssignmentId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples​

Deletes a single GoldengateConnectionAssignment.

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

Lifecycle Methods​

Tests a single GoldengateConnectionAssignment.

EXEC google.oracledatabase.goldengate_connection_assignments.test
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@goldengateConnectionAssignmentsId='{{ goldengateConnectionAssignmentsId }}' --required
@@json=
'{
"type": "{{ type }}"
}'
;