public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerStub extends AbstractAsyncStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerStub>
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 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
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
CloudFilestoreManagerGrpc.CloudFilestoreManagerStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<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).
createShare(CreateShareRequest request, StreamObserver<Operation> responseObserver)
public void createShare(CreateShareRequest request, StreamObserver<Operation> responseObserver)
createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)
public void createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
deleteShare(DeleteShareRequest request, StreamObserver<Operation> responseObserver)
public void deleteShare(DeleteShareRequest request, StreamObserver<Operation> responseObserver)
deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)
public void deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets the details of a specific backup.
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets the details of a specific instance.
getShare(GetShareRequest request, StreamObserver<Share> responseObserver)
public void getShare(GetShareRequest request, StreamObserver<Share> responseObserver)
Gets the details of a specific share.
getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)
public void getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)
Gets the details of a specific snapshot.
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists all backups in a project for either a specified location or for all
locations.
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists all instances in a project for either a specified location
or for all locations.
listShares(ListSharesRequest request, StreamObserver<ListSharesResponse> responseObserver)
public void listShares(ListSharesRequest request, StreamObserver<ListSharesResponse> responseObserver)
Lists all shares for a specified instance.
listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)
public void listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots in a project for either a specified location
or for all locations.
restoreInstance(RestoreInstanceRequest request, StreamObserver<Operation> responseObserver)
public void restoreInstance(RestoreInstanceRequest request, StreamObserver<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(RevertInstanceRequest request, StreamObserver<Operation> responseObserver)
public void revertInstance(RevertInstanceRequest request, StreamObserver<Operation> responseObserver)
Revert an existing instance's file system to a specified snapshot.
updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific backup.
updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific instance.
updateShare(UpdateShareRequest request, StreamObserver<Operation> responseObserver)
public void updateShare(UpdateShareRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific share.
updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)
public void updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a specific snapshot.