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

Distribution license information. Next ID: 6

Attributes

  • id (type: String.t, default: nil) - A fingerprint id generated based on the license_class, URL or text. Since the knowledge graph requires a unique string id for the license but any filed of license can be empty, a fingerprint id can serve as a compact identifier representing the non-empty sub-fields.
  • licenseClass (type: String.t, default: nil) - A value from a controlled vocabulary that uniquely identifies a license. Unless this is set to LICENSE_CLASS_UNDEFINED_NO_MATCH or LICENSE_CLASS_UNDEFINED_CONTRADICTING_MATCHES other fields in this message should be empty.
  • licenseMid (type: String.t, default: nil) - mid for the license.
  • text (type: String.t, default: nil) - The text (usually, the name) of the distribution license.
  • url (type: String.t, default: nil) - The url for the distribution license.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ResearchScienceSearchLicense{
  id: String.t() | nil,
  licenseClass: String.t() | nil,
  licenseMid: String.t() | nil,
  text: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.