entry_groups
Creates, updates, deletes, gets or lists an entry_groups resource.
Overview
| Name | entry_groups |
| Type | Resource |
| Id | google.dataplex.entry_groups |
Fields
The following fields are returned by SELECT queries:
- projects_locations_entry_groups_get
- projects_locations_entry_groups_list
| 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}. |
createTime | string (google-datetime) | Output only. The time when the EntryGroup was created. |
description | string | Optional. Description of the EntryGroup. |
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. |
transferStatus | string | Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. (TRANSFER_STATUS_UNSPECIFIED, TRANSFER_STATUS_MIGRATED, TRANSFER_STATUS_TRANSFERRED) |
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 (google-datetime) | Output only. The time when the EntryGroup was last updated. |
| 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}. |
createTime | string (google-datetime) | Output only. The time when the EntryGroup was created. |
description | string | Optional. Description of the EntryGroup. |
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. |
transferStatus | string | Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. (TRANSFER_STATUS_UNSPECIFIED, TRANSFER_STATUS_MIGRATED, TRANSFER_STATUS_TRANSFERRED) |
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 (google-datetime) | Output only. The time when the EntryGroup was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_entry_groups_get | select | projectsId, locationsId, entryGroupsId | Gets an EntryGroup. | |
projects_locations_entry_groups_list | select | projectsId, locationsId | pageSize, orderBy, filter, pageToken | Lists EntryGroup resources in a project and location. |
projects_locations_entry_groups_create | insert | projectsId, locationsId | validateOnly, entryGroupId | Creates an EntryGroup. |
projects_locations_entry_groups_patch | update | projectsId, locationsId, entryGroupsId | updateMask, validateOnly | Updates an EntryGroup. |
projects_locations_entry_groups_delete | delete | projectsId, locationsId, entryGroupsId | etag | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
entryGroupsId | string | |
locationsId | string | |
projectsId | string | |
entryGroupId | string | |
etag | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) | |
validateOnly | boolean |
SELECT examples
- projects_locations_entry_groups_get
- projects_locations_entry_groups_list
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
;
Lists EntryGroup resources in a project and location.
SELECT
name,
createTime,
description,
displayName,
etag,
labels,
transferStatus,
uid,
updateTime
FROM google.dataplex.entry_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
;
INSERT examples
- projects_locations_entry_groups_create
- Manifest
Creates an EntryGroup.
INSERT INTO google.dataplex.entry_groups (
data__etag,
data__description,
data__labels,
data__displayName,
projectsId,
locationsId,
validateOnly,
entryGroupId
)
SELECT
'{{ etag }}',
'{{ description }}',
'{{ labels }}',
'{{ displayName }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ validateOnly }}',
'{{ entryGroupId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: entry_groups
props:
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the entry_groups resource.
- name: locationsId
value: "{{ locationsId }}"
description: Required parameter for the entry_groups resource.
- name: etag
value: "{{ etag }}"
description: |
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.
- name: description
value: "{{ description }}"
description: |
Optional. Description of the EntryGroup.
- name: labels
value: "{{ labels }}"
description: |
Optional. User-defined labels for the EntryGroup.
- name: displayName
value: "{{ displayName }}"
description: |
Optional. User friendly display name.
- name: validateOnly
value: {{ validateOnly }}
- name: entryGroupId
value: "{{ entryGroupId }}"
UPDATE examples
- projects_locations_entry_groups_patch
Updates an EntryGroup.
UPDATE google.dataplex.entry_groups
SET
data__etag = '{{ etag }}',
data__description = '{{ description }}',
data__labels = '{{ labels }}',
data__displayName = '{{ displayName }}'
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
- projects_locations_entry_groups_delete
Deletes an EntryGroup.
DELETE FROM google.dataplex.entry_groups
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND etag = '{{ etag }}'
;