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

To support the custom weighting across document schemas.

Attributes

  • weightedSchemaProperties (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1WeightedSchemaProperty.t), default: nil) - List of schema and property name. Allows a maximum of 10 schemas to be specified for relevance boosting.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CustomWeightsMetadata{
    weightedSchemaProperties:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1WeightedSchemaProperty.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.