View Source GoogleApi.Docs.V1.Model.Link (google_api_docs v0.17.1)

A reference to another portion of a document or an external URL resource.

Attributes

  • bookmark (type: GoogleApi.Docs.V1.Model.BookmarkLink.t, default: nil) - A bookmark in this document. In documents containing a single tab, links to bookmarks within the singular tab continue to return Link.bookmark_id when the includeTabsContent parameter is set to false or unset. Otherwise, this field is returned.
  • bookmarkId (type: String.t, default: nil) - The ID of a bookmark in this document.
  • heading (type: GoogleApi.Docs.V1.Model.HeadingLink.t, default: nil) - A heading in this document. In documents containing a single tab, links to headings within the singular tab continue to return Link.heading_id when the includeTabsContent parameter is set to false or unset. Otherwise, this field is returned.
  • headingId (type: String.t, default: nil) - The ID of a heading in this document.
  • tabId (type: String.t, default: nil) - The ID of a tab in this document.
  • url (type: String.t, default: nil) - An external URL.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.Link{
  bookmark: GoogleApi.Docs.V1.Model.BookmarkLink.t() | nil,
  bookmarkId: String.t() | nil,
  heading: GoogleApi.Docs.V1.Model.HeadingLink.t() | nil,
  headingId: String.t() | nil,
  tabId: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.