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

Attributes

  • confidence (type: number(), default: nil) - If global_label_value is present, confidence is ignored. confidence is DEPRECATED.
  • globalLabelBucket (type: integer(), default: nil) - A byte-size value representing 64 * (1 + global_label_value). Use this instead of global_label_value to save on label storage. See quality_prose::LabelValueToBucket() for more info.
  • globalLabelValue (type: number(), default: nil) -
  • labelId (type: integer(), default: nil) - At least one of label_id and label_name must be filled in
  • labelName (type: String.t, default: nil) -
  • provider (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityLabelsGoogleLabelDataLabelProvider.t), default: nil) -
  • providerId (type: list(String.t), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityLabelsGoogleLabelDataLabel{
  confidence: number() | nil,
  globalLabelBucket: integer() | nil,
  globalLabelValue: number() | nil,
  labelId: integer() | nil,
  labelName: String.t() | nil,
  provider:
    [
      GoogleApi.ContentWarehouse.V1.Model.QualityLabelsGoogleLabelDataLabelProvider.t()
    ]
    | nil,
  providerId: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.