Cloud Filestore v1 API - Class CloudFilestoreManager.CloudFilestoreManagerBase (2.5.0)

[BindServiceMethod(typeof(CloudFilestoreManager), "BindService")]
public abstract class CloudFilestoreManager.CloudFilestoreManagerBase

Reference documentation and code samples for the Cloud Filestore v1 API class CloudFilestoreManager.CloudFilestoreManagerBase.

Base class for server-side implementations of CloudFilestoreManager

Inheritance

object > CloudFilestoreManager.CloudFilestoreManagerBase

Namespace

Google.Cloud.Filestore.V1

Assembly

Google.Cloud.Filestore.V1.dll

Methods

CreateBackup(CreateBackupRequest, ServerCallContext)

public virtual Task<Operation> CreateBackup(CreateBackupRequest request, ServerCallContext context)

Creates a backup.

Parameters
Name Description
request CreateBackupRequest

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

CreateInstance(CreateInstanceRequest, ServerCallContext)

public virtual Task<Operation> CreateInstance(CreateInstanceRequest request, ServerCallContext context)

Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

Parameters
Name Description
request CreateInstanceRequest

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

CreateSnapshot(CreateSnapshotRequest, ServerCallContext)

public virtual Task<Operation> CreateSnapshot(CreateSnapshotRequest request, ServerCallContext context)

Creates a snapshot.

Parameters
Name Description
request CreateSnapshotRequest

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

DeleteBackup(DeleteBackupRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)

Deletes a backup.

Parameters
Name Description
request DeleteBackupRequest

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

DeleteInstance(DeleteInstanceRequest, ServerCallContext)

public virtual Task<Operation> DeleteInstance(DeleteInstanceRequest request, ServerCallContext context)

Deletes an instance.

Parameters
Name Description
request DeleteInstanceRequest

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

DeleteSnapshot(DeleteSnapshotRequest, ServerCallContext)

public virtual Task<Operation> DeleteSnapshot(DeleteSnapshotRequest request, ServerCallContext context)

Deletes a snapshot.

Parameters
Name Description
request DeleteSnapshotRequest

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

GetBackup(GetBackupRequest, ServerCallContext)

public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)

Gets the details of a specific backup.

Parameters
Name Description
request GetBackupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBackup

The response to send back to the client (wrapped by a task).

GetInstance(GetInstanceRequest, ServerCallContext)

public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)

Gets the details of a specific instance.

Parameters
Name Description
request GetInstanceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstance

The response to send back to the client (wrapped by a task).

GetSnapshot(GetSnapshotRequest, ServerCallContext)

public virtual Task<Snapshot> GetSnapshot(GetSnapshotRequest request, ServerCallContext context)

Gets the details of a specific snapshot.

Parameters
Name Description
request GetSnapshotRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSnapshot

The response to send back to the client (wrapped by a task).

ListBackups(ListBackupsRequest, ServerCallContext)

public virtual Task<ListBackupsResponse> ListBackups(ListBackupsRequest request, ServerCallContext context)

Lists all backups in a project for either a specified location or for all locations.

Parameters
Name Description
request ListBackupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListBackupsResponse

The response to send back to the client (wrapped by a task).

ListInstances(ListInstancesRequest, ServerCallContext)

public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)

Lists all instances in a project for either a specified location or for all locations.

Parameters
Name Description
request ListInstancesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListInstancesResponse

The response to send back to the client (wrapped by a task).

ListSnapshots(ListSnapshotsRequest, ServerCallContext)

public virtual Task<ListSnapshotsResponse> ListSnapshots(ListSnapshotsRequest request, ServerCallContext context)

Lists all snapshots in a project for either a specified location or for all locations.

Parameters
Name Description
request ListSnapshotsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSnapshotsResponse

The response to send back to the client (wrapped by a task).

RestoreInstance(RestoreInstanceRequest, ServerCallContext)

public virtual Task<Operation> RestoreInstance(RestoreInstanceRequest request, ServerCallContext context)

Restores an existing instance's file share from a backup.

The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

Parameters
Name Description
request RestoreInstanceRequest

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

RevertInstance(RevertInstanceRequest, ServerCallContext)

public virtual Task<Operation> RevertInstance(RevertInstanceRequest request, ServerCallContext context)

Revert an existing instance's file system to a specified snapshot.

Parameters
Name Description
request RevertInstanceRequest

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

UpdateBackup(UpdateBackupRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)

Updates the settings of a specific backup.

Parameters
Name Description
request UpdateBackupRequest

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

UpdateInstance(UpdateInstanceRequest, ServerCallContext)

public virtual Task<Operation> UpdateInstance(UpdateInstanceRequest request, ServerCallContext context)

Updates the settings of a specific instance.

Parameters
Name Description
request UpdateInstanceRequest

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

UpdateSnapshot(UpdateSnapshotRequest, ServerCallContext)

public virtual Task<Operation> UpdateSnapshot(UpdateSnapshotRequest request, ServerCallContext context)

Updates the settings of a specific snapshot.

Parameters
Name Description
request UpdateSnapshotRequest

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