Send feedback
Class GrpcIAMStub (1.2.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.5 keyboard_arrow_down
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
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcIAMStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Parameters
Returns
Exceptions
create(IAMStubSettings settings)
public static final GrpcIAMStub create ( IAMStubSettings settings )
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
Parameters
Returns
Exceptions
close()
public final void close ()
Overrides
createRoleCallable()
public UnaryCallable<CreateRoleRequest , Role > createRoleCallable ()
Returns
Overrides
createServiceAccountCallable()
public UnaryCallable<CreateServiceAccountRequest , ServiceAccount > createServiceAccountCallable ()
Returns
Overrides
createServiceAccountKeyCallable()
public UnaryCallable<CreateServiceAccountKeyRequest , ServiceAccountKey > createServiceAccountKeyCallable ()
Returns
Overrides
deleteRoleCallable()
public UnaryCallable<DeleteRoleRequest , Role > deleteRoleCallable ()
Returns
Overrides
deleteServiceAccountCallable()
public UnaryCallable<DeleteServiceAccountRequest , Empty > deleteServiceAccountCallable ()
Returns
Overrides
deleteServiceAccountKeyCallable()
public UnaryCallable<DeleteServiceAccountKeyRequest , Empty > deleteServiceAccountKeyCallable ()
Returns
Overrides
disableServiceAccountCallable()
public UnaryCallable<DisableServiceAccountRequest , Empty > disableServiceAccountCallable ()
Returns
Overrides
enableServiceAccountCallable()
public UnaryCallable<EnableServiceAccountRequest , Empty > enableServiceAccountCallable ()
Returns
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 ()
Returns
getRoleCallable()
public UnaryCallable<GetRoleRequest , Role > getRoleCallable ()
Returns
Overrides
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest , ServiceAccount > getServiceAccountCallable ()
Returns
Overrides
getServiceAccountKeyCallable()
public UnaryCallable<GetServiceAccountKeyRequest , ServiceAccountKey > getServiceAccountKeyCallable ()
Returns
Overrides
isShutdown()
public boolean isShutdown ()
Returns
isTerminated()
public boolean isTerminated ()
Returns
lintPolicyCallable()
public UnaryCallable<LintPolicyRequest , LintPolicyResponse > lintPolicyCallable ()
Returns
Overrides
listRolesCallable()
public UnaryCallable<ListRolesRequest , ListRolesResponse > listRolesCallable ()
Returns
Overrides
listRolesPagedCallable()
public UnaryCallable<ListRolesRequest , IAMClient . ListRolesPagedResponse > listRolesPagedCallable ()
Returns
Overrides
listServiceAccountKeysCallable()
public UnaryCallable<ListServiceAccountKeysRequest , ListServiceAccountKeysResponse > listServiceAccountKeysCallable ()
Returns
Overrides
listServiceAccountsCallable()
public UnaryCallable<ListServiceAccountsRequest , ListServiceAccountsResponse > listServiceAccountsCallable ()
Returns
Overrides
listServiceAccountsPagedCallable()
public UnaryCallable<ListServiceAccountsRequest , IAMClient . ListServiceAccountsPagedResponse > listServiceAccountsPagedCallable ()
Returns
Overrides
patchServiceAccountCallable()
public UnaryCallable<PatchServiceAccountRequest , ServiceAccount > patchServiceAccountCallable ()
Returns
Overrides
queryAuditableServicesCallable()
public UnaryCallable<QueryAuditableServicesRequest , QueryAuditableServicesResponse > queryAuditableServicesCallable ()
Returns
Overrides
queryGrantableRolesCallable()
public UnaryCallable<QueryGrantableRolesRequest , QueryGrantableRolesResponse > queryGrantableRolesCallable ()
Returns
Overrides
queryGrantableRolesPagedCallable()
public UnaryCallable<QueryGrantableRolesRequest , IAMClient . QueryGrantableRolesPagedResponse > queryGrantableRolesPagedCallable ()
Returns
Overrides
queryTestablePermissionsCallable()
public UnaryCallable<QueryTestablePermissionsRequest , QueryTestablePermissionsResponse > queryTestablePermissionsCallable ()
Returns
Overrides
queryTestablePermissionsPagedCallable()
public UnaryCallable<QueryTestablePermissionsRequest , IAMClient . QueryTestablePermissionsPagedResponse > queryTestablePermissionsPagedCallable ()
Returns
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 ()
Returns
Overrides
signJwtCallable()
public UnaryCallable<SignJwtRequest , SignJwtResponse > signJwtCallable ()
Returns
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 ()
Returns
Overrides
undeleteServiceAccountCallable()
public UnaryCallable<UndeleteServiceAccountRequest , UndeleteServiceAccountResponse > undeleteServiceAccountCallable ()
Returns
Overrides
updateRoleCallable()
public UnaryCallable<UpdateRoleRequest , Role > updateRoleCallable ()
Returns
Overrides
updateServiceAccountCallable()
public UnaryCallable<ServiceAccount , ServiceAccount > updateServiceAccountCallable ()
Returns
Overrides
uploadServiceAccountKeyCallable()
public UnaryCallable<UploadServiceAccountKeyRequest , ServiceAccountKey > uploadServiceAccountKeyCallable ()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]