Class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource
The "tags" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource
Constructors
TagsResource(IClientService)
Constructs a new resource.
Declaration
public TagsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDatacatalogV1Tag, string)
Creates a tag and assigns it to: * An Entry if the method name is
projects.locations.entryGroups.entries.tags.create
. * Or EntryGroupif the method name is
projects.locations.entryGroups.tags.create
. Note: The project identified by the parent
parameter for the [tag]
(https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
and the [tag template]
(https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
used to create the tag must be in the same organization.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.CreateRequest Create(GoogleCloudDatacatalogV1Tag body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1Tag | body | The body of the request. |
string | parent | Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.CreateRequest |
Delete(string)
Deletes a tag.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the tag to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.DeleteRequest |
List(string)
Lists tags assigned to an Entry. The columns in the response are lowercased.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the Data Catalog resource to list the tags of. The resource can be an
Entry or an EntryGroup (without |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.ListRequest |
Patch(GoogleCloudDatacatalogV1Tag, string)
Updates an existing tag.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.PatchRequest Patch(GoogleCloudDatacatalogV1Tag body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1Tag | body | The body of the request. |
string | name | The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.PatchRequest |
Reconcile(GoogleCloudDatacatalogV1ReconcileTagsRequest, string)
ReconcileTags
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. ReconcileTags
returns a long-running operation resource
that can be queried with Operations.GetOperation to return ReconcileTagsMetadata and a
ReconcileTagsResponse message.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.ReconcileRequest Reconcile(GoogleCloudDatacatalogV1ReconcileTagsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1ReconcileTagsRequest | body | The body of the request. |
string | parent | Required. Name of Entry to be tagged. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.TagsResource.ReconcileRequest |