Constructor
new CloudFilestoreManager(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new CloudFilestoreManager service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createBackup(request, callback) → {undefined}
Calls CreateBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.ICreateBackupRequest |
CreateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.CreateBackupCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createBackup(request) → {Promise.<google.longrunning.Operation>}
Calls CreateBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.ICreateBackupRequest |
CreateBackupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
createInstance(request, callback) → {undefined}
Calls CreateInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.ICreateInstanceRequest |
CreateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.CreateInstanceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createInstance(request) → {Promise.<google.longrunning.Operation>}
Calls CreateInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.ICreateInstanceRequest |
CreateInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteBackup(request, callback) → {undefined}
Calls DeleteBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IDeleteBackupRequest |
DeleteBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackupCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
deleteBackup(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IDeleteBackupRequest |
DeleteBackupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteInstance(request, callback) → {undefined}
Calls DeleteInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IDeleteInstanceRequest |
DeleteInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstanceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
deleteInstance(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IDeleteInstanceRequest |
DeleteInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getBackup(request, callback) → {undefined}
Calls GetBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IGetBackupRequest |
GetBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.GetBackupCallback |
Node-style callback called with the error, if any, and Backup |
Returns:
Type | Description |
---|---|
undefined |
getBackup(request) → {Promise.<google.cloud.filestore.v1.Backup>}
Calls GetBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IGetBackupRequest |
GetBackupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.filestore.v1.Backup> |
Promise |
getInstance(request, callback) → {undefined}
Calls GetInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IGetInstanceRequest |
GetInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.GetInstanceCallback |
Node-style callback called with the error, if any, and Instance |
Returns:
Type | Description |
---|---|
undefined |
getInstance(request) → {Promise.<google.cloud.filestore.v1.Instance>}
Calls GetInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IGetInstanceRequest |
GetInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.filestore.v1.Instance> |
Promise |
listBackups(request, callback) → {undefined}
Calls ListBackups.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IListBackupsRequest |
ListBackupsRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.ListBackupsCallback |
Node-style callback called with the error, if any, and ListBackupsResponse |
Returns:
Type | Description |
---|---|
undefined |
listBackups(request) → {Promise.<google.cloud.filestore.v1.ListBackupsResponse>}
Calls ListBackups.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IListBackupsRequest |
ListBackupsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.filestore.v1.ListBackupsResponse> |
Promise |
listInstances(request, callback) → {undefined}
Calls ListInstances.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IListInstancesRequest |
ListInstancesRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.ListInstancesCallback |
Node-style callback called with the error, if any, and ListInstancesResponse |
Returns:
Type | Description |
---|---|
undefined |
listInstances(request) → {Promise.<google.cloud.filestore.v1.ListInstancesResponse>}
Calls ListInstances.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IListInstancesRequest |
ListInstancesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.filestore.v1.ListInstancesResponse> |
Promise |
restoreInstance(request, callback) → {undefined}
Calls RestoreInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IRestoreInstanceRequest |
RestoreInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstanceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
restoreInstance(request) → {Promise.<google.longrunning.Operation>}
Calls RestoreInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IRestoreInstanceRequest |
RestoreInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
updateBackup(request, callback) → {undefined}
Calls UpdateBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IUpdateBackupRequest |
UpdateBackupRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackupCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
updateBackup(request) → {Promise.<google.longrunning.Operation>}
Calls UpdateBackup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IUpdateBackupRequest |
UpdateBackupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
updateInstance(request, callback) → {undefined}
Calls UpdateInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IUpdateInstanceRequest |
UpdateInstanceRequest message or plain object |
callback |
google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstanceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
updateInstance(request) → {Promise.<google.longrunning.Operation>}
Calls UpdateInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.filestore.v1.IUpdateInstanceRequest |
UpdateInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {CloudFilestoreManager}
Creates new CloudFilestoreManager service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
CloudFilestoreManager |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateBackupCallback(error, responseopt)
Callback as used by createBackup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CreateInstanceCallback(error, responseopt)
Callback as used by createInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteBackupCallback(error, responseopt)
Callback as used by deleteBackup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteInstanceCallback(error, responseopt)
Callback as used by deleteInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetBackupCallback(error, responseopt)
Callback as used by getBackup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.filestore.v1.Backup |
<optional> |
Backup |
GetInstanceCallback(error, responseopt)
Callback as used by getInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.filestore.v1.Instance |
<optional> |
Instance |
ListBackupsCallback(error, responseopt)
Callback as used by listBackups.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.filestore.v1.ListBackupsResponse |
<optional> |
ListBackupsResponse |
ListInstancesCallback(error, responseopt)
Callback as used by listInstances.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.filestore.v1.ListInstancesResponse |
<optional> |
ListInstancesResponse |
RestoreInstanceCallback(error, responseopt)
Callback as used by restoreInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
UpdateBackupCallback(error, responseopt)
Callback as used by updateBackup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
UpdateInstanceCallback(error, responseopt)
Callback as used by updateInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |