[BindServiceMethod(typeof(PolicyTagManager), "BindService")]
public abstract class PolicyTagManager.PolicyTagManagerBaseReference documentation and code samples for the Data Catalog v1 API class PolicyTagManager.PolicyTagManagerBase.
Base class for server-side implementations of PolicyTagManager
Namespace
Google.Cloud.DataCatalog.V1Assembly
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 |
CreatePolicyTagRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateTaxonomyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeletePolicyTagRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteTaxonomyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetPolicyTagRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetTaxonomyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListPolicyTagsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListTaxonomiesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdatePolicyTagRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateTaxonomyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |