Cloud Shell v1 API - Class CloudShellService (2.4.0)

public static class CloudShellService

Reference documentation and code samples for the Cloud Shell v1 API 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(CloudShellServiceBase)

public static ServerServiceDefinition BindService(CloudShellService.CloudShellServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplCloudShellServiceCloudShellServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, 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.

serviceImplCloudShellServiceCloudShellServiceBase

An object implementing the server-side handling logic.