Send feedback
  
   
 
  
    
      Class /GOOG/CL_MODELARMOR_V1 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  
  
  
  
  On-premises or any cloud edition v1.12keyboard_arrow_down  
  
 
  
  
Class 
/GOOG/CL_MODELARMOR_V1  
Inheriting from:/GOOG/CL_HTTP_CLIENT 
Description:Model Armor API v1   
For general information about a class in ABAP SDK for Google Cloud,
see 
API client stub .
Types 
Type 
Description 
Visibility 
 
 
TY_001 
ByteDataItem 
PUBLIC 
 
TY_002 
CsamFilterResult 
PUBLIC 
 
TY_003 
DataItem 
PUBLIC 
 
TY_005 
FilterConfig 
PUBLIC 
 
TY_006 
FilterResult 
PUBLIC 
 
TY_007 
FloorSetting 
PUBLIC 
 
TY_008 
ListLocationsResponse 
PUBLIC 
 
TY_009 
ListTemplatesResponse 
PUBLIC 
 
TY_010 
Location 
PUBLIC 
 
TY_011 
MaliciousUriFilterResult 
PUBLIC 
 
TY_012 
MaliciousUriFilterSettings 
PUBLIC 
 
TY_013 
MaliciousUriMatchedItem 
PUBLIC 
 
TY_014 
MessageItem 
PUBLIC 
 
TY_015 
PiAndJailbreakFilterResult 
PUBLIC 
 
TY_016 
PiAndJailbreakFilterSettings 
PUBLIC 
 
TY_017 
RaiFilter 
PUBLIC 
 
TY_018 
RaiFilterResult 
PUBLIC 
 
TY_019 
RaiFilterSettings 
PUBLIC 
 
TY_020 
RaiFilterTypeResult 
PUBLIC 
 
TY_021 
RangeInfo 
PUBLIC 
 
TY_022 
SanitizationMetadata 
PUBLIC 
 
TY_023 
SanitizationResult 
PUBLIC 
 
TY_024 
SanitizeModelResponseRequest 
PUBLIC 
 
TY_025 
SanitizeModelResponseResponse 
PUBLIC 
 
TY_026 
SanitizeUserPromptRequest 
PUBLIC 
 
TY_027 
SanitizeUserPromptResponse 
PUBLIC 
 
TY_028 
SdpAdvancedConfig 
PUBLIC 
 
TY_029 
SdpBasicConfig 
PUBLIC 
 
TY_030 
SdpDeidentifyResult 
PUBLIC 
 
TY_031 
SdpFilterResult 
PUBLIC 
 
TY_032 
SdpFilterSettings 
PUBLIC 
 
TY_033 
SdpFinding 
PUBLIC 
 
TY_034 
SdpFindingLocation 
PUBLIC 
 
TY_035 
SdpInspectResult 
PUBLIC 
 
TY_036 
Template 
PUBLIC 
 
TY_037 
TemplateMetadata 
PUBLIC 
 
TY_038 
VirusDetail 
PUBLIC 
 
TY_039 
VirusScanFilterResult 
PUBLIC 
 
TY_T_010 
Location 
PUBLIC 
 
TY_T_013 
MaliciousUriMatchedItem 
PUBLIC 
 
TY_T_014 
MessageItem 
PUBLIC 
 
TY_T_017 
RaiFilter 
PUBLIC 
 
TY_T_021 
RangeInfo 
PUBLIC 
 
TY_T_033 
SdpFinding 
PUBLIC 
 
TY_T_036 
Template 
PUBLIC 
 
TY_T_038 
VirusDetail 
PUBLIC 
 
TY_T_STRING 
Table of Strings 
PUBLIC 
 
Constants 
Name 
Type 
Description 
Value 
Visibility 
 
 
C_CLOUD_VERSION 
/GOOG/SDK_VERSION 
Lowest Cloud Version 
 
PUBLIC 
 
C_ON_PREM_VERSION 
/GOOG/SDK_VERSION 
Lowest On-premises Version 
1.11 
PUBLIC 
 
C_PATH_PREFIX 
STRING 
API Path Prefix 
 
PUBLIC 
 
C_REVISION_DATE 
DATUM 
Discovery Document revision Date 
20250416 
PUBLIC 
 
C_ROOT_URL 
STRING 
API Root URL 
https://modelarmor.googleapis.com 
PUBLIC 
 
C_SERVICE_NAME 
/GOOG/SERVICE_NAME 
Google Service Name 
modelarmor:v1 
PUBLIC 
 
C_SUPPORTED_AUTH 
/GOOG/SUPP_AUTH 
Supported Auth Types 
 
PUBLIC 
 
Methods 
For general information about a method in ABAP SDK for Google Cloud,
see 
API method .
CONSTRUCTOR 
Description: Constructor  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_KEY_NAME 
IMPORTING 
/GOOG/KEYNAME 
Google Cloud Key Name 
 
IV_LOG_OBJ 
IMPORTING 
BALOBJ_D 
Application log: Object name (Application code) 
 
IV_LOG_SUBOBJ 
IMPORTING 
BALSUBOBJ 
Application Log: Subobject 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
CREATE_TEMPLATES 
Description: modelarmor.projects.locations.templates.create  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_REQUESTID 
IMPORTING 
STRING 
requestId 
 
IV_Q_TEMPLATEID 
IMPORTING 
STRING 
templateId 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IS_INPUT 
IMPORTING 
TY_036 
Template 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_036 
Template 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
DELETE_TEMPLATES 
Description: modelarmor.projects.locations.templates.delete  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_REQUESTID 
IMPORTING 
STRING 
requestId 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IV_P_TEMPLATES_ID 
IMPORTING 
STRING 
templatesId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
REF TO DATA 
Output Data 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
GET_FLOOR_SETTING_LOCATIONS 
Description: modelarmor.folders.locations.getFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_FOLDERS_ID 
IMPORTING 
STRING 
foldersId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
GET_FLOOR_SETTING_LOCATIONS1 
Description: modelarmor.organizations.locations.getFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_ORGANIZATIONS_ID 
IMPORTING 
STRING 
organizationsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
GET_FLOOR_SETTING_LOCATIONS2 
Description: modelarmor.projects.locations.getFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
GET_LOCATIONS 
Description: modelarmor.projects.locations.get  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_010 
Location 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
GET_TEMPLATES 
Description: modelarmor.projects.locations.templates.get  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IV_P_TEMPLATES_ID 
IMPORTING 
STRING 
templatesId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_036 
Template 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
LIST_LOCATIONS 
Description: modelarmor.projects.locations.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_EXTRALOCATIONTYPES 
IMPORTING 
STRING 
extraLocationTypes 
 
IV_Q_FILTER 
IMPORTING 
STRING 
filter 
 
IV_Q_PAGESIZE 
IMPORTING 
STRING 
pageSize 
 
IV_Q_PAGETOKEN 
IMPORTING 
STRING 
pageToken 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_008 
ListLocationsResponse 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
LIST_TEMPLATES 
Description: modelarmor.projects.locations.templates.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_FILTER 
IMPORTING 
STRING 
filter 
 
IV_Q_ORDERBY 
IMPORTING 
STRING 
orderBy 
 
IV_Q_PAGESIZE 
IMPORTING 
STRING 
pageSize 
 
IV_Q_PAGETOKEN 
IMPORTING 
STRING 
pageToken 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_009 
ListTemplatesResponse 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
PATCH_TEMPLATES 
Description: modelarmor.projects.locations.templates.patch  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_REQUESTID 
IMPORTING 
STRING 
requestId 
 
IV_Q_UPDATEMASK 
IMPORTING 
STRING 
updateMask 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IV_P_TEMPLATES_ID 
IMPORTING 
STRING 
templatesId 
 
IS_INPUT 
IMPORTING 
TY_036 
Template 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_036 
Template 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
SANITIZE_MODEL_RESPONSE_TEM 
Description: projects.locations.templates.sanitizeModelResponse  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IV_P_TEMPLATES_ID 
IMPORTING 
STRING 
templatesId 
 
IS_INPUT 
IMPORTING 
TY_024 
SanitizeModelResponseRequest 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_025 
SanitizeModelResponseResponse 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
SANITIZE_USER_PROMPT_TEMPLA 
Description: modelarmor.projects.locations.templates.sanitizeUserPrompt  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IV_P_TEMPLATES_ID 
IMPORTING 
STRING 
templatesId 
 
IS_INPUT 
IMPORTING 
TY_026 
SanitizeUserPromptRequest 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_027 
SanitizeUserPromptResponse 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
UPDATE_FLOOR_SETTING_LOCATI 
Description: modelarmor.folders.locations.updateFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_UPDATEMASK 
IMPORTING 
STRING 
updateMask 
 
IV_P_FOLDERS_ID 
IMPORTING 
STRING 
foldersId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IS_INPUT 
IMPORTING 
TY_007 
FloorSetting 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
UPDATE_FLOOR_SETTING_LOCATI1 
Description: modelarmor.organizations.locations.updateFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_UPDATEMASK 
IMPORTING 
STRING 
updateMask 
 
IV_P_ORGANIZATIONS_ID 
IMPORTING 
STRING 
organizationsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IS_INPUT 
IMPORTING 
TY_007 
FloorSetting 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
UPDATE_FLOOR_SETTING_LOCATI2 
Description: modelarmor.projects.locations.updateFloorSetting  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_UPDATEMASK 
IMPORTING 
STRING 
updateMask 
 
IV_P_PROJECTS_ID 
IMPORTING 
STRING 
projectsId 
 
IV_P_LOCATIONS_ID 
IMPORTING 
STRING 
locationsId 
 
IS_INPUT 
IMPORTING 
TY_007 
FloorSetting 
 
ES_RAW 
EXPORTING 
DATA 
Raw Output Data 
 
ES_OUTPUT 
EXPORTING 
TY_007 
FloorSetting 
 
EV_RET_CODE 
EXPORTING 
I 
Return Code 
 
EV_ERR_TEXT 
EXPORTING 
STRING 
Error Text 
 
ES_ERR_RESP 
EXPORTING 
/GOOG/ERR_RESP 
Error Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDK 
ABAP SDK for Google Cloud: Exception Class 
 
CLOSE 
Description: Close Connection  
Visibility: PUBLIC  
 
  
  
  
     
  
  
 
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]