View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentInfo (google_api_discovery_engine v0.7.0)

Detailed document information associated with a user event.

Attributes

  • id (type: String.t, default: nil) - The Document resource ID.
  • name (type: String.t, default: nil) - The Document resource full name, of the form: projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}
  • promotionIds (type: list(String.t), default: nil) - The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
  • quantity (type: integer(), default: nil) - Quantity of the Document associated with the user event. Defaults to 1. For example, this field will be 2 if two quantities of the same Document are involved in a add-to-cart event. Required for events of the following event types: add-to-cart purchase
  • uri (type: String.t, default: nil) - The Document URI - only allowed for website data stores.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentInfo{
    id: String.t() | nil,
    name: String.t() | nil,
    promotionIds: [String.t()] | nil,
    quantity: integer() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.