Class CloudShellServiceGrpc (2.3.0)

public final class CloudShellServiceGrpc

API for interacting with Google Cloud Shell. Each user of Cloud Shell has at least one environment, which has the ID "default". Environment consists of a Docker image defining what is installed on the environment and a home directory containing the user's data that will remain across sessions. Clients use this API to start and fetch information about their environment, which can then be used to connect to that environment via a separate SSH client.

Inheritance

java.lang.Object > CloudShellServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getAddPublicKeyMethod()

public static MethodDescriptor<AddPublicKeyRequest,Operation> getAddPublicKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AddPublicKeyRequest,Operation>

getAuthorizeEnvironmentMethod()

public static MethodDescriptor<AuthorizeEnvironmentRequest,Operation> getAuthorizeEnvironmentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AuthorizeEnvironmentRequest,Operation>

getGetEnvironmentMethod()

public static MethodDescriptor<GetEnvironmentRequest,Environment> getGetEnvironmentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetEnvironmentRequest,Environment>

getRemovePublicKeyMethod()

public static MethodDescriptor<RemovePublicKeyRequest,Operation> getRemovePublicKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RemovePublicKeyRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStartEnvironmentMethod()

public static MethodDescriptor<StartEnvironmentRequest,Operation> getStartEnvironmentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StartEnvironmentRequest,Operation>

newBlockingStub(Channel channel)

public static CloudShellServiceGrpc.CloudShellServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudShellServiceGrpc.CloudShellServiceBlockingStub

newFutureStub(Channel channel)

public static CloudShellServiceGrpc.CloudShellServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudShellServiceGrpc.CloudShellServiceFutureStub

newStub(Channel channel)

public static CloudShellServiceGrpc.CloudShellServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudShellServiceGrpc.CloudShellServiceStub