Documentation ¶
Index ¶
- type DLPEngines
- type Service
- func (service *Service) Create(engineID *DLPEngines) (*DLPEngines, *http.Response, error)
- func (service *Service) Delete(engineID int) (*http.Response, error)
- func (service *Service) Get(engineID int) (*DLPEngines, error)
- func (service *Service) GetAll() ([]DLPEngines, error)
- func (service *Service) GetByName(engineName string) (*DLPEngines, error)
- func (service *Service) Update(engineID int, engines *DLPEngines) (*DLPEngines, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(engineID *DLPEngines) (*DLPEngines, *http.Response, error)
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]DLPEngines, error)
func (*Service) GetByName ¶
func (service *Service) GetByName(engineName string) (*DLPEngines, error)
func (*Service) Update ¶
func (service *Service) Update(engineID int, engines *DLPEngines) (*DLPEngines, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.