entry_types
Creates, updates, deletes, gets or lists a entry_types
resource.
Overview
Name | entry_types |
Type | Resource |
Id | google.dataplex.entry_types |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}. |
description | string | Optional. Description of the EntryType. |
authorization | object | Authorization for an Entry Type. |
createTime | string | Output only. The time when the EntryType was created. |
displayName | string | Optional. User friendly display name. |
etag | string | Optional. 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 EntryType. |
platform | string | Optional. The platform that Entries of this type belongs to. |
requiredAspects | array | AspectInfo for the entry type. |
system | string | Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc |
typeAliases | array | Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL. |
uid | string | Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name. |
updateTime | string | Output only. The time when the EntryType was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_entry_types_get | SELECT | entryTypesId, locationsId, projectsId | Gets an EntryType. |
projects_locations_entry_types_list | SELECT | locationsId, projectsId | Lists EntryType resources in a project and location. |
projects_locations_entry_types_create | INSERT | locationsId, projectsId | Creates an EntryType. |
projects_locations_entry_types_delete | DELETE | entryTypesId, locationsId, projectsId | Deletes an EntryType. |
projects_locations_entry_types_patch | UPDATE | entryTypesId, locationsId, projectsId | Updates an EntryType. |
SELECT
examples
Lists EntryType resources in a project and location.
SELECT
name,
description,
authorization,
createTime,
displayName,
etag,
labels,
platform,
requiredAspects,
system,
typeAliases,
uid,
updateTime
FROM google.dataplex.entry_types
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new entry_types
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.dataplex.entry_types (
locationsId,
projectsId,
description,
displayName,
labels,
etag,
typeAliases,
platform,
system,
requiredAspects,
authorization
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ displayName }}',
'{{ labels }}',
'{{ etag }}',
'{{ typeAliases }}',
'{{ platform }}',
'{{ system }}',
'{{ requiredAspects }}',
'{{ authorization }}'
;
- 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
- name: typeAliases
value:
- string
- name: platform
value: string
- name: system
value: string
- name: requiredAspects
value:
- - name: type
value: string
- name: authorization
value:
- name: alternateUsePermission
value: string
UPDATE
example
Updates a entry_types
resource.
/*+ update */
UPDATE google.dataplex.entry_types
SET
description = '{{ description }}',
displayName = '{{ displayName }}',
labels = '{{ labels }}',
etag = '{{ etag }}',
typeAliases = '{{ typeAliases }}',
platform = '{{ platform }}',
system = '{{ system }}',
requiredAspects = '{{ requiredAspects }}',
authorization = '{{ authorization }}'
WHERE
entryTypesId = '{{ entryTypesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified entry_types
resource.
/*+ delete */
DELETE FROM google.dataplex.entry_types
WHERE entryTypesId = '{{ entryTypesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';