Method: projects.locations.entryGroups.tags.create

Creates a tag on an Entry. Note: The project identified by the parent parameter for the tag and the tag template used to create the tag must be from the same organization.

HTTP request

POST https://datacatalog.googleapis.com/v1beta1/{parent}/tags

Path parameters

Parameters
parent

string

Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example:

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

Note that this Tag 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}.

Request body

The request body contains an instance of Tag.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.