public static interface UserServiceGrpc.AsyncService
Service to support user API.
Methods
createUser(CreateUserRequest request, StreamObserver<User> responseObserver)
public default void createUser(CreateUserRequest request, StreamObserver<User> responseObserver)
Creates a Merchant Center account user. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
CreateUserRequest |
responseObserver |
io.grpc.stub.StreamObserver<User> |
deleteUser(DeleteUserRequest request, StreamObserver<Empty> responseObserver)
public default void deleteUser(DeleteUserRequest request, StreamObserver<Empty> responseObserver)
Deletes a Merchant Center account user. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
DeleteUserRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getUser(GetUserRequest request, StreamObserver<User> responseObserver)
public default void getUser(GetUserRequest request, StreamObserver<User> responseObserver)
Retrieves a Merchant Center account user.
Parameters | |
---|---|
Name | Description |
request |
GetUserRequest |
responseObserver |
io.grpc.stub.StreamObserver<User> |
listUsers(ListUsersRequest request, StreamObserver<ListUsersResponse> responseObserver)
public default void listUsers(ListUsersRequest request, StreamObserver<ListUsersResponse> responseObserver)
Lists all users of a Merchant Center account.
Parameters | |
---|---|
Name | Description |
request |
ListUsersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListUsersResponse> |
updateUser(UpdateUserRequest request, StreamObserver<User> responseObserver)
public default void updateUser(UpdateUserRequest request, StreamObserver<User> responseObserver)
Updates a Merchant Center account user. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
UpdateUserRequest |
responseObserver |
io.grpc.stub.StreamObserver<User> |