Class CloudFilestoreManagerGrpc.CloudFilestoreManagerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerStub>
-
- com.google.cloud.filestore.v1beta1.CloudFilestoreManagerGrpc.CloudFilestoreManagerStub
-
- Enclosing class:
- CloudFilestoreManagerGrpc
public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerStub extends io.grpc.stub.AbstractAsyncStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerStub>
A stub to allow clients to do asynchronous 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`
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloudFilestoreManagerGrpc.CloudFilestoreManagerStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateBackup(CreateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a backup.voidcreateInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates an instance.voidcreateShare(CreateShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a share.voidcreateSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a snapshot.voiddeleteBackup(DeleteBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a backup.voiddeleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes an instance.voiddeleteShare(DeleteShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a share.voiddeleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a snapshot.voidgetBackup(GetBackupRequest request, io.grpc.stub.StreamObserver<Backup> responseObserver)Gets the details of a specific backup.voidgetInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)Gets the details of a specific instance.voidgetShare(GetShareRequest request, io.grpc.stub.StreamObserver<Share> responseObserver)Gets the details of a specific share.voidgetSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)Gets the details of a specific snapshot.voidlistBackups(ListBackupsRequest request, io.grpc.stub.StreamObserver<ListBackupsResponse> responseObserver)Lists all backups in a project for either a specified location or for all locations.voidlistInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)Lists all instances in a project for either a specified location or for all locations.voidlistShares(ListSharesRequest request, io.grpc.stub.StreamObserver<ListSharesResponse> responseObserver)Lists all shares for a specified instance.voidlistSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)Lists all snapshots in a project for either a specified location or for all locations.voidrestoreInstance(RestoreInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Restores an existing instance's file share from a backup.voidrevertInstance(RevertInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Revert an existing instance's file system to a specified snapshot.voidupdateBackup(UpdateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific backup.voidupdateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific instance.voidupdateShare(UpdateShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific share.voidupdateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific snapshot.
-
-
-
Method Detail
-
build
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerStub>
-
listInstances
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.
-
getInstance
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
-
createInstance
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).
-
updateInstance
public void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific instance.
-
restoreInstance
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).
-
revertInstance
public void revertInstance(RevertInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Revert an existing instance's file system to a specified snapshot.
-
deleteInstance
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an instance.
-
listSnapshots
public void listSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots in a project for either a specified location or for all locations.
-
getSnapshot
public void getSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Gets the details of a specific snapshot.
-
createSnapshot
public void createSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a snapshot.
-
deleteSnapshot
public void deleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a snapshot.
-
updateSnapshot
public void updateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific snapshot.
-
listBackups
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.
-
getBackup
public void getBackup(GetBackupRequest request, io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
-
createBackup
public void createBackup(CreateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a backup.
-
deleteBackup
public void deleteBackup(DeleteBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a backup.
-
updateBackup
public void updateBackup(UpdateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific backup.
-
listShares
public void listShares(ListSharesRequest request, io.grpc.stub.StreamObserver<ListSharesResponse> responseObserver)
Lists all shares for a specified instance.
-
getShare
public void getShare(GetShareRequest request, io.grpc.stub.StreamObserver<Share> responseObserver)
Gets the details of a specific share.
-
createShare
public void createShare(CreateShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a share.
-
deleteShare
public void deleteShare(DeleteShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a share.
-
updateShare
public void updateShare(UpdateShareRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific share.
-
-