public static interface CloudFilestoreManagerGrpc.AsyncService
Configures and manages Filestore resources.
Filestore Manager v1.
The `file.googleapis.com` service implements the Filestore API and
defines the following resource model for managing instances:
* The service works with a collection of cloud projects, named: `/projects/*`
* Each project has a collection of available locations, named: `/locations/*`
* Each location has a collection of instances and backups, named:
`/instances/*` and `/backups/*` respectively.
* As such, Filestore instances are resources of the form:
`/projects/{project_number}/locations/{location_id}/instances/{instance_id}`
and backups are resources of the form:
`/projects/{project_number}/locations/{location_id}/backup/{backup_id}`
Note that location_id must be a Google Cloud `zone` for instances, but
a Google Cloud `region` for backups; for example:
* `projects/12345/locations/us-central1-c/instances/my-filestore`
* `projects/12345/locations/us-central1/backups/my-backup`
| Modifier and Type | Method and Description |
|---|---|
default void |
createBackup(CreateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a backup.
|
default void |
createInstance(CreateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an instance.
|
default void |
createSnapshot(CreateSnapshotRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a snapshot.
|
default void |
deleteBackup(DeleteBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a backup.
|
default void |
deleteInstance(DeleteInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an instance.
|
default void |
deleteSnapshot(DeleteSnapshotRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a snapshot.
|
default void |
getBackup(GetBackupRequest request,
io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
|
default void |
getInstance(GetInstanceRequest request,
io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
|
default void |
getSnapshot(GetSnapshotRequest request,
io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Gets the details of a specific snapshot.
|
default void |
listBackups(ListBackupsRequest request,
io.grpc.stub.StreamObserver<ListBackupsResponse> responseObserver)
Lists all backups in a project for either a specified location or for all
locations.
|
default void |
listInstances(ListInstancesRequest request,
io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists all instances in a project for either a specified location
or for all locations.
|
default void |
listSnapshots(ListSnapshotsRequest request,
io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots in a project for either a specified location
or for all locations.
|
default void |
restoreInstance(RestoreInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restores an existing instance's file share from a backup.
|
default void |
revertInstance(RevertInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Revert an existing instance's file system to a specified snapshot.
|
default void |
updateBackup(UpdateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific backup.
|
default void |
updateInstance(UpdateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific instance.
|
default void |
updateSnapshot(UpdateSnapshotRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific snapshot.
|
default void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists all instances in a project for either a specified location or for all locations.
default void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
default void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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).
default void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific instance.
default void restoreInstance(RestoreInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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).
default void revertInstance(RevertInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Revert an existing instance's file system to a specified snapshot.
default void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an instance.
default void listSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots in a project for either a specified location or for all locations.
default void getSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Gets the details of a specific snapshot.
default void createSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a snapshot.
default void deleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a snapshot.
default void updateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific snapshot.
default void listBackups(ListBackupsRequest request, io.grpc.stub.StreamObserver<ListBackupsResponse> responseObserver)
Lists all backups in a project for either a specified location or for all locations.
default void getBackup(GetBackupRequest request, io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
default void createBackup(CreateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a backup.
default void deleteBackup(DeleteBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a backup.
default void updateBackup(UpdateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific backup.
Copyright © 2024 Google LLC. All rights reserved.