Represents a CloudFilestoreManager
Inheritance
$protobuf.rpc.Service > protos.google.cloud.filestore.v1.CloudFilestoreManagerPackage
@google-cloud/filestoreConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new CloudFilestoreManager service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudFilestoreManager;
Creates new CloudFilestoreManager service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
CloudFilestoreManager | RPC service. Useful where requests and/or responses are streamed. |
createBackup(request, callback)
public createBackup(request: google.cloud.filestore.v1.ICreateBackupRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.CreateBackupCallback): void;
Calls CreateBackup.
Name | Description |
request |
ICreateBackupRequest
CreateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.CreateBackupCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createBackup(request)
public createBackup(request: google.cloud.filestore.v1.ICreateBackupRequest): Promise<google.longrunning.Operation>;
Calls CreateBackup.
Name | Description |
request |
ICreateBackupRequest
CreateBackupRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createInstance(request, callback)
public createInstance(request: google.cloud.filestore.v1.ICreateInstanceRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.CreateInstanceCallback): void;
Calls CreateInstance.
Name | Description |
request |
ICreateInstanceRequest
CreateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.CreateInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createInstance(request)
public createInstance(request: google.cloud.filestore.v1.ICreateInstanceRequest): Promise<google.longrunning.Operation>;
Calls CreateInstance.
Name | Description |
request |
ICreateInstanceRequest
CreateInstanceRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteBackup(request, callback)
public deleteBackup(request: google.cloud.filestore.v1.IDeleteBackupRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackupCallback): void;
Calls DeleteBackup.
Name | Description |
request |
IDeleteBackupRequest
DeleteBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackupCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteBackup(request)
public deleteBackup(request: google.cloud.filestore.v1.IDeleteBackupRequest): Promise<google.longrunning.Operation>;
Calls DeleteBackup.
Name | Description |
request |
IDeleteBackupRequest
DeleteBackupRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteInstance(request, callback)
public deleteInstance(request: google.cloud.filestore.v1.IDeleteInstanceRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstanceCallback): void;
Calls DeleteInstance.
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteInstance(request)
public deleteInstance(request: google.cloud.filestore.v1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;
Calls DeleteInstance.
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getBackup(request, callback)
public getBackup(request: google.cloud.filestore.v1.IGetBackupRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.GetBackupCallback): void;
Calls GetBackup.
Name | Description |
request |
IGetBackupRequest
GetBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.GetBackupCallback
Node-style callback called with the error, if any, and Backup |
Type | Description |
void |
getBackup(request)
public getBackup(request: google.cloud.filestore.v1.IGetBackupRequest): Promise<google.cloud.filestore.v1.Backup>;
Calls GetBackup.
Name | Description |
request |
IGetBackupRequest
GetBackupRequest message or plain object |
Type | Description |
Promise<google.cloud.filestore.v1.Backup> | Promise |
getInstance(request, callback)
public getInstance(request: google.cloud.filestore.v1.IGetInstanceRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.GetInstanceCallback): void;
Calls GetInstance.
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.GetInstanceCallback
Node-style callback called with the error, if any, and Instance |
Type | Description |
void |
getInstance(request)
public getInstance(request: google.cloud.filestore.v1.IGetInstanceRequest): Promise<google.cloud.filestore.v1.Instance>;
Calls GetInstance.
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
Type | Description |
Promise<google.cloud.filestore.v1.Instance> | Promise |
listBackups(request, callback)
public listBackups(request: google.cloud.filestore.v1.IListBackupsRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.ListBackupsCallback): void;
Calls ListBackups.
Name | Description |
request |
IListBackupsRequest
ListBackupsRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.ListBackupsCallback
Node-style callback called with the error, if any, and ListBackupsResponse |
Type | Description |
void |
listBackups(request)
public listBackups(request: google.cloud.filestore.v1.IListBackupsRequest): Promise<google.cloud.filestore.v1.ListBackupsResponse>;
Calls ListBackups.
Name | Description |
request |
IListBackupsRequest
ListBackupsRequest message or plain object |
Type | Description |
Promise<google.cloud.filestore.v1.ListBackupsResponse> | Promise |
listInstances(request, callback)
public listInstances(request: google.cloud.filestore.v1.IListInstancesRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.ListInstancesCallback): void;
Calls ListInstances.
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.ListInstancesCallback
Node-style callback called with the error, if any, and ListInstancesResponse |
Type | Description |
void |
listInstances(request)
public listInstances(request: google.cloud.filestore.v1.IListInstancesRequest): Promise<google.cloud.filestore.v1.ListInstancesResponse>;
Calls ListInstances.
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
Type | Description |
Promise<google.cloud.filestore.v1.ListInstancesResponse> | Promise |
restoreInstance(request, callback)
public restoreInstance(request: google.cloud.filestore.v1.IRestoreInstanceRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstanceCallback): void;
Calls RestoreInstance.
Name | Description |
request |
IRestoreInstanceRequest
RestoreInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
restoreInstance(request)
public restoreInstance(request: google.cloud.filestore.v1.IRestoreInstanceRequest): Promise<google.longrunning.Operation>;
Calls RestoreInstance.
Name | Description |
request |
IRestoreInstanceRequest
RestoreInstanceRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateBackup(request, callback)
public updateBackup(request: google.cloud.filestore.v1.IUpdateBackupRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackupCallback): void;
Calls UpdateBackup.
Name | Description |
request |
IUpdateBackupRequest
UpdateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackupCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateBackup(request)
public updateBackup(request: google.cloud.filestore.v1.IUpdateBackupRequest): Promise<google.longrunning.Operation>;
Calls UpdateBackup.
Name | Description |
request |
IUpdateBackupRequest
UpdateBackupRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateInstance(request, callback)
public updateInstance(request: google.cloud.filestore.v1.IUpdateInstanceRequest, callback: google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstanceCallback): void;
Calls UpdateInstance.
Name | Description |
request |
IUpdateInstanceRequest
UpdateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateInstance(request)
public updateInstance(request: google.cloud.filestore.v1.IUpdateInstanceRequest): Promise<google.longrunning.Operation>;
Calls UpdateInstance.
Name | Description |
request |
IUpdateInstanceRequest
UpdateInstanceRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |