Represents an IndexService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.IndexServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new IndexService 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): IndexService;
Creates new IndexService 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 |
IndexService | RPC service. Useful where requests and/or responses are streamed. |
createIndex(request, callback)
public createIndex(request: google.cloud.aiplatform.v1beta1.ICreateIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexService.CreateIndexCallback): void;
Calls CreateIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateIndexRequest
CreateIndexRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.IndexService.CreateIndexCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createIndex(request)
public createIndex(request: google.cloud.aiplatform.v1beta1.ICreateIndexRequest): Promise<google.longrunning.Operation>;
Calls CreateIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateIndexRequest
CreateIndexRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteIndex(request, callback)
public deleteIndex(request: google.cloud.aiplatform.v1beta1.IDeleteIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexService.DeleteIndexCallback): void;
Calls DeleteIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IDeleteIndexRequest
DeleteIndexRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.IndexService.DeleteIndexCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteIndex(request)
public deleteIndex(request: google.cloud.aiplatform.v1beta1.IDeleteIndexRequest): Promise<google.longrunning.Operation>;
Calls DeleteIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IDeleteIndexRequest
DeleteIndexRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getIndex(request, callback)
public getIndex(request: google.cloud.aiplatform.v1beta1.IGetIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexService.GetIndexCallback): void;
Calls GetIndex.
Name | Description |
request |
IGetIndexRequest
GetIndexRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.IndexService.GetIndexCallback
Node-style callback called with the error, if any, and Index |
Type | Description |
void |
getIndex(request)
public getIndex(request: google.cloud.aiplatform.v1beta1.IGetIndexRequest): Promise<google.cloud.aiplatform.v1beta1.Index>;
Calls GetIndex.
Name | Description |
request |
IGetIndexRequest
GetIndexRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.Index> | Promise |
listIndexes(request, callback)
public listIndexes(request: google.cloud.aiplatform.v1beta1.IListIndexesRequest, callback: google.cloud.aiplatform.v1beta1.IndexService.ListIndexesCallback): void;
Calls ListIndexes.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IListIndexesRequest
ListIndexesRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.IndexService.ListIndexesCallback
Node-style callback called with the error, if any, and ListIndexesResponse |
Type | Description |
void |
listIndexes(request)
public listIndexes(request: google.cloud.aiplatform.v1beta1.IListIndexesRequest): Promise<google.cloud.aiplatform.v1beta1.ListIndexesResponse>;
Calls ListIndexes.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IListIndexesRequest
ListIndexesRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.ListIndexesResponse> | Promise |
updateIndex(request, callback)
public updateIndex(request: google.cloud.aiplatform.v1beta1.IUpdateIndexRequest, callback: google.cloud.aiplatform.v1beta1.IndexService.UpdateIndexCallback): void;
Calls UpdateIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IUpdateIndexRequest
UpdateIndexRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.IndexService.UpdateIndexCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateIndex(request)
public updateIndex(request: google.cloud.aiplatform.v1beta1.IUpdateIndexRequest): Promise<google.longrunning.Operation>;
Calls UpdateIndex.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IUpdateIndexRequest
UpdateIndexRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |