entries
Creates, updates, deletes, gets or lists an entries
resource.
Overview
Name | entries |
Type | Resource |
Id | google.datacatalog.entries |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_entry_groups_entries_get
- projects_locations_entry_groups_entries_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
bigqueryDateShardedSpec | object | Output only. Specification for a group of BigQuery tables with the [prefix]YYYYMMDD name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). (id: GoogleCloudDatacatalogV1BigQueryDateShardedSpec) |
bigqueryTableSpec | object | Output only. Specification that applies to a BigQuery table. Valid only for entries with the TABLE type. (id: GoogleCloudDatacatalogV1BigQueryTableSpec) |
businessContext | object | Business Context of the entry. Not supported for BigQuery datasets (id: GoogleCloudDatacatalogV1BusinessContext) |
cloudBigtableSystemSpec | object | Specification that applies to Cloud Bigtable system. Only settable when integrated_system is equal to CLOUD_BIGTABLE (id: GoogleCloudDatacatalogV1CloudBigtableSystemSpec) |
dataSource | object | Output only. Physical location of the entry. (id: GoogleCloudDatacatalogV1DataSource) |
dataSourceConnectionSpec | object | Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type. (id: GoogleCloudDatacatalogV1DataSourceConnectionSpec) |
databaseTableSpec | object | Specification that applies to a table resource. Valid only for entries with the TABLE or EXPLORE type. (id: GoogleCloudDatacatalogV1DatabaseTableSpec) |
datasetSpec | object | Specification that applies to a dataset. (id: GoogleCloudDatacatalogV1DatasetSpec) |
description | string | Entry description that can consist of several sentences or paragraphs that describe entry contents. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string. |
displayName | string | Display name of an entry. The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string. |
featureOnlineStoreSpec | object | FeatureonlineStore spec for Vertex AI Feature Store. (id: GoogleCloudDatacatalogV1FeatureOnlineStoreSpec) |
filesetSpec | object | Specification that applies to a fileset resource. Valid only for entries with the FILESET type. (id: GoogleCloudDatacatalogV1FilesetSpec) |
fullyQualifiedName | string | Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries. |
gcsFilesetSpec | object | Specification that applies to a Cloud Storage fileset. Valid only for entries with the FILESET type. (id: GoogleCloudDatacatalogV1GcsFilesetSpec) |
integratedSystem | string | Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. |
labels | object | Cloud labels attached to the entry. In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system. |
linkedResource | string | The resource this metadata entry refers to. For Google Cloud Platform resources, linked_resource is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the linked_resource for a table resource from BigQuery is: //bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID} Output only when the entry is one of the types in the EntryType enum. For entries with a user_specified_type , this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8. |
lookerSystemSpec | object | Specification that applies to Looker sysstem. Only settable when user_specified_system is equal to LOOKER (id: GoogleCloudDatacatalogV1LookerSystemSpec) |
modelSpec | object | Model specification. (id: GoogleCloudDatacatalogV1ModelSpec) |
personalDetails | object | Output only. Additional information related to the entry. Private to the current user. (id: GoogleCloudDatacatalogV1PersonalDetails) |
routineSpec | object | Specification that applies to a user-defined function or procedure. Valid only for entries with the ROUTINE type. (id: GoogleCloudDatacatalogV1RoutineSpec) |
schema | object | Schema of the entry. An entry might not have any schema attached to it. (id: GoogleCloudDatacatalogV1Schema) |
serviceSpec | object | Specification that applies to a Service resource. (id: GoogleCloudDatacatalogV1ServiceSpec) |
sourceSystemTimestamps | object | Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the IntegratedSystem enum. For entries with user_specified_system , this field is optional and defaults to an empty timestamp. (id: GoogleCloudDatacatalogV1SystemTimestamps) |
sqlDatabaseSystemSpec | object | Specification that applies to a relational database system. Only settable when user_specified_system is equal to SQL_DATABASE (id: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec) |
type | string | The type of the entry. For details, see EntryType . |
usageSignal | object | Resource usage statistics. (id: GoogleCloudDatacatalogV1UsageSignal) |
userSpecifiedSystem | string | Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The user_specified_system string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. |
userSpecifiedType | string | Custom entry type that doesn't match any of the values allowed for input and listed in the EntryType enum. When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, my_special_type . The user_specified_type string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
bigqueryDateShardedSpec | object | Output only. Specification for a group of BigQuery tables with the [prefix]YYYYMMDD name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). (id: GoogleCloudDatacatalogV1BigQueryDateShardedSpec) |
bigqueryTableSpec | object | Output only. Specification that applies to a BigQuery table. Valid only for entries with the TABLE type. (id: GoogleCloudDatacatalogV1BigQueryTableSpec) |
businessContext | object | Business Context of the entry. Not supported for BigQuery datasets (id: GoogleCloudDatacatalogV1BusinessContext) |
cloudBigtableSystemSpec | object | Specification that applies to Cloud Bigtable system. Only settable when integrated_system is equal to CLOUD_BIGTABLE (id: GoogleCloudDatacatalogV1CloudBigtableSystemSpec) |
dataSource | object | Output only. Physical location of the entry. (id: GoogleCloudDatacatalogV1DataSource) |
dataSourceConnectionSpec | object | Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type. (id: GoogleCloudDatacatalogV1DataSourceConnectionSpec) |
databaseTableSpec | object | Specification that applies to a table resource. Valid only for entries with the TABLE or EXPLORE type. (id: GoogleCloudDatacatalogV1DatabaseTableSpec) |
datasetSpec | object | Specification that applies to a dataset. (id: GoogleCloudDatacatalogV1DatasetSpec) |
description | string | Entry description that can consist of several sentences or paragraphs that describe entry contents. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string. |
displayName | string | Display name of an entry. The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string. |
featureOnlineStoreSpec | object | FeatureonlineStore spec for Vertex AI Feature Store. (id: GoogleCloudDatacatalogV1FeatureOnlineStoreSpec) |
filesetSpec | object | Specification that applies to a fileset resource. Valid only for entries with the FILESET type. (id: GoogleCloudDatacatalogV1FilesetSpec) |
fullyQualifiedName | string | Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries. |
gcsFilesetSpec | object | Specification that applies to a Cloud Storage fileset. Valid only for entries with the FILESET type. (id: GoogleCloudDatacatalogV1GcsFilesetSpec) |
integratedSystem | string | Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. |
labels | object | Cloud labels attached to the entry. In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system. |
linkedResource | string | The resource this metadata entry refers to. For Google Cloud Platform resources, linked_resource is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the linked_resource for a table resource from BigQuery is: //bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID} Output only when the entry is one of the types in the EntryType enum. For entries with a user_specified_type , this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8. |
lookerSystemSpec | object | Specification that applies to Looker sysstem. Only settable when user_specified_system is equal to LOOKER (id: GoogleCloudDatacatalogV1LookerSystemSpec) |
modelSpec | object | Model specification. (id: GoogleCloudDatacatalogV1ModelSpec) |
personalDetails | object | Output only. Additional information related to the entry. Private to the current user. (id: GoogleCloudDatacatalogV1PersonalDetails) |
routineSpec | object | Specification that applies to a user-defined function or procedure. Valid only for entries with the ROUTINE type. (id: GoogleCloudDatacatalogV1RoutineSpec) |
schema | object | Schema of the entry. An entry might not have any schema attached to it. (id: GoogleCloudDatacatalogV1Schema) |
serviceSpec | object | Specification that applies to a Service resource. (id: GoogleCloudDatacatalogV1ServiceSpec) |
sourceSystemTimestamps | object | Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the IntegratedSystem enum. For entries with user_specified_system , this field is optional and defaults to an empty timestamp. (id: GoogleCloudDatacatalogV1SystemTimestamps) |
sqlDatabaseSystemSpec | object | Specification that applies to a relational database system. Only settable when user_specified_system is equal to SQL_DATABASE (id: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec) |
type | string | The type of the entry. For details, see EntryType . |
usageSignal | object | Resource usage statistics. (id: GoogleCloudDatacatalogV1UsageSignal) |
userSpecifiedSystem | string | Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The user_specified_system string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. |
userSpecifiedType | string | Custom entry type that doesn't match any of the values allowed for input and listed in the EntryType enum. When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, my_special_type . The user_specified_type string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_entry_groups_entries_get | select | projectsId , locationsId , entryGroupsId , entriesId | Gets an entry. | |
projects_locations_entry_groups_entries_list | select | projectsId , locationsId , entryGroupsId | pageSize , pageToken , readMask | Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog. |
projects_locations_entry_groups_entries_create | insert | projectsId , locationsId , entryGroupsId | entryId | Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems. You must enable the Data Catalog API in the project identified by the parent parameter. For more information, see Data Catalog resource project. An entry group can have a maximum of 100,000 entries. |
projects_locations_entry_groups_entries_patch | update | projectsId , locationsId , entryGroupsId , entriesId | updateMask | Updates an existing entry. You must enable the Data Catalog API in the project identified by the entry.name parameter. For more information, see Data Catalog resource project. |
projects_locations_entry_groups_entries_delete | delete | projectsId , locationsId , entryGroupsId , entriesId | Deletes an existing entry. You can delete only the entries created by the CreateEntry method. You must enable the Data Catalog API in the project identified by the name parameter. For more information, see Data Catalog resource project. | |
projects_locations_entry_groups_entries_modify_entry_overview | exec | projectsId , locationsId , entryGroupsId , entriesId | Modifies entry overview, part of the business context of an Entry. To call this method, you must have the datacatalog.entries.updateOverview IAM permission on the corresponding project. | |
projects_locations_entry_groups_entries_modify_entry_contacts | exec | projectsId , locationsId , entryGroupsId , entriesId | Modifies contacts, part of the business context of an Entry. To call this method, you must have the datacatalog.entries.updateContacts IAM permission on the corresponding project. | |
projects_locations_entry_groups_entries_star | exec | projectsId , locationsId , entryGroupsId , entriesId | Marks an Entry as starred by the current user. Starring information is private to each user. | |
projects_locations_entry_groups_entries_unstar | exec | projectsId , locationsId , entryGroupsId , entriesId | Marks an Entry as NOT starred by the current user. Starring information is private to each user. | |
projects_locations_entry_groups_entries_import | exec | projectsId , locationsId , entryGroupsId | Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog. ImportEntries accepts source data snapshots of a third-party system. Snapshot should be delivered as a .wire or base65-encoded .txt file containing a sequence of Protocol Buffer messages of DumpItem type. ImportEntries returns a long-running operation resource that can be queried with Operations.GetOperation to return ImportEntriesMetadata and an ImportEntriesResponse message. | |
entries_lookup | exec | linkedResource , sqlResource , fullyQualifiedName , project , location | Gets an entry by its target resource name. The resource name comes from the source Google Cloud Platform service. |
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 |
---|---|---|
entriesId | string | |
entryGroupsId | string | |
locationsId | string | |
projectsId | string | |
entryId | string | |
fullyQualifiedName | string | |
linkedResource | string | |
location | string | |
pageSize | integer (int32) | |
pageToken | string | |
project | string | |
readMask | string (google-fieldmask) | |
sqlResource | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- projects_locations_entry_groups_entries_get
- projects_locations_entry_groups_entries_list
Gets an entry.
SELECT
name,
bigqueryDateShardedSpec,
bigqueryTableSpec,
businessContext,
cloudBigtableSystemSpec,
dataSource,
dataSourceConnectionSpec,
databaseTableSpec,
datasetSpec,
description,
displayName,
featureOnlineStoreSpec,
filesetSpec,
fullyQualifiedName,
gcsFilesetSpec,
integratedSystem,
labels,
linkedResource,
lookerSystemSpec,
modelSpec,
personalDetails,
routineSpec,
schema,
serviceSpec,
sourceSystemTimestamps,
sqlDatabaseSystemSpec,
type,
usageSignal,
userSpecifiedSystem,
userSpecifiedType
FROM google.datacatalog.entries
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND entryGroupsId = '{{ entryGroupsId }}' -- required
AND entriesId = '{{ entriesId }}' -- required;
Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog.
SELECT
name,
bigqueryDateShardedSpec,
bigqueryTableSpec,
businessContext,
cloudBigtableSystemSpec,
dataSource,
dataSourceConnectionSpec,
databaseTableSpec,
datasetSpec,
description,
displayName,
featureOnlineStoreSpec,
filesetSpec,
fullyQualifiedName,
gcsFilesetSpec,
integratedSystem,
labels,
linkedResource,
lookerSystemSpec,
modelSpec,
personalDetails,
routineSpec,
schema,
serviceSpec,
sourceSystemTimestamps,
sqlDatabaseSystemSpec,
type,
usageSignal,
userSpecifiedSystem,
userSpecifiedType
FROM google.datacatalog.entries
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND entryGroupsId = '{{ entryGroupsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND readMask = '{{ readMask }}';
INSERT
examples
- projects_locations_entry_groups_entries_create
- Manifest
Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems. You must enable the Data Catalog API in the project identified by the parent
parameter. For more information, see Data Catalog resource project. An entry group can have a maximum of 100,000 entries.
INSERT INTO google.datacatalog.entries (
data__linkedResource,
data__fullyQualifiedName,
data__type,
data__userSpecifiedType,
data__userSpecifiedSystem,
data__sqlDatabaseSystemSpec,
data__lookerSystemSpec,
data__cloudBigtableSystemSpec,
data__gcsFilesetSpec,
data__databaseTableSpec,
data__dataSourceConnectionSpec,
data__routineSpec,
data__datasetSpec,
data__filesetSpec,
data__serviceSpec,
data__modelSpec,
data__featureOnlineStoreSpec,
data__displayName,
data__description,
data__businessContext,
data__schema,
data__sourceSystemTimestamps,
data__usageSignal,
data__labels,
projectsId,
locationsId,
entryGroupsId,
entryId
)
SELECT
'{{ linkedResource }}',
'{{ fullyQualifiedName }}',
'{{ type }}',
'{{ userSpecifiedType }}',
'{{ userSpecifiedSystem }}',
'{{ sqlDatabaseSystemSpec }}',
'{{ lookerSystemSpec }}',
'{{ cloudBigtableSystemSpec }}',
'{{ gcsFilesetSpec }}',
'{{ databaseTableSpec }}',
'{{ dataSourceConnectionSpec }}',
'{{ routineSpec }}',
'{{ datasetSpec }}',
'{{ filesetSpec }}',
'{{ serviceSpec }}',
'{{ modelSpec }}',
'{{ featureOnlineStoreSpec }}',
'{{ displayName }}',
'{{ description }}',
'{{ businessContext }}',
'{{ schema }}',
'{{ sourceSystemTimestamps }}',
'{{ usageSignal }}',
'{{ labels }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ entryGroupsId }}',
'{{ entryId }}'
RETURNING
name,
bigqueryDateShardedSpec,
bigqueryTableSpec,
businessContext,
cloudBigtableSystemSpec,
dataSource,
dataSourceConnectionSpec,
databaseTableSpec,
datasetSpec,
description,
displayName,
featureOnlineStoreSpec,
filesetSpec,
fullyQualifiedName,
gcsFilesetSpec,
integratedSystem,
labels,
linkedResource,
lookerSystemSpec,
modelSpec,
personalDetails,
routineSpec,
schema,
serviceSpec,
sourceSystemTimestamps,
sqlDatabaseSystemSpec,
type,
usageSignal,
userSpecifiedSystem,
userSpecifiedType
;
# Description fields are for documentation purposes
- name: entries
props:
- name: projectsId
value: string
description: Required parameter for the entries resource.
- name: locationsId
value: string
description: Required parameter for the entries resource.
- name: entryGroupsId
value: string
description: Required parameter for the entries resource.
- name: linkedResource
value: string
description: >
The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` Output only when the entry is one of the types in the `EntryType` enum. For entries with a `user_specified_type`, this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.
- name: fullyQualifiedName
value: string
description: >
[Fully Qualified Name (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries.
- name: type
value: string
description: >
The type of the entry. For details, see [`EntryType`](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries#entrytype).
valid_values: ['ENTRY_TYPE_UNSPECIFIED', 'TABLE', 'MODEL', 'DATA_STREAM', 'FILESET', 'CLUSTER', 'DATABASE', 'DATA_SOURCE_CONNECTION', 'ROUTINE', 'LAKE', 'ZONE', 'SERVICE', 'DATABASE_SCHEMA', 'DASHBOARD', 'EXPLORE', 'LOOK', 'FEATURE_ONLINE_STORE', 'FEATURE_VIEW', 'FEATURE_GROUP']
- name: userSpecifiedType
value: string
description: >
Custom entry type that doesn't match any of the values allowed for input and listed in the `EntryType` enum. When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, `my_special_type`. The `user_specified_type` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long.
- name: userSpecifiedSystem
value: string
description: >
Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The `user_specified_system` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long.
- name: sqlDatabaseSystemSpec
value: object
description: >
Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE`
- name: lookerSystemSpec
value: object
description: >
Specification that applies to Looker sysstem. Only settable when `user_specified_system` is equal to `LOOKER`
- name: cloudBigtableSystemSpec
value: object
description: >
Specification that applies to Cloud Bigtable system. Only settable when `integrated_system` is equal to `CLOUD_BIGTABLE`
- name: gcsFilesetSpec
value: object
description: >
Specification that applies to a Cloud Storage fileset. Valid only for entries with the `FILESET` type.
- name: databaseTableSpec
value: object
description: >
Specification that applies to a table resource. Valid only for entries with the `TABLE` or `EXPLORE` type.
- name: dataSourceConnectionSpec
value: object
description: >
Specification that applies to a data source connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` type.
- name: routineSpec
value: object
description: >
Specification that applies to a user-defined function or procedure. Valid only for entries with the `ROUTINE` type.
- name: datasetSpec
value: object
description: >
Specification that applies to a dataset.
- name: filesetSpec
value: object
description: >
Specification that applies to a fileset resource. Valid only for entries with the `FILESET` type.
- name: serviceSpec
value: object
description: >
Specification that applies to a Service resource.
- name: modelSpec
value: object
description: >
Model specification.
- name: featureOnlineStoreSpec
value: object
description: >
FeatureonlineStore spec for Vertex AI Feature Store.
- name: displayName
value: string
description: >
Display name of an entry. The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.
- name: description
value: string
description: >
Entry description that can consist of several sentences or paragraphs that describe entry contents. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.
- name: businessContext
value: object
description: >
Business Context of the entry. Not supported for BigQuery datasets
- name: schema
value: object
description: >
Schema of the entry. An entry might not have any schema attached to it.
- name: sourceSystemTimestamps
value: object
description: >
Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp.
- name: usageSignal
value: object
description: >
Resource usage statistics.
- name: labels
value: object
description: >
Cloud labels attached to the entry. In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system.
- name: entryId
value: string
UPDATE
examples
- projects_locations_entry_groups_entries_patch
Updates an existing entry. You must enable the Data Catalog API in the project identified by the entry.name
parameter. For more information, see Data Catalog resource project.
UPDATE google.datacatalog.entries
SET
data__linkedResource = '{{ linkedResource }}',
data__fullyQualifiedName = '{{ fullyQualifiedName }}',
data__type = '{{ type }}',
data__userSpecifiedType = '{{ userSpecifiedType }}',
data__userSpecifiedSystem = '{{ userSpecifiedSystem }}',
data__sqlDatabaseSystemSpec = '{{ sqlDatabaseSystemSpec }}',
data__lookerSystemSpec = '{{ lookerSystemSpec }}',
data__cloudBigtableSystemSpec = '{{ cloudBigtableSystemSpec }}',
data__gcsFilesetSpec = '{{ gcsFilesetSpec }}',
data__databaseTableSpec = '{{ databaseTableSpec }}',
data__dataSourceConnectionSpec = '{{ dataSourceConnectionSpec }}',
data__routineSpec = '{{ routineSpec }}',
data__datasetSpec = '{{ datasetSpec }}',
data__filesetSpec = '{{ filesetSpec }}',
data__serviceSpec = '{{ serviceSpec }}',
data__modelSpec = '{{ modelSpec }}',
data__featureOnlineStoreSpec = '{{ featureOnlineStoreSpec }}',
data__displayName = '{{ displayName }}',
data__description = '{{ description }}',
data__businessContext = '{{ businessContext }}',
data__schema = '{{ schema }}',
data__sourceSystemTimestamps = '{{ sourceSystemTimestamps }}',
data__usageSignal = '{{ usageSignal }}',
data__labels = '{{ labels }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND entriesId = '{{ entriesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
bigqueryDateShardedSpec,
bigqueryTableSpec,
businessContext,
cloudBigtableSystemSpec,
dataSource,
dataSourceConnectionSpec,
databaseTableSpec,
datasetSpec,
description,
displayName,
featureOnlineStoreSpec,
filesetSpec,
fullyQualifiedName,
gcsFilesetSpec,
integratedSystem,
labels,
linkedResource,
lookerSystemSpec,
modelSpec,
personalDetails,
routineSpec,
schema,
serviceSpec,
sourceSystemTimestamps,
sqlDatabaseSystemSpec,
type,
usageSignal,
userSpecifiedSystem,
userSpecifiedType;
DELETE
examples
- projects_locations_entry_groups_entries_delete
Deletes an existing entry. You can delete only the entries created by the CreateEntry method. You must enable the Data Catalog API in the project identified by the name
parameter. For more information, see Data Catalog resource project.
DELETE FROM google.datacatalog.entries
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND entriesId = '{{ entriesId }}' --required;
Lifecycle Methods
- projects_locations_entry_groups_entries_modify_entry_overview
- projects_locations_entry_groups_entries_modify_entry_contacts
- projects_locations_entry_groups_entries_star
- projects_locations_entry_groups_entries_unstar
- projects_locations_entry_groups_entries_import
- entries_lookup
Modifies entry overview, part of the business context of an Entry. To call this method, you must have the datacatalog.entries.updateOverview
IAM permission on the corresponding project.
EXEC google.datacatalog.entries.projects_locations_entry_groups_entries_modify_entry_overview
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@entryGroupsId='{{ entryGroupsId }}' --required,
@entriesId='{{ entriesId }}' --required
@@json=
'{
"entryOverview": "{{ entryOverview }}"
}';
Modifies contacts, part of the business context of an Entry. To call this method, you must have the datacatalog.entries.updateContacts
IAM permission on the corresponding project.
EXEC google.datacatalog.entries.projects_locations_entry_groups_entries_modify_entry_contacts
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@entryGroupsId='{{ entryGroupsId }}' --required,
@entriesId='{{ entriesId }}' --required
@@json=
'{
"contacts": "{{ contacts }}"
}';
Marks an Entry as starred by the current user. Starring information is private to each user.
EXEC google.datacatalog.entries.projects_locations_entry_groups_entries_star
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@entryGroupsId='{{ entryGroupsId }}' --required,
@entriesId='{{ entriesId }}' --required;
Marks an Entry as NOT starred by the current user. Starring information is private to each user.
EXEC google.datacatalog.entries.projects_locations_entry_groups_entries_unstar
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@entryGroupsId='{{ entryGroupsId }}' --required,
@entriesId='{{ entriesId }}' --required;
Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog. ImportEntries
accepts source data snapshots of a third-party system. Snapshot should be delivered as a .wire or base65-encoded .txt file containing a sequence of Protocol Buffer messages of DumpItem type. ImportEntries
returns a long-running operation resource that can be queried with Operations.GetOperation to return ImportEntriesMetadata and an ImportEntriesResponse message.
EXEC google.datacatalog.entries.projects_locations_entry_groups_entries_import
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@entryGroupsId='{{ entryGroupsId }}' --required
@@json=
'{
"gcsBucketPath": "{{ gcsBucketPath }}",
"jobId": "{{ jobId }}"
}';
Gets an entry by its target resource name. The resource name comes from the source Google Cloud Platform service.
EXEC google.datacatalog.entries.entries_lookup
@linkedResource='{{ linkedResource }}',
@sqlResource='{{ sqlResource }}',
@fullyQualifiedName='{{ fullyQualifiedName }}',
@project='{{ project }}',
@location='{{ location }}';