Class protos.google.cloud.filestore.v1beta1.CloudFilestoreManager (2.3.1)

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 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 ICreateInstanceRequest

CreateInstanceRequest message or plain object

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

createShare(request)

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

Calls CreateShare.

Parameter
NameDescription
request ICreateShareRequest

CreateShareRequest message or plain object

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

createSnapshot(request)

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

Calls CreateSnapshot.

Parameter
NameDescription
request ICreateSnapshotRequest

CreateSnapshotRequest 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

deleteShare(request, callback)

public deleteShare(request: google.cloud.filestore.v1beta1.IDeleteShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteShareCallback): void;

Calls DeleteShare.

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

deleteShare(request)

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

Calls DeleteShare.

Parameter
NameDescription
request IDeleteShareRequest

DeleteShareRequest message or plain object

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

deleteSnapshot(request)

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

Calls DeleteSnapshot.

Parameter
NameDescription
request IDeleteSnapshotRequest

DeleteSnapshotRequest 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

getShare(request, callback)

public getShare(request: google.cloud.filestore.v1beta1.IGetShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetShareCallback): void;

Calls GetShare.

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

getShare(request)

public getShare(request: google.cloud.filestore.v1beta1.IGetShareRequest): Promise<google.cloud.filestore.v1beta1.Share>;

Calls GetShare.

Parameter
NameDescription
request IGetShareRequest

GetShareRequest message or plain object

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

getSnapshot(request)

public getSnapshot(request: google.cloud.filestore.v1beta1.IGetSnapshotRequest): Promise<google.cloud.filestore.v1beta1.Snapshot>;

Calls GetSnapshot.

Parameter
NameDescription
request IGetSnapshotRequest

GetSnapshotRequest message or plain object

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

listBackups(request)

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

Calls ListBackups.

Parameter
NameDescription
request google.cloud.filestore.v1beta1.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 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 IListInstancesRequest

ListInstancesRequest message or plain object

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

listShares(request)

public listShares(request: google.cloud.filestore.v1beta1.IListSharesRequest): Promise<google.cloud.filestore.v1beta1.ListSharesResponse>;

Calls ListShares.

Parameter
NameDescription
request IListSharesRequest

ListSharesRequest message or plain object

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

listSnapshots(request)

public listSnapshots(request: google.cloud.filestore.v1beta1.IListSnapshotsRequest): Promise<google.cloud.filestore.v1beta1.ListSnapshotsResponse>;

Calls ListSnapshots.

Parameter
NameDescription
request IListSnapshotsRequest

ListSnapshotsRequest message or plain object

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

revertInstance(request, callback)

public revertInstance(request: google.cloud.filestore.v1beta1.IRevertInstanceRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstanceCallback): void;

Calls RevertInstance.

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

revertInstance(request)

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

Calls RevertInstance.

Parameter
NameDescription
request IRevertInstanceRequest

RevertInstanceRequest 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

updateShare(request, callback)

public updateShare(request: google.cloud.filestore.v1beta1.IUpdateShareRequest, callback: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateShareCallback): void;

Calls UpdateShare.

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

updateShare(request)

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

Calls UpdateShare.

Parameter
NameDescription
request IUpdateShareRequest

UpdateShareRequest message or plain object

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

updateSnapshot(request)

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

Calls UpdateSnapshot.

Parameter
NameDescription
request IUpdateSnapshotRequest

UpdateSnapshotRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise