public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub extends io.grpc.stub.AbstractFutureStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub>
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 |
|---|---|
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createBackup(CreateBackupRequest request)
Creates a backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createInstance(CreateInstanceRequest request)
Creates an instance.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createSnapshot(CreateSnapshotRequest request)
Creates a snapshot.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteBackup(DeleteBackupRequest request)
Deletes a backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteInstance(DeleteInstanceRequest request)
Deletes an instance.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteSnapshot(DeleteSnapshotRequest request)
Deletes a snapshot.
|
com.google.common.util.concurrent.ListenableFuture<Backup> |
getBackup(GetBackupRequest request)
Gets the details of a specific backup.
|
com.google.common.util.concurrent.ListenableFuture<Instance> |
getInstance(GetInstanceRequest request)
Gets the details of a specific instance.
|
com.google.common.util.concurrent.ListenableFuture<Snapshot> |
getSnapshot(GetSnapshotRequest request)
Gets the details of a specific snapshot.
|
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> |
listBackups(ListBackupsRequest request)
Lists all backups in a project for either a specified location or for all
locations.
|
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> |
listInstances(ListInstancesRequest request)
Lists all instances in a project for either a specified location
or for all locations.
|
com.google.common.util.concurrent.ListenableFuture<ListSnapshotsResponse> |
listSnapshots(ListSnapshotsRequest request)
Lists all snapshots in a project for either a specified location
or for all locations.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
restoreInstance(RestoreInstanceRequest request)
Restores an existing instance's file share from a backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
revertInstance(RevertInstanceRequest request)
Revert an existing instance's file system to a specified snapshot.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateBackup(UpdateBackupRequest request)
Updates the settings of a specific backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateInstance(UpdateInstanceRequest request)
Updates the settings of a specific instance.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateSnapshot(UpdateSnapshotRequest request)
Updates the settings of a specific snapshot.
|
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub>public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists all instances in a project for either a specified location or for all locations.
public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets the details of a specific instance.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createInstance(CreateInstanceRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateInstance(UpdateInstanceRequest request)
Updates the settings of a specific instance.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> restoreInstance(RestoreInstanceRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> revertInstance(RevertInstanceRequest request)
Revert an existing instance's file system to a specified snapshot.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteInstance(DeleteInstanceRequest request)
Deletes an instance.
public com.google.common.util.concurrent.ListenableFuture<ListSnapshotsResponse> listSnapshots(ListSnapshotsRequest request)
Lists all snapshots in a project for either a specified location or for all locations.
public com.google.common.util.concurrent.ListenableFuture<Snapshot> getSnapshot(GetSnapshotRequest request)
Gets the details of a specific snapshot.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createSnapshot(CreateSnapshotRequest request)
Creates a snapshot.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteSnapshot(DeleteSnapshotRequest request)
Deletes a snapshot.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateSnapshot(UpdateSnapshotRequest request)
Updates the settings of a specific snapshot.
public com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists all backups in a project for either a specified location or for all locations.
public com.google.common.util.concurrent.ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets the details of a specific backup.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createBackup(CreateBackupRequest request)
Creates a backup.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteBackup(DeleteBackupRequest request)
Deletes a backup.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateBackup(UpdateBackupRequest request)
Updates the settings of a specific backup.
Copyright © 2024 Google LLC. All rights reserved.