dlp_notification_templates

package
v2.61.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v2.61.0

func Delete(service *services.Service, dlpTemplateID int) (*http.Response, error)

Types

type DlpNotificationTemplates

type DlpNotificationTemplates struct {
	// The unique identifier for a DLP notification template.
	ID int `json:"id"`

	// The DLP notification template name.
	Name string `json:"name,omitempty"`

	// The Subject line that is displayed within the DLP notification email.
	Subject string `json:"subject,omitempty"`

	// If set to true, the content that is violation is attached to the DLP notification email.
	AttachContent bool `json:"attachContent,omitempty"`

	// The template for the plain text UTF-8 message body that must be displayed in the DLP notification email.
	PlainTextMessage string `json:"plainTextMessage,omitempty"`

	// The template for the HTML message body that must be displayed in the DLP notification email.
	HtmlMessage string `json:"htmlMessage,omitempty"`

	// The template for the HTML message body that must be displayed in the DLP notification email.
	TLSEnabled bool `json:"tlsEnabled,omitempty"`
}

func Create added in v2.61.0

func Get added in v2.61.0

func Get(service *services.Service, dlpTemplateID int) (*DlpNotificationTemplates, error)

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]DlpNotificationTemplates, error)

func GetByName added in v2.61.0

func GetByName(service *services.Service, templateName string) (*DlpNotificationTemplates, error)

func Update added in v2.61.0

func Update(service *services.Service, dlpTemplateID int, dlpTemplates *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL