/AWS1/CL_BDRAPPLYGUARDRAILRSP¶
ApplyGuardrailResponse
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
io_usage
TYPE REF TO /AWS1/CL_BDRGUARDRAILUSAGE
/AWS1/CL_BDRGUARDRAILUSAGE
¶
The usage details in the response from the guardrail.
iv_action
TYPE /AWS1/BDRGUARDRAILACTION
/AWS1/BDRGUARDRAILACTION
¶
The action taken in the response from the guardrail.
it_outputs
TYPE /AWS1/CL_BDRGUARDRAILOUTCONT=>TT_GUARDRAILOUTPUTCONTENTLIST
TT_GUARDRAILOUTPUTCONTENTLIST
¶
The output details in the response from the guardrail.
it_assessments
TYPE /AWS1/CL_BDRGUARDRAILASSESSM00=>TT_GUARDRAILASSESSMENTLIST
TT_GUARDRAILASSESSMENTLIST
¶
The assessment details in the response from the guardrail.
Optional arguments:¶
iv_actionreason
TYPE /AWS1/BDRSTRING
/AWS1/BDRSTRING
¶
The reason for the action taken when harmful content is detected.
io_guardrailcoverage
TYPE REF TO /AWS1/CL_BDRGUARDRAILCOVERAGE
/AWS1/CL_BDRGUARDRAILCOVERAGE
¶
The guardrail coverage details in the apply guardrail response.
Queryable Attributes¶
usage¶
The usage details in the response from the guardrail.
Accessible with the following methods¶
Method | Description |
---|---|
GET_USAGE() |
Getter for USAGE |
action¶
The action taken in the response from the guardrail.
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 |
actionReason¶
The reason for the action taken when harmful content is detected.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ACTIONREASON() |
Getter for ACTIONREASON, with configurable default |
ASK_ACTIONREASON() |
Getter for ACTIONREASON w/ exceptions if field has no value |
HAS_ACTIONREASON() |
Determine if ACTIONREASON has a value |
outputs¶
The output details in the response from the guardrail.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OUTPUTS() |
Getter for OUTPUTS, with configurable default |
ASK_OUTPUTS() |
Getter for OUTPUTS w/ exceptions if field has no value |
HAS_OUTPUTS() |
Determine if OUTPUTS has a value |
assessments¶
The assessment details in the response from the guardrail.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ASSESSMENTS() |
Getter for ASSESSMENTS, with configurable default |
ASK_ASSESSMENTS() |
Getter for ASSESSMENTS w/ exceptions if field has no value |
HAS_ASSESSMENTS() |
Determine if ASSESSMENTS has a value |
guardrailCoverage¶
The guardrail coverage details in the apply guardrail response.
Accessible with the following methods¶
Method | Description |
---|---|
GET_GUARDRAILCOVERAGE() |
Getter for GUARDRAILCOVERAGE |