Class protos.google.cloud.notebooks.v1.ManagedNotebookService (2.1.4)

Represents a ManagedNotebookService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.notebooks.v1.ManagedNotebookService

Package

@google-cloud/notebooks

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ManagedNotebookService 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): ManagedNotebookService;

Creates new ManagedNotebookService 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
ManagedNotebookService

RPC service. Useful where requests and/or responses are streamed.

createRuntime(request, callback)

public createRuntime(request: google.cloud.notebooks.v1.ICreateRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntimeCallback): void;

Calls CreateRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.ICreateRuntimeRequest

CreateRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createRuntime(request)

public createRuntime(request: google.cloud.notebooks.v1.ICreateRuntimeRequest): Promise<google.longrunning.Operation>;

Calls CreateRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.ICreateRuntimeRequest

CreateRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteRuntime(request, callback)

public deleteRuntime(request: google.cloud.notebooks.v1.IDeleteRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntimeCallback): void;

Calls DeleteRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IDeleteRuntimeRequest

DeleteRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteRuntime(request)

public deleteRuntime(request: google.cloud.notebooks.v1.IDeleteRuntimeRequest): Promise<google.longrunning.Operation>;

Calls DeleteRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IDeleteRuntimeRequest

DeleteRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

diagnoseRuntime(request, callback)

public diagnoseRuntime(request: google.cloud.notebooks.v1.IDiagnoseRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntimeCallback): void;

Calls DiagnoseRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IDiagnoseRuntimeRequest

DiagnoseRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

diagnoseRuntime(request)

public diagnoseRuntime(request: google.cloud.notebooks.v1.IDiagnoseRuntimeRequest): Promise<google.longrunning.Operation>;

Calls DiagnoseRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IDiagnoseRuntimeRequest

DiagnoseRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getRuntime(request, callback)

public getRuntime(request: google.cloud.notebooks.v1.IGetRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.GetRuntimeCallback): void;

Calls GetRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IGetRuntimeRequest

GetRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.GetRuntimeCallback

Node-style callback called with the error, if any, and Runtime

Returns
TypeDescription
void

getRuntime(request)

public getRuntime(request: google.cloud.notebooks.v1.IGetRuntimeRequest): Promise<google.cloud.notebooks.v1.Runtime>;

Calls GetRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IGetRuntimeRequest

GetRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.notebooks.v1.Runtime>

Promise

listRuntimes(request, callback)

public listRuntimes(request: google.cloud.notebooks.v1.IListRuntimesRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimesCallback): void;

Calls ListRuntimes.

Parameters
NameDescription
request google.cloud.notebooks.v1.IListRuntimesRequest

ListRuntimesRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimesCallback

Node-style callback called with the error, if any, and ListRuntimesResponse

Returns
TypeDescription
void

listRuntimes(request)

public listRuntimes(request: google.cloud.notebooks.v1.IListRuntimesRequest): Promise<google.cloud.notebooks.v1.ListRuntimesResponse>;

Calls ListRuntimes.

Parameter
NameDescription
request google.cloud.notebooks.v1.IListRuntimesRequest

ListRuntimesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.notebooks.v1.ListRuntimesResponse>

Promise

refreshRuntimeTokenInternal(request, callback)

public refreshRuntimeTokenInternal(request: google.cloud.notebooks.v1.IRefreshRuntimeTokenInternalRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternalCallback): void;

Calls RefreshRuntimeTokenInternal.

Parameters
NameDescription
request google.cloud.notebooks.v1.IRefreshRuntimeTokenInternalRequest

RefreshRuntimeTokenInternalRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternalCallback

Node-style callback called with the error, if any, and RefreshRuntimeTokenInternalResponse

Returns
TypeDescription
void

refreshRuntimeTokenInternal(request)

public refreshRuntimeTokenInternal(request: google.cloud.notebooks.v1.IRefreshRuntimeTokenInternalRequest): Promise<google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse>;

Calls RefreshRuntimeTokenInternal.

Parameter
NameDescription
request google.cloud.notebooks.v1.IRefreshRuntimeTokenInternalRequest

RefreshRuntimeTokenInternalRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse>

Promise

reportRuntimeEvent(request, callback)

public reportRuntimeEvent(request: google.cloud.notebooks.v1.IReportRuntimeEventRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEventCallback): void;

Calls ReportRuntimeEvent.

Parameters
NameDescription
request google.cloud.notebooks.v1.IReportRuntimeEventRequest

ReportRuntimeEventRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEventCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

reportRuntimeEvent(request)

public reportRuntimeEvent(request: google.cloud.notebooks.v1.IReportRuntimeEventRequest): Promise<google.longrunning.Operation>;

Calls ReportRuntimeEvent.

Parameter
NameDescription
request google.cloud.notebooks.v1.IReportRuntimeEventRequest

ReportRuntimeEventRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

resetRuntime(request, callback)

public resetRuntime(request: google.cloud.notebooks.v1.IResetRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntimeCallback): void;

Calls ResetRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IResetRuntimeRequest

ResetRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

resetRuntime(request)

public resetRuntime(request: google.cloud.notebooks.v1.IResetRuntimeRequest): Promise<google.longrunning.Operation>;

Calls ResetRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IResetRuntimeRequest

ResetRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

startRuntime(request, callback)

public startRuntime(request: google.cloud.notebooks.v1.IStartRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.StartRuntimeCallback): void;

Calls StartRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IStartRuntimeRequest

StartRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.StartRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

startRuntime(request)

public startRuntime(request: google.cloud.notebooks.v1.IStartRuntimeRequest): Promise<google.longrunning.Operation>;

Calls StartRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IStartRuntimeRequest

StartRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

stopRuntime(request, callback)

public stopRuntime(request: google.cloud.notebooks.v1.IStopRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.StopRuntimeCallback): void;

Calls StopRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IStopRuntimeRequest

StopRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.StopRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

stopRuntime(request)

public stopRuntime(request: google.cloud.notebooks.v1.IStopRuntimeRequest): Promise<google.longrunning.Operation>;

Calls StopRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IStopRuntimeRequest

StopRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

switchRuntime(request, callback)

public switchRuntime(request: google.cloud.notebooks.v1.ISwitchRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntimeCallback): void;

Calls SwitchRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.ISwitchRuntimeRequest

SwitchRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

switchRuntime(request)

public switchRuntime(request: google.cloud.notebooks.v1.ISwitchRuntimeRequest): Promise<google.longrunning.Operation>;

Calls SwitchRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.ISwitchRuntimeRequest

SwitchRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateRuntime(request, callback)

public updateRuntime(request: google.cloud.notebooks.v1.IUpdateRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntimeCallback): void;

Calls UpdateRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IUpdateRuntimeRequest

UpdateRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateRuntime(request)

public updateRuntime(request: google.cloud.notebooks.v1.IUpdateRuntimeRequest): Promise<google.longrunning.Operation>;

Calls UpdateRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IUpdateRuntimeRequest

UpdateRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

upgradeRuntime(request, callback)

public upgradeRuntime(request: google.cloud.notebooks.v1.IUpgradeRuntimeRequest, callback: google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntimeCallback): void;

Calls UpgradeRuntime.

Parameters
NameDescription
request google.cloud.notebooks.v1.IUpgradeRuntimeRequest

UpgradeRuntimeRequest message or plain object

callback google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntimeCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

upgradeRuntime(request)

public upgradeRuntime(request: google.cloud.notebooks.v1.IUpgradeRuntimeRequest): Promise<google.longrunning.Operation>;

Calls UpgradeRuntime.

Parameter
NameDescription
request google.cloud.notebooks.v1.IUpgradeRuntimeRequest

UpgradeRuntimeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise