public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub
REST 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 HttpJsonPolicyTagManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonPolicyTagManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(PolicyTagManagerStubSettings settings)
public static final HttpJsonPolicyTagManagerStub create(PolicyTagManagerStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext)
protected HttpJsonPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonPolicyTagManagerStub, 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.
HttpJsonPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonPolicyTagManagerStub(PolicyTagManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPolicyTagManagerStub, 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
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