2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class StartEnvironmentRequest : IMessage<StartEnvironmentRequest>, IEquatable<StartEnvironmentRequest>, IDeepCloneable<StartEnvironmentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Shell v1 API class StartEnvironmentRequest.

Request message for
\[StartEnvironment\]\[google.cloud.shell.v1.CloudShellService.StartEnvironment\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StartEnvironmentRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[StartEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.StartEnvironmentRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StartEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.StartEnvironmentRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[StartEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.StartEnvironmentRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Shell.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.md.txt)

## Assembly

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** |
| `RepeatedFieldstring` |   |