View Source GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocument (google_api_cloud_search v0.23.1)

Representation of a document. NEXT_TAG: 15

Attributes

  • accessType (type: String.t, default: nil) - Access type, i.e., whether the user has access to the document or not.
  • debugInfo (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDebugInfo.t, default: nil) - Information for debugging.
  • documentId (type: String.t, default: nil) - Document id.
  • driveDocumentMetadata (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata.t, default: nil) - Drive document metadata.
  • genericUrl (type: String.t, default: nil) - Generic Drive-based url in the format of drive.google.com/open to be used for deeplink
  • justification (type: GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocumentJustification.t, default: nil) - Justification on why the document is selected.
  • mimeType (type: String.t, default: nil) - MIME type
  • provenance (type: String.t, default: nil) - Document provenance.
  • reason (type: String.t, default: nil) - Justification of why this document is being returned.
  • snippet (type: String.t, default: nil) - A sampling of the text from the document.
  • thumbnailUrl (type: String.t, default: nil) - Thumbnail URL.
  • title (type: String.t, default: nil) - Title of the document.
  • type (type: String.t, default: nil) - Type of the document.
  • url (type: String.t, default: nil) - Absolute URL of the document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocument{
  accessType: String.t() | nil,
  debugInfo:
    GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDebugInfo.t()
    | nil,
  documentId: String.t() | nil,
  driveDocumentMetadata:
    GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata.t()
    | nil,
  genericUrl: String.t() | nil,
  justification:
    GoogleApi.CloudSearch.V1.Model.EnterpriseTopazSidekickCommonDocumentJustification.t()
    | nil,
  mimeType: String.t() | nil,
  provenance: String.t() | nil,
  reason: String.t() | nil,
  snippet: String.t() | nil,
  thumbnailUrl: String.t() | nil,
  title: String.t() | nil,
  type: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.