Represents a MachineLearningRuns
Inheritance
$protobuf.rpc.Service > protos.google.cloud.hypercomputecluster.v1alpha.MachineLearningRunsPackage
@google-cloud/hypercomputeclusterConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new MachineLearningRuns service.
| Parameters | |
|---|---|
| Name | Description |
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): MachineLearningRuns;Creates new MachineLearningRuns service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
MachineLearningRuns |
RPC service. Useful where requests and/or responses are streamed. |
createMachineLearningRun(request, callback)
public createMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.ICreateMachineLearningRunRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.CreateMachineLearningRunCallback): void;Calls CreateMachineLearningRun.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMachineLearningRunRequest
CreateMachineLearningRunRequest message or plain object |
callback |
CreateMachineLearningRunCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
createMachineLearningRun(request)
public createMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.ICreateMachineLearningRunRequest): Promise<google.longrunning.Operation>;Calls CreateMachineLearningRun.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateMachineLearningRunRequest
CreateMachineLearningRunRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
deleteMachineLearningRun(request, callback)
public deleteMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IDeleteMachineLearningRunRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.DeleteMachineLearningRunCallback): void;Calls DeleteMachineLearningRun.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMachineLearningRunRequest
DeleteMachineLearningRunRequest message or plain object |
callback |
DeleteMachineLearningRunCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMachineLearningRun(request)
public deleteMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IDeleteMachineLearningRunRequest): Promise<google.longrunning.Operation>;Calls DeleteMachineLearningRun.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteMachineLearningRunRequest
DeleteMachineLearningRunRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
getMachineLearningRun(request, callback)
public getMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IGetMachineLearningRunRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.GetMachineLearningRunCallback): void;Calls GetMachineLearningRun.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMachineLearningRunRequest
GetMachineLearningRunRequest message or plain object |
callback |
GetMachineLearningRunCallback
Node-style callback called with the error, if any, and MachineLearningRun |
| Returns | |
|---|---|
| Type | Description |
void |
|
getMachineLearningRun(request)
public getMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IGetMachineLearningRunRequest): Promise<google.cloud.hypercomputecluster.v1alpha.MachineLearningRun>;Calls GetMachineLearningRun.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetMachineLearningRunRequest
GetMachineLearningRunRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.hypercomputecluster.v1alpha.MachineLearningRun> |
Promise |
getProfileSession(request, callback)
public getProfileSession(request: google.cloud.hypercomputecluster.v1alpha.IGetProfileSessionRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.GetProfileSessionCallback): void;Calls GetProfileSession.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetProfileSessionRequest
GetProfileSessionRequest message or plain object |
callback |
GetProfileSessionCallback
Node-style callback called with the error, if any, and ProfileSession |
| Returns | |
|---|---|
| Type | Description |
void |
|
getProfileSession(request)
public getProfileSession(request: google.cloud.hypercomputecluster.v1alpha.IGetProfileSessionRequest): Promise<google.cloud.hypercomputecluster.v1alpha.ProfileSession>;Calls GetProfileSession.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetProfileSessionRequest
GetProfileSessionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.hypercomputecluster.v1alpha.ProfileSession> |
Promise |
listMachineLearningRuns(request, callback)
public listMachineLearningRuns(request: google.cloud.hypercomputecluster.v1alpha.IListMachineLearningRunsRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.ListMachineLearningRunsCallback): void;Calls ListMachineLearningRuns.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMachineLearningRunsRequest
ListMachineLearningRunsRequest message or plain object |
callback |
ListMachineLearningRunsCallback
Node-style callback called with the error, if any, and ListMachineLearningRunsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listMachineLearningRuns(request)
public listMachineLearningRuns(request: google.cloud.hypercomputecluster.v1alpha.IListMachineLearningRunsRequest): Promise<google.cloud.hypercomputecluster.v1alpha.ListMachineLearningRunsResponse>;Calls ListMachineLearningRuns.
| Parameter | |
|---|---|
| Name | Description |
request |
IListMachineLearningRunsRequest
ListMachineLearningRunsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.hypercomputecluster.v1alpha.ListMachineLearningRunsResponse> |
Promise |
listProfileSessions(request, callback)
public listProfileSessions(request: google.cloud.hypercomputecluster.v1alpha.IListProfileSessionsRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.ListProfileSessionsCallback): void;Calls ListProfileSessions.
| Parameters | |
|---|---|
| Name | Description |
request |
IListProfileSessionsRequest
ListProfileSessionsRequest message or plain object |
callback |
ListProfileSessionsCallback
Node-style callback called with the error, if any, and ListProfileSessionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listProfileSessions(request)
public listProfileSessions(request: google.cloud.hypercomputecluster.v1alpha.IListProfileSessionsRequest): Promise<google.cloud.hypercomputecluster.v1alpha.ListProfileSessionsResponse>;Calls ListProfileSessions.
| Parameter | |
|---|---|
| Name | Description |
request |
IListProfileSessionsRequest
ListProfileSessionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.hypercomputecluster.v1alpha.ListProfileSessionsResponse> |
Promise |
updateMachineLearningRun(request, callback)
public updateMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IUpdateMachineLearningRunRequest, callback: google.cloud.hypercomputecluster.v1alpha.MachineLearningRuns.UpdateMachineLearningRunCallback): void;Calls UpdateMachineLearningRun.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMachineLearningRunRequest
UpdateMachineLearningRunRequest message or plain object |
callback |
UpdateMachineLearningRunCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMachineLearningRun(request)
public updateMachineLearningRun(request: google.cloud.hypercomputecluster.v1alpha.IUpdateMachineLearningRunRequest): Promise<google.longrunning.Operation>;Calls UpdateMachineLearningRun.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateMachineLearningRunRequest
UpdateMachineLearningRunRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |