public abstract static class CloudFilestoreManagerGrpc.CloudFilestoreManagerImplBase extends Object implements io.grpc.BindableService
Configures and manages Cloud Filestore resources.
Cloud Filestore Manager v1beta1.
The `file.googleapis.com` service implements the Cloud Filestore API and
defines the following model for managing resources:
* 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_id}/locations/{location_id}/instances/{instance_id}`
backups are resources of the form:
`/projects/{project_id}/locations/{location_id}/backup/{backup_id}`
Note that location_id can represent a GCP `zone` or `region` depending on the
resource.
for example:
A zonal Filestore instance:
* `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer`
A regional Filestore instance:
* `projects/my-project/locations/us-central1/instances/my-enterprise-filer`
| Constructor and Description |
|---|
CloudFilestoreManagerImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
createBackup(CreateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a backup.
|
void |
createInstance(CreateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an instance.
|
void |
deleteBackup(DeleteBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a backup.
|
void |
deleteInstance(DeleteInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an instance.
|
void |
getBackup(GetBackupRequest request,
io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
|
void |
getInstance(GetInstanceRequest request,
io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
|
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.
|
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.
|
void |
restoreInstance(RestoreInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restores an existing instance's file share from a backup.
|
void |
updateBackup(UpdateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific backup.
|
void |
updateInstance(UpdateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific instance.
|
public 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.
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
public 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).
public void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific instance.
public 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).
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an instance.
public 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.
public void getBackup(GetBackupRequest request, io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
public void createBackup(CreateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a backup.
public void deleteBackup(DeleteBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a backup.
public void updateBackup(UpdateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific backup.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022 Google LLC. All rights reserved.