Class protos.google.cloud.notebooks.v1.NotebookService (2.1.3)

Represents a NotebookService

Inheritance

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

Package

@google-cloud/notebooks

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createEnvironment(request, callback)

public createEnvironment(request: google.cloud.notebooks.v1.ICreateEnvironmentRequest, callback: google.cloud.notebooks.v1.NotebookService.CreateEnvironmentCallback): void;

Calls CreateEnvironment.

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

CreateEnvironmentRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.CreateEnvironmentCallback

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

Returns
TypeDescription
void

createEnvironment(request)

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

Calls CreateEnvironment.

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

CreateEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createExecution(request, callback)

public createExecution(request: google.cloud.notebooks.v1.ICreateExecutionRequest, callback: google.cloud.notebooks.v1.NotebookService.CreateExecutionCallback): void;

Calls CreateExecution.

Parameters
NameDescription
request ICreateExecutionRequest

CreateExecutionRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.CreateExecutionCallback

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

Returns
TypeDescription
void

createExecution(request)

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

Calls CreateExecution.

Parameter
NameDescription
request ICreateExecutionRequest

CreateExecutionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createInstance(request, callback)

public createInstance(request: google.cloud.notebooks.v1.ICreateInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.CreateInstanceCallback): void;

Calls CreateInstance.

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

CreateInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.CreateInstanceCallback

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

Returns
TypeDescription
void

createInstance(request)

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

Calls CreateInstance.

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

CreateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createSchedule(request, callback)

public createSchedule(request: google.cloud.notebooks.v1.ICreateScheduleRequest, callback: google.cloud.notebooks.v1.NotebookService.CreateScheduleCallback): void;

Calls CreateSchedule.

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

CreateScheduleRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.CreateScheduleCallback

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

Returns
TypeDescription
void

createSchedule(request)

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

Calls CreateSchedule.

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

CreateScheduleRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEnvironment(request, callback)

public deleteEnvironment(request: google.cloud.notebooks.v1.IDeleteEnvironmentRequest, callback: google.cloud.notebooks.v1.NotebookService.DeleteEnvironmentCallback): void;

Calls DeleteEnvironment.

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

DeleteEnvironmentRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.DeleteEnvironmentCallback

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

Returns
TypeDescription
void

deleteEnvironment(request)

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

Calls DeleteEnvironment.

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

DeleteEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteExecution(request, callback)

public deleteExecution(request: google.cloud.notebooks.v1.IDeleteExecutionRequest, callback: google.cloud.notebooks.v1.NotebookService.DeleteExecutionCallback): void;

Calls DeleteExecution.

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

DeleteExecutionRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.DeleteExecutionCallback

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

Returns
TypeDescription
void

deleteExecution(request)

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

Calls DeleteExecution.

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

DeleteExecutionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteInstance(request, callback)

public deleteInstance(request: google.cloud.notebooks.v1.IDeleteInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.DeleteInstanceCallback): void;

Calls DeleteInstance.

Parameters
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.DeleteInstanceCallback

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

Returns
TypeDescription
void

deleteInstance(request)

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

Calls DeleteInstance.

Parameter
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteSchedule(request, callback)

public deleteSchedule(request: google.cloud.notebooks.v1.IDeleteScheduleRequest, callback: google.cloud.notebooks.v1.NotebookService.DeleteScheduleCallback): void;

Calls DeleteSchedule.

Parameters
NameDescription
request IDeleteScheduleRequest

DeleteScheduleRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.DeleteScheduleCallback

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

Returns
TypeDescription
void

deleteSchedule(request)

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

Calls DeleteSchedule.

Parameter
NameDescription
request IDeleteScheduleRequest

DeleteScheduleRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

diagnoseInstance(request, callback)

public diagnoseInstance(request: google.cloud.notebooks.v1.IDiagnoseInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.DiagnoseInstanceCallback): void;

Calls DiagnoseInstance.

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

DiagnoseInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.DiagnoseInstanceCallback

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

Returns
TypeDescription
void

diagnoseInstance(request)

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

Calls DiagnoseInstance.

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

DiagnoseInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getEnvironment(request, callback)

public getEnvironment(request: google.cloud.notebooks.v1.IGetEnvironmentRequest, callback: google.cloud.notebooks.v1.NotebookService.GetEnvironmentCallback): void;

Calls GetEnvironment.

Parameters
NameDescription
request IGetEnvironmentRequest

GetEnvironmentRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.GetEnvironmentCallback

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

Returns
TypeDescription
void

getEnvironment(request)

