Package org.yamcs.protobuf
Class IamApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-19T02:14:52.919476577Z")
public class IamApiClient
extends AbstractIamApi<Void>
Handles incoming requests related to Identity and Access Management (IAM)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
createGroup
(Void ctx, CreateGroupRequest request, Observer<GroupInfo> observer) Create a groupfinal void
createServiceAccount
(Void ctx, CreateServiceAccountRequest request, Observer<CreateServiceAccountResponse> observer) Create a service accountfinal void
createUser
(Void ctx, CreateUserRequest request, Observer<UserInfo> observer) Create a userfinal void
deleteGroup
(Void ctx, DeleteGroupRequest request, Observer<GroupInfo> observer) Delete a groupfinal void
deleteIdentity
(Void ctx, DeleteIdentityRequest request, Observer<com.google.protobuf.Empty> observer) Delete an external identityfinal void
deleteRoleAssignment
(Void ctx, DeleteRoleAssignmentRequest request, Observer<com.google.protobuf.Empty> observer) Delete a role assignmentfinal void
deleteServiceAccount
(Void ctx, DeleteServiceAccountRequest request, Observer<com.google.protobuf.Empty> observer) Delete a service accountfinal void
deleteUser
(Void ctx, DeleteUserRequest request, Observer<com.google.protobuf.Empty> observer) Delete a userfinal void
getGroup
(Void ctx, GetGroupRequest request, Observer<GroupInfo> observer) Get a groupfinal void
getOwnUser
(Void ctx, com.google.protobuf.Empty request, Observer<UserInfo> observer) Get own userfinal void
getRole
(Void ctx, GetRoleRequest request, Observer<RoleInfo> observer) Get a rolefinal void
getServiceAccount
(Void ctx, GetServiceAccountRequest request, Observer<ServiceAccountInfo> observer) Get a service accountfinal void
getUser
(Void ctx, GetUserRequest request, Observer<UserInfo> observer) Get a userfinal void
listGroups
(Void ctx, com.google.protobuf.Empty request, Observer<ListGroupsResponse> observer) List groupsfinal void
listPrivileges
(Void ctx, com.google.protobuf.Empty request, Observer<ListPrivilegesResponse> observer) List privilegesfinal void
listRoles
(Void ctx, com.google.protobuf.Empty request, Observer<ListRolesResponse> observer) List rolesfinal void
listServiceAccounts
(Void ctx, com.google.protobuf.Empty request, Observer<ListServiceAccountsResponse> observer) List service accountsfinal void
listUsers
(Void ctx, com.google.protobuf.Empty request, Observer<ListUsersResponse> observer) List usersfinal void
updateGroup
(Void ctx, UpdateGroupRequest request, Observer<GroupInfo> observer) Update a groupfinal void
updateUser
(Void ctx, UpdateUserRequest request, Observer<UserInfo> observer) Update a userMethods inherited from class org.yamcs.protobuf.AbstractIamApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
IamApiClient
-
-
Method Details
-
listPrivileges
public final void listPrivileges(Void ctx, com.google.protobuf.Empty request, Observer<ListPrivilegesResponse> observer) List privileges
- Specified by:
listPrivileges
in classAbstractIamApi<Void>
-
listRoles
public final void listRoles(Void ctx, com.google.protobuf.Empty request, Observer<ListRolesResponse> observer) List roles
- Specified by:
listRoles
in classAbstractIamApi<Void>
-
getRole
Get a role
- Specified by:
getRole
in classAbstractIamApi<Void>
-
deleteRoleAssignment
public final void deleteRoleAssignment(Void ctx, DeleteRoleAssignmentRequest request, Observer<com.google.protobuf.Empty> observer) Delete a role assignment
- Specified by:
deleteRoleAssignment
in classAbstractIamApi<Void>
-
listUsers
public final void listUsers(Void ctx, com.google.protobuf.Empty request, Observer<ListUsersResponse> observer) List users
- Specified by:
listUsers
in classAbstractIamApi<Void>
-
getUser
Get a user
- Specified by:
getUser
in classAbstractIamApi<Void>
-
createUser
Create a user
- Specified by:
createUser
in classAbstractIamApi<Void>
-
updateUser
Update a user
- Specified by:
updateUser
in classAbstractIamApi<Void>
-
getOwnUser
public final void getOwnUser(Void ctx, com.google.protobuf.Empty request, Observer<UserInfo> observer) Get own user
- Specified by:
getOwnUser
in classAbstractIamApi<Void>
-
deleteUser
public final void deleteUser(Void ctx, DeleteUserRequest request, Observer<com.google.protobuf.Empty> observer) Delete a user
- Specified by:
deleteUser
in classAbstractIamApi<Void>
-
deleteIdentity
public final void deleteIdentity(Void ctx, DeleteIdentityRequest request, Observer<com.google.protobuf.Empty> observer) Delete an external identity
- Specified by:
deleteIdentity
in classAbstractIamApi<Void>
-
listGroups
public final void listGroups(Void ctx, com.google.protobuf.Empty request, Observer<ListGroupsResponse> observer) List groups
- Specified by:
listGroups
in classAbstractIamApi<Void>
-
getGroup
Get a group
- Specified by:
getGroup
in classAbstractIamApi<Void>
-
createGroup
Create a group
- Specified by:
createGroup
in classAbstractIamApi<Void>
-
updateGroup
Update a group
- Specified by:
updateGroup
in classAbstractIamApi<Void>
-
deleteGroup
Delete a group
- Specified by:
deleteGroup
in classAbstractIamApi<Void>
-
listServiceAccounts
public final void listServiceAccounts(Void ctx, com.google.protobuf.Empty request, Observer<ListServiceAccountsResponse> observer) List service accounts
- Specified by:
listServiceAccounts
in classAbstractIamApi<Void>
-
getServiceAccount
public final void getServiceAccount(Void ctx, GetServiceAccountRequest request, Observer<ServiceAccountInfo> observer) Get a service account
- Specified by:
getServiceAccount
in classAbstractIamApi<Void>
-
deleteServiceAccount
public final void deleteServiceAccount(Void ctx, DeleteServiceAccountRequest request, Observer<com.google.protobuf.Empty> observer) Delete a service account
- Specified by:
deleteServiceAccount
in classAbstractIamApi<Void>
-
createServiceAccount
public final void createServiceAccount(Void ctx, CreateServiceAccountRequest request, Observer<CreateServiceAccountResponse> observer) Create a service account
- Specified by:
createServiceAccount
in classAbstractIamApi<Void>
-