Class protos.google.cloud.aiplatform.v1beta1.IndexService (1.13.0)

Represents an IndexService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.IndexService

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new IndexService 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): IndexService;

Creates new IndexService 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
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

createIndex(request)

public createIndex(request: google.cloud.aiplatform.v1beta1.ICreateIndexRequest): Promise<google.longrunning.Operation>;

Calls CreateIndex.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.ICreateIndexRequest

CreateIndexRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

deleteIndex(request)

public deleteIndex(request: google.cloud.aiplatform.v1beta1.IDeleteIndexRequest): Promise<google.longrunning.Operation>;

Calls DeleteIndex.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IDeleteIndexRequest

DeleteIndexRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

getIndex(request)

public getIndex(request: google.cloud.aiplatform.v1beta1.IGetIndexRequest): Promise<google.cloud.aiplatform.v1beta1.Index>;

Calls GetIndex.

Parameter
NameDescription
request IGetIndexRequest

GetIndexRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listIndexes(request)

public listIndexes(request: google.cloud.aiplatform.v1beta1.IListIndexesRequest): Promise<google.cloud.aiplatform.v1beta1.ListIndexesResponse>;

Calls ListIndexes.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IListIndexesRequest

ListIndexesRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

updateIndex(request)

public updateIndex(request: google.cloud.aiplatform.v1beta1.IUpdateIndexRequest): Promise<google.longrunning.Operation>;

Calls UpdateIndex.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IUpdateIndexRequest

UpdateIndexRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise