Class protos.google.cloud.filestore.v1beta1.CloudFilestoreManager

Represents a CloudFilestoreManager

Inheritance

$protobuf.rpc.Service > protos.google.cloud.filestore.v1beta1.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.v1beta1.ICreateBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackupCallback): void;

Calls CreateBackup.

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

createBackup(request)

public createBackup(request: google.cloud.filestore.v1beta1.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.v1beta1.ICreateInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstanceCallback): void;

Calls CreateInstance.

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

createInstance(request)

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

Calls CreateInstance.

Parameter
NameDescription
request google.cloud.filestore.v1beta1.ICreateInstanceRequest

CreateInstanceRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

deleteBackup(request)

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

Calls DeleteBackup.

Parameter
NameDescription
request google.cloud.filestore.v1beta1.IDeleteBackupRequest

DeleteBackupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

deleteInstance(request)

public deleteInstance(request: google.cloud.filestore.v1beta1.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.v1beta1.IGetBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackupCallback): void;

Calls GetBackup.

Parameters
NameDescription
request 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
TypeDescription
void

getBackup(request)

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

Calls GetBackup.

Parameter
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

getInstance(request)

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

Calls GetInstance.

Parameter
NameDescription
request google.cloud.filestore.v1beta1.IGetInstanceRequest

GetInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.filestore.v1beta1.Instance>

Promise

listBackups(request, callback)

public listBackups(request: google.cloud.filestore.v1beta1.IListBackupsRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackupsCallback): void;

Calls ListBackups.

Parameters
NameDescription
request 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
TypeDescription
void

listBackups(request)

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

Calls ListBackups.

Parameter
NameDescription
request IListBackupsRequest

ListBackupsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listInstances(request)

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

Calls ListInstances.

Parameter
NameDescription
request google.cloud.filestore.v1beta1.IListInstancesRequest

ListInstancesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.filestore.v1beta1.ListInstancesResponse>

Promise

restoreInstance(request, callback)

public restoreInstance(request: google.cloud.filestore.v1beta1.IRestoreInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstanceCallback): void;

Calls RestoreInstance.

Parameters
NameDescription
request 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
TypeDescription
void

restoreInstance(request)

public restoreInstance(request: google.cloud.filestore.v1beta1.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.v1beta1.IUpdateBackupRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackupCallback): void;

Calls UpdateBackup.

Parameters
NameDescription
request 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
TypeDescription
void

updateBackup(request)

public updateBackup(request: google.cloud.filestore.v1beta1.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.v1beta1.IUpdateInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstanceCallback): void;

Calls UpdateInstance.

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

updateInstance(request)

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

Calls UpdateInstance.

Parameter
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise