public static final class PolicyTagManagerGrpc.PolicyTagManagerBlockingStub extends AbstractBlockingStub<PolicyTagManagerGrpc.PolicyTagManagerBlockingStub>
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.AbstractBlockingStub >
PolicyTagManagerGrpc.PolicyTagManagerBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.PolicyTagManagerBlockingStub 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 PolicyTag createPolicyTag(CreatePolicyTagRequest request)
Creates a policy tag in the specified taxonomy.
Parameter
Returns
createTaxonomy(CreateTaxonomyRequest request)
public Taxonomy createTaxonomy(CreateTaxonomyRequest request)
Creates a taxonomy in the specified project.
Parameter
Returns
deletePolicyTag(DeletePolicyTagRequest request)
public Empty deletePolicyTag(DeletePolicyTagRequest request)
Deletes a policy tag. Also deletes all of its descendant policy tags.
Parameter
Returns
deleteTaxonomy(DeleteTaxonomyRequest request)
public Empty deleteTaxonomy(DeleteTaxonomyRequest request)
Deletes a taxonomy. This operation will also delete all
policy tags in this taxonomy along with their associated policies.
Parameter
Returns
getIamPolicy(GetIamPolicyRequest request)
public 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.iam.v1.Policy | |
getPolicyTag(GetPolicyTagRequest request)
public PolicyTag getPolicyTag(GetPolicyTagRequest request)
Parameter
Returns
getTaxonomy(GetTaxonomyRequest request)
public Taxonomy getTaxonomy(GetTaxonomyRequest request)
Parameter
Returns
public ListPolicyTagsResponse listPolicyTags(ListPolicyTagsRequest request)
Lists all policy tags in a taxonomy.
Parameter
Returns
listTaxonomies(ListTaxonomiesRequest request)
public ListTaxonomiesResponse listTaxonomies(ListTaxonomiesRequest request)
Lists all taxonomies in a project in a particular location that the caller
has permission to view.
Parameter
Returns
setIamPolicy(SetIamPolicyRequest request)
public 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.iam.v1.Policy | |
testIamPermissions(TestIamPermissionsRequest request)
public 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.iam.v1.TestIamPermissionsResponse | |
updatePolicyTag(UpdatePolicyTagRequest request)
public PolicyTag updatePolicyTag(UpdatePolicyTagRequest request)
Parameter
Returns
updateTaxonomy(UpdateTaxonomyRequest request)
public Taxonomy updateTaxonomy(UpdateTaxonomyRequest request)
Parameter
Returns