public getEnvironment(request: google.cloud.notebooks.v1.IGetEnvironmentRequest): Promise<google.cloud.notebooks.v1.Environment>;

Calls GetEnvironment.

Parameter
NameDescription
request IGetEnvironmentRequest

GetEnvironmentRequest message or plain object

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

Promise

getExecution(request, callback)

public getExecution(request: google.cloud.notebooks.v1.IGetExecutionRequest, callback: google.cloud.notebooks.v1.NotebookService.GetExecutionCallback): void;

Calls GetExecution.

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

GetExecutionRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.GetExecutionCallback

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

Returns
TypeDescription
void

getExecution(request)

public getExecution(request: google.cloud.notebooks.v1.IGetExecutionRequest): Promise<google.cloud.notebooks.v1.Execution>;

Calls GetExecution.

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

GetExecutionRequest message or plain object

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

Promise

getInstance(request, callback)

public getInstance(request: google.cloud.notebooks.v1.IGetInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.GetInstanceCallback): void;

Calls GetInstance.

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

GetInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.GetInstanceCallback

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

Returns
TypeDescription
void

getInstance(request)

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

Calls GetInstance.

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

GetInstanceRequest message or plain object

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

Promise

getInstanceHealth(request, callback)

public getInstanceHealth(request: google.cloud.notebooks.v1.IGetInstanceHealthRequest, callback: google.cloud.notebooks.v1.NotebookService.GetInstanceHealthCallback): void;

Calls GetInstanceHealth.

Parameters
NameDescription
request IGetInstanceHealthRequest

GetInstanceHealthRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.GetInstanceHealthCallback

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

Returns
TypeDescription
void

getInstanceHealth(request)

public getInstanceHealth(request: google.cloud.notebooks.v1.IGetInstanceHealthRequest): Promise<google.cloud.notebooks.v1.GetInstanceHealthResponse>;

Calls GetInstanceHealth.

Parameter
NameDescription
request IGetInstanceHealthRequest

GetInstanceHealthRequest message or plain object

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

Promise

getSchedule(request, callback)

public getSchedule(request: google.cloud.notebooks.v1.IGetScheduleRequest, callback: google.cloud.notebooks.v1.NotebookService.GetScheduleCallback): void;

Calls GetSchedule.

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

GetScheduleRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.GetScheduleCallback

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

Returns
TypeDescription
void

getSchedule(request)

public getSchedule(request: google.cloud.notebooks.v1.IGetScheduleRequest): Promise<google.cloud.notebooks.v1.Schedule>;

Calls GetSchedule.

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

GetScheduleRequest message or plain object

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

Promise

isInstanceUpgradeable(request, callback)

public isInstanceUpgradeable(request: google.cloud.notebooks.v1.IIsInstanceUpgradeableRequest, callback: google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeableCallback): void;

Calls IsInstanceUpgradeable.

Parameters
NameDescription
request IIsInstanceUpgradeableRequest

IsInstanceUpgradeableRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeableCallback

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

Returns
TypeDescription
void

isInstanceUpgradeable(request)

public isInstanceUpgradeable(request: google.cloud.notebooks.v1.IIsInstanceUpgradeableRequest): Promise<google.cloud.notebooks.v1.IsInstanceUpgradeableResponse>;

Calls IsInstanceUpgradeable.

Parameter
NameDescription
request IIsInstanceUpgradeableRequest

IsInstanceUpgradeableRequest message or plain object

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

Promise

listEnvironments(request, callback)

public listEnvironments(request: google.cloud.notebooks.v1.IListEnvironmentsRequest, callback: google.cloud.notebooks.v1.NotebookService.ListEnvironmentsCallback): void;

Calls ListEnvironments.

Parameters
NameDescription
request IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ListEnvironmentsCallback

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

Returns
TypeDescription
void

listEnvironments(request)

public listEnvironments(request: google.cloud.notebooks.v1.IListEnvironmentsRequest): Promise<google.cloud.notebooks.v1.ListEnvironmentsResponse>;

Calls ListEnvironments.

Parameter
NameDescription
request IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

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

Promise

listExecutions(request, callback)

public listExecutions(request: google.cloud.notebooks.v1.IListExecutionsRequest, callback: google.cloud.notebooks.v1.NotebookService.ListExecutionsCallback): void;

Calls ListExecutions.

Parameters
NameDescription
request IListExecutionsRequest

ListExecutionsRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ListExecutionsCallback

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

Returns
TypeDescription
void

listExecutions(request)

public listExecutions(request: google.cloud.notebooks.v1.IListExecutionsRequest): Promise<google.cloud.notebooks.v1.ListExecutionsResponse>;

