Class GrpcIAMStub (3.37.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.

Inheritance

java.lang.Object > IAMStub > GrpcIAMStub

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()
Overrides

createRoleCallable()

public UnaryCallable<CreateRoleRequest,Role> createRoleCallable()
Returns
Type Description
UnaryCallable<CreateRoleRequest,Role>
Overrides

createServiceAccountCallable()

public UnaryCallable<CreateServiceAccountRequest,ServiceAccount> createServiceAccountCallable()
Returns
Type Description
UnaryCallable<CreateServiceAccountRequest,ServiceAccount>
Overrides

createServiceAccountKeyCallable()

public UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<CreateServiceAccountKeyRequest,ServiceAccountKey>
Overrides

deleteRoleCallable()

public UnaryCallable<DeleteRoleRequest,Role> deleteRoleCallable()
Returns
Type Description
UnaryCallable<DeleteRoleRequest,Role>
Overrides

deleteServiceAccountCallable()

public UnaryCallable<DeleteServiceAccountRequest,Empty> deleteServiceAccountCallable()
Returns
Type Description
UnaryCallable<DeleteServiceAccountRequest,Empty>
Overrides

deleteServiceAccountKeyCallable()

public UnaryCallable<DeleteServiceAccountKeyRequest,Empty> deleteServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<DeleteServiceAccountKeyRequest,Empty>
Overrides

disableServiceAccountCallable()

public UnaryCallable<DisableServiceAccountRequest,Empty> disableServiceAccountCallable()
Returns
Type Description
UnaryCallable<DisableServiceAccountRequest,Empty>
Overrides

disableServiceAccountKeyCallable()

public UnaryCallable<DisableServiceAccountKeyRequest,Empty> disableServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<DisableServiceAccountKeyRequest,Empty>
Overrides

enableServiceAccountCallable()

public UnaryCallable<EnableServiceAccountRequest,Empty> enableServiceAccountCallable()
Returns
Type Description
UnaryCallable<EnableServiceAccountRequest,Empty>
Overrides

enableServiceAccountKeyCallable()

public UnaryCallable<EnableServiceAccountKeyRequest,Empty> enableServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<EnableServiceAccountKeyRequest,Empty>
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
Type Description
GrpcOperationsStub

getRoleCallable()

public UnaryCallable<GetRoleRequest,Role> getRoleCallable()
Returns
Type Description
UnaryCallable<GetRoleRequest,Role>
Overrides

getServiceAccountCallable()

public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Returns
Type Description
UnaryCallable<GetServiceAccountRequest,ServiceAccount>
Overrides

getServiceAccountKeyCallable()

public UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<GetServiceAccountKeyRequest,ServiceAccountKey>
Overrides

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>
Overrides

listRolesCallable()

public UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
Returns
Type Description
UnaryCallable<ListRolesRequest,ListRolesResponse>
Overrides

listRolesPagedCallable()

public UnaryCallable<ListRolesRequest,IAMClient.ListRolesPagedResponse> listRolesPagedCallable()
Returns
Type Description
UnaryCallable<ListRolesRequest,ListRolesPagedResponse>
Overrides

listServiceAccountKeysCallable()

public UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysCallable()
Returns
Type Description
UnaryCallable<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse>
Overrides

listServiceAccountsCallable()

public UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse> listServiceAccountsCallable()
Returns
Type Description
UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsResponse>
Overrides

listServiceAccountsPagedCallable()

public UnaryCallable<ListServiceAccountsRequest,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsPagedCallable()
Returns
Type Description
UnaryCallable<ListServiceAccountsRequest,ListServiceAccountsPagedResponse>
Overrides

patchServiceAccountCallable()

public UnaryCallable<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountCallable()
Returns
Type Description
UnaryCallable<PatchServiceAccountRequest,ServiceAccount>
Overrides

queryAuditableServicesCallable()

public UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesCallable()
Returns
Type Description
UnaryCallable<QueryAuditableServicesRequest,QueryAuditableServicesResponse>
Overrides

queryGrantableRolesCallable()

public UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse> queryGrantableRolesCallable()
Returns
Type Description
UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesResponse>
Overrides

queryGrantableRolesPagedCallable()

public UnaryCallable<QueryGrantableRolesRequest,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesPagedCallable()
Returns
Type Description
UnaryCallable<QueryGrantableRolesRequest,QueryGrantableRolesPagedResponse>
Overrides

queryTestablePermissionsCallable()

public UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> queryTestablePermissionsCallable()
Returns
Type Description
UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse>
Overrides

queryTestablePermissionsPagedCallable()

public UnaryCallable<QueryTestablePermissionsRequest,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsPagedCallable()
Returns
Type Description
UnaryCallable<QueryTestablePermissionsRequest,QueryTestablePermissionsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

signBlobCallable()

public UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
Returns
Type Description
UnaryCallable<SignBlobRequest,SignBlobResponse>
Overrides

signJwtCallable()

public UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
Returns
Type Description
UnaryCallable<SignJwtRequest,SignJwtResponse>
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
Type Description
UnaryCallable<UndeleteRoleRequest,Role>
Overrides

undeleteServiceAccountCallable()

public UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountCallable()
Returns
Type Description
UnaryCallable<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse>
Overrides

updateRoleCallable()

public UnaryCallable<UpdateRoleRequest,Role> updateRoleCallable()
Returns
Type Description
UnaryCallable<UpdateRoleRequest,Role>
Overrides

updateServiceAccountCallable()

public UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
Returns
Type Description
UnaryCallable<ServiceAccount,ServiceAccount>
Overrides

uploadServiceAccountKeyCallable()

public UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeyCallable()
Returns
Type Description
UnaryCallable<UploadServiceAccountKeyRequest,ServiceAccountKey>
Overrides