public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub extends AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
A stub to allow clients to do 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
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.CloudFilestoreManagerBlockingStub 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)
public Operation createBackup(CreateBackupRequest request)
createInstance(CreateInstanceRequest request)
public 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).
createSnapshot(CreateSnapshotRequest request)
public Operation createSnapshot(CreateSnapshotRequest request)
deleteBackup(DeleteBackupRequest request)
public Operation deleteBackup(DeleteBackupRequest request)
deleteInstance(DeleteInstanceRequest request)
public Operation deleteInstance(DeleteInstanceRequest request)
deleteSnapshot(DeleteSnapshotRequest request)
public Operation deleteSnapshot(DeleteSnapshotRequest request)
getBackup(GetBackupRequest request)
public Backup getBackup(GetBackupRequest request)
Gets the details of a specific backup.
Returns |
Type |
Description |
Backup |
|
getInstance(GetInstanceRequest request)
public Instance getInstance(GetInstanceRequest request)
Gets the details of a specific instance.
getSnapshot(GetSnapshotRequest request)
public Snapshot getSnapshot(GetSnapshotRequest request)
Gets the details of a specific snapshot.
listBackups(ListBackupsRequest request)
public ListBackupsResponse listBackups(ListBackupsRequest request)
Lists all backups in a project for either a specified location or for all
locations.
listInstances(ListInstancesRequest request)
public ListInstancesResponse listInstances(ListInstancesRequest request)
Lists all instances in a project for either a specified location
or for all locations.
listSnapshots(ListSnapshotsRequest request)
public ListSnapshotsResponse listSnapshots(ListSnapshotsRequest request)
Lists all snapshots in a project for either a specified location
or for all locations.
restoreInstance(RestoreInstanceRequest request)
public 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).
revertInstance(RevertInstanceRequest request)
public Operation revertInstance(RevertInstanceRequest request)
Revert an existing instance's file system to a specified snapshot.
updateBackup(UpdateBackupRequest request)
public Operation updateBackup(UpdateBackupRequest request)
Updates the settings of a specific backup.
updateInstance(UpdateInstanceRequest request)
public Operation updateInstance(UpdateInstanceRequest request)
Updates the settings of a specific instance.
updateSnapshot(UpdateSnapshotRequest request)
public Operation updateSnapshot(UpdateSnapshotRequest request)
Updates the settings of a specific snapshot.