Class PolicyTagManagerGrpc.PolicyTagManagerBlockingStub

public static final class PolicyTagManagerGrpc.PolicyTagManagerBlockingStub extends AbstractBlockingStub<PolicyTagManagerGrpc.PolicyTagManagerBlockingStub>

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 > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > PolicyTagManagerGrpc.PolicyTagManagerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected PolicyTagManagerGrpc.PolicyTagManagerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
PolicyTagManagerGrpc.PolicyTagManagerBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createPolicyTag(CreatePolicyTagRequest request)

public PolicyTag createPolicyTag(CreatePolicyTagRequest request)

Creates a policy tag in a taxonomy.

Parameter
NameDescription
requestCreatePolicyTagRequest
Returns
TypeDescription
PolicyTag

createTaxonomy(CreateTaxonomyRequest request)

public Taxonomy createTaxonomy(CreateTaxonomyRequest request)

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

Parameter
NameDescription
requestCreateTaxonomyRequest
Returns
TypeDescription
Taxonomy

deletePolicyTag(DeletePolicyTagRequest request)

public Empty deletePolicyTag(DeletePolicyTagRequest request)

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

deleteTaxonomy(DeleteTaxonomyRequest request)

public Empty deleteTaxonomy(DeleteTaxonomyRequest request)

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

Parameter
NameDescription
requestDeleteTaxonomyRequest
Returns
TypeDescription
Empty

getIamPolicy(GetIamPolicyRequest request)

public Policy getIamPolicy(GetIamPolicyRequest request)

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

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

getPolicyTag(GetPolicyTagRequest request)

public PolicyTag getPolicyTag(GetPolicyTagRequest request)

Gets a policy tag.

Parameter
NameDescription
requestGetPolicyTagRequest
Returns
TypeDescription
PolicyTag

getTaxonomy(GetTaxonomyRequest request)

public Taxonomy getTaxonomy(GetTaxonomyRequest request)

Gets a taxonomy.

Parameter
NameDescription
requestGetTaxonomyRequest
Returns
TypeDescription
Taxonomy

listPolicyTags(ListPolicyTagsRequest request)

public ListPolicyTagsResponse listPolicyTags(ListPolicyTagsRequest request)

Lists all policy tags in a taxonomy.

Parameter
NameDescription
requestListPolicyTagsRequest
Returns
TypeDescription
ListPolicyTagsResponse

listTaxonomies(ListTaxonomiesRequest request)

public ListTaxonomiesResponse listTaxonomies(ListTaxonomiesRequest request)

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

Parameter
NameDescription
requestListTaxonomiesRequest
Returns
TypeDescription
ListTaxonomiesResponse

setIamPolicy(SetIamPolicyRequest request)

public Policy setIamPolicy(SetIamPolicyRequest request)

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

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

testIamPermissions(TestIamPermissionsRequest request)

public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)

Returns your permissions on a specified policy tag or taxonomy.

Parameter
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
Returns
TypeDescription
com.google.iam.v1.TestIamPermissionsResponse

updatePolicyTag(UpdatePolicyTagRequest request)

public PolicyTag updatePolicyTag(UpdatePolicyTagRequest request)

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

Parameter
NameDescription
requestUpdatePolicyTagRequest
Returns
TypeDescription
PolicyTag

updateTaxonomy(UpdateTaxonomyRequest request)

public Taxonomy updateTaxonomy(UpdateTaxonomyRequest request)

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

Parameter
NameDescription
requestUpdateTaxonomyRequest
Returns
TypeDescription
Taxonomy