Data Catalog v1 API - Class PolicyTagManager.PolicyTagManagerBase (2.8.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
NameDescription
requestCreatePolicyTagRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateTaxonomyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeletePolicyTagRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteTaxonomyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetPolicyTagRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetTaxonomyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListPolicyTagsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListTaxonomiesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdatePolicyTagRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateTaxonomyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTaxonomy

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