[BindServiceMethod(typeof(Revisions), "BindService")]
public abstract class Revisions.RevisionsBaseReference documentation and code samples for the Cloud Run Admin v2 API class Revisions.RevisionsBase.
Base class for server-side implementations of Revisions
Namespace
Google.Cloud.Run.V2Assembly
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 |
DeleteRevisionRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetRevisionRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListRevisionsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |