Class ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource
The "tags" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class TagsResource
Constructors
TagsResource(IClientService)
Constructs a new resource.
Declaration
public TagsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.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
and the tag template
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. |
System.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 |
---|---|---|
System.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 |
---|---|---|
System.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. |
System.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.TagsResource.PatchRequest |