Class CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub (1.28.0)

public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub extends AbstractFutureStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub>

A stub to allow clients to do ListenableFuture-style 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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request)

public ListenableFuture<Operation> createBackup(CreateBackupRequest request)

Creates a backup.

Parameter
NameDescription
requestCreateBackupRequest
Returns
TypeDescription
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
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createShare(CreateShareRequest request)

public ListenableFuture<Operation> createShare(CreateShareRequest request)

Creates a share.

Parameter
NameDescription
requestCreateShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createSnapshot(CreateSnapshotRequest request)

public ListenableFuture<Operation> createSnapshot(CreateSnapshotRequest request)

Creates a snapshot.

Parameter
NameDescription
requestCreateSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes a backup.

Parameter
NameDescription
requestDeleteBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteInstance(DeleteInstanceRequest request)

public ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)

Deletes an instance.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteShare(DeleteShareRequest request)

public ListenableFuture<Operation> deleteShare(DeleteShareRequest request)

Deletes a share.

Parameter
NameDescription
requestDeleteShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSnapshot(DeleteSnapshotRequest request)

public ListenableFuture<Operation> deleteSnapshot(DeleteSnapshotRequest request)

Deletes a snapshot.

Parameter
NameDescription
requestDeleteSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Gets the details of a specific backup.

Parameter
NameDescription
requestGetBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Backup>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets the details of a specific instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>

getShare(GetShareRequest request)

public ListenableFuture<Share> getShare(GetShareRequest request)

Gets the details of a specific share.

Parameter
NameDescription
requestGetShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Share>

getSnapshot(GetSnapshotRequest request)

public ListenableFuture<Snapshot> getSnapshot(GetSnapshotRequest request)

Gets the details of a specific snapshot.

Parameter
NameDescription
requestGetSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Snapshot>

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
NameDescription
requestListBackupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

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
NameDescription
requestListInstancesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

listShares(ListSharesRequest request)

public ListenableFuture<ListSharesResponse> listShares(ListSharesRequest request)

Lists all shares for a specified instance.

Parameter
NameDescription
requestListSharesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSharesResponse>

listSnapshots(ListSnapshotsRequest request)

public ListenableFuture<ListSnapshotsResponse> listSnapshots(ListSnapshotsRequest request)

Lists all snapshots in a project for either a specified location or for all locations.

Parameter
NameDescription
requestListSnapshotsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSnapshotsResponse>

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
NameDescription
requestRestoreInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

revertInstance(RevertInstanceRequest request)

public ListenableFuture<Operation> revertInstance(RevertInstanceRequest request)

Revert an existing instance's file system to a specified snapshot.

Parameter
NameDescription
requestRevertInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Updates the settings of a specific backup.

Parameter
NameDescription
requestUpdateBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInstance(UpdateInstanceRequest request)

public ListenableFuture<Operation> updateInstance(UpdateInstanceRequest request)

Updates the settings of a specific instance.

Parameter
NameDescription
requestUpdateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateShare(UpdateShareRequest request)

public ListenableFuture<Operation> updateShare(UpdateShareRequest request)

Updates the settings of a specific share.

Parameter
NameDescription
requestUpdateShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSnapshot(UpdateSnapshotRequest request)

public ListenableFuture<Operation> updateSnapshot(UpdateSnapshotRequest request)

Updates the settings of a specific snapshot.

Parameter
NameDescription
requestUpdateSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>