[BindServiceMethod(typeof(CloudFilestoreManager), "BindService")]
public abstract class CloudFilestoreManager.CloudFilestoreManagerBaseReference documentation and code samples for the Cloud Filestore v1 API class CloudFilestoreManager.CloudFilestoreManagerBase.
Base class for server-side implementations of CloudFilestoreManager
Namespace
Google.Cloud.Filestore.V1Assembly
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 |
CreateBackupRequestThe 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). |
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 |
CreateInstanceRequestThe 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). |
CreateSnapshot(CreateSnapshotRequest, ServerCallContext)
public virtual Task<Operation> CreateSnapshot(CreateSnapshotRequest request, ServerCallContext context)Creates a snapshot.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSnapshotRequestThe 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). |
DeleteBackup(DeleteBackupRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)Deletes a backup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupRequestThe 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). |
DeleteInstance(DeleteInstanceRequest, ServerCallContext)
public virtual Task<Operation> DeleteInstance(DeleteInstanceRequest request, ServerCallContext context)Deletes an instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstanceRequestThe 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). |
DeleteSnapshot(DeleteSnapshotRequest, ServerCallContext)
public virtual Task<Operation> DeleteSnapshot(DeleteSnapshotRequest request, ServerCallContext context)Deletes a snapshot.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSnapshotRequestThe 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). |
GetBackup(GetBackupRequest, ServerCallContext)
public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)Gets the details of a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetInstanceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetSnapshotRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListBackupsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListInstancesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListSnapshotsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
PromoteReplica(PromoteReplicaRequest, ServerCallContext)
public virtual Task<Operation> PromoteReplica(PromoteReplicaRequest request, ServerCallContext context)Promote the standby instance (replica).
| Parameters | |
|---|---|
| Name | Description |
request |
PromoteReplicaRequestThe 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). |
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 |
RestoreInstanceRequestThe 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). |
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 |
RevertInstanceRequestThe 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). |
UpdateBackup(UpdateBackupRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)Updates the settings of a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupRequestThe 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). |
UpdateInstance(UpdateInstanceRequest, ServerCallContext)
public virtual Task<Operation> UpdateInstance(UpdateInstanceRequest request, ServerCallContext context)Updates the settings of a specific instance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateInstanceRequestThe 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). |
UpdateSnapshot(UpdateSnapshotRequest, ServerCallContext)
public virtual Task<Operation> UpdateSnapshot(UpdateSnapshotRequest request, ServerCallContext context)Updates the settings of a specific snapshot.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSnapshotRequestThe 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). |