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

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

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

## Inheritance

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

## Implements

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

### AuthorizeEnvironmentRequest()

    public AuthorizeEnvironmentRequest()

### AuthorizeEnvironmentRequest(AuthorizeEnvironmentRequest)

    public AuthorizeEnvironmentRequest(AuthorizeEnvironmentRequest other)

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

## Properties

### AccessToken

    public string AccessToken { get; set; }

The OAuth access token that should be sent to the environment.

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

### ExpireTime

    public Timestamp ExpireTime { get; set; }

The time when the credentials expire. If not set, defaults to one hour from
when the server received the request.

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

### IdToken

    public string IdToken { get; set; }

The OAuth ID token that should be sent to the environment.

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

### Name

    public string Name { get; set; }

Name of the resource that should receive the credentials, for example
`users/me/environments/default` or
`users/someone@example.com/environments/default`.

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