public final class CloudFilestoreManagerGrpc
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
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(CloudFilestoreManagerGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(CloudFilestoreManagerGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateBackupMethod()
public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
getCreateInstanceMethod()
public static MethodDescriptor<CreateInstanceRequest,Operation> getCreateInstanceMethod()
getCreateShareMethod()
public static MethodDescriptor<CreateShareRequest,Operation> getCreateShareMethod()
getCreateSnapshotMethod()
public static MethodDescriptor<CreateSnapshotRequest,Operation> getCreateSnapshotMethod()
getDeleteBackupMethod()
public static MethodDescriptor<DeleteBackupRequest,Operation> getDeleteBackupMethod()
getDeleteInstanceMethod()
public static MethodDescriptor<DeleteInstanceRequest,Operation> getDeleteInstanceMethod()
getDeleteShareMethod()
public static MethodDescriptor<DeleteShareRequest,Operation> getDeleteShareMethod()
getDeleteSnapshotMethod()
public static MethodDescriptor<DeleteSnapshotRequest,Operation> getDeleteSnapshotMethod()
getGetBackupMethod()
public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
getGetInstanceMethod()
public static MethodDescriptor<GetInstanceRequest,Instance> getGetInstanceMethod()
getGetShareMethod()
public static MethodDescriptor<GetShareRequest,Share> getGetShareMethod()
getGetSnapshotMethod()
public static MethodDescriptor<GetSnapshotRequest,Snapshot> getGetSnapshotMethod()
getListBackupsMethod()
public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
getListInstancesMethod()
public static MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod()
getListSharesMethod()
public static MethodDescriptor<ListSharesRequest,ListSharesResponse> getListSharesMethod()
getListSnapshotsMethod()
public static MethodDescriptor<ListSnapshotsRequest,ListSnapshotsResponse> getListSnapshotsMethod()
getRestoreInstanceMethod()
public static MethodDescriptor<RestoreInstanceRequest,Operation> getRestoreInstanceMethod()
getRevertInstanceMethod()
public static MethodDescriptor<RevertInstanceRequest,Operation> getRevertInstanceMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getUpdateBackupMethod()
public static MethodDescriptor<UpdateBackupRequest,Operation> getUpdateBackupMethod()
getUpdateInstanceMethod()
public static MethodDescriptor<UpdateInstanceRequest,Operation> getUpdateInstanceMethod()
getUpdateShareMethod()
public static MethodDescriptor<UpdateShareRequest,Operation> getUpdateShareMethod()
getUpdateSnapshotMethod()
public static MethodDescriptor<UpdateSnapshotRequest,Operation> getUpdateSnapshotMethod()
newBlockingStub(Channel channel)
public static CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newFutureStub(Channel channel)
public static CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static CloudFilestoreManagerGrpc.CloudFilestoreManagerStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|