Class protos.google.cloud.filestore.v1.CloudFilestoreManager (2.2.0)

Represents a CloudFilestoreManager

Inheritance

$protobuf.rpc.Service > protos.google.cloud.filestore.v1.CloudFilestoreManager

Package

@google-cloud/filestore

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CloudFilestoreManager service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

createBackup(request)

public createBackup(request: google.cloud.filestore.v1.ICreateBackupRequest): Promise<google.longrunning.Operation>;

Calls CreateBackup.

Parameter
NameDescription
request ICreateBackupRequest

CreateBackupRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

createInstance(request)

public createInstance(request: google.cloud.filestore.v1.ICreateInstanceRequest): Promise<google.longrunning.Operation>;

Calls CreateInstance.

Parameter
NameDescription
request ICreateInstanceRequest

CreateInstanceRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

deleteBackup(request)

public deleteBackup(request: google.cloud.filestore.v1.IDeleteBackupRequest): Promise<google.longrunning.Operation>;

Calls DeleteBackup.

Parameter
NameDescription
request IDeleteBackupRequest

DeleteBackupRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

deleteInstance(request)

public deleteInstance(request: google.cloud.filestore.v1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;

Calls DeleteInstance.

Parameter
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

getBackup(request)

public getBackup(request: google.cloud.filestore.v1.IGetBackupRequest): Promise<google.cloud.filestore.v1.Backup>;

Calls GetBackup.

Parameter
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

getInstance(request)

public getInstance(request: google.cloud.filestore.v1.IGetInstanceRequest): Promise<google.cloud.filestore.v1.Instance>;

Calls GetInstance.

Parameter
NameDescription
request IGetInstanceRequest

GetInstanceRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listBackups(request)

public listBackups(request: google.cloud.filestore.v1.IListBackupsRequest): Promise<google.cloud.filestore.v1.ListBackupsResponse>;

Calls ListBackups.

Parameter
NameDescription
request IListBackupsRequest

ListBackupsRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listInstances(request)

public listInstances(request: google.cloud.filestore.v1.IListInstancesRequest): Promise<google.cloud.filestore.v1.ListInstancesResponse>;

Calls ListInstances.

Parameter
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

restoreInstance(request)

public restoreInstance(request: google.cloud.filestore.v1.IRestoreInstanceRequest): Promise<google.longrunning.Operation>;

Calls RestoreInstance.

Parameter
NameDescription
request IRestoreInstanceRequest

RestoreInstanceRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

updateBackup(request)

public updateBackup(request: google.cloud.filestore.v1.IUpdateBackupRequest): Promise<google.longrunning.Operation>;

Calls UpdateBackup.

Parameter
NameDescription
request IUpdateBackupRequest

UpdateBackupRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

updateInstance(request)

public updateInstance(request: google.cloud.filestore.v1.IUpdateInstanceRequest): Promise<google.longrunning.Operation>;

Calls UpdateInstance.

Parameter
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise