# Class GoogleAssertionTokenRequest (1.73.0)

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

- [1.73.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.69.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.69.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.68.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.60.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.59.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.55.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)
- [1.50.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)

    public class GoogleAssertionTokenRequest : TokenRequest

Service account assertion token request as specified in
<https://developers.google.com/accounts/docs/OAuth2ServiceAccount#makingrequest>.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [TokenRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest) \> GoogleAssertionTokenRequest

## Inherited Members

[TokenRequest.Scope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest#Google_Apis_Auth_OAuth2_Requests_TokenRequest_Scope) [TokenRequest.GrantType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest#Google_Apis_Auth_OAuth2_Requests_TokenRequest_GrantType) [TokenRequest.ClientId](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest#Google_Apis_Auth_OAuth2_Requests_TokenRequest_ClientId) [TokenRequest.ClientSecret](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest#Google_Apis_Auth_OAuth2_Requests_TokenRequest_ClientSecret) [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Apis.Auth.OAuth2.Requests](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests)

## Assembly

Google.Apis.Auth.dll

## Constructors

### GoogleAssertionTokenRequest()

    public GoogleAssertionTokenRequest()

Constructs a new refresh code token request and sets grant_type to
`urn:ietf:params:oauth:grant-type:jwt-bearer`.

## Properties

### Assertion

    [RequestParameter("assertion")]
    public string Assertion { get; set; }

Gets or sets the JWT (including signature).

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

## Extension Methods

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_) [TokenRequestExtenstions.ExecuteAsync(TokenRequest, HttpClient, string, CancellationToken, IClock)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions#Google_Apis_Auth_OAuth2_Requests_TokenRequestExtenstions_ExecuteAsync_Google_Apis_Auth_OAuth2_Requests_TokenRequest_System_Net_Http_HttpClient_System_String_System_Threading_CancellationToken_Google_Apis_Util_IClock_)