Class PolicyTagManagerGrpc.PolicyTagManagerImplBase (1.19.0)

public abstract static class PolicyTagManagerGrpc.PolicyTagManagerImplBase implements BindableService

Policy Tag Manager API service allows you to manage your policy tags and taxonomies. Policy tags are used to tag BigQuery columns and apply additional access control policies. A taxonomy is a hierarchical grouping of policy tags that classify data along a common axis.

Inheritance

java.lang.Object > PolicyTagManagerGrpc.PolicyTagManagerImplBase

Implements

io.grpc.BindableService

Constructors

PolicyTagManagerImplBase()

public PolicyTagManagerImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createPolicyTag(CreatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

public void createPolicyTag(CreatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

Creates a policy tag in a taxonomy.

Parameters
NameDescription
requestCreatePolicyTagRequest
responseObserverio.grpc.stub.StreamObserver<PolicyTag>

createTaxonomy(CreateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

public void createTaxonomy(CreateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags.

Parameters
NameDescription
requestCreateTaxonomyRequest
responseObserverio.grpc.stub.StreamObserver<Taxonomy>

deletePolicyTag(DeletePolicyTagRequest request, StreamObserver<Empty> responseObserver)

public void deletePolicyTag(DeletePolicyTagRequest request, StreamObserver<Empty> responseObserver)

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
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteTaxonomy(DeleteTaxonomyRequest request, StreamObserver<Empty> responseObserver)

public void deleteTaxonomy(DeleteTaxonomyRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
NameDescription
requestDeleteTaxonomyRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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

Parameters
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getPolicyTag(GetPolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

public void getPolicyTag(GetPolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

Gets a policy tag.

Parameters
NameDescription
requestGetPolicyTagRequest
responseObserverio.grpc.stub.StreamObserver<PolicyTag>

getTaxonomy(GetTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

public void getTaxonomy(GetTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

Gets a taxonomy.

Parameters
NameDescription
requestGetTaxonomyRequest
responseObserverio.grpc.stub.StreamObserver<Taxonomy>

listPolicyTags(ListPolicyTagsRequest request, StreamObserver<ListPolicyTagsResponse> responseObserver)

public void listPolicyTags(ListPolicyTagsRequest request, StreamObserver<ListPolicyTagsResponse> responseObserver)

Lists all policy tags in a taxonomy.

Parameters
NameDescription
requestListPolicyTagsRequest
responseObserverio.grpc.stub.StreamObserver<ListPolicyTagsResponse>

listTaxonomies(ListTaxonomiesRequest request, StreamObserver<ListTaxonomiesResponse> responseObserver)

public void listTaxonomies(ListTaxonomiesRequest request, StreamObserver<ListTaxonomiesResponse> responseObserver)

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

Parameters
NameDescription
requestListTaxonomiesRequest
responseObserverio.grpc.stub.StreamObserver<ListTaxonomiesResponse>

setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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

Parameters
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

Returns your permissions on a specified policy tag or taxonomy.

Parameters
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>

updatePolicyTag(UpdatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

public void updatePolicyTag(UpdatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)

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

Parameters
NameDescription
requestUpdatePolicyTagRequest
responseObserverio.grpc.stub.StreamObserver<PolicyTag>

updateTaxonomy(UpdateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

public void updateTaxonomy(UpdateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)

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

Parameters
NameDescription
requestUpdateTaxonomyRequest
responseObserverio.grpc.stub.StreamObserver<Taxonomy>