Class protos.google.cloud.aiplatform.v1beta1.EndpointService (1.11.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 google.cloud.aiplatform.v1beta1.EndpointService.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 google.cloud.aiplatform.v1beta1.EndpointService.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 google.cloud.aiplatform.v1beta1.EndpointService.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 google.cloud.aiplatform.v1beta1.EndpointService.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 google.cloud.aiplatform.v1beta1.EndpointService.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

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 google.cloud.aiplatform.v1beta1.EndpointService.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 google.cloud.aiplatform.v1beta1.EndpointService.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