Method: projects.locations.entryGroups.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.

HTTP request

PATCH https://datacatalog.googleapis.com/v1/{entry.name}

Path parameters

Parameters
entry.name

string

Output only. 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.

It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}/entries/{entries}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Names of fields whose values to overwrite on an entry.

If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

You can modify only the fields listed below.

For entries with type DATA_STREAM:

  • schema

For entries with type FILESET:

  • schema
  • displayName
  • description
  • gcsFilesetSpec
  • gcsFilesetSpec.file_patterns

For entries with userSpecifiedType:

  • schema
  • displayName
  • description
  • userSpecifiedType
  • userSpecifiedSystem
  • linkedResource
  • sourceSystemTimestamps

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Entry.

Response body

If successful, the response body contains an instance of Entry.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.