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.
Namespace
Google.Cloud.Shell.V1Assembly
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 | |
---|---|
Name | Description |
serviceImpl | CloudShellService.CloudShellServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | CloudShellService.CloudShellServiceBase An object implementing the server-side handling logic. |