Represents an IndexEndpointService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.IndexEndpointServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new IndexEndpointService 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): IndexEndpointService;
Creates new IndexEndpointService 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 |
IndexEndpointService | RPC service. Useful where requests and/or responses are streamed. |
createIndexEndpoint(request, callback)
public createIndexEndpoint(request: google.cloud.aiplatform.v1beta1.ICreateIndexEndpointRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpointCallback): void;
Calls CreateIndexEndpoint.
Parameters | |
---|---|
Name | Description |
request |
ICreateIndexEndpointRequest
CreateIndexEndpointRequest message or plain object |
callback |
CreateIndexEndpointCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createIndexEndpoint(request)
public createIndexEndpoint(request: google.cloud.aiplatform.v1beta1.ICreateIndexEndpointRequest): Promise<google.longrunning.Operation>;
Calls CreateIndexEndpoint.
Parameter | |
---|---|
Name | Description |
request |
ICreateIndexEndpointRequest
CreateIndexEndpointRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteIndexEndpoint(request, callback)
public deleteIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IDeleteIndexEndpointRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpointCallback): void;
Calls DeleteIndexEndpoint.
Parameters | |
---|---|
Name | Description |
request |
IDeleteIndexEndpointRequest
DeleteIndexEndpointRequest message or plain object |
callback |
DeleteIndexEndpointCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteIndexEndpoint(request)
public deleteIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IDeleteIndexEndpointRequest): Promise<google.longrunning.Operation>;
Calls DeleteIndexEndpoint.
Parameter | |
---|---|
Name | Description |
request |
IDeleteIndexEndpointRequest
DeleteIndexEndpointRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deployIndex(request, callback)
public deployIndex(request: google.cloud.aiplatform.v1beta1.IDeployIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndexCallback): void;
Calls DeployIndex.
Parameters | |
---|---|
Name | Description |
request |
IDeployIndexRequest
DeployIndexRequest message or plain object |
callback |
DeployIndexCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deployIndex(request)
public deployIndex(request: google.cloud.aiplatform.v1beta1.IDeployIndexRequest): Promise<google.longrunning.Operation>;
Calls DeployIndex.
Parameter | |
---|---|
Name | Description |
request |
IDeployIndexRequest
DeployIndexRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getIndexEndpoint(request, callback)
public getIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IGetIndexEndpointRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpointCallback): void;
Calls GetIndexEndpoint.
Parameters | |
---|---|
Name | Description |
request |
IGetIndexEndpointRequest
GetIndexEndpointRequest message or plain object |
callback |
GetIndexEndpointCallback
Node-style callback called with the error, if any, and IndexEndpoint |
Returns | |
---|---|
Type | Description |
void |
getIndexEndpoint(request)
public getIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IGetIndexEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.IndexEndpoint>;
Calls GetIndexEndpoint.
Parameter | |
---|---|
Name | Description |
request |
IGetIndexEndpointRequest
GetIndexEndpointRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.IndexEndpoint> | Promise |
listIndexEndpoints(request, callback)
public listIndexEndpoints(request: google.cloud.aiplatform.v1beta1.IListIndexEndpointsRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpointsCallback): void;
Calls ListIndexEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IListIndexEndpointsRequest
ListIndexEndpointsRequest message or plain object |
callback |
ListIndexEndpointsCallback
Node-style callback called with the error, if any, and ListIndexEndpointsResponse |
Returns | |
---|---|
Type | Description |
void |
listIndexEndpoints(request)
public listIndexEndpoints(request: google.cloud.aiplatform.v1beta1.IListIndexEndpointsRequest): Promise<google.cloud.aiplatform.v1beta1.ListIndexEndpointsResponse>;
Calls ListIndexEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IListIndexEndpointsRequest
ListIndexEndpointsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.ListIndexEndpointsResponse> | Promise |
mutateDeployedIndex(request, callback)
public mutateDeployedIndex(request: google.cloud.aiplatform.v1beta1.IMutateDeployedIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndexCallback): void;
Calls MutateDeployedIndex.
Parameters | |
---|---|
Name | Description |
request |
IMutateDeployedIndexRequest
MutateDeployedIndexRequest message or plain object |
callback |
MutateDeployedIndexCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
mutateDeployedIndex(request)
public mutateDeployedIndex(request: google.cloud.aiplatform.v1beta1.IMutateDeployedIndexRequest): Promise<google.longrunning.Operation>;
Calls MutateDeployedIndex.
Parameter | |
---|---|
Name | Description |
request |
IMutateDeployedIndexRequest
MutateDeployedIndexRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
undeployIndex(request, callback)
public undeployIndex(request: google.cloud.aiplatform.v1beta1.IUndeployIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndexCallback): void;
Calls UndeployIndex.
Parameters | |
---|---|
Name | Description |
request |
IUndeployIndexRequest
UndeployIndexRequest message or plain object |
callback |
UndeployIndexCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
undeployIndex(request)
public undeployIndex(request: google.cloud.aiplatform.v1beta1.IUndeployIndexRequest): Promise<google.longrunning.Operation>;
Calls UndeployIndex.
Parameter | |
---|---|
Name | Description |
request |
IUndeployIndexRequest
UndeployIndexRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateIndexEndpoint(request, callback)
public updateIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IUpdateIndexEndpointRequest, callback: google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpointCallback): void;
Calls UpdateIndexEndpoint.
Parameters | |
---|---|
Name | Description |
request |
IUpdateIndexEndpointRequest
UpdateIndexEndpointRequest message or plain object |
callback |
UpdateIndexEndpointCallback
Node-style callback called with the error, if any, and IndexEndpoint |
Returns | |
---|---|
Type | Description |
void |
updateIndexEndpoint(request)
public updateIndexEndpoint(request: google.cloud.aiplatform.v1beta1.IUpdateIndexEndpointRequest): Promise<google.cloud.aiplatform.v1beta1.IndexEndpoint>;
Calls UpdateIndexEndpoint.
Parameter | |
---|---|
Name | Description |
request |
IUpdateIndexEndpointRequest
UpdateIndexEndpointRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.IndexEndpoint> | Promise |