GoogleApi.Admin.Directory_v1.Model.Token (google_api_admin v0.25.2) View Source

JSON template for token resource in Directory API.

Attributes

  • anonymous (type: boolean(), default: nil) - Whether the application is registered with Google. The value is true if the application has an anonymous Client ID.
  • clientId (type: String.t, default: nil) - The Client ID of the application the token is issued to.
  • displayText (type: String.t, default: nil) - The displayable name of the application the token is issued to.
  • etag (type: String.t, default: nil) - ETag of the resource.
  • kind (type: String.t, default: admin#directory#token) - The type of the API resource. This is always admin#directory#token.
  • nativeApp (type: boolean(), default: nil) - Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.
  • scopes (type: list(String.t), default: nil) - A list of authorization scopes the application is granted.
  • userKey (type: String.t, default: nil) - The unique ID of the user that issued the token.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Admin.Directory_v1.Model.Token{
  anonymous: boolean(),
  clientId: String.t(),
  displayText: String.t(),
  etag: String.t(),
  kind: String.t(),
  nativeApp: boolean(),
  scopes: [String.t()],
  userKey: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.