Calls ListExecutions.

Parameter
NameDescription
request IListExecutionsRequest

ListExecutionsRequest message or plain object

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

Promise

listInstances(request, callback)

public listInstances(request: google.cloud.notebooks.v1.IListInstancesRequest, callback: google.cloud.notebooks.v1.NotebookService.ListInstancesCallback): void;

Calls ListInstances.

Parameters
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ListInstancesCallback

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

Returns
TypeDescription
void

listInstances(request)

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

Calls ListInstances.

Parameter
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

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

Promise

listSchedules(request, callback)

public listSchedules(request: google.cloud.notebooks.v1.IListSchedulesRequest, callback: google.cloud.notebooks.v1.NotebookService.ListSchedulesCallback): void;

Calls ListSchedules.

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

ListSchedulesRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ListSchedulesCallback

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

Returns
TypeDescription
void

listSchedules(request)

public listSchedules(request: google.cloud.notebooks.v1.IListSchedulesRequest): Promise<google.cloud.notebooks.v1.ListSchedulesResponse>;

Calls ListSchedules.

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

ListSchedulesRequest message or plain object

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

Promise

registerInstance(request, callback)

public registerInstance(request: google.cloud.notebooks.v1.IRegisterInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.RegisterInstanceCallback): void;

Calls RegisterInstance.

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

RegisterInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.RegisterInstanceCallback

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

Returns
TypeDescription
void

registerInstance(request)

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

Calls RegisterInstance.

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

RegisterInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

reportInstanceInfo(request, callback)

public reportInstanceInfo(request: google.cloud.notebooks.v1.IReportInstanceInfoRequest, callback: google.cloud.notebooks.v1.NotebookService.ReportInstanceInfoCallback): void;

Calls ReportInstanceInfo.

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

ReportInstanceInfoRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ReportInstanceInfoCallback

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

Returns
TypeDescription
void

reportInstanceInfo(request)

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

Calls ReportInstanceInfo.

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

ReportInstanceInfoRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

resetInstance(request, callback)

public resetInstance(request: google.cloud.notebooks.v1.IResetInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.ResetInstanceCallback): void;

Calls ResetInstance.

Parameters
NameDescription
request IResetInstanceRequest

ResetInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.ResetInstanceCallback

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

Returns
TypeDescription
void

resetInstance(request)

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

Calls ResetInstance.

Parameter
NameDescription
request IResetInstanceRequest

ResetInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

rollbackInstance(request, callback)

public rollbackInstance(request: google.cloud.notebooks.v1.IRollbackInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.RollbackInstanceCallback): void;

Calls RollbackInstance.

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

RollbackInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.RollbackInstanceCallback

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

Returns
TypeDescription
void

rollbackInstance(request)

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

Calls RollbackInstance.

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

RollbackInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

setInstanceAccelerator(request, callback)

public setInstanceAccelerator(request: google.cloud.notebooks.v1.ISetInstanceAcceleratorRequest, callback: google.cloud.notebooks.v1.NotebookService.SetInstanceAcceleratorCallback): void;

Calls SetInstanceAccelerator.

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

SetInstanceAcceleratorRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.SetInstanceAcceleratorCallback

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

Returns
TypeDescription
void

setInstanceAccelerator(request)

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

Calls SetInstanceAccelerator.

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

SetInstanceAcceleratorRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

setInstanceLabels(request, callback)

public setInstanceLabels(request: google.cloud.notebooks.v1.ISetInstanceLabelsRequest, callback: google.cloud.notebooks.v1.NotebookService.SetInstanceLabelsCallback): void;

Calls SetInstanceLabels.

Parameters
NameDescription
request ISetInstanceLabelsRequest

SetInstanceLabelsRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.SetInstanceLabelsCallback

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

Returns
TypeDescription
void

setInstanceLabels(request)

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

Calls SetInstanceLabels.

Parameter
NameDescription
request ISetInstanceLabelsRequest

SetInstanceLabelsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

setInstanceMachineType(request, callback)

public setInstanceMachineType(request: google.cloud.notebooks.v1.ISetInstanceMachineTypeRequest, callback: google.cloud.notebooks.v1.NotebookService.SetInstanceMachineTypeCallback): void;

Calls SetInstanceMachineType.

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

SetInstanceMachineTypeRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.SetInstanceMachineTypeCallback

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

Returns
TypeDescription
void

setInstanceMachineType(request)

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

Calls SetInstanceMachineType.

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

SetInstanceMachineTypeRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

