public class GrpcIAMStub extends IAMStub
gRPC stub implementation for the IAM service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcIAMStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcIAMStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(IAMStubSettings settings)
public static final GrpcIAMStub create(IAMStubSettings settings)
Constructors
GrpcIAMStub(IAMStubSettings settings, ClientContext clientContext)
protected GrpcIAMStub(IAMStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcIAMStub, 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.
GrpcIAMStub(IAMStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcIAMStub(IAMStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIAMStub, 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
createRoleCallable()
public UnaryCallable<CreateRoleRequest,Role> createRoleCallable()
Overrides
createServiceAccountCallable()
public UnaryCallable<CreateServiceAccountRequest,ServiceAccount> createServiceAccountCallable()
Overrides
createServiceAccountKeyCallable()
public UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeyCallable()
Overrides
deleteRoleCallable()
public UnaryCallable<DeleteRoleRequest,Role> deleteRoleCallable()
Overrides
deleteServiceAccountCallable()
public UnaryCallable<DeleteServiceAccountRequest,Empty> deleteServiceAccountCallable()
Overrides
deleteServiceAccountKeyCallable()
public UnaryCallable<DeleteServiceAccountKeyRequest,Empty> deleteServiceAccountKeyCallable()
Overrides
disableServiceAccountCallable()
public UnaryCallable<DisableServiceAccountRequest,Empty> disableServiceAccountCallable()
Overrides
disableServiceAccountKeyCallable()
public UnaryCallable<DisableServiceAccountKeyRequest,Empty> disableServiceAccountKeyCallable()
Overrides
enableServiceAccountCallable()
public UnaryCallable<EnableServiceAccountRequest,Empty> enableServiceAccountCallable()
Overrides
enableServiceAccountKeyCallable()
public UnaryCallable<EnableServiceAccountKeyRequest,Empty> enableServiceAccountKeyCallable()
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()
getRoleCallable()
public UnaryCallable<GetRoleRequest,Role> getRoleCallable()
Overrides
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Overrides
getServiceAccountKeyCallable()
public UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeyCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
lintPolicyCallable()
public UnaryCallable<LintPolicyRequest,LintPolicyResponse> lintPolicyCallable()
Overrides
listRolesCallable()
public UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
Overrides
listRolesPagedCallable()
public UnaryCallable<ListRolesRequest,IAMClient.ListRolesPagedResponse> listRolesPagedCallable()
Overrides
listServiceAccountKeysCallable()
public UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysCallable()
Overrides
listServiceAccountsCallable()
public UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse> listServiceAccountsCallable()
Overrides
listServiceAccountsPagedCallable()
public UnaryCallable<ListServiceAccountsRequest,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsPagedCallable()
Overrides
patchServiceAccountCallable()
public UnaryCallable<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountCallable()
Overrides
queryAuditableServicesCallable()
public UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesCallable()
Overrides
queryGrantableRolesCallable()
public UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> queryGrantableRolesCallable()
Overrides
queryGrantableRolesPagedCallable()
public UnaryCallable<QueryGrantableRolesRequest,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesPagedCallable()
Overrides
queryTestablePermissionsCallable()
public UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> queryTestablePermissionsCallable()
Overrides
queryTestablePermissionsPagedCallable()
public UnaryCallable<QueryTestablePermissionsRequest,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsPagedCallable()
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()
signBlobCallable()
public UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
Overrides
signJwtCallable()
public UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
undeleteRoleCallable()
public UnaryCallable<UndeleteRoleRequest,Role> undeleteRoleCallable()
Overrides
undeleteServiceAccountCallable()
public UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountCallable()
Overrides
updateRoleCallable()
public UnaryCallable<UpdateRoleRequest,Role> updateRoleCallable()
Overrides
updateServiceAccountCallable()
public UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
Overrides
uploadServiceAccountKeyCallable()
public UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeyCallable()
Overrides