public static final class PolicyTagManagerGrpc.PolicyTagManagerStub extends AbstractAsyncStub<PolicyTagManagerGrpc.PolicyTagManagerStub>
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.AbstractAsyncStub >
PolicyTagManagerGrpc.PolicyTagManagerStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.PolicyTagManagerStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createPolicyTag(CreatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
public void createPolicyTag(CreatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
Creates a policy tag in the specified taxonomy.
createTaxonomy(CreateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public void createTaxonomy(CreateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
Creates a taxonomy in the specified project.
deletePolicyTag(DeletePolicyTagRequest request, StreamObserver<Empty> responseObserver)
public void deletePolicyTag(DeletePolicyTagRequest request, StreamObserver<Empty> responseObserver)
Deletes a policy tag. Also deletes all of its descendant policy tags.
deleteTaxonomy(DeleteTaxonomyRequest request, StreamObserver<Empty> responseObserver)
public void deleteTaxonomy(DeleteTaxonomyRequest request, StreamObserver<Empty> responseObserver)
Deletes a taxonomy. This operation will also delete all
policy tags in this taxonomy along with their associated policies.
getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the IAM policy for a taxonomy or a policy tag.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
getPolicyTag(GetPolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
public void getPolicyTag(GetPolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
getTaxonomy(GetTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public void getTaxonomy(GetTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public void listPolicyTags(ListPolicyTagsRequest request, StreamObserver<ListPolicyTagsResponse> responseObserver)
Lists all policy tags in a taxonomy.
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 the caller
has permission to view.
setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Sets the IAM policy for a taxonomy or a policy tag.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified taxonomy or
policy tag.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
|
updatePolicyTag(UpdatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
public void updatePolicyTag(UpdatePolicyTagRequest request, StreamObserver<PolicyTag> responseObserver)
updateTaxonomy(UpdateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)
public void updateTaxonomy(UpdateTaxonomyRequest request, StreamObserver<Taxonomy> responseObserver)