Class protos.google.cloud.aiplatform.v1beta1.EndpointService (3.13.0)

Represents an EndpointService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.EndpointService

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createEndpoint(request, callback)

public createEndpoint(request: google.cloud.aiplatform.v1beta1.ICreateEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpointCallback): void;

Calls CreateEndpoint.

Parameters
NameDescription
request ICreateEndpointRequest

CreateEndpointRequest message or plain object

callback CreateEndpointCallback

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

Returns
TypeDescription
void

createEndpoint(request)

public createEndpoint(request: google.cloud.aiplatform.v1beta1.ICreateEndpointRequest): Promise<google.longrunning.Operation>;

Calls CreateEndpoint.

Parameter
NameDescription
request ICreateEndpointRequest

CreateEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEndpoint(request, callback)

public deleteEndpoint(request: google.cloud.aiplatform.v1beta1.IDeleteEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpointCallback): void;

Calls DeleteEndpoint.

Parameters
NameDescription
request IDeleteEndpointRequest

DeleteEndpointRequest message or plain object

callback DeleteEndpointCallback

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

Returns
TypeDescription
void

deleteEndpoint(request)

public deleteEndpoint(request: google.cloud.aiplatform.v1beta1.IDeleteEndpointRequest): Promise<google.longrunning.Operation>;

Calls DeleteEndpoint.

Parameter
NameDescription
request IDeleteEndpointRequest

DeleteEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deployModel(request, callback)

public deployModel(request: google.cloud.aiplatform.v1beta1.IDeployModelRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.DeployModelCallback): void;

Calls DeployModel.

Parameters
NameDescription
request IDeployModelRequest

DeployModelRequest message or plain object

callback DeployModelCallback

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

Returns
TypeDescription
void

deployModel(request)

public deployModel(request: google.cloud.aiplatform.v1beta1.IDeployModelRequest): Promise<google.longrunning.Operation>;

Calls DeployModel.

Parameter
NameDescription
request IDeployModelRequest

DeployModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getEndpoint(request, callback)

public getEndpoint(request: google.cloud.aiplatform.v1beta1.IGetEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.GetEndpointCallback): void;

Calls GetEndpoint.

Parameters
NameDescription
request IGetEndpointRequest

GetEndpointRequest message or plain object

callback GetEndpointCallback

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

Returns
TypeDescription
void

getEndpoint(request)

public getEndpoint(request: google.cloud.aiplatform.v1beta1.IGetEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.Endpoint>;

Calls GetEndpoint.

Parameter
NameDescription
request IGetEndpointRequest

GetEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.Endpoint>

Promise

listEndpoints(request, callback)

public listEndpoints(request: google.cloud.aiplatform.v1beta1.IListEndpointsRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.ListEndpointsCallback): void;

Calls ListEndpoints.

Parameters
NameDescription
request IListEndpointsRequest

ListEndpointsRequest message or plain object

callback ListEndpointsCallback

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

Returns
TypeDescription
void

listEndpoints(request)

public listEndpoints(request: google.cloud.aiplatform.v1beta1.IListEndpointsRequest): Promise<google.cloud.aiplatform.v1beta1.ListEndpointsResponse>;

Calls ListEndpoints.

Parameter
NameDescription
request IListEndpointsRequest

ListEndpointsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListEndpointsResponse>

Promise

mutateDeployedModel(request, callback)

public mutateDeployedModel(request: google.cloud.aiplatform.v1beta1.IMutateDeployedModelRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModelCallback): void;

Calls MutateDeployedModel.

Parameters
NameDescription
request IMutateDeployedModelRequest

MutateDeployedModelRequest message or plain object

callback MutateDeployedModelCallback

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

Returns
TypeDescription
void

mutateDeployedModel(request)

public mutateDeployedModel(request: google.cloud.aiplatform.v1beta1.IMutateDeployedModelRequest): Promise<google.longrunning.Operation>;

Calls MutateDeployedModel.

Parameter
NameDescription
request IMutateDeployedModelRequest

MutateDeployedModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

undeployModel(request, callback)

public undeployModel(request: google.cloud.aiplatform.v1beta1.IUndeployModelRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.UndeployModelCallback): void;

Calls UndeployModel.

Parameters
NameDescription
request IUndeployModelRequest

UndeployModelRequest message or plain object

callback UndeployModelCallback

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

Returns
TypeDescription
void

undeployModel(request)

public undeployModel(request: google.cloud.aiplatform.v1beta1.IUndeployModelRequest): Promise<google.longrunning.Operation>;

Calls UndeployModel.

Parameter
NameDescription
request IUndeployModelRequest

UndeployModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateEndpoint(request, callback)

public updateEndpoint(request: google.cloud.aiplatform.v1beta1.IUpdateEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpointCallback): void;

Calls UpdateEndpoint.

Parameters
NameDescription
request IUpdateEndpointRequest

UpdateEndpointRequest message or plain object

callback UpdateEndpointCallback

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

Returns
TypeDescription
void

updateEndpoint(request)

public updateEndpoint(request: google.cloud.aiplatform.v1beta1.IUpdateEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.Endpoint>;

Calls UpdateEndpoint.

Parameter
NameDescription
request IUpdateEndpointRequest

UpdateEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.Endpoint>

Promise