Represents a PersistentResourceService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.PersistentResourceServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new PersistentResourceService 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): PersistentResourceService;
Creates new PersistentResourceService 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 |
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 | |
---|---|
Name | Description |
request |
ICreatePersistentResourceRequest
CreatePersistentResourceRequest message or plain object |
callback |
CreatePersistentResourceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createPersistentResource(request)
public createPersistentResource(request: google.cloud.aiplatform.v1beta1.ICreatePersistentResourceRequest): Promise<google.longrunning.Operation>;
Calls CreatePersistentResource.
Parameter | |
---|---|
Name | Description |
request |
ICreatePersistentResourceRequest
CreatePersistentResourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeletePersistentResourceRequest
DeletePersistentResourceRequest message or plain object |
callback |
DeletePersistentResourceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deletePersistentResource(request)
public deletePersistentResource(request: google.cloud.aiplatform.v1beta1.IDeletePersistentResourceRequest): Promise<google.longrunning.Operation>;
Calls DeletePersistentResource.
Parameter | |
---|---|
Name | Description |
request |
IDeletePersistentResourceRequest
DeletePersistentResourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetPersistentResourceRequest
GetPersistentResourceRequest message or plain object |
callback |
GetPersistentResourceCallback
Node-style callback called with the error, if any, and PersistentResource |
Returns | |
---|---|
Type | Description |
void |
getPersistentResource(request)
public getPersistentResource(request: google.cloud.aiplatform.v1beta1.IGetPersistentResourceRequest): Promise<google.cloud.aiplatform.v1beta1.PersistentResource>;
Calls GetPersistentResource.
Parameter | |
---|---|
Name | Description |
request |
IGetPersistentResourceRequest
GetPersistentResourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListPersistentResourcesRequest
ListPersistentResourcesRequest message or plain object |
callback |
ListPersistentResourcesCallback
Node-style callback called with the error, if any, and ListPersistentResourcesResponse |
Returns | |
---|---|
Type | Description |
void |
listPersistentResources(request)
public listPersistentResources(request: google.cloud.aiplatform.v1beta1.IListPersistentResourcesRequest): Promise<google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse>;
Calls ListPersistentResources.
Parameter | |
---|---|
Name | Description |
request |
IListPersistentResourcesRequest
ListPersistentResourcesRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdatePersistentResourceRequest
UpdatePersistentResourceRequest message or plain object |
callback |
UpdatePersistentResourceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updatePersistentResource(request)
public updatePersistentResource(request: google.cloud.aiplatform.v1beta1.IUpdatePersistentResourceRequest): Promise<google.longrunning.Operation>;
Calls UpdatePersistentResource.
Parameter | |
---|---|
Name | Description |
request |
IUpdatePersistentResourceRequest
UpdatePersistentResourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |