Represents a CloudFilestoreManager
Inheritance
$protobuf.rpc.Service > protos.google.cloud.filestore.v1beta1.CloudFilestoreManagerPackage
@google-cloud/filestoreConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new CloudFilestoreManager service.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
CloudFilestoreManager | RPC service. Useful where requests and/or responses are streamed. |
createBackup(request, callback)
public createBackup(request: google.cloud.filestore.v1beta1.ICreateBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackupCallback): void;
Calls CreateBackup.
Parameters | |
---|---|
Name | Description |
request |
ICreateBackupRequest
CreateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackupCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createBackup(request)
public createBackup(request: google.cloud.filestore.v1beta1.ICreateBackupRequest): Promise<google.longrunning.Operation>;
Calls CreateBackup.
Parameter | |
---|---|
Name | Description |
request |
ICreateBackupRequest
CreateBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createInstance(request, callback)
public createInstance(request: google.cloud.filestore.v1beta1.ICreateInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstanceCallback): void;
Calls CreateInstance.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.ICreateInstanceRequest
CreateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createInstance(request)
public createInstance(request: google.cloud.filestore.v1beta1.ICreateInstanceRequest): Promise<google.longrunning.Operation>;
Calls CreateInstance.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.ICreateInstanceRequest
CreateInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createShare(request, callback)
public createShare(request: google.cloud.filestore.v1beta1.ICreateShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateShareCallback): void;
Calls CreateShare.
Parameters | |
---|---|
Name | Description |
request |
ICreateShareRequest
CreateShareRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateShareCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createShare(request)
public createShare(request: google.cloud.filestore.v1beta1.ICreateShareRequest): Promise<google.longrunning.Operation>;
Calls CreateShare.
Parameter | |
---|---|
Name | Description |
request |
ICreateShareRequest
CreateShareRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createSnapshot(request, callback)
public createSnapshot(request: google.cloud.filestore.v1beta1.ICreateSnapshotRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshotCallback): void;
Calls CreateSnapshot.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.ICreateSnapshotRequest
CreateSnapshotRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshotCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createSnapshot(request)
public createSnapshot(request: google.cloud.filestore.v1beta1.ICreateSnapshotRequest): Promise<google.longrunning.Operation>;
Calls CreateSnapshot.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.ICreateSnapshotRequest
CreateSnapshotRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteBackup(request, callback)
public deleteBackup(request: google.cloud.filestore.v1beta1.IDeleteBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackupCallback): void;
Calls DeleteBackup.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IDeleteBackupRequest
DeleteBackupRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackupCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteBackup(request)
public deleteBackup(request: google.cloud.filestore.v1beta1.IDeleteBackupRequest): Promise<google.longrunning.Operation>;
Calls DeleteBackup.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IDeleteBackupRequest
DeleteBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteInstance(request, callback)
public deleteInstance(request: google.cloud.filestore.v1beta1.IDeleteInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstanceCallback): void;
Calls DeleteInstance.
Parameters | |
---|---|
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteInstance(request)
public deleteInstance(request: google.cloud.filestore.v1beta1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;
Calls DeleteInstance.
Parameter | |
---|---|
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteShare(request, callback)
public deleteShare(request: google.cloud.filestore.v1beta1.IDeleteShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteShareCallback): void;
Calls DeleteShare.
Parameters | |
---|---|
Name | Description |
request |
IDeleteShareRequest
DeleteShareRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteShareCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteShare(request)
public deleteShare(request: google.cloud.filestore.v1beta1.IDeleteShareRequest): Promise<google.longrunning.Operation>;
Calls DeleteShare.
Parameter | |
---|---|
Name | Description |
request |
IDeleteShareRequest
DeleteShareRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteSnapshot(request, callback)
public deleteSnapshot(request: google.cloud.filestore.v1beta1.IDeleteSnapshotRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshotCallback): void;
Calls DeleteSnapshot.
Parameters | |
---|---|
Name | Description |
request |
IDeleteSnapshotRequest
DeleteSnapshotRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshotCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteSnapshot(request)
public deleteSnapshot(request: google.cloud.filestore.v1beta1.IDeleteSnapshotRequest): Promise<google.longrunning.Operation>;
Calls DeleteSnapshot.
Parameter | |
---|---|
Name | Description |
request |
IDeleteSnapshotRequest
DeleteSnapshotRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getBackup(request, callback)
public getBackup(request: google.cloud.filestore.v1beta1.IGetBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackupCallback): void;
Calls GetBackup.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetBackupRequest
GetBackupRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackupCallback
Node-style callback called with the error, if any, and Backup |
Returns | |
---|---|
Type | Description |
void |
getBackup(request)
public getBackup(request: google.cloud.filestore.v1beta1.IGetBackupRequest): Promise<google.cloud.filestore.v1beta1.Backup>;
Calls GetBackup.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetBackupRequest
GetBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.Backup> | Promise |
getInstance(request, callback)
public getInstance(request: google.cloud.filestore.v1beta1.IGetInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstanceCallback): void;
Calls GetInstance.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetInstanceRequest
GetInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstanceCallback
Node-style callback called with the error, if any, and Instance |
Returns | |
---|---|
Type | Description |
void |
getInstance(request)
public getInstance(request: google.cloud.filestore.v1beta1.IGetInstanceRequest): Promise<google.cloud.filestore.v1beta1.Instance>;
Calls GetInstance.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetInstanceRequest
GetInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.Instance> | Promise |
getShare(request, callback)
public getShare(request: google.cloud.filestore.v1beta1.IGetShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetShareCallback): void;
Calls GetShare.
Parameters | |
---|---|
Name | Description |
request |
IGetShareRequest
GetShareRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetShareCallback
Node-style callback called with the error, if any, and Share |
Returns | |
---|---|
Type | Description |
void |
getShare(request)
public getShare(request: google.cloud.filestore.v1beta1.IGetShareRequest): Promise<google.cloud.filestore.v1beta1.Share>;
Calls GetShare.
Parameter | |
---|---|
Name | Description |
request |
IGetShareRequest
GetShareRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.Share> | Promise |
getSnapshot(request, callback)
public getSnapshot(request: google.cloud.filestore.v1beta1.IGetSnapshotRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshotCallback): void;
Calls GetSnapshot.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetSnapshotRequest
GetSnapshotRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshotCallback
Node-style callback called with the error, if any, and Snapshot |
Returns | |
---|---|
Type | Description |
void |
getSnapshot(request)
public getSnapshot(request: google.cloud.filestore.v1beta1.IGetSnapshotRequest): Promise<google.cloud.filestore.v1beta1.Snapshot>;
Calls GetSnapshot.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IGetSnapshotRequest
GetSnapshotRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.Snapshot> | Promise |
listBackups(request, callback)
public listBackups(request: google.cloud.filestore.v1beta1.IListBackupsRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackupsCallback): void;
Calls ListBackups.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IListBackupsRequest
ListBackupsRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackupsCallback
Node-style callback called with the error, if any, and ListBackupsResponse |
Returns | |
---|---|
Type | Description |
void |
listBackups(request)
public listBackups(request: google.cloud.filestore.v1beta1.IListBackupsRequest): Promise<google.cloud.filestore.v1beta1.ListBackupsResponse>;
Calls ListBackups.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IListBackupsRequest
ListBackupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.ListBackupsResponse> | Promise |
listInstances(request, callback)
public listInstances(request: google.cloud.filestore.v1beta1.IListInstancesRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstancesCallback): void;
Calls ListInstances.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IListInstancesRequest
ListInstancesRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstancesCallback
Node-style callback called with the error, if any, and ListInstancesResponse |
Returns | |
---|---|
Type | Description |
void |
listInstances(request)
public listInstances(request: google.cloud.filestore.v1beta1.IListInstancesRequest): Promise<google.cloud.filestore.v1beta1.ListInstancesResponse>;
Calls ListInstances.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IListInstancesRequest
ListInstancesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.ListInstancesResponse> | Promise |
listShares(request, callback)
public listShares(request: google.cloud.filestore.v1beta1.IListSharesRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSharesCallback): void;
Calls ListShares.
Parameters | |
---|---|
Name | Description |
request |
IListSharesRequest
ListSharesRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSharesCallback
Node-style callback called with the error, if any, and ListSharesResponse |
Returns | |
---|---|
Type | Description |
void |
listShares(request)
public listShares(request: google.cloud.filestore.v1beta1.IListSharesRequest): Promise<google.cloud.filestore.v1beta1.ListSharesResponse>;
Calls ListShares.
Parameter | |
---|---|
Name | Description |
request |
IListSharesRequest
ListSharesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.ListSharesResponse> | Promise |
listSnapshots(request, callback)
public listSnapshots(request: google.cloud.filestore.v1beta1.IListSnapshotsRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshotsCallback): void;
Calls ListSnapshots.
Parameters | |
---|---|
Name | Description |
request |
IListSnapshotsRequest
ListSnapshotsRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshotsCallback
Node-style callback called with the error, if any, and ListSnapshotsResponse |
Returns | |
---|---|
Type | Description |
void |
listSnapshots(request)
public listSnapshots(request: google.cloud.filestore.v1beta1.IListSnapshotsRequest): Promise<google.cloud.filestore.v1beta1.ListSnapshotsResponse>;
Calls ListSnapshots.
Parameter | |
---|---|
Name | Description |
request |
IListSnapshotsRequest
ListSnapshotsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.filestore.v1beta1.ListSnapshotsResponse> | Promise |
restoreInstance(request, callback)
public restoreInstance(request: google.cloud.filestore.v1beta1.IRestoreInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstanceCallback): void;
Calls RestoreInstance.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IRestoreInstanceRequest
RestoreInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
restoreInstance(request)
public restoreInstance(request: google.cloud.filestore.v1beta1.IRestoreInstanceRequest): Promise<google.longrunning.Operation>;
Calls RestoreInstance.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IRestoreInstanceRequest
RestoreInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
revertInstance(request, callback)
public revertInstance(request: google.cloud.filestore.v1beta1.IRevertInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstanceCallback): void;
Calls RevertInstance.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IRevertInstanceRequest
RevertInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
revertInstance(request)
public revertInstance(request: google.cloud.filestore.v1beta1.IRevertInstanceRequest): Promise<google.longrunning.Operation>;
Calls RevertInstance.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IRevertInstanceRequest
RevertInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateBackup(request, callback)
public updateBackup(request: google.cloud.filestore.v1beta1.IUpdateBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackupCallback): void;
Calls UpdateBackup.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IUpdateBackupRequest
UpdateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackupCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateBackup(request)
public updateBackup(request: google.cloud.filestore.v1beta1.IUpdateBackupRequest): Promise<google.longrunning.Operation>;
Calls UpdateBackup.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IUpdateBackupRequest
UpdateBackupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateInstance(request, callback)
public updateInstance(request: google.cloud.filestore.v1beta1.IUpdateInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstanceCallback): void;
Calls UpdateInstance.
Parameters | |
---|---|
Name | Description |
request |
IUpdateInstanceRequest
UpdateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateInstance(request)
public updateInstance(request: google.cloud.filestore.v1beta1.IUpdateInstanceRequest): Promise<google.longrunning.Operation>;
Calls UpdateInstance.
Parameter | |
---|---|
Name | Description |
request |
IUpdateInstanceRequest
UpdateInstanceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateShare(request, callback)
public updateShare(request: google.cloud.filestore.v1beta1.IUpdateShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateShareCallback): void;
Calls UpdateShare.
Parameters | |
---|---|
Name | Description |
request |
IUpdateShareRequest
UpdateShareRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateShareCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateShare(request)
public updateShare(request: google.cloud.filestore.v1beta1.IUpdateShareRequest): Promise<google.longrunning.Operation>;
Calls UpdateShare.
Parameter | |
---|---|
Name | Description |
request |
IUpdateShareRequest
UpdateShareRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateSnapshot(request, callback)
public updateSnapshot(request: google.cloud.filestore.v1beta1.IUpdateSnapshotRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshotCallback): void;
Calls UpdateSnapshot.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IUpdateSnapshotRequest
UpdateSnapshotRequest message or plain object |
callback |
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshotCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateSnapshot(request)
public updateSnapshot(request: google.cloud.filestore.v1beta1.IUpdateSnapshotRequest): Promise<google.longrunning.Operation>;
Calls UpdateSnapshot.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.filestore.v1beta1.IUpdateSnapshotRequest
UpdateSnapshotRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |