[BindServiceMethod(typeof(PolicyTagManager), "BindService")]
public abstract class 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 | CreatePolicyTagRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PolicyTag> | 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, i.e., does not 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 |
Task<Taxonomy> | 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. This method also deletes:
- all of its descendant policy tags, if any
- the 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 |
Task<Empty> | 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. This method will also delete 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 |
Task<Empty> | 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 | Google.Cloud.Iam.V1.GetIamPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Google.Cloud.Iam.V1.Policy> | 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 |
Task<PolicyTag> | 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 |
Task<Taxonomy> | 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 |
Task<ListPolicyTagsResponse> | 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 the caller has 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 |
Task<ListTaxonomiesResponse> | 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 | Google.Cloud.Iam.V1.SetIamPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Google.Cloud.Iam.V1.Policy> | 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 the permissions that a caller has on a specified policy tag or taxonomy.
Parameters | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.TestIamPermissionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Google.Cloud.Iam.V1.TestIamPermissionsResponse> | 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. This method can update the policy tag's 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 |
Task<PolicyTag> | 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. This method can update the taxonomy's 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 |
Task<Taxonomy> | The response to send back to the client (wrapped by a task). |