Class CloudShellServiceGrpc (2.43.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
Type Description
String

Static Methods

bindService(CloudShellServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CloudShellServiceGrpc.AsyncService service)
Parameter
Name Description
service CloudShellServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAddPublicKeyMethod()

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

getAuthorizeEnvironmentMethod()

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

getGetEnvironmentMethod()

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

getRemovePublicKeyMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStartEnvironmentMethod()

public static MethodDescriptor<StartEnvironmentRequest,Operation> getStartEnvironmentMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
CloudShellServiceGrpc.CloudShellServiceStub