Cloud FTP v1 API - Class CloudFtp.CloudFtpBase (1.0.0-beta01)

[BindServiceMethod(typeof(CloudFtp), "BindService")]
public abstract class CloudFtp.CloudFtpBase

Reference documentation and code samples for the Cloud FTP v1 API class CloudFtp.CloudFtpBase.

Base class for server-side implementations of CloudFtp

Inheritance

object > CloudFtp.CloudFtpBase

Namespace

Google.Cloud.Ftp.V1

Assembly

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 CreateServerRequest

The request received from the client.

context ServerCallContext

The 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 CreateUserRequest

The request received from the client.

context ServerCallContext

The 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 DeleteServerRequest

The request received from the client.

context ServerCallContext

The 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 DeleteUserRequest

The request received from the client.

context ServerCallContext

The 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 GetServerRequest

The request received from the client.

context ServerCallContext

The 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 GetUserRequest

The request received from the client.

context ServerCallContext

The 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 ListServersRequest

The request received from the client.

context ServerCallContext

The 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 ListUsersRequest

The request received from the client.

context ServerCallContext

The 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 StartServerRequest

The request received from the client.

context ServerCallContext

The 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 StopServerRequest

The request received from the client.

context ServerCallContext

The 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 UpdateServerRequest

The request received from the client.

context ServerCallContext

The 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 UpdateUserRequest

The request received from the client.

context ServerCallContext

The 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).