Class Token
JSON template for token resource in Directory API.
Inheritance
System.Object
Token
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class Token : IDirectResponseSchema
Properties
Anonymous
Whether the application is registered with Google. The value is true if the application has an
anonymous Client ID.
Declaration
[JsonProperty("anonymous")]
public virtual bool? Anonymous { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ClientId
The Client ID of the application the token is issued to.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayText
The displayable name of the application the token is issued to.
Declaration
[JsonProperty("displayText")]
public virtual string DisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
ETag of the resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
The type of the API resource. This is always admin#directory#token.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NativeApp
Whether the token is issued to an installed application. The value is true if the application is
installed to a desktop or mobile device.
Declaration
[JsonProperty("nativeApp")]
public virtual bool? NativeApp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Scopes
A list of authorization scopes the application is granted.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
UserKey
The unique ID of the user that issued the token.
Declaration
[JsonProperty("userKey")]
public virtual string UserKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |