Class RevisionsGrpc.RevisionsFutureStub (0.5.0)

public static final class RevisionsGrpc.RevisionsFutureStub extends AbstractFutureStub<RevisionsGrpc.RevisionsFutureStub>

Cloud Run Revision Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > RevisionsGrpc.RevisionsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected RevisionsGrpc.RevisionsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RevisionsGrpc.RevisionsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteRevision(DeleteRevisionRequest request)

public ListenableFuture<Operation> deleteRevision(DeleteRevisionRequest request)

Delete a Revision.

Parameter
NameDescription
requestDeleteRevisionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getRevision(GetRevisionRequest request)

public ListenableFuture<Revision> getRevision(GetRevisionRequest request)

Gets information about a Revision.

Parameter
NameDescription
requestGetRevisionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Revision>

listRevisions(ListRevisionsRequest request)

public ListenableFuture<ListRevisionsResponse> listRevisions(ListRevisionsRequest request)

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

Parameter
NameDescription
requestListRevisionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRevisionsResponse>