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

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(Revisions), "BindService")]
public abstract class 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
Task<Operation>

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
Task<Revision>

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
Task<ListRevisionsResponse>

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