# Anthos Multi-Cloud v1 API - Class GenerateAwsAccessTokenResponse (2.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.9.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.8.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse)

    [Obsolete]
    public sealed class GenerateAwsAccessTokenResponse : IMessage<GenerateAwsAccessTokenResponse>, IEquatable<GenerateAwsAccessTokenResponse>, IDeepCloneable<GenerateAwsAccessTokenResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class GenerateAwsAccessTokenResponse.

Response message for `AwsClusters.GenerateAwsAccessToken` method.

## Inheritance

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

## Implements

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

## 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.GkeMultiCloud.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)

## Assembly

Google.Cloud.GkeMultiCloud.V1.dll

## Constructors

### GenerateAwsAccessTokenResponse()

    public GenerateAwsAccessTokenResponse()

### GenerateAwsAccessTokenResponse(GenerateAwsAccessTokenResponse)

    public GenerateAwsAccessTokenResponse(GenerateAwsAccessTokenResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenResponse` |

## Properties

### AccessToken

    public string AccessToken { get; set; }

Output only. Access token to authenticate to k8s api-server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ExpirationTime

    public Timestamp ExpirationTime { get; set; }

Output only. Timestamp at which the token will expire.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |