public sealed class StartEnvironmentRequest : IMessage<StartEnvironmentRequest>, IEquatable<StartEnvironmentRequest>, IDeepCloneable<StartEnvironmentRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Shell v1 API class StartEnvironmentRequest.
Request message for [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment].
Implements
IMessage<StartEnvironmentRequest>, IEquatable<StartEnvironmentRequest>, IDeepCloneable<StartEnvironmentRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Shell.V1Assembly
Google.Cloud.Shell.V1.dll
Constructors
StartEnvironmentRequest()
public StartEnvironmentRequest()StartEnvironmentRequest(StartEnvironmentRequest)
public StartEnvironmentRequest(StartEnvironmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
StartEnvironmentRequest |
Properties
AccessToken
public string AccessToken { get; set; }The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Name
public string Name { get; set; }Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
| Property Value | |
|---|---|
| Type | Description |
String |
|
PublicKeys
public RepeatedField<string> PublicKeys { get; }Public keys that should be added to the environment before it is started.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<String> |
|