Represents an EndpointService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.EndpointServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new EndpointService service.
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): EndpointService;
Creates new EndpointService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
EndpointService | RPC service. Useful where requests and/or responses are streamed. |
createEndpoint(request, callback)
public createEndpoint(request: google.cloud.aiplatform.v1.ICreateEndpointRequest, callback: google.cloud.aiplatform.v1.EndpointService.CreateEndpointCallback): void;
Calls CreateEndpoint.
Name | Description |
request |
ICreateEndpointRequest
CreateEndpointRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.CreateEndpointCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createEndpoint(request)
public createEndpoint(request: google.cloud.aiplatform.v1.ICreateEndpointRequest): Promise<google.longrunning.Operation>;
Calls CreateEndpoint.
Name | Description |
request |
ICreateEndpointRequest
CreateEndpointRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteEndpoint(request, callback)
public deleteEndpoint(request: google.cloud.aiplatform.v1.IDeleteEndpointRequest, callback: google.cloud.aiplatform.v1.EndpointService.DeleteEndpointCallback): void;
Calls DeleteEndpoint.
Name | Description |
request |
IDeleteEndpointRequest
DeleteEndpointRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.DeleteEndpointCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteEndpoint(request)
public deleteEndpoint(request: google.cloud.aiplatform.v1.IDeleteEndpointRequest): Promise<google.longrunning.Operation>;
Calls DeleteEndpoint.
Name | Description |
request |
IDeleteEndpointRequest
DeleteEndpointRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deployModel(request, callback)
public deployModel(request: google.cloud.aiplatform.v1.IDeployModelRequest, callback: google.cloud.aiplatform.v1.EndpointService.DeployModelCallback): void;
Calls DeployModel.
Name | Description |
request |
IDeployModelRequest
DeployModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.DeployModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deployModel(request)
public deployModel(request: google.cloud.aiplatform.v1.IDeployModelRequest): Promise<google.longrunning.Operation>;
Calls DeployModel.
Name | Description |
request |
IDeployModelRequest
DeployModelRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getEndpoint(request, callback)
public getEndpoint(request: google.cloud.aiplatform.v1.IGetEndpointRequest, callback: google.cloud.aiplatform.v1.EndpointService.GetEndpointCallback): void;
Calls GetEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetEndpointRequest
GetEndpointRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.GetEndpointCallback
Node-style callback called with the error, if any, and Endpoint |
Type | Description |
void |
getEndpoint(request)
public getEndpoint(request: google.cloud.aiplatform.v1.IGetEndpointRequest): Promise<google.cloud.aiplatform.v1.Endpoint>;
Calls GetEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetEndpointRequest
GetEndpointRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.Endpoint> | Promise |
listEndpoints(request, callback)
public listEndpoints(request: google.cloud.aiplatform.v1.IListEndpointsRequest, callback: google.cloud.aiplatform.v1.EndpointService.ListEndpointsCallback): void;
Calls ListEndpoints.
Name | Description |
request |
IListEndpointsRequest
ListEndpointsRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.ListEndpointsCallback
Node-style callback called with the error, if any, and ListEndpointsResponse |
Type | Description |
void |
listEndpoints(request)
public listEndpoints(request: google.cloud.aiplatform.v1.IListEndpointsRequest): Promise<google.cloud.aiplatform.v1.ListEndpointsResponse>;
Calls ListEndpoints.
Name | Description |
request |
IListEndpointsRequest
ListEndpointsRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ListEndpointsResponse> | Promise |
undeployModel(request, callback)
public undeployModel(request: google.cloud.aiplatform.v1.IUndeployModelRequest, callback: google.cloud.aiplatform.v1.EndpointService.UndeployModelCallback): void;
Calls UndeployModel.
Name | Description |
request |
IUndeployModelRequest
UndeployModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.UndeployModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
undeployModel(request)
public undeployModel(request: google.cloud.aiplatform.v1.IUndeployModelRequest): Promise<google.longrunning.Operation>;
Calls UndeployModel.
Name | Description |
request |
IUndeployModelRequest
UndeployModelRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateEndpoint(request, callback)
public updateEndpoint(request: google.cloud.aiplatform.v1.IUpdateEndpointRequest, callback: google.cloud.aiplatform.v1.EndpointService.UpdateEndpointCallback): void;
Calls UpdateEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1.IUpdateEndpointRequest
UpdateEndpointRequest message or plain object |
callback |
google.cloud.aiplatform.v1.EndpointService.UpdateEndpointCallback
Node-style callback called with the error, if any, and Endpoint |
Type | Description |
void |
updateEndpoint(request)
public updateEndpoint(request: google.cloud.aiplatform.v1.IUpdateEndpointRequest): Promise<google.cloud.aiplatform.v1.Endpoint>;
Calls UpdateEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1.IUpdateEndpointRequest
UpdateEndpointRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.Endpoint> | Promise |