public final class CloudFilestoreManagerGrpc
Configures and manages Cloud Filestore resources.
Cloud Filestore Manager v1.
The file.googleapis.com
service implements the Cloud 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, Cloud 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 GCP zone
for instances and but to a GCP
region
for backups; for example:
projects/12345/locations/us-central1-c/instances/my-filestore
projects/12345/locations/us-central1/backups/my-backup
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getCreateBackupMethod()
public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
Returns
getCreateInstanceMethod()
public static MethodDescriptor<CreateInstanceRequest,Operation> getCreateInstanceMethod()
Returns
getDeleteBackupMethod()
public static MethodDescriptor<DeleteBackupRequest,Operation> getDeleteBackupMethod()
Returns
getDeleteInstanceMethod()
public static MethodDescriptor<DeleteInstanceRequest,Operation> getDeleteInstanceMethod()
Returns
getGetBackupMethod()
public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
Returns
getGetInstanceMethod()
public static MethodDescriptor<GetInstanceRequest,Instance> getGetInstanceMethod()
Returns
getListBackupsMethod()
public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
Returns
getListInstancesMethod()
public static MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod()
Returns
getRestoreInstanceMethod()
public static MethodDescriptor<RestoreInstanceRequest,Operation> getRestoreInstanceMethod()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateBackupMethod()
public static MethodDescriptor<UpdateBackupRequest,Operation> getUpdateBackupMethod()
Returns
getUpdateInstanceMethod()
public static MethodDescriptor<UpdateInstanceRequest,Operation> getUpdateInstanceMethod()
Returns
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
|
Returns
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
|
Returns
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
|
Returns