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 protectedGrpcIAMStub(IAMStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcIAMStub, using the given settings.protectedGrpcIAMStub(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:
listServiceAccountsCallablein classIAMStub
-
listServiceAccountsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceAccountsRequest,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsPagedCallable()
- Overrides:
listServiceAccountsPagedCallablein classIAMStub
-
getServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
- Overrides:
getServiceAccountCallablein classIAMStub
-
createServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceAccountRequest,ServiceAccount> createServiceAccountCallable()
- Overrides:
createServiceAccountCallablein classIAMStub
-
updateServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
- Overrides:
updateServiceAccountCallablein classIAMStub
-
patchServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountCallable()
- Overrides:
patchServiceAccountCallablein classIAMStub
-
deleteServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceAccountRequest,com.google.protobuf.Empty> deleteServiceAccountCallable()
- Overrides:
deleteServiceAccountCallablein classIAMStub
-
undeleteServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountCallable()
- Overrides:
undeleteServiceAccountCallablein classIAMStub
-
enableServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<EnableServiceAccountRequest,com.google.protobuf.Empty> enableServiceAccountCallable()
- Overrides:
enableServiceAccountCallablein classIAMStub
-
disableServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<DisableServiceAccountRequest,com.google.protobuf.Empty> disableServiceAccountCallable()
- Overrides:
disableServiceAccountCallablein classIAMStub
-
listServiceAccountKeysCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysCallable()
- Overrides:
listServiceAccountKeysCallablein classIAMStub
-
getServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeyCallable()
- Overrides:
getServiceAccountKeyCallablein classIAMStub
-
createServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeyCallable()
- Overrides:
createServiceAccountKeyCallablein classIAMStub
-
uploadServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeyCallable()
- Overrides:
uploadServiceAccountKeyCallablein classIAMStub
-
deleteServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceAccountKeyRequest,com.google.protobuf.Empty> deleteServiceAccountKeyCallable()
- Overrides:
deleteServiceAccountKeyCallablein classIAMStub
-
disableServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DisableServiceAccountKeyRequest,com.google.protobuf.Empty> disableServiceAccountKeyCallable()
- Overrides:
disableServiceAccountKeyCallablein classIAMStub
-
enableServiceAccountKeyCallable
public com.google.api.gax.rpc.UnaryCallable<EnableServiceAccountKeyRequest,com.google.protobuf.Empty> enableServiceAccountKeyCallable()
- Overrides:
enableServiceAccountKeyCallablein classIAMStub
-
signBlobCallable
public com.google.api.gax.rpc.UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
- Overrides:
signBlobCallablein classIAMStub
-
signJwtCallable
public com.google.api.gax.rpc.UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
- Overrides:
signJwtCallablein classIAMStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classIAMStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classIAMStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classIAMStub
-
queryGrantableRolesCallable
public com.google.api.gax.rpc.UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> queryGrantableRolesCallable()
- Overrides:
queryGrantableRolesCallablein classIAMStub
-
queryGrantableRolesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<QueryGrantableRolesRequest,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesPagedCallable()
- Overrides:
queryGrantableRolesPagedCallablein classIAMStub
-
listRolesCallable
public com.google.api.gax.rpc.UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
- Overrides:
listRolesCallablein classIAMStub
-
listRolesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRolesRequest,IAMClient.ListRolesPagedResponse> listRolesPagedCallable()
- Overrides:
listRolesPagedCallablein classIAMStub
-
getRoleCallable
public com.google.api.gax.rpc.UnaryCallable<GetRoleRequest,Role> getRoleCallable()
- Overrides:
getRoleCallablein classIAMStub
-
createRoleCallable
public com.google.api.gax.rpc.UnaryCallable<CreateRoleRequest,Role> createRoleCallable()
- Overrides:
createRoleCallablein classIAMStub
-
updateRoleCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateRoleRequest,Role> updateRoleCallable()
- Overrides:
updateRoleCallablein classIAMStub
-
deleteRoleCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteRoleRequest,Role> deleteRoleCallable()
- Overrides:
deleteRoleCallablein classIAMStub
-
undeleteRoleCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteRoleRequest,Role> undeleteRoleCallable()
- Overrides:
undeleteRoleCallablein classIAMStub
-
queryTestablePermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> queryTestablePermissionsCallable()
- Overrides:
queryTestablePermissionsCallablein classIAMStub
-
queryTestablePermissionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<QueryTestablePermissionsRequest,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsPagedCallable()
- Overrides:
queryTestablePermissionsPagedCallablein classIAMStub
-
queryAuditableServicesCallable
public com.google.api.gax.rpc.UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesCallable()
- Overrides:
queryAuditableServicesCallablein classIAMStub
-
lintPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<LintPolicyRequest,LintPolicyResponse> lintPolicyCallable()
- Overrides:
lintPolicyCallablein classIAMStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-