Class RevisionsGrpc.RevisionsFutureStub (0.20.0)

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

A stub to allow clients to do ListenableFuture-style rpc calls to service Revisions.

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)

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

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

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