Represents an EndpointService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.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.v1beta1.ICreateEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpointCallback): void;
Calls CreateEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateEndpointRequest
CreateEndpointRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpointCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createEndpoint(request)
public createEndpoint(request: google.cloud.aiplatform.v1beta1.ICreateEndpointRequest): Promise<google.longrunning.Operation>;
Calls CreateEndpoint.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateEndpointRequest
CreateEndpointRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
deleteEndpoint(request)
public deleteEndpoint(request: google.cloud.aiplatform.v1beta1.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.v1beta1.IDeployModelRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.DeployModelCallback): void;
Calls DeployModel.
Name | Description |
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 |
Type | Description |
void |
deployModel(request)
public deployModel(request: google.cloud.aiplatform.v1beta1.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.v1beta1.IGetEndpointRequest, callback: google.cloud.aiplatform.v1beta1.EndpointService.GetEndpointCallback): void;
Calls GetEndpoint.
Name | Description |
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 |
Type | Description |
void |
getEndpoint(request)
public getEndpoint(request: google.cloud.aiplatform.v1beta1.IGetEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.Endpoint>;
Calls GetEndpoint.
Name | Description |
request |
IGetEndpointRequest
GetEndpointRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listEndpoints(request)
public listEndpoints(request: google.cloud.aiplatform.v1beta1.IListEndpointsRequest): Promise<google.cloud.aiplatform.v1beta1.ListEndpointsResponse>;
Calls ListEndpoints.
Name | Description |
request |
IListEndpointsRequest
ListEndpointsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IUndeployModelRequest
UndeployModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.EndpointService.UndeployModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
undeployModel(request)
public undeployModel(request: google.cloud.aiplatform.v1beta1.IUndeployModelRequest): Promise<google.longrunning.Operation>;
Calls UndeployModel.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IUndeployModelRequest
UndeployModelRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
updateEndpoint(request)
public updateEndpoint(request: google.cloud.aiplatform.v1beta1.IUpdateEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.Endpoint>;
Calls UpdateEndpoint.
Name | Description |
request |
IUpdateEndpointRequest
UpdateEndpointRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.Endpoint> | Promise |