Class PolicyTagManagerGrpc.PolicyTagManagerFutureStub (1.60.0)

public static final class PolicyTagManagerGrpc.PolicyTagManagerFutureStub extends AbstractFutureStub<PolicyTagManagerGrpc.PolicyTagManagerFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyTagManager.

The policy tag manager API service allows clients to manage their taxonomies and policy tags.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > PolicyTagManagerGrpc.PolicyTagManagerFutureStub

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
Type Description
PolicyTagManagerGrpc.PolicyTagManagerFutureStub
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 the specified taxonomy.

Parameter
Name Description
request CreatePolicyTagRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PolicyTag>

createTaxonomy(CreateTaxonomyRequest request)

public ListenableFuture<Taxonomy> createTaxonomy(CreateTaxonomyRequest request)

Creates a taxonomy in the specified project.

Parameter
Name Description
request CreateTaxonomyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Taxonomy>

deletePolicyTag(DeletePolicyTagRequest request)

public ListenableFuture<Empty> deletePolicyTag(DeletePolicyTagRequest request)

Deletes a policy tag. Also deletes all of its descendant policy tags.

Parameter
Name Description
request DeletePolicyTagRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteTaxonomy(DeleteTaxonomyRequest request)

public ListenableFuture<Empty> deleteTaxonomy(DeleteTaxonomyRequest request)

Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.

Parameter
Name Description
request DeleteTaxonomyRequest
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 taxonomy or a policy tag.

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)

Gets a policy tag.

Parameter
Name Description
request GetPolicyTagRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PolicyTag>

getTaxonomy(GetTaxonomyRequest request)

public ListenableFuture<Taxonomy> getTaxonomy(GetTaxonomyRequest request)

Gets a taxonomy.

Parameter
Name Description
request GetTaxonomyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Taxonomy>

listPolicyTags(ListPolicyTagsRequest request)

public ListenableFuture<ListPolicyTagsResponse> listPolicyTags(ListPolicyTagsRequest request)

Lists all policy tags in a taxonomy.

Parameter
Name Description
request ListPolicyTagsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPolicyTagsResponse>

listTaxonomies(ListTaxonomiesRequest request)

public ListenableFuture<ListTaxonomiesResponse> listTaxonomies(ListTaxonomiesRequest request)

Lists all taxonomies in a project in a particular location that the caller has permission to view.

Parameter
Name Description
request ListTaxonomiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTaxonomiesResponse>

setIamPolicy(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)

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

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 the permissions that a caller has on the specified taxonomy or policy tag.

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.

Parameter
Name Description
request UpdatePolicyTagRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PolicyTag>

updateTaxonomy(UpdateTaxonomyRequest request)

public ListenableFuture<Taxonomy> updateTaxonomy(UpdateTaxonomyRequest request)

Updates a taxonomy.

Parameter
Name Description
request UpdateTaxonomyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Taxonomy>