Class OAuthToken
OAuth token.
Implements
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1beta.Data
Assembly: Google.Apis.CloudWorkstations.v1beta.dll
Syntax
public class OAuthToken : IDirectResponseSchema
Properties
AccessToken
Required. The OAuth token.
Declaration
[JsonProperty("accessToken")]
public virtual string AccessToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Optional. The email address encapsulated in the OAuth token.
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ExpireTimeRaw
Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Scopes
Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.
Declaration
[JsonProperty("scopes")]
public virtual string Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| string |