Skip to main content

entry_groups

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

Overview

Nameentry_groups
TypeResource
Idgoogle.dataplex.entry_groups

Fields

NameDatatypeDescription
namestringOutput only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
descriptionstringOptional. Description of the EntryGroup.
createTimestringOutput only. The time when the EntryGroup was created.
displayNamestringOptional. User friendly display name.
etagstringThis checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labelsobjectOptional. User-defined labels for the EntryGroup.
uidstringOutput only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different.
updateTimestringOutput only. The time when the EntryGroup was last updated.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_entry_groups_getSELECTentryGroupsId, locationsId, projectsIdGets an EntryGroup.
projects_locations_entry_groups_listSELECTlocationsId, projectsIdLists EntryGroup resources in a project and location.
projects_locations_entry_groups_createINSERTlocationsId, projectsIdCreates an EntryGroup.
projects_locations_entry_groups_deleteDELETEentryGroupsId, locationsId, projectsIdDeletes an EntryGroup.
projects_locations_entry_groups_patchUPDATEentryGroupsId, locationsId, projectsIdUpdates an EntryGroup.

SELECT examples

Lists EntryGroup resources in a project and location.

SELECT
name,
description,
createTime,
displayName,
etag,
labels,
uid,
updateTime
FROM google.dataplex.entry_groups
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new entry_groups resource.

/*+ create */
INSERT INTO google.dataplex.entry_groups (
locationsId,
projectsId,
description,
displayName,
labels,
etag
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ displayName }}',
'{{ labels }}',
'{{ etag }}'
;

UPDATE example

Updates a entry_groups resource.

/*+ update */
UPDATE google.dataplex.entry_groups
SET
description = '{{ description }}',
displayName = '{{ displayName }}',
labels = '{{ labels }}',
etag = '{{ etag }}'
WHERE
entryGroupsId = '{{ entryGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified entry_groups resource.

/*+ delete */
DELETE FROM google.dataplex.entry_groups
WHERE entryGroupsId = '{{ entryGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';