public class GrpcPolicyTagManagerStub extends PolicyTagManagerStub
gRPC stub implementation for the PolicyTagManager service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcPolicyTagManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcPolicyTagManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(PolicyTagManagerStubSettings settings)
public static final GrpcPolicyTagManagerStub create(PolicyTagManagerStubSettings settings)
Constructors
GrpcPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext)
protected GrpcPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcPolicyTagManagerStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcPolicyTagManagerStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createPolicyTagCallable()
public UnaryCallable<CreatePolicyTagRequest,PolicyTag> createPolicyTagCallable()
Overrides
createTaxonomyCallable()
public UnaryCallable<CreateTaxonomyRequest,Taxonomy> createTaxonomyCallable()
Overrides
deletePolicyTagCallable()
public UnaryCallable<DeletePolicyTagRequest,Empty> deletePolicyTagCallable()
Overrides
deleteTaxonomyCallable()
public UnaryCallable<DeleteTaxonomyRequest,Empty> deleteTaxonomyCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getPolicyTagCallable()
public UnaryCallable<GetPolicyTagRequest,PolicyTag> getPolicyTagCallable()
Overrides
getTaxonomyCallable()
public UnaryCallable<GetTaxonomyRequest,Taxonomy> getTaxonomyCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
public UnaryCallable<ListPolicyTagsRequest,ListPolicyTagsResponse> listPolicyTagsCallable()
Overrides
listPolicyTagsPagedCallable()
public UnaryCallable<ListPolicyTagsRequest,PolicyTagManagerClient.ListPolicyTagsPagedResponse> listPolicyTagsPagedCallable()
Overrides
listTaxonomiesCallable()
public UnaryCallable<ListTaxonomiesRequest,ListTaxonomiesResponse> listTaxonomiesCallable()
Overrides
listTaxonomiesPagedCallable()
public UnaryCallable<ListTaxonomiesRequest,PolicyTagManagerClient.ListTaxonomiesPagedResponse> listTaxonomiesPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
updatePolicyTagCallable()
public UnaryCallable<UpdatePolicyTagRequest,PolicyTag> updatePolicyTagCallable()
Overrides
updateTaxonomyCallable()
public UnaryCallable<UpdateTaxonomyRequest,Taxonomy> updateTaxonomyCallable()
Overrides