Class RevisionsGrpc.RevisionsFutureStub (0.43.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request DeleteRevisionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getRevision(GetRevisionRequest request)

public ListenableFuture<Revision> getRevision(GetRevisionRequest request)

Gets information about a Revision.

Parameter
Name Description
request GetRevisionRequest
Returns
Type Description
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
Name Description
request ListRevisionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRevisionsResponse>