Class GrpcIAMStub (3.11.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcIAMStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcIAMStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcIAMStub
Exceptions
TypeDescription
IOException

create(IAMStubSettings settings)

public static final GrpcIAMStub create(IAMStubSettings settings)
Parameter
NameDescription
settingsIAMStubSettings
Returns
TypeDescription
GrpcIAMStub
Exceptions
TypeDescription
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
NameDescription
settingsIAMStubSettings
clientContextClientContext

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
NameDescription
settingsIAMStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createRoleCallable()

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

createServiceAccountCallable()

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

createServiceAccountKeyCallable()

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

deleteRoleCallable()

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

deleteServiceAccountCallable()

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

deleteServiceAccountKeyCallable()

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

disableServiceAccountCallable()

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

disableServiceAccountKeyCallable()

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

enableServiceAccountCallable()

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

enableServiceAccountKeyCallable()

public UnaryCallable<EnableServiceAccountKeyRequest,Empty> enableServiceAccountKeyCallable()
Returns
TypeDescription
UnaryCallable<EnableServiceAccountKeyRequest,Empty>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getRoleCallable()

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

getServiceAccountCallable()

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

getServiceAccountKeyCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

lintPolicyCallable()

public UnaryCallable<LintPolicyRequest,LintPolicyResponse> lintPolicyCallable()
Returns
TypeDescription
UnaryCallable<LintPolicyRequest,LintPolicyResponse>
Overrides

listRolesCallable()

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

listRolesPagedCallable()

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

listServiceAccountKeysCallable()

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

listServiceAccountsCallable()

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

listServiceAccountsPagedCallable()

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

patchServiceAccountCallable()

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

queryAuditableServicesCallable()

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

queryGrantableRolesCallable()

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

queryGrantableRolesPagedCallable()

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

queryTestablePermissionsCallable()

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

queryTestablePermissionsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<SignBlobRequest,SignBlobResponse>
Overrides

signJwtCallable()

public UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
Returns
TypeDescription
UnaryCallable<SignJwtRequest,SignJwtResponse>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeleteRoleCallable()

public UnaryCallable<UndeleteRoleRequest,Role> undeleteRoleCallable()
Returns
TypeDescription
UnaryCallable<UndeleteRoleRequest,Role>
Overrides

undeleteServiceAccountCallable()

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

updateRoleCallable()

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

updateServiceAccountCallable()

public UnaryCallable<ServiceAccount,ServiceAccount> updateServiceAccountCallable()
Returns
TypeDescription
UnaryCallable<ServiceAccount,ServiceAccount>
Overrides

uploadServiceAccountKeyCallable()

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