Cloud AI Platform v1 API - Class PersistentResourceService.PersistentResourceServiceBase (3.5.0)

[BindServiceMethod(typeof(PersistentResourceService), "BindService")]
public abstract class PersistentResourceService.PersistentResourceServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class PersistentResourceService.PersistentResourceServiceBase.

Base class for server-side implementations of PersistentResourceService

Inheritance

object > PersistentResourceService.PersistentResourceServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

CreatePersistentResource(CreatePersistentResourceRequest, ServerCallContext)

public virtual Task<Operation> CreatePersistentResource(CreatePersistentResourceRequest request, ServerCallContext context)

Creates a PersistentResource.

Parameters
Name Description
request CreatePersistentResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeletePersistentResource(DeletePersistentResourceRequest, ServerCallContext)

public virtual Task<Operation> DeletePersistentResource(DeletePersistentResourceRequest request, ServerCallContext context)

Deletes a PersistentResource.

Parameters
Name Description
request DeletePersistentResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetPersistentResource(GetPersistentResourceRequest, ServerCallContext)

public virtual Task<PersistentResource> GetPersistentResource(GetPersistentResourceRequest request, ServerCallContext context)

Gets a PersistentResource.

Parameters
Name Description
request GetPersistentResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPersistentResource

The response to send back to the client (wrapped by a task).

ListPersistentResources(ListPersistentResourcesRequest, ServerCallContext)

public virtual Task<ListPersistentResourcesResponse> ListPersistentResources(ListPersistentResourcesRequest request, ServerCallContext context)

Lists PersistentResources in a Location.

Parameters
Name Description
request ListPersistentResourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListPersistentResourcesResponse

The response to send back to the client (wrapped by a task).

RebootPersistentResource(RebootPersistentResourceRequest, ServerCallContext)

public virtual Task<Operation> RebootPersistentResource(RebootPersistentResourceRequest request, ServerCallContext context)

Reboots a PersistentResource.

Parameters
Name Description
request RebootPersistentResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdatePersistentResource(UpdatePersistentResourceRequest, ServerCallContext)

public virtual Task<Operation> UpdatePersistentResource(UpdatePersistentResourceRequest request, ServerCallContext context)

Updates a PersistentResource.

Parameters
Name Description
request UpdatePersistentResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).