Documentation ¶
Index ¶
- func Delete(service *services.Service, engineID int) (*http.Response, error)
- type DLPEngines
- func Create(service *services.Service, engineID *DLPEngines) (*DLPEngines, *http.Response, error)
- func Get(service *services.Service, engineID int) (*DLPEngines, error)
- func GetAll(service *services.Service) ([]DLPEngines, error)
- func GetAllEngineLite(service *services.Service) ([]DLPEngines, error)
- func GetByName(service *services.Service, engineName string) (*DLPEngines, error)
- func GetByPredefinedEngine(service *services.Service, engineName string) (*DLPEngines, error)
- func GetEngineLiteID(service *services.Service, engineID int) (*DLPEngines, error)
- func Update(service *services.Service, engineID int, engines *DLPEngines) (*DLPEngines, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DLPEngines ¶
type DLPEngines struct { // The unique identifier for the DLP engine. ID int `json:"id"` // The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines. Name string `json:"name,omitempty"` // The DLP engine's description. Description string `json:"description,omitempty"` // The name of the predefined DLP engine. PredefinedEngineName string `json:"predefinedEngineName,omitempty"` // The boolean logical operator in which various DLP dictionaries are combined within a DLP engine's expression. EngineExpression string `json:"engineExpression,omitempty"` // Indicates whether this is a custom DLP engine. If this value is set to true, the engine is custom. CustomDlpEngine bool `json:"customDlpEngine,omitempty"` }
func Create ¶ added in v2.61.0
func Create(service *services.Service, engineID *DLPEngines) (*DLPEngines, *http.Response, error)
func GetAllEngineLite ¶ added in v2.61.0
func GetAllEngineLite(service *services.Service) ([]DLPEngines, error)
func GetByName ¶ added in v2.61.0
func GetByName(service *services.Service, engineName string) (*DLPEngines, error)
func GetByPredefinedEngine ¶ added in v2.61.0
func GetByPredefinedEngine(service *services.Service, engineName string) (*DLPEngines, error)
func GetEngineLiteID ¶ added in v2.61.0
func GetEngineLiteID(service *services.Service, engineID int) (*DLPEngines, error)
Functions to for DLP Engine Lite query
func Update ¶ added in v2.61.0
func Update(service *services.Service, engineID int, engines *DLPEngines) (*DLPEngines, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.