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 GetEnvironmentRequest : IMessage<GetEnvironmentRequest>, IEquatable<GetEnvironmentRequest>, IDeepCloneable<GetEnvironmentRequest>, IBufferMessage, IMessage

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

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

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.GetEnvironmentRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.GetEnvironmentRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetEnvironmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.GetEnvironmentRequest.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

### GetEnvironmentRequest()

    public GetEnvironmentRequest()

### GetEnvironmentRequest(GetEnvironmentRequest)

    public GetEnvironmentRequest(GetEnvironmentRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetEnvironmentRequest` |

## Properties

### EnvironmentName

    public EnvironmentName EnvironmentName { get; set; }

[EnvironmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.EnvironmentName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Shell.V1/latest/Google.Cloud.Shell.V1.GetEnvironmentRequest.md.txt#Google_Cloud_Shell_V1_GetEnvironmentRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `EnvironmentName` |   |

### Name

    public string Name { get; set; }

Required. Name of the requested resource, for example `users/me/environments/default`
or `users/someone@example.com/environments/default`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |