Guardrail constructor

Guardrail({
  1. TriggerAction? action,
  2. GuardrailCodeCallback? codeCallback,
  3. GuardrailContentFilter? contentFilter,
  4. String? createTime,
  5. String? description,
  6. String? displayName,
  7. bool? enabled,
  8. String? etag,
  9. GuardrailLlmPolicy? llmPolicy,
  10. GuardrailLlmPromptSecurity? llmPromptSecurity,
  11. GuardrailModelSafety? modelSafety,
  12. String? name,
  13. String? updateTime,
})

Implementation

Guardrail({
  this.action,
  this.codeCallback,
  this.contentFilter,
  this.createTime,
  this.description,
  this.displayName,
  this.enabled,
  this.etag,
  this.llmPolicy,
  this.llmPromptSecurity,
  this.modelSafety,
  this.name,
  this.updateTime,
});