Class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
-
- com.google.cloud.filestore.v1beta1.CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
-
- Enclosing class:
- CloudFilestoreManagerGrpc
public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
A stub to allow clients to do synchronous 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.CloudFilestoreManagerBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.longrunning.OperationcreateBackup(CreateBackupRequest request)Creates a backup.com.google.longrunning.OperationcreateInstance(CreateInstanceRequest request)Creates an instance.com.google.longrunning.OperationcreateShare(CreateShareRequest request)Creates a share.com.google.longrunning.OperationcreateSnapshot(CreateSnapshotRequest request)Creates a snapshot.com.google.longrunning.OperationdeleteBackup(DeleteBackupRequest request)Deletes a backup.com.google.longrunning.OperationdeleteInstance(DeleteInstanceRequest request)Deletes an instance.com.google.longrunning.OperationdeleteShare(DeleteShareRequest request)Deletes a share.com.google.longrunning.OperationdeleteSnapshot(DeleteSnapshotRequest request)Deletes a snapshot.BackupgetBackup(GetBackupRequest request)Gets the details of a specific backup.InstancegetInstance(GetInstanceRequest request)Gets the details of a specific instance.SharegetShare(GetShareRequest request)Gets the details of a specific share.SnapshotgetSnapshot(GetSnapshotRequest request)Gets the details of a specific snapshot.ListBackupsResponselistBackups(ListBackupsRequest request)Lists all backups in a project for either a specified location or for all locations.ListInstancesResponselistInstances(ListInstancesRequest request)Lists all instances in a project for either a specified location or for all locations.ListSharesResponselistShares(ListSharesRequest request)Lists all shares for a specified instance.ListSnapshotsResponselistSnapshots(ListSnapshotsRequest request)Lists all snapshots in a project for either a specified location or for all locations.com.google.longrunning.OperationrestoreInstance(RestoreInstanceRequest request)Restores an existing instance's file share from a backup.com.google.longrunning.OperationrevertInstance(RevertInstanceRequest request)Revert an existing instance's file system to a specified snapshot.com.google.longrunning.OperationupdateBackup(UpdateBackupRequest request)Updates the settings of a specific backup.com.google.longrunning.OperationupdateInstance(UpdateInstanceRequest request)Updates the settings of a specific instance.com.google.longrunning.OperationupdateShare(UpdateShareRequest request)Updates the settings of a specific share.com.google.longrunning.OperationupdateSnapshot(UpdateSnapshotRequest request)Updates the settings of a specific snapshot.
-
-
-
Method Detail
-
build
protected CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>
-
listInstances
public ListInstancesResponse listInstances(ListInstancesRequest request)
Lists all instances in a project for either a specified location or for all locations.
-
getInstance
public Instance getInstance(GetInstanceRequest request)
Gets the details of a specific instance.
-
createInstance
public com.google.longrunning.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).
-
updateInstance
public com.google.longrunning.Operation updateInstance(UpdateInstanceRequest request)
Updates the settings of a specific instance.
-
restoreInstance
public com.google.longrunning.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
public com.google.longrunning.Operation revertInstance(RevertInstanceRequest request)
Revert an existing instance's file system to a specified snapshot.
-
deleteInstance
public com.google.longrunning.Operation deleteInstance(DeleteInstanceRequest request)
Deletes an instance.
-
listSnapshots
public ListSnapshotsResponse listSnapshots(ListSnapshotsRequest request)
Lists all snapshots in a project for either a specified location or for all locations.
-
getSnapshot
public Snapshot getSnapshot(GetSnapshotRequest request)
Gets the details of a specific snapshot.
-
createSnapshot
public com.google.longrunning.Operation createSnapshot(CreateSnapshotRequest request)
Creates a snapshot.
-
deleteSnapshot
public com.google.longrunning.Operation deleteSnapshot(DeleteSnapshotRequest request)
Deletes a snapshot.
-
updateSnapshot
public com.google.longrunning.Operation updateSnapshot(UpdateSnapshotRequest request)
Updates the settings of a specific snapshot.
-
listBackups
public ListBackupsResponse listBackups(ListBackupsRequest request)
Lists all backups in a project for either a specified location or for all locations.
-
getBackup
public Backup getBackup(GetBackupRequest request)
Gets the details of a specific backup.
-
createBackup
public com.google.longrunning.Operation createBackup(CreateBackupRequest request)
Creates a backup.
-
deleteBackup
public com.google.longrunning.Operation deleteBackup(DeleteBackupRequest request)
Deletes a backup.
-
updateBackup
public com.google.longrunning.Operation updateBackup(UpdateBackupRequest request)
Updates the settings of a specific backup.
-
listShares
public ListSharesResponse listShares(ListSharesRequest request)
Lists all shares for a specified instance.
-
getShare
public Share getShare(GetShareRequest request)
Gets the details of a specific share.
-
createShare
public com.google.longrunning.Operation createShare(CreateShareRequest request)
Creates a share.
-
deleteShare
public com.google.longrunning.Operation deleteShare(DeleteShareRequest request)
Deletes a share.
-
updateShare
public com.google.longrunning.Operation updateShare(UpdateShareRequest request)
Updates the settings of a specific share.
-
-