startInstance(request, callback)

public startInstance(request: google.cloud.notebooks.v1.IStartInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.StartInstanceCallback): void;

Calls StartInstance.

Parameters
NameDescription
request IStartInstanceRequest

StartInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.StartInstanceCallback

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

Returns
TypeDescription
void

startInstance(request)

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

Calls StartInstance.

Parameter
NameDescription
request IStartInstanceRequest

StartInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

stopInstance(request, callback)

public stopInstance(request: google.cloud.notebooks.v1.IStopInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.StopInstanceCallback): void;

Calls StopInstance.

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

StopInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.StopInstanceCallback

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

Returns
TypeDescription
void

stopInstance(request)

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

Calls StopInstance.

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

StopInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

triggerSchedule(request, callback)

public triggerSchedule(request: google.cloud.notebooks.v1.ITriggerScheduleRequest, callback: google.cloud.notebooks.v1.NotebookService.TriggerScheduleCallback): void;

Calls TriggerSchedule.

Parameters
NameDescription
request ITriggerScheduleRequest

TriggerScheduleRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.TriggerScheduleCallback

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

Returns
TypeDescription
void

triggerSchedule(request)

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

Calls TriggerSchedule.

Parameter
NameDescription
request ITriggerScheduleRequest

TriggerScheduleRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInstanceConfig(request, callback)

public updateInstanceConfig(request: google.cloud.notebooks.v1.IUpdateInstanceConfigRequest, callback: google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfigCallback): void;

Calls UpdateInstanceConfig.

Parameters
NameDescription
request IUpdateInstanceConfigRequest

UpdateInstanceConfigRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfigCallback

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

Returns
TypeDescription
void

updateInstanceConfig(request)

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

Calls UpdateInstanceConfig.

Parameter
NameDescription
request IUpdateInstanceConfigRequest

UpdateInstanceConfigRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInstanceMetadataItems(request, callback)

public updateInstanceMetadataItems(request: google.cloud.notebooks.v1.IUpdateInstanceMetadataItemsRequest, callback: google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItemsCallback): void;

Calls UpdateInstanceMetadataItems.

Parameters
NameDescription
request IUpdateInstanceMetadataItemsRequest

UpdateInstanceMetadataItemsRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItemsCallback

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

Returns
TypeDescription
void

updateInstanceMetadataItems(request)

public updateInstanceMetadataItems(request: google.cloud.notebooks.v1.IUpdateInstanceMetadataItemsRequest): Promise<google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse>;

Calls UpdateInstanceMetadataItems.

Parameter
NameDescription
request IUpdateInstanceMetadataItemsRequest

UpdateInstanceMetadataItemsRequest message or plain object

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

Promise

updateShieldedInstanceConfig(request, callback)

public updateShieldedInstanceConfig(request: google.cloud.notebooks.v1.IUpdateShieldedInstanceConfigRequest, callback: google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfigCallback): void;

Calls UpdateShieldedInstanceConfig.

Parameters
NameDescription
request IUpdateShieldedInstanceConfigRequest

UpdateShieldedInstanceConfigRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfigCallback

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

Returns
TypeDescription
void

updateShieldedInstanceConfig(request)

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

Calls UpdateShieldedInstanceConfig.

Parameter
NameDescription
request IUpdateShieldedInstanceConfigRequest

UpdateShieldedInstanceConfigRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

upgradeInstance(request, callback)

public upgradeInstance(request: google.cloud.notebooks.v1.IUpgradeInstanceRequest, callback: google.cloud.notebooks.v1.NotebookService.UpgradeInstanceCallback): void;

Calls UpgradeInstance.

Parameters
NameDescription
request IUpgradeInstanceRequest

UpgradeInstanceRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.UpgradeInstanceCallback

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

Returns
TypeDescription
void

upgradeInstance(request)

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

Calls UpgradeInstance.

Parameter
NameDescription
request IUpgradeInstanceRequest

UpgradeInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

upgradeInstanceInternal(request, callback)

public upgradeInstanceInternal(request: google.cloud.notebooks.v1.IUpgradeInstanceInternalRequest, callback: google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternalCallback): void;

Calls UpgradeInstanceInternal.

Parameters
NameDescription
request IUpgradeInstanceInternalRequest

UpgradeInstanceInternalRequest message or plain object

callback google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternalCallback

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

Returns
TypeDescription
void

upgradeInstanceInternal(request)

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

Calls UpgradeInstanceInternal.

Parameter
NameDescription
request IUpgradeInstanceInternalRequest

UpgradeInstanceInternalRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise