[BindServiceMethod(typeof(CloudFtp), "BindService")]
public abstract class CloudFtp.CloudFtpBaseReference documentation and code samples for the Cloud FTP v1 API class CloudFtp.CloudFtpBase.
Base class for server-side implementations of CloudFtp
Namespace
Google.Cloud.Ftp.V1Assembly
Google.Cloud.Ftp.V1.dll
Methods
CreateServer(CreateServerRequest, ServerCallContext)
public virtual Task<Operation> CreateServer(CreateServerRequest request, ServerCallContext context)Creates a new Server in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateUser(CreateUserRequest, ServerCallContext)
public virtual Task<Operation> CreateUser(CreateUserRequest request, ServerCallContext context)Creates a new User in a given project and location and Server.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateUserRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteServer(DeleteServerRequest, ServerCallContext)
public virtual Task<Operation> DeleteServer(DeleteServerRequest request, ServerCallContext context)Deletes a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteUser(DeleteUserRequest, ServerCallContext)
public virtual Task<Operation> DeleteUser(DeleteUserRequest request, ServerCallContext context)Deletes a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteUserRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetServer(GetServerRequest, ServerCallContext)
public virtual Task<Server> GetServer(GetServerRequest request, ServerCallContext context)Gets details of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskServer |
The response to send back to the client (wrapped by a task). |
GetUser(GetUserRequest, ServerCallContext)
public virtual Task<User> GetUser(GetUserRequest request, ServerCallContext context)Gets details of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
GetUserRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskUser |
The response to send back to the client (wrapped by a task). |
ListServers(ListServersRequest, ServerCallContext)
public virtual Task<ListServersResponse> ListServers(ListServersRequest request, ServerCallContext context)Lists Servers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListServersResponse |
The response to send back to the client (wrapped by a task). |
ListUsers(ListUsersRequest, ServerCallContext)
public virtual Task<ListUsersResponse> ListUsers(ListUsersRequest request, ServerCallContext context)Lists Users in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListUsersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListUsersResponse |
The response to send back to the client (wrapped by a task). |
StartServer(StartServerRequest, ServerCallContext)
public virtual Task<Operation> StartServer(StartServerRequest request, ServerCallContext context)Starts a stopping/stopped Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StartServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
StopServer(StopServerRequest, ServerCallContext)
public virtual Task<Operation> StopServer(StopServerRequest request, ServerCallContext context)Stops an active Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StopServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateServer(UpdateServerRequest, ServerCallContext)
public virtual Task<Operation> UpdateServer(UpdateServerRequest request, ServerCallContext context)Updates the parameters of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateUser(UpdateUserRequest, ServerCallContext)
public virtual Task<Operation> UpdateUser(UpdateUserRequest request, ServerCallContext context)Updates the parameters of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateUserRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |