Data Catalog v1 API - Class PolicyTagManager.PolicyTagManagerBase (2.11.0)

[BindServiceMethod(typeof(PolicyTagManager), "BindService")]
public abstract class PolicyTagManager.PolicyTagManagerBase

Reference documentation and code samples for the Data Catalog v1 API class PolicyTagManager.PolicyTagManagerBase.

Base class for server-side implementations of PolicyTagManager

Inheritance

object > PolicyTagManager.PolicyTagManagerBase

Namespace

Google.Cloud.DataCatalog.V1

Assembly

Google.Cloud.DataCatalog.V1.dll

Methods

CreatePolicyTag(CreatePolicyTagRequest, ServerCallContext)

public virtual Task<PolicyTag> CreatePolicyTag(CreatePolicyTagRequest request, ServerCallContext context)

Creates a policy tag in a taxonomy.

Parameters
Name Description
request CreatePolicyTagRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicyTag

The response to send back to the client (wrapped by a task).

CreateTaxonomy(CreateTaxonomyRequest, ServerCallContext)

public virtual Task<Taxonomy> CreateTaxonomy(CreateTaxonomyRequest request, ServerCallContext context)

Creates a taxonomy in a specified project.

The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
Name Description
request CreateTaxonomyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTaxonomy

The response to send back to the client (wrapped by a task).

DeletePolicyTag(DeletePolicyTagRequest, ServerCallContext)

public virtual Task<Empty> DeletePolicyTag(DeletePolicyTagRequest request, ServerCallContext context)

Deletes a policy tag together with the following:

  • All of its descendant policy tags, if any
  • Policies associated with the policy tag and its descendants
  • References from BigQuery table schema of the policy tag and its descendants
Parameters
Name Description
request DeletePolicyTagRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteTaxonomy(DeleteTaxonomyRequest, ServerCallContext)

public virtual Task<Empty> DeleteTaxonomy(DeleteTaxonomyRequest request, ServerCallContext context)

Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.

Parameters
Name Description
request DeleteTaxonomyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the IAM policy for a policy tag or a taxonomy.

Parameters
Name Description
request GetIamPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

GetPolicyTag(GetPolicyTagRequest, ServerCallContext)

public virtual Task<PolicyTag> GetPolicyTag(GetPolicyTagRequest request, ServerCallContext context)

Gets a policy tag.

Parameters
Name Description
request GetPolicyTagRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicyTag

The response to send back to the client (wrapped by a task).

GetTaxonomy(GetTaxonomyRequest, ServerCallContext)

public virtual Task<Taxonomy> GetTaxonomy(GetTaxonomyRequest request, ServerCallContext context)

Gets a taxonomy.

Parameters
Name Description
request GetTaxonomyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTaxonomy

The response to send back to the client (wrapped by a task).

ListPolicyTags(ListPolicyTagsRequest, ServerCallContext)

public virtual Task<ListPolicyTagsResponse> ListPolicyTags(ListPolicyTagsRequest request, ServerCallContext context)

Lists all policy tags in a taxonomy.

Parameters
Name Description
request ListPolicyTagsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListPolicyTagsResponse

The response to send back to the client (wrapped by a task).

ListTaxonomies(ListTaxonomiesRequest, ServerCallContext)

public virtual Task<ListTaxonomiesResponse> ListTaxonomies(ListTaxonomiesRequest request, ServerCallContext context)

Lists all taxonomies in a project in a particular location that you have a permission to view.

Parameters
Name Description
request ListTaxonomiesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListTaxonomiesResponse

The response to send back to the client (wrapped by a task).

SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Sets the IAM policy for a policy tag or a taxonomy.

Parameters
Name Description
request SetIamPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
Name Description
request TestIamPermissionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTestIamPermissionsResponse

The response to send back to the client (wrapped by a task).

UpdatePolicyTag(UpdatePolicyTagRequest, ServerCallContext)

public virtual Task<PolicyTag> UpdatePolicyTag(UpdatePolicyTagRequest request, ServerCallContext context)

Updates a policy tag, including its display name, description, and parent policy tag.

Parameters
Name Description
request UpdatePolicyTagRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicyTag

The response to send back to the client (wrapped by a task).

UpdateTaxonomy(UpdateTaxonomyRequest, ServerCallContext)

public virtual Task<Taxonomy> UpdateTaxonomy(UpdateTaxonomyRequest request, ServerCallContext context)

Updates a taxonomy, including its display name, description, and activated policy types.

Parameters
Name Description
request UpdateTaxonomyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTaxonomy

The response to send back to the client (wrapped by a task).