View Source GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaClassifyContentRequest (google_api_checks v0.5.0)

Request proto for ClassifyContent RPC.

Attributes

  • classifierVersion (type: String.t, default: nil) - Optional. Version of the classifier to use. If not specified, the latest version will be used.
  • context (type: GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaClassifyContentRequestContext.t, default: nil) - Optional. Context about the input that will be used to help on the classification.
  • input (type: GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent.t, default: nil) - Required. Content to be classified.
  • policies (type: list(GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig.t), default: nil) - Required. List of policies to classify against.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.