Class ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource
The "tags" collection of methods.
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryGroupsResource.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.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.TagsResource.CreateRequest |
Delete(string)
Deletes a tag.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.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.TagsResource.DeleteRequest |
List(string)
Lists tags assigned to an Entry. The columns in the response are lowercased.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.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.TagsResource.ListRequest |
Patch(GoogleCloudDatacatalogV1Tag, string)
Updates an existing tag.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.PatchRequest Patch(GoogleCloudDatacatalogV1Tag body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1Tag | body | The body of the request. |
string | name | Identifier. 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.TagsResource.PatchRequest |