- 3.49.0 (latest)
- 3.48.0
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcIAMStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcIAMStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcIAMStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(IAMStubSettings settings)
public static final GrpcIAMStub create(IAMStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
IAMStubSettings |
Returns | |
---|---|
Type | Description |
GrpcIAMStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
IAMStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
IAMStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createRoleCallable()
public UnaryCallable<CreateRoleRequest,Role> createRoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRoleRequest,Role> |
createServiceAccountCallable()
public UnaryCallable<CreateServiceAccountRequest,ServiceAccount> createServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceAccountRequest,ServiceAccount> |
createServiceAccountKeyCallable()
public UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> |
deleteRoleCallable()
public UnaryCallable<DeleteRoleRequest,Role> deleteRoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRoleRequest,Role> |
deleteServiceAccountCallable()
public UnaryCallable<DeleteServiceAccountRequest,Empty> deleteServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceAccountRequest,Empty> |
deleteServiceAccountKeyCallable()
public UnaryCallable<DeleteServiceAccountKeyRequest,Empty> deleteServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceAccountKeyRequest,Empty> |
disableServiceAccountCallable()
public UnaryCallable<DisableServiceAccountRequest,Empty> disableServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DisableServiceAccountRequest,Empty> |
disableServiceAccountKeyCallable()
public UnaryCallable<DisableServiceAccountKeyRequest,Empty> disableServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DisableServiceAccountKeyRequest,Empty> |
enableServiceAccountCallable()
public UnaryCallable<EnableServiceAccountRequest,Empty> enableServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EnableServiceAccountRequest,Empty> |
enableServiceAccountKeyCallable()
public UnaryCallable<EnableServiceAccountKeyRequest,Empty> enableServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EnableServiceAccountKeyRequest,Empty> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getRoleCallable()
public UnaryCallable<GetRoleRequest,Role> getRoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRoleRequest,Role> |
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceAccountRequest,ServiceAccount> |
getServiceAccountKeyCallable()
public UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
lintPolicyCallable()
public UnaryCallable<LintPolicyRequest,LintPolicyResponse> lintPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<LintPolicyRequest,LintPolicyResponse> |
listRolesCallable()
public UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRolesRequest,ListRolesResponse> |
listRolesPagedCallable()
public UnaryCallable<ListRolesRequest,IAMClient.ListRolesPagedResponse> listRolesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRolesRequest,ListRolesPagedResponse> |
listServiceAccountKeysCallable()
public UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> |
listServiceAccountsCallable()
public UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse> listServiceAccountsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse> |
listServiceAccountsPagedCallable()
public UnaryCallable<ListServiceAccountsRequest,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsPagedResponse> |
patchServiceAccountCallable()
public UnaryCallable<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PatchServiceAccountRequest,ServiceAccount> |
queryAuditableServicesCallable()
public UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> |
queryGrantableRolesCallable()
public UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> queryGrantableRolesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> |
queryGrantableRolesPagedCallable()
public UnaryCallable<QueryGrantableRolesRequest,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesPagedResponse> |
queryTestablePermissionsCallable()
public UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> queryTestablePermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> |
queryTestablePermissionsPagedCallable()
public UnaryCallable<QueryTestablePermissionsRequest,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
signBlobCallable()
public UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SignBlobRequest,SignBlobResponse> |
signJwtCallable()
public UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SignJwtRequest,SignJwtResponse> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
undeleteRoleCallable()
public UnaryCallable<UndeleteRoleRequest,Role> undeleteRoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeleteRoleRequest,Role> |
undeleteServiceAccountCallable()
public UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> |
updateRoleCallable()
public UnaryCallable<UpdateRoleRequest,Role> updateRoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRoleRequest,Role> |
updateServiceAccountCallable()
public UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ServiceAccount,ServiceAccount> |
uploadServiceAccountKeyCallable()
public UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> |