Cloud Run Admin v2 API - Class Revisions.RevisionsBase (2.2.0)

[BindServiceMethod(typeof(Revisions), "BindService")]
public abstract class Revisions.RevisionsBase

Reference documentation and code samples for the Cloud Run Admin v2 API class Revisions.RevisionsBase.

Base class for server-side implementations of Revisions

Inheritance

object > Revisions.RevisionsBase

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Methods

DeleteRevision(DeleteRevisionRequest, ServerCallContext)

public virtual Task<Operation> DeleteRevision(DeleteRevisionRequest request, ServerCallContext context)

Deletes a Revision.

Parameters
NameDescription
requestDeleteRevisionRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

GetRevision(GetRevisionRequest, ServerCallContext)

public virtual Task<Revision> GetRevision(GetRevisionRequest request, ServerCallContext context)

Gets information about a Revision.

Parameters
NameDescription
requestGetRevisionRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskRevision

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

ListRevisions(ListRevisionsRequest, ServerCallContext)

public virtual Task<ListRevisionsResponse> ListRevisions(ListRevisionsRequest request, ServerCallContext context)

Lists Revisions from a given Service, or from a given location.

Parameters
NameDescription
requestListRevisionsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListRevisionsResponse

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