Method: projects.locations.entryGroups.entries.create

Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.

Users should enable the Data Catalog API in the project identified by the parent parameter (see Data Catalog Resource Project for more information).

A maximum of 100,000 entries may be created per entry group.

HTTP request

POST https://datacatalog.googleapis.com/v1/{parent}/entries

Path parameters

Parameters
parent

string

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entryGroupId}

Note that this Entry and its child resources may not actually be stored in the location in this name. It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}.

Query parameters

Parameters
entryId

string

Required. The id of the entry to create.

ingestionOptions

object (IngestionOptions)

Options used for ingestion. Only authorized callers can use them. If they are set, the call is consider ingestion call.

Request body

The request body contains an instance of Entry.

Response body

If successful, the response body contains a newly created instance of Entry.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.