Class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub>
com.google.cloud.filestore.v1beta1.CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub
- Enclosing class:
- CloudFilestoreManagerGrpc
public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CloudFilestoreManager.
Configures and manages Filestore resources.
Filestore Manager v1beta1.
The `file.googleapis.com` service implements the 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, 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 Google Cloud `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`
-
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.createShare(CreateShareRequest request) Creates a share.createSnapshot(CreateSnapshotRequest request) Creates a snapshot.deleteBackup(DeleteBackupRequest request) Deletes a backup.deleteInstance(DeleteInstanceRequest request) Deletes an instance.deleteShare(DeleteShareRequest request) Deletes a share.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.getShare(GetShareRequest request) Gets the details of a specific share.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.listShares(ListSharesRequest request) Lists all shares for a specified instance.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.updateShare(UpdateShareRequest request) Updates the settings of a specific share.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.CloudFilestoreManagerBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingV2Stub>
-
listInstances
public ListInstancesResponse listInstances(ListInstancesRequest request) throws io.grpc.StatusException Lists all instances in a project for either a specified location or for all locations.
- Throws:
io.grpc.StatusException
-
getInstance
Gets the details of a specific instance.
- Throws:
io.grpc.StatusException
-
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).
- Throws:
io.grpc.StatusException
-
updateInstance
Updates the settings of a specific instance.
- Throws:
io.grpc.StatusException
-
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).
- Throws:
io.grpc.StatusException
-
revertInstance
Revert an existing instance's file system to a specified snapshot.
- Throws:
io.grpc.StatusException
-
promoteReplica
Promote the standby instance (replica).
- Throws:
io.grpc.StatusException
-
deleteInstance
Deletes an instance.
- Throws:
io.grpc.StatusException
-
listSnapshots
public ListSnapshotsResponse listSnapshots(ListSnapshotsRequest request) throws io.grpc.StatusException Lists all snapshots in a project for either a specified location or for all locations.
- Throws:
io.grpc.StatusException
-
getSnapshot
Gets the details of a specific snapshot.
- Throws:
io.grpc.StatusException
-
createSnapshot
Creates a snapshot.
- Throws:
io.grpc.StatusException
-
deleteSnapshot
Deletes a snapshot.
- Throws:
io.grpc.StatusException
-
updateSnapshot
Updates the settings of a specific snapshot.
- Throws:
io.grpc.StatusException
-
listBackups
Lists all backups in a project for either a specified location or for all locations.
- Throws:
io.grpc.StatusException
-
getBackup
Gets the details of a specific backup.
- Throws:
io.grpc.StatusException
-
createBackup
Creates a backup.
- Throws:
io.grpc.StatusException
-
deleteBackup
Deletes a backup.
- Throws:
io.grpc.StatusException
-
updateBackup
Updates the settings of a specific backup.
- Throws:
io.grpc.StatusException
-