- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.0
public abstract static class CloudFilestoreManagerGrpc.CloudFilestoreManagerImplBase implements BindableService
Configures and manages Cloud Filestore resources.
Cloud Filestore Manager v1.
The file.googleapis.com
service implements the Cloud 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, Cloud 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 GCPzone
for instances and but to a GCPregion
for backups; for example: projects/12345/locations/us-central1-c/instances/my-filestore
projects/12345/locations/us-central1/backups/my-backup
Implements
io.grpc.BindableServiceConstructors
CloudFilestoreManagerImplBase()
public CloudFilestoreManagerImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
Creates a backup.
Name | Description |
request | CreateBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<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).
Name | Description |
request | CreateInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
Deletes a backup.
Name | Description |
request | DeleteBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes an instance.
Name | Description |
request | DeleteInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
Name | Description |
request | GetBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Backup> |
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
Name | Description |
request | GetInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Instance> |
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists all backups in a project for either a specified location or for all locations.
Name | Description |
request | ListBackupsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListBackupsResponse> |
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists all instances in a project for either a specified location or for all locations.
Name | Description |
request | ListInstancesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListInstancesResponse> |
restoreInstance(RestoreInstanceRequest request, StreamObserver<Operation> responseObserver)
public void restoreInstance(RestoreInstanceRequest request, StreamObserver<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).
Name | Description |
request | RestoreInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific backup.
Name | Description |
request | UpdateBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific instance.
Name | Description |
request | UpdateInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |