Skip to content

/AWS1/CL_QQCGDRAILPOLICYRESULT

Per-policy guardrail assessment result. Captures which policy triggered, its outcome, and a policy-specific detail string.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_policytype TYPE /AWS1/QQCGUARDRAILPOLICYTYPE /AWS1/QQCGUARDRAILPOLICYTYPE

The type of guardrail policy that was evaluated.

iv_action TYPE /AWS1/QQCGUARDRAILACTION /AWS1/QQCGUARDRAILACTION

Outcome of this specific policy.

Optional arguments:

iv_details TYPE /AWS1/QQCNONEMPTYSTRING /AWS1/QQCNONEMPTYSTRING

Policy-specific detail.


Queryable Attributes

policyType

The type of guardrail policy that was evaluated.

Accessible with the following methods

Method Description
GET_POLICYTYPE() Getter for POLICYTYPE, with configurable default
ASK_POLICYTYPE() Getter for POLICYTYPE w/ exceptions if field has no value
HAS_POLICYTYPE() Determine if POLICYTYPE has a value

action

Outcome of this specific policy.

Accessible with the following methods

Method Description
GET_ACTION() Getter for ACTION, with configurable default
ASK_ACTION() Getter for ACTION w/ exceptions if field has no value
HAS_ACTION() Determine if ACTION has a value

details

Policy-specific detail.

Accessible with the following methods

Method Description
GET_DETAILS() Getter for DETAILS, with configurable default
ASK_DETAILS() Getter for DETAILS w/ exceptions if field has no value
HAS_DETAILS() Determine if DETAILS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GUARDRAILPOLICYRESULTLIST

TYPES TT_GUARDRAILPOLICYRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQCGDRAILPOLICYRESULT WITH DEFAULT KEY
.