Class protos.google.cloud.aiplatform.v1beta1.PersistentResourceService (3.9.0)

Represents a PersistentResourceService

Inheritance

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

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new PersistentResourceService 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
PersistentResourceService

RPC service. Useful where requests and/or responses are streamed.

createPersistentResource(request, callback)

public createPersistentResource(request: google.cloud.aiplatform.v1beta1.ICreatePersistentResourceRequest, callback: google.cloud.aiplatform.v1beta1.PersistentResourceService.CreatePersistentResourceCallback): void;

Calls CreatePersistentResource.

Parameters
NameDescription
request ICreatePersistentResourceRequest

CreatePersistentResourceRequest message or plain object

callback CreatePersistentResourceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createPersistentResource(request)

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

Calls CreatePersistentResource.

Parameter
NameDescription
request ICreatePersistentResourceRequest

CreatePersistentResourceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deletePersistentResource(request, callback)

public deletePersistentResource(request: google.cloud.aiplatform.v1beta1.IDeletePersistentResourceRequest, callback: google.cloud.aiplatform.v1beta1.PersistentResourceService.DeletePersistentResourceCallback): void;

Calls DeletePersistentResource.

Parameters
NameDescription
request IDeletePersistentResourceRequest

DeletePersistentResourceRequest message or plain object

callback DeletePersistentResourceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deletePersistentResource(request)

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

Calls DeletePersistentResource.

Parameter
NameDescription
request IDeletePersistentResourceRequest

DeletePersistentResourceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getPersistentResource(request, callback)

public getPersistentResource(request: google.cloud.aiplatform.v1beta1.IGetPersistentResourceRequest, callback: google.cloud.aiplatform.v1beta1.PersistentResourceService.GetPersistentResourceCallback): void;

Calls GetPersistentResource.

Parameters
NameDescription
request IGetPersistentResourceRequest

GetPersistentResourceRequest message or plain object

callback GetPersistentResourceCallback

Node-style callback called with the error, if any, and PersistentResource

Returns
TypeDescription
void

getPersistentResource(request)

public getPersistentResource(request: google.cloud.aiplatform.v1beta1.IGetPersistentResourceRequest): Promise<google.cloud.aiplatform.v1beta1.PersistentResource>;

Calls GetPersistentResource.

Parameter
NameDescription
request IGetPersistentResourceRequest

GetPersistentResourceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.PersistentResource>

Promise

listPersistentResources(request, callback)

public listPersistentResources(request: google.cloud.aiplatform.v1beta1.IListPersistentResourcesRequest, callback: google.cloud.aiplatform.v1beta1.PersistentResourceService.ListPersistentResourcesCallback): void;

Calls ListPersistentResources.

Parameters
NameDescription
request IListPersistentResourcesRequest

ListPersistentResourcesRequest message or plain object

callback ListPersistentResourcesCallback

Node-style callback called with the error, if any, and ListPersistentResourcesResponse

Returns
TypeDescription
void

listPersistentResources(request)

public listPersistentResources(request: google.cloud.aiplatform.v1beta1.IListPersistentResourcesRequest): Promise<google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse>;

Calls ListPersistentResources.

Parameter
NameDescription
request IListPersistentResourcesRequest

ListPersistentResourcesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse>

Promise

updatePersistentResource(request, callback)

public updatePersistentResource(request: google.cloud.aiplatform.v1beta1.IUpdatePersistentResourceRequest, callback: google.cloud.aiplatform.v1beta1.PersistentResourceService.UpdatePersistentResourceCallback): void;

Calls UpdatePersistentResource.

Parameters
NameDescription
request IUpdatePersistentResourceRequest

UpdatePersistentResourceRequest message or plain object

callback UpdatePersistentResourceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updatePersistentResource(request)

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

Calls UpdatePersistentResource.

Parameter
NameDescription
request IUpdatePersistentResourceRequest

UpdatePersistentResourceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise