Skip to main content

entry_groups

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

Overview

Nameentry_groups
TypeResource
Idgoogle.dataplex.entry_groups

Fields

The following fields are returned by SELECT queries:

Successful response

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}.
createTimestring (google-datetime)Output only. The time when the EntryGroup was created.
descriptionstringOptional. Description of the EntryGroup.
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.
transferStatusstringOutput only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API.
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.
updateTimestring (google-datetime)Output only. The time when the EntryGroup was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_entry_groups_getselectprojectsId, locationsId, entryGroupsIdGets an EntryGroup.
projects_locations_entry_groups_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists EntryGroup resources in a project and location.
projects_locations_entry_groups_createinsertprojectsId, locationsIdentryGroupId, validateOnlyCreates an EntryGroup.
projects_locations_entry_groups_patchupdateprojectsId, locationsId, entryGroupsIdupdateMask, validateOnlyUpdates an EntryGroup.
projects_locations_entry_groups_deletedeleteprojectsId, locationsId, entryGroupsIdetagDeletes an EntryGroup.

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
entryGroupsIdstring
locationsIdstring
projectsIdstring
entryGroupIdstring
etagstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples

Gets an EntryGroup.

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

INSERT examples

Creates an EntryGroup.

INSERT INTO google.dataplex.entry_groups (
data__description,
data__displayName,
data__labels,
data__etag,
projectsId,
locationsId,
entryGroupId,
validateOnly
)
SELECT
'{{ description }}',
'{{ displayName }}',
'{{ labels }}',
'{{ etag }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ entryGroupId }}',
'{{ validateOnly }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates an EntryGroup.

UPDATE google.dataplex.entry_groups
SET
data__description = '{{ description }}',
data__displayName = '{{ displayName }}',
data__labels = '{{ labels }}',
data__etag = '{{ etag }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes an EntryGroup.

DELETE FROM google.dataplex.entry_groups
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND etag = '{{ etag }}';