Class ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource
The "tags" collection of methods.
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.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(GoogleCloudDatacatalogV1beta1Tag, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.CreateRequest Create(GoogleCloudDatacatalogV1beta1Tag body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Tag | 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. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location in this 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. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} |
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 could be an Entry or an EntryGroup. Examples: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.ListRequest |
Patch(GoogleCloudDatacatalogV1beta1Tag, string)
Updates an existing tag.
Declaration
public virtual ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.PatchRequest Patch(GoogleCloudDatacatalogV1beta1Tag body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatacatalogV1beta1Tag | body | The body of the request. |
string | name | The resource name of the tag in URL format. Example: *
projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
where |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.PatchRequest |