Package com.google.cloud.filestore.v1
Class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
com.google.cloud.filestore.v1.CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
- Enclosing class:
- CloudFilestoreManagerGrpc
public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
extends io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service CloudFilestoreManager.
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`
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createBackup(CreateBackupRequest request) Creates a backup.createInstance(CreateInstanceRequest request) Creates an instance.createSnapshot(CreateSnapshotRequest request) Creates a snapshot.deleteBackup(DeleteBackupRequest request) Deletes a backup.deleteInstance(DeleteInstanceRequest request) Deletes an instance.deleteSnapshot(DeleteSnapshotRequest request) Deletes a snapshot.getBackup(GetBackupRequest request) Gets the details of a specific backup.getInstance(GetInstanceRequest request) Gets the details of a specific instance.getSnapshot(GetSnapshotRequest request) Gets the details of a specific snapshot.listBackups(ListBackupsRequest request) Lists all backups in a project for either a specified location or for all locations.listInstances(ListInstancesRequest request) Lists all instances in a project for either a specified location or for all locations.listSnapshots(ListSnapshotsRequest request) Lists all snapshots in a project for either a specified location or for all locations.promoteReplica(PromoteReplicaRequest request) Promote the standby instance (replica).restoreInstance(RestoreInstanceRequest request) Restores an existing instance's file share from a backup.revertInstance(RevertInstanceRequest request) Revert an existing instance's file system to a specified snapshot.updateBackup(UpdateBackupRequest request) Updates the settings of a specific backup.updateInstance(UpdateInstanceRequest request) Updates the settings of a specific instance.updateSnapshot(UpdateSnapshotRequest request) Updates the settings of a specific snapshot.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
-
listInstances
Lists all instances in a project for either a specified location or for all locations.
-
getInstance
Gets the details of a specific instance.
-
createInstance
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).
-
updateInstance
Updates the settings of a specific instance.
-
restoreInstance
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).
-
revertInstance
Revert an existing instance's file system to a specified snapshot.
-
deleteInstance
Deletes an instance.
-
listSnapshots
Lists all snapshots in a project for either a specified location or for all locations.
-
getSnapshot
Gets the details of a specific snapshot.
-
createSnapshot
Creates a snapshot.
-
deleteSnapshot
Deletes a snapshot.
-
updateSnapshot
Updates the settings of a specific snapshot.
-
listBackups
Lists all backups in a project for either a specified location or for all locations.
-
getBackup
Gets the details of a specific backup.
-
createBackup
Creates a backup.
-
deleteBackup
Deletes a backup.
-
updateBackup
Updates the settings of a specific backup.
-
promoteReplica
Promote the standby instance (replica).
-