View Source GoogleApi.CloudSearch.V1.Model.PushItem (google_api_cloud_search v0.21.0)

Represents an item to be pushed to the indexing queue.

Attributes

  • contentHash (type: String.t, default: nil) - Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
  • metadataHash (type: String.t, default: nil) - The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
  • payload (type: String.t, default: nil) - Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.
  • queue (type: String.t, default: nil) - Queue to which this item belongs. The default queue is chosen if this field is not specified. The maximum length is 512 characters.
  • repositoryError (type: GoogleApi.CloudSearch.V1.Model.RepositoryError.t, default: nil) - Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR.
  • structuredDataHash (type: String.t, default: nil) - Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
  • type (type: String.t, default: nil) - The type of the push operation that defines the push behavior.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.PushItem{
  contentHash: String.t() | nil,
  metadataHash: String.t() | nil,
  payload: String.t() | nil,
  queue: String.t() | nil,
  repositoryError: GoogleApi.CloudSearch.V1.Model.RepositoryError.t() | nil,
  structuredDataHash: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.