Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TagTemplatesResource

The "tagTemplates" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.TagTemplatesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TagTemplatesResource

Constructors

TagTemplatesResource(IClientService)

Constructs a new resource.

Declaration
public TagTemplatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Fields

Gets the Fields resource.

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource Fields { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource

Methods

Create(GoogleCloudDatacatalogV1beta1TagTemplate, string)

Creates a tag template. The user should enable the Data Catalog API in the project identified by the parent parameter (see Data Catalog Resource Project for more information).

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest Create(GoogleCloudDatacatalogV1beta1TagTemplate body, string parent)
Parameters
Type Name Description
GoogleCloudDatacatalogV1beta1TagTemplate body

The body of the request.

string parent

Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions. Example: * projects/{project_id}/locations/us-central1

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest

Delete(string)

Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the name parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the tag template to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.DeleteRequest

Get(string)

Gets a tag template.

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

Gets the access control policy for a resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - datacatalog.tagTemplates.getIamPolicy to get policies on tag templates. - datacatalog.entries.getIamPolicy to get policies on entries. - datacatalog.entryGroups.getIamPolicy to get policies on entry groups.

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.GetIamPolicyRequest

Patch(GoogleCloudDatacatalogV1beta1TagTemplate, string)

Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the tag_template.name parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.PatchRequest Patch(GoogleCloudDatacatalogV1beta1TagTemplate body, string name)
Parameters
Type Name Description
GoogleCloudDatacatalogV1beta1TagTemplate body

The body of the request.

string name

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - datacatalog.tagTemplates.setIamPolicy to set policies on tag templates. - datacatalog.entries.setIamPolicy to set policies on entries. - datacatalog.entryGroups.setIamPolicy to set policies on entry groups.

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a NOT_FOUND error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.

Declaration
public virtual ProjectsResource.LocationsResource.TagTemplatesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.TagTemplatesResource.TestIamPermissionsRequest
In This Article
Back to top Generated by DocFX