Class GrpcIAMStub
- java.lang.Object
-
- com.google.cloud.iam.admin.v1.stub.IAMStub
-
- com.google.cloud.iam.admin.v1.stub.GrpcIAMStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcIAMStub(IAMStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcIAMStub, using the given settings.protected
GrpcIAMStub(IAMStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIAMStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcIAMStub
protected GrpcIAMStub(IAMStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcIAMStub
protected GrpcIAMStub(IAMStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcIAMStub create(IAMStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcIAMStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcIAMStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listServiceAccountsCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse> listServiceAccountsCallable()
- Overrides:
listServiceAccountsCallable
in classIAMStub
-
listServiceAccountsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceAccountsRequest,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsPagedCallable()
- Overrides:
listServiceAccountsPagedCallable
in classIAMStub
-
getServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
- Overrides:
getServiceAccountCallable
in classIAMStub
-
createServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceAccountRequest,ServiceAccount> createServiceAccountCallable()
- Overrides:
createServiceAccountCallable
in classIAMStub
-
updateServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
- Overrides:
updateServiceAccountCallable
in classIAMStub
-
patchServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountCallable()
- Overrides:
patchServiceAccountCallable
in classIAMStub
-
deleteServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceAccountRequest,com.google.protobuf.Empty> deleteServiceAccountCallable()
- Overrides:
deleteServiceAccountCallable
in classIAMStub
-
undeleteServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountCallable()
- Overrides:
undeleteServiceAccountCallable
in classIAMStub
-
enableServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<EnableServiceAccountRequest,com.google.protobuf.Empty> enableServiceAccountCallable()
- Overrides:
enableServiceAccountCallable
in classIAMStub
-
disableServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<DisableServiceAccountRequest,com.google.protobuf.Empty> disableServiceAccountCallable()
- Overrides:
disableServiceAccountCallable
in classIAMStub
-
listServiceAccountKeysCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysCallable()
- Overrides:
listServiceAccountKeysCallable
in classIAMStub
-
getServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeyCallable()
- Overrides:
getServiceAccountKeyCallable
in classIAMStub
-
createServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeyCallable()
- Overrides:
createServiceAccountKeyCallable
in classIAMStub
-
uploadServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeyCallable()
- Overrides:
uploadServiceAccountKeyCallable
in classIAMStub
-
deleteServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceAccountKeyRequest,com.google.protobuf.Empty> deleteServiceAccountKeyCallable()
- Overrides:
deleteServiceAccountKeyCallable
in classIAMStub
-
disableServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DisableServiceAccountKeyRequest,com.google.protobuf.Empty> disableServiceAccountKeyCallable()
- Overrides:
disableServiceAccountKeyCallable
in classIAMStub
-
enableServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<EnableServiceAccountKeyRequest,com.google.protobuf.Empty> enableServiceAccountKeyCallable()
- Overrides:
enableServiceAccountKeyCallable
in classIAMStub
-
signBlobCallable
public com.google.api.gax.rpc.UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
- Overrides:
signBlobCallable
in classIAMStub
-
signJwtCallable
public com.google.api.gax.rpc.UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
- Overrides:
signJwtCallable
in classIAMStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classIAMStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classIAMStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classIAMStub
-
queryGrantableRolesCallable
public com.google.api.gax.rpc.UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> queryGrantableRolesCallable()
- Overrides:
queryGrantableRolesCallable
in classIAMStub
-
queryGrantableRolesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<QueryGrantableRolesRequest,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesPagedCallable()
- Overrides:
queryGrantableRolesPagedCallable
in classIAMStub
-
listRolesCallable
public com.google.api.gax.rpc.UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
- Overrides:
listRolesCallable
in classIAMStub
-
listRolesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRolesRequest,IAMClient.ListRolesPagedResponse> listRolesPagedCallable()
- Overrides:
listRolesPagedCallable
in classIAMStub
-
getRoleCallable
public com.google.api.gax.rpc.UnaryCallable<GetRoleRequest,Role> getRoleCallable()
- Overrides:
getRoleCallable
in classIAMStub
-
createRoleCallable
public com.google.api.gax.rpc.UnaryCallable<CreateRoleRequest,Role> createRoleCallable()
- Overrides:
createRoleCallable
in classIAMStub
-
updateRoleCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateRoleRequest,Role> updateRoleCallable()
- Overrides:
updateRoleCallable
in classIAMStub
-
deleteRoleCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteRoleRequest,Role> deleteRoleCallable()
- Overrides:
deleteRoleCallable
in classIAMStub
-
undeleteRoleCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteRoleRequest,Role> undeleteRoleCallable()
- Overrides:
undeleteRoleCallable
in classIAMStub
-
queryTestablePermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> queryTestablePermissionsCallable()
- Overrides:
queryTestablePermissionsCallable
in classIAMStub
-
queryTestablePermissionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<QueryTestablePermissionsRequest,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsPagedCallable()
- Overrides:
queryTestablePermissionsPagedCallable
in classIAMStub
-
queryAuditableServicesCallable
public com.google.api.gax.rpc.UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesCallable()
- Overrides:
queryAuditableServicesCallable
in classIAMStub
-
lintPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<LintPolicyRequest,LintPolicyResponse> lintPolicyCallable()
- Overrides:
lintPolicyCallable
in classIAMStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classIAMStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-