file
import { file } from "https://googleapis.deno.dev/v1/file:v1.ts";
The Cloud Filestore API is used for creating and managing cloud file servers.
§Methods
Creates a backup.
Required. The backup's project and location, in the format projects/{project_number}/locations/{location}
. In Filestore, backup locations map to Google Cloud regions, for example us-west1.
Lists all backups in a project for either a specified location or for all locations.
Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}
. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location}
value.
Updates the settings of a specific backup.
Output only. The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
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).
Required. The instance's project and location, in the format projects/{project_id}/locations/{location}
. In Filestore, locations map to Google Cloud zones, for example us-west1-b.
Deletes an instance.
Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}
Lists all instances in a project for either a specified location or for all locations.
Required. The project and location for which to retrieve instance information, in the format projects/{project_id}/locations/{location}
. In Cloud Filestore, locations map to Google Cloud zones, for example us-west1-b. To retrieve instance information for all locations, use "-" for the {location}
value.
Updates the settings of a specific instance.
Output only. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}
.
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).
Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
Revert an existing instance's file system to a specified snapshot.
Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
Creates a snapshot.
Required. The Filestore Instance to create the snapshots of, in the format projects/{project_id}/locations/{location}/instances/{instance_id}
Lists all snapshots in a project for either a specified location or for all locations.
Required. The instance for which to retrieve snapshot information, in the format projects/{project_id}/locations/{location}/instances/{instance_id}
.
Updates the settings of a specific snapshot.
Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.