public static final class UserListServiceGrpc.UserListServiceBlockingV2Stub extends AbstractBlockingStub<UserListServiceGrpc.UserListServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service UserListService.
Service for managing UserList resources.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > UserListServiceGrpc.UserListServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected UserListServiceGrpc.UserListServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
UserListServiceGrpc.UserListServiceBlockingV2Stub |
|
createUserList(CreateUserListRequest request)
public UserList createUserList(CreateUserListRequest request)Creates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameter | |
|---|---|
| Name | Description |
request |
CreateUserListRequest |
| Returns | |
|---|---|
| Type | Description |
UserList |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteUserList(DeleteUserListRequest request)
public Empty deleteUserList(DeleteUserListRequest request)Deletes a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteUserListRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getUserList(GetUserListRequest request)
public UserList getUserList(GetUserListRequest request)Gets a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameter | |
|---|---|
| Name | Description |
request |
GetUserListRequest |
| Returns | |
|---|---|
| Type | Description |
UserList |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listUserLists(ListUserListsRequest request)
public ListUserListsResponse listUserLists(ListUserListsRequest request)Lists UserLists. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameter | |
|---|---|
| Name | Description |
request |
ListUserListsRequest |
| Returns | |
|---|---|
| Type | Description |
ListUserListsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateUserList(UpdateUserListRequest request)
public UserList updateUserList(UpdateUserListRequest request)Updates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateUserListRequest |
| Returns | |
|---|---|
| Type | Description |
UserList |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|