public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub extends AbstractFutureStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub>
Configures and manages Cloud Filestore resources.
Cloud Filestore Manager v1beta1.
The file.googleapis.com
service implements the Cloud 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, Cloud 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.AbstractFutureStub >
CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.CloudFilestoreManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBackup(CreateBackupRequest request)
public ListenableFuture<Operation> createBackup(CreateBackupRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createInstance(CreateInstanceRequest request)
public ListenableFuture<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).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteBackup(DeleteBackupRequest request)
public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteInstance(DeleteInstanceRequest request)
public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
getBackup(GetBackupRequest request)
public ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets the details of a specific backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Backup> | |
getInstance(GetInstanceRequest request)
public ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets the details of a specific instance.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Instance> | |
listBackups(ListBackupsRequest request)
public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists all backups in a project for either a specified location or for all
locations.
Parameter
Returns
listInstances(ListInstancesRequest request)
public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists all instances in a project for either a specified location
or for all locations.
Parameter
Returns
restoreInstance(RestoreInstanceRequest request)
public ListenableFuture<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).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateBackup(UpdateBackupRequest request)
public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)
Updates the settings of a specific backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateInstance(UpdateInstanceRequest request)
public ListenableFuture<Operation> updateInstance(UpdateInstanceRequest request)
Updates the settings of a specific instance.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |