View Source GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseDirectory (google_api_content_warehouse v0.4.0)

The Directory proto group holds snippet and title metadata which is made available to the snippet code. The proto group was originally created for metadata coming from the Google Web Directory (gwd) project. It has since come to be used to hold metadata from gwd and other sources.

Attributes

  • Category (type: String.t, default: nil) - encoded in UTF8
  • Description (type: String.t, default: nil) - encoded in UTF8
  • DescriptionScore (type: number(), default: nil) -
  • Identifier (type: String.t, default: nil) - "gwd", etc.
  • Language (type: integer(), default: nil) - go/language-enum
  • Title (type: String.t, default: nil) - encoded in UTF8
  • TitleScore (type: number(), default: nil) - Deprecated; do not use. There is no code populating these fields as of Oct 2017.
  • URL (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseDirectory{
  Category: String.t() | nil,
  Description: String.t() | nil,
  DescriptionScore: number() | nil,
  Identifier: String.t() | nil,
  Language: integer() | nil,
  Title: String.t() | nil,
  TitleScore: number() | nil,
  URL: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.