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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.