public final class IAMGrpc
Creates and manages Identity and Access Management (IAM) resources.
You can use this service to work with all of the following resources:
- Service accounts, which identify an application or a virtual machine
(VM) instance rather than a person
- Service account keys, which service accounts use to authenticate with
Google APIs
- IAM policies for service accounts, which specify the roles that a
member has for the service account
- IAM custom roles, which help you limit the number of permissions that
you grant to members
In addition, you can use this service to complete the following tasks, among
others:
- Test whether a service account can use specific permissions
- Check which roles you can grant for a specific resource
- Lint, or validate, condition expressions in an IAM policy
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getCreateRoleMethod()
public static MethodDescriptor<CreateRoleRequest,Role> getCreateRoleMethod()
Returns
getCreateServiceAccountKeyMethod()
public static MethodDescriptor<CreateServiceAccountKeyRequest,ServiceAccountKey> getCreateServiceAccountKeyMethod()
Returns
getCreateServiceAccountMethod()
public static MethodDescriptor<CreateServiceAccountRequest,ServiceAccount> getCreateServiceAccountMethod()
Returns
getDeleteRoleMethod()
public static MethodDescriptor<DeleteRoleRequest,Role> getDeleteRoleMethod()
Returns
getDeleteServiceAccountKeyMethod()
public static MethodDescriptor<DeleteServiceAccountKeyRequest,Empty> getDeleteServiceAccountKeyMethod()
Returns
getDeleteServiceAccountMethod()
public static MethodDescriptor<DeleteServiceAccountRequest,Empty> getDeleteServiceAccountMethod()
Returns
getDisableServiceAccountMethod()
public static MethodDescriptor<DisableServiceAccountRequest,Empty> getDisableServiceAccountMethod()
Returns
getEnableServiceAccountMethod()
public static MethodDescriptor<EnableServiceAccountRequest,Empty> getEnableServiceAccountMethod()
Returns
getGetIamPolicyMethod()
public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
Type | Description |
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
getGetRoleMethod()
public static MethodDescriptor<GetRoleRequest,Role> getGetRoleMethod()
Returns
getGetServiceAccountKeyMethod()
public static MethodDescriptor<GetServiceAccountKeyRequest,ServiceAccountKey> getGetServiceAccountKeyMethod()
Returns
getGetServiceAccountMethod()
public static MethodDescriptor<GetServiceAccountRequest,ServiceAccount> getGetServiceAccountMethod()
Returns
getLintPolicyMethod()
public static MethodDescriptor<LintPolicyRequest,LintPolicyResponse> getLintPolicyMethod()
Returns
getListRolesMethod()
public static MethodDescriptor<ListRolesRequest,ListRolesResponse> getListRolesMethod()
Returns
getListServiceAccountKeysMethod()
public static MethodDescriptor<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> getListServiceAccountKeysMethod()
Returns
getListServiceAccountsMethod()
public static MethodDescriptor<ListServiceAccountsRequest,ListServiceAccountsResponse> getListServiceAccountsMethod()
Returns
getPatchServiceAccountMethod()
public static MethodDescriptor<PatchServiceAccountRequest,ServiceAccount> getPatchServiceAccountMethod()
Returns
getQueryAuditableServicesMethod()
public static MethodDescriptor<QueryAuditableServicesRequest,QueryAuditableServicesResponse> getQueryAuditableServicesMethod()
Returns
getQueryGrantableRolesMethod()
public static MethodDescriptor<QueryGrantableRolesRequest,QueryGrantableRolesResponse> getQueryGrantableRolesMethod()
Returns
getQueryTestablePermissionsMethod()
public static MethodDescriptor<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse> getQueryTestablePermissionsMethod()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns
Type | Description |
io.grpc.ServiceDescriptor | |
getSetIamPolicyMethod()
public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
Type | Description |
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
getSignBlobMethod()
public static MethodDescriptor<SignBlobRequest,SignBlobResponse> getSignBlobMethod()
Returns
getSignJwtMethod()
public static MethodDescriptor<SignJwtRequest,SignJwtResponse> getSignJwtMethod()
Returns
getTestIamPermissionsMethod()
public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
Type | Description |
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
getUndeleteRoleMethod()
public static MethodDescriptor<UndeleteRoleRequest,Role> getUndeleteRoleMethod()
Returns
getUndeleteServiceAccountMethod()
public static MethodDescriptor<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> getUndeleteServiceAccountMethod()
Returns
getUpdateRoleMethod()
public static MethodDescriptor<UpdateRoleRequest,Role> getUpdateRoleMethod()
Returns
getUpdateServiceAccountMethod()
public static MethodDescriptor<ServiceAccount,ServiceAccount> getUpdateServiceAccountMethod()
Returns
getUploadServiceAccountKeyMethod()
public static MethodDescriptor<UploadServiceAccountKeyRequest,ServiceAccountKey> getUploadServiceAccountKeyMethod()
Returns
newBlockingStub(Channel channel)
public static IAMGrpc.IAMBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newFutureStub(Channel channel)
public static IAMGrpc.IAMFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newStub(Channel channel)
public static IAMGrpc.IAMStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns