public static final class PolicyTagManagerGrpc.PolicyTagManagerFutureStub extends AbstractFutureStub<PolicyTagManagerGrpc.PolicyTagManagerFutureStub>
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.AbstractFutureStub >
PolicyTagManagerGrpc.PolicyTagManagerFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected PolicyTagManagerGrpc.PolicyTagManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createPolicyTag(CreatePolicyTagRequest request)
public ListenableFuture<PolicyTag> createPolicyTag(CreatePolicyTagRequest request)
Creates a policy tag in a taxonomy.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PolicyTag> | |
createTaxonomy(CreateTaxonomyRequest request)
public ListenableFuture<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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Taxonomy> | |
deletePolicyTag(DeletePolicyTagRequest request)
public ListenableFuture<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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteTaxonomy(DeleteTaxonomyRequest request)
public ListenableFuture<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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
getIamPolicy(GetIamPolicyRequest request)
public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
Gets the IAM policy for a policy tag or a taxonomy.
Parameter
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
getPolicyTag(GetPolicyTagRequest request)
public ListenableFuture<PolicyTag> getPolicyTag(GetPolicyTagRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PolicyTag> | |
getTaxonomy(GetTaxonomyRequest request)
public ListenableFuture<Taxonomy> getTaxonomy(GetTaxonomyRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Taxonomy> | |
public ListenableFuture<ListPolicyTagsResponse> listPolicyTags(ListPolicyTagsRequest request)
Lists all policy tags in a taxonomy.
Parameter
Returns
listTaxonomies(ListTaxonomiesRequest request)
public ListenableFuture<ListTaxonomiesResponse> listTaxonomies(ListTaxonomiesRequest request)
Lists all taxonomies in a project in a particular location that you
have a permission to view.
Parameter
Returns
setIamPolicy(SetIamPolicyRequest request)
public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
Sets the IAM policy for a policy tag or a taxonomy.
Parameter
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
testIamPermissions(TestIamPermissionsRequest request)
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Returns your permissions on a specified policy tag or
taxonomy.
Parameter
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> | |
updatePolicyTag(UpdatePolicyTagRequest request)
public ListenableFuture<PolicyTag> updatePolicyTag(UpdatePolicyTagRequest request)
Updates a policy tag, including its display
name, description, and parent policy tag.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PolicyTag> | |
updateTaxonomy(UpdateTaxonomyRequest request)
public ListenableFuture<Taxonomy> updateTaxonomy(UpdateTaxonomyRequest request)
Updates a taxonomy, including its display name,
description, and activated policy types.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Taxonomy> | |