1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Workstations v1 API class GenerateAccessTokenResponse.

Response message for GenerateAccessToken.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Workstations.V1.dll

## Constructors

### GenerateAccessTokenResponse()

    public GenerateAccessTokenResponse()

### GenerateAccessTokenResponse(GenerateAccessTokenResponse)

    public GenerateAccessTokenResponse(GenerateAccessTokenResponse other)

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

## Properties

### AccessToken

    public string AccessToken { get; set; }

The generated bearer access token. To use this token, include it in an
Authorization header of an HTTP request sent to the associated
workstation's hostname---for example, `Authorization: Bearer
<access_token>`.

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

### ExpireTime

    public Timestamp ExpireTime { get; set; }

Time at which the generated token will expire.

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