public static final class PolicyTagManagerGrpc.PolicyTagManagerFutureStub extends io.grpc.stub.AbstractFutureStub<PolicyTagManagerGrpc.PolicyTagManagerFutureStub>
Policy Tag Manager API service allows clients to manage their 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.
| Modifier and Type | Method and Description |
|---|---|
protected PolicyTagManagerGrpc.PolicyTagManagerFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<PolicyTag> |
createPolicyTag(CreatePolicyTagRequest request)
Creates a policy tag in a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<Taxonomy> |
createTaxonomy(CreateTaxonomyRequest request)
Creates a taxonomy in a specified project.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deletePolicyTag(DeletePolicyTagRequest request)
Deletes a policy tag.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteTaxonomy(DeleteTaxonomyRequest request)
Deletes a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for a policy tag or a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<PolicyTag> |
getPolicyTag(GetPolicyTagRequest request)
Gets a policy tag.
|
com.google.common.util.concurrent.ListenableFuture<Taxonomy> |
getTaxonomy(GetTaxonomyRequest request)
Gets a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<ListPolicyTagsResponse> |
listPolicyTags(ListPolicyTagsRequest request)
Lists all policy tags in a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<ListTaxonomiesResponse> |
listTaxonomies(ListTaxonomiesRequest request)
Lists all taxonomies in a project in a particular location that the caller
has permission to view.
|
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM policy for a policy tag or a taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on a specified policy tag or
taxonomy.
|
com.google.common.util.concurrent.ListenableFuture<PolicyTag> |
updatePolicyTag(UpdatePolicyTagRequest request)
Updates a policy tag.
|
com.google.common.util.concurrent.ListenableFuture<Taxonomy> |
updateTaxonomy(UpdateTaxonomyRequest request)
Updates a taxonomy.
|
protected PolicyTagManagerGrpc.PolicyTagManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<PolicyTagManagerGrpc.PolicyTagManagerFutureStub>public com.google.common.util.concurrent.ListenableFuture<Taxonomy> createTaxonomy(CreateTaxonomyRequest request)
Creates a taxonomy in a specified project. The taxonomy is initially empty, i.e., does not contain policy tags.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTaxonomy(DeleteTaxonomyRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<Taxonomy> updateTaxonomy(UpdateTaxonomyRequest request)
Updates a taxonomy. This method can update the taxonomy's display name, description, and activated policy types.
public com.google.common.util.concurrent.ListenableFuture<ListTaxonomiesResponse> listTaxonomies(ListTaxonomiesRequest request)
Lists all taxonomies in a project in a particular location that the caller has permission to view.
public com.google.common.util.concurrent.ListenableFuture<Taxonomy> getTaxonomy(GetTaxonomyRequest request)
Gets a taxonomy.
public com.google.common.util.concurrent.ListenableFuture<PolicyTag> createPolicyTag(CreatePolicyTagRequest request)
Creates a policy tag in a taxonomy.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePolicyTag(DeletePolicyTagRequest request)
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, and
- references from BigQuery table schema of the policy tag and its
descendants.
public com.google.common.util.concurrent.ListenableFuture<PolicyTag> updatePolicyTag(UpdatePolicyTagRequest request)
Updates a policy tag. This method can update the policy tag's display name, description, and parent policy tag.
public com.google.common.util.concurrent.ListenableFuture<ListPolicyTagsResponse> listPolicyTags(ListPolicyTagsRequest request)
Lists all policy tags in a taxonomy.
public com.google.common.util.concurrent.ListenableFuture<PolicyTag> getPolicyTag(GetPolicyTagRequest request)
Gets a policy tag.
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for a policy tag or a taxonomy.
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM policy for a policy tag or a taxonomy.
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on a specified policy tag or taxonomy.
Copyright © 2021 Google LLC. All rights reserved.