public sealed class CloudFtpClientImpl : CloudFtpClientReference documentation and code samples for the Cloud FTP v1 API class CloudFtpClientImpl.
CloudFtp client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Ftp.V1Assembly
Google.Cloud.Ftp.V1.dll
Remarks
Service describing handlers for resources
Constructors
CloudFtpClientImpl(CloudFtpClient, CloudFtpSettings, ILogger)
public CloudFtpClientImpl(CloudFtp.CloudFtpClient grpcClient, CloudFtpSettings settings, ILogger logger)Constructs a client wrapper for the CloudFtp service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CloudFtpCloudFtpClientThe underlying gRPC client. |
settings |
CloudFtpSettingsThe base CloudFtpSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateServerOperationsClient
public override OperationsClient CreateServerOperationsClient { get; }The long-running operations client for CreateServer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateUserOperationsClient
public override OperationsClient CreateUserOperationsClient { get; }The long-running operations client for CreateUser.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteServerOperationsClient
public override OperationsClient DeleteServerOperationsClient { get; }The long-running operations client for DeleteServer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteUserOperationsClient
public override OperationsClient DeleteUserOperationsClient { get; }The long-running operations client for DeleteUser.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override CloudFtp.CloudFtpClient GrpcClient { get; }The underlying gRPC CloudFtp client
| Property Value | |
|---|---|
| Type | Description |
CloudFtpCloudFtpClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
StartServerOperationsClient
public override OperationsClient StartServerOperationsClient { get; }The long-running operations client for StartServer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
StopServerOperationsClient
public override OperationsClient StopServerOperationsClient { get; }The long-running operations client for StopServer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateServerOperationsClient
public override OperationsClient UpdateServerOperationsClient { get; }The long-running operations client for UpdateServer.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateUserOperationsClient
public override OperationsClient UpdateUserOperationsClient { get; }The long-running operations client for UpdateUser.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateServer(CreateServerRequest, CallSettings)
public override Operation<Server, OperationMetadata> CreateServer(CreateServerRequest request, CallSettings callSettings = null)Creates a new Server in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServerOperationMetadata |
The RPC response. |
CreateServerAsync(CreateServerRequest, CallSettings)
public override Task<Operation<Server, OperationMetadata>> CreateServerAsync(CreateServerRequest request, CallSettings callSettings = null)Creates a new Server in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServerOperationMetadata |
A Task containing the RPC response. |
CreateUser(CreateUserRequest, CallSettings)
public override Operation<User, OperationMetadata> CreateUser(CreateUserRequest request, CallSettings callSettings = null)Creates a new User in a given project and location and Server.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUserOperationMetadata |
The RPC response. |
CreateUserAsync(CreateUserRequest, CallSettings)
public override Task<Operation<User, OperationMetadata>> CreateUserAsync(CreateUserRequest request, CallSettings callSettings = null)Creates a new User in a given project and location and Server.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUserOperationMetadata |
A Task containing the RPC response. |
DeleteServer(DeleteServerRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteServer(DeleteServerRequest request, CallSettings callSettings = null)Deletes a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteServerAsync(DeleteServerRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteServerAsync(DeleteServerRequest request, CallSettings callSettings = null)Deletes a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
DeleteUser(DeleteUserRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteUser(DeleteUserRequest request, CallSettings callSettings = null)Deletes a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteUserAsync(DeleteUserRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(DeleteUserRequest request, CallSettings callSettings = null)Deletes a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetServer(GetServerRequest, CallSettings)
public override Server GetServer(GetServerRequest request, CallSettings callSettings = null)Gets details of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Server |
The RPC response. |
GetServerAsync(GetServerRequest, CallSettings)
public override Task<Server> GetServerAsync(GetServerRequest request, CallSettings callSettings = null)Gets details of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskServer |
A Task containing the RPC response. |
GetUser(GetUserRequest, CallSettings)
public override User GetUser(GetUserRequest request, CallSettings callSettings = null)Gets details of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
GetUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
User |
The RPC response. |
GetUserAsync(GetUserRequest, CallSettings)
public override Task<User> GetUserAsync(GetUserRequest request, CallSettings callSettings = null)Gets details of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
GetUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUser |
A Task containing the RPC response. |
ListServers(ListServersRequest, CallSettings)
public override PagedEnumerable<ListServersResponse, Server> ListServers(ListServersRequest request, CallSettings callSettings = null)Lists Servers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListServersResponseServer |
A pageable sequence of Server resources. |
ListServersAsync(ListServersRequest, CallSettings)
public override PagedAsyncEnumerable<ListServersResponse, Server> ListServersAsync(ListServersRequest request, CallSettings callSettings = null)Lists Servers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListServersResponseServer |
A pageable asynchronous sequence of Server resources. |
ListUsers(ListUsersRequest, CallSettings)
public override PagedEnumerable<ListUsersResponse, User> ListUsers(ListUsersRequest request, CallSettings callSettings = null)Lists Users in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListUsersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListUsersResponseUser |
A pageable sequence of User resources. |
ListUsersAsync(ListUsersRequest, CallSettings)
public override PagedAsyncEnumerable<ListUsersResponse, User> ListUsersAsync(ListUsersRequest request, CallSettings callSettings = null)Lists Users in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListUsersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListUsersResponseUser |
A pageable asynchronous sequence of User resources. |
StartServer(StartServerRequest, CallSettings)
public override Operation<Server, OperationMetadata> StartServer(StartServerRequest request, CallSettings callSettings = null)Starts a stopping/stopped Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StartServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServerOperationMetadata |
The RPC response. |
StartServerAsync(StartServerRequest, CallSettings)
public override Task<Operation<Server, OperationMetadata>> StartServerAsync(StartServerRequest request, CallSettings callSettings = null)Starts a stopping/stopped Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StartServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServerOperationMetadata |
A Task containing the RPC response. |
StopServer(StopServerRequest, CallSettings)
public override Operation<Server, OperationMetadata> StopServer(StopServerRequest request, CallSettings callSettings = null)Stops an active Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StopServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServerOperationMetadata |
The RPC response. |
StopServerAsync(StopServerRequest, CallSettings)
public override Task<Operation<Server, OperationMetadata>> StopServerAsync(StopServerRequest request, CallSettings callSettings = null)Stops an active Server.
| Parameters | |
|---|---|
| Name | Description |
request |
StopServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServerOperationMetadata |
A Task containing the RPC response. |
UpdateServer(UpdateServerRequest, CallSettings)
public override Operation<Server, OperationMetadata> UpdateServer(UpdateServerRequest request, CallSettings callSettings = null)Updates the parameters of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServerOperationMetadata |
The RPC response. |
UpdateServerAsync(UpdateServerRequest, CallSettings)
public override Task<Operation<Server, OperationMetadata>> UpdateServerAsync(UpdateServerRequest request, CallSettings callSettings = null)Updates the parameters of a single Server.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServerOperationMetadata |
A Task containing the RPC response. |
UpdateUser(UpdateUserRequest, CallSettings)
public override Operation<User, OperationMetadata> UpdateUser(UpdateUserRequest request, CallSettings callSettings = null)Updates the parameters of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUserOperationMetadata |
The RPC response. |
UpdateUserAsync(UpdateUserRequest, CallSettings)
public override Task<Operation<User, OperationMetadata>> UpdateUserAsync(UpdateUserRequest request, CallSettings callSettings = null)Updates the parameters of a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUserOperationMetadata |
A Task containing the RPC response. |