public static final class InstancesGrpc.InstancesFutureStub extends io.grpc.stub.AbstractStub<InstancesGrpc.InstancesFutureStub>
Manages instances of a version.
Modifier and Type | Method and Description |
---|---|
protected InstancesGrpc.InstancesFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
debugInstance(DebugInstanceRequest request)
Enables debugging on a VM instance.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteInstance(DeleteInstanceRequest request)
Stops a running instance.
|
com.google.common.util.concurrent.ListenableFuture<Instance> |
getInstance(GetInstanceRequest request)
Gets instance information.
|
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> |
listInstances(ListInstancesRequest request)
Lists the instances of a version.
|
protected InstancesGrpc.InstancesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<InstancesGrpc.InstancesFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists the instances of a version.
public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets instance information.
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteInstance(DeleteInstanceRequest request)
Stops a running instance.
public com.google.common.util.concurrent.ListenableFuture<Operation> debugInstance(DebugInstanceRequest request)
Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started. Only applicable for instances in App Engine flexible environment.