Class CloudShellService (1.1.0)

public static class CloudShellService

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

Object > CloudShellService

Namespace

Google.Cloud.Shell.V1

Assembly

Google.Cloud.Shell.V1.dll

Methods

BindService(CloudShellService.CloudShellServiceBase)

public static ServerServiceDefinition BindService(CloudShellService.CloudShellServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplCloudShellService.CloudShellServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, CloudShellService.CloudShellServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, CloudShellService.CloudShellServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplCloudShellService.CloudShellServiceBase

An object implementing the server-side handling logic.