GoogleApi.CloudSearch.V1.Model.ItemContent (google_api_cloud_search v0.10.0) View Source

Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.

Attributes

  • contentDataRef (type: GoogleApi.CloudSearch.V1.Model.UploadItemRef.t, default: nil) - Upload reference ID of a previously uploaded content via write method.
  • contentFormat (type: String.t, default: nil) -
  • hash (type: String.t, default: nil) - Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.
  • inlineContent (type: String.t, default: nil) - Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).

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.ItemContent{
  contentDataRef: GoogleApi.CloudSearch.V1.Model.UploadItemRef.t() | nil,
  contentFormat: String.t() | nil,
  hash: String.t() | nil,
  inlineContent: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.