Cloud Run Admin v2 API - Class Revisions.RevisionsBase (2.9.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
Name Description
request DeleteRevisionRequest

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).

GetRevision(GetRevisionRequest, ServerCallContext)

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

Gets information about a Revision.

Parameters
Name Description
request GetRevisionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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. Results are sorted by creation time, descending.

Parameters
Name Description
request ListRevisionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListRevisionsResponse

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