tags.reconcile
creates or updates a list of tags on the entry. If the ReconcileTagsRequest.force_delete_missing
parameter is set, the operation deletes tags not included in the input tag list.
tags.reconcile
returns a long-running operation
resource that can be queried with Operations.GetOperation
to return ReconcileTagsMetadata
and a ReconcileTagsResponse
message.
HTTP request
POST https://datacatalog.googleapis.com/v1/{parent}/tags:reconcile
Path parameters
Parameters | |
---|---|
parent |
Required. Name of |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"tagTemplate": string,
"forceDeleteMissing": boolean,
"tags": [
{
object ( |
Fields | |
---|---|
tagTemplate |
Required. The name of the tag template, which is used for reconciliation. |
forceDeleteMissing |
If set to |
tags[] |
A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.