entry_groups
Creates, updates, deletes, gets or lists a entry_groups
resource.
Overview
Name | entry_groups |
Type | Resource |
Id | google.dataplex.entry_groups |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. |
description | string | Optional. Description of the EntryGroup. |
createTime | string | Output only. The time when the EntryGroup was created. |
displayName | string | Optional. User friendly display name. |
etag | string | This 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. |
labels | object | Optional. User-defined labels for the EntryGroup. |
uid | string | Output 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. |
updateTime | string | Output only. The time when the EntryGroup was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_entry_groups_get | SELECT | entryGroupsId, locationsId, projectsId | Gets an EntryGroup. |
projects_locations_entry_groups_list | SELECT | locationsId, projectsId | Lists EntryGroup resources in a project and location. |
projects_locations_entry_groups_create | INSERT | locationsId, projectsId | Creates an EntryGroup. |
projects_locations_entry_groups_delete | DELETE | entryGroupsId, locationsId, projectsId | Deletes an EntryGroup. |
projects_locations_entry_groups_patch | UPDATE | entryGroupsId, locationsId, projectsId | Updates 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.dataplex.entry_groups (
locationsId,
projectsId,
description,
displayName,
labels,
etag
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ displayName }}',
'{{ labels }}',
'{{ etag }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: uid
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: description
value: string
- name: displayName
value: string
- name: labels
value: object
- name: etag
value: string
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 }}';