GoogleApi.CloudSearch.V1.Model.Metadata (google_api_cloud_search v0.9.0) View Source

Metadata of a matched search result.

Attributes

  • createTime (type: DateTime.t, default: nil) - The creation time for this document or object in the search result.
  • displayOptions (type: GoogleApi.CloudSearch.V1.Model.ResultDisplayMetadata.t, default: nil) - Options that specify how to display a structured data search result.
  • fields (type: list(GoogleApi.CloudSearch.V1.Model.NamedProperty.t), default: nil) - Indexed fields in structured data, returned as a generic named property.
  • mimeType (type: String.t, default: nil) - Mime type of the search result.
  • objectType (type: String.t, default: nil) - Object type of the search result.
  • owner (type: GoogleApi.CloudSearch.V1.Model.Person.t, default: nil) - Owner (usually creator) of the document or object of the search result.
  • source (type: GoogleApi.CloudSearch.V1.Model.Source.t, default: nil) - The named source for the result, such as Gmail.
  • updateTime (type: DateTime.t, default: nil) - The last modified date for the object in the search result. If not set in the item, the value returned here is empty. When updateTime is used for calculating freshness and is not set, this value defaults to 2 years from the current time.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudSearch.V1.Model.Metadata{
  createTime: DateTime.t() | nil,
  displayOptions:
    GoogleApi.CloudSearch.V1.Model.ResultDisplayMetadata.t() | nil,
  fields: [GoogleApi.CloudSearch.V1.Model.NamedProperty.t()] | nil,
  mimeType: String.t() | nil,
  objectType: String.t() | nil,
  owner: GoogleApi.CloudSearch.V1.Model.Person.t() | nil,
  source: GoogleApi.CloudSearch.V1.Model.Source.t() | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.