Documentation ¶
Index ¶
- type BatchAddDataMaskRequest
- type BatchAddDataMaskResponse
- type Columns
- type ColumnsType
- type ColumnsTypeEnum
- type CreateDatabaseWaterMarkRequest
- type CreateDatabaseWaterMarkResponse
- type CreateDocWatermarkByAddressRequest
- type CreateDocWatermarkByAddressRequestBody
- type CreateDocWatermarkByAddressRequestBodyDocType
- type CreateDocWatermarkByAddressRequestBodyDocTypeEnum
- type CreateDocWatermarkByAddressRequestBodyVisibleType
- type CreateDocWatermarkByAddressRequestBodyVisibleTypeEnum
- type CreateDocWatermarkByAddressResponse
- type CreateDocWatermarkRequest
- type CreateDocWatermarkRequestBody
- type CreateDocWatermarkRequestBodyDocType
- type CreateDocWatermarkRequestBodyDocTypeEnum
- type CreateDocWatermarkRequestBodyVisibleType
- type CreateDocWatermarkRequestBodyVisibleTypeEnum
- type CreateDocWatermarkResponse
- type CreateImageWatermarkByAddressRequest
- type CreateImageWatermarkByAddressRequestBody
- type CreateImageWatermarkByAddressResponse
- type CreateImageWatermarkRequest
- type CreateImageWatermarkRequestBody
- type CreateImageWatermarkResponse
- type DbMatchInfo
- type DbScanResult
- type DbScanResultInfo
- type DynamicDataMask
- type EmbeddedDatabaseWatermark
- type EsMatchInfo
- type EsScanResult
- type EsScanResultInfo
- type ExtractedDatabaseWatermark
- type MaskStrategies
- type MaskStrategiesAlgorithm
- type MaskStrategiesAlgorithmEnum
- type ObsScanResult
- type ObsScanResultInfo
- type OpenApiCalledRecord
- type ScanJob
- type ScanJobCycle
- type ScanJobCycleEnum
- type ScanJobStatus
- type ScanJobStatusEnum
- type ShowDatabaseWaterMarkRequest
- type ShowDatabaseWaterMarkResponse
- type ShowDocWatermarkByAddressRequest
- type ShowDocWatermarkByAddressRequestBody
- type ShowDocWatermarkByAddressRequestBodyDocType
- type ShowDocWatermarkByAddressRequestBodyDocTypeEnum
- type ShowDocWatermarkByAddressResponse
- type ShowDocWatermarkRequest
- type ShowDocWatermarkRequestBody
- type ShowDocWatermarkRequestBodyDocType
- type ShowDocWatermarkRequestBodyDocTypeEnum
- type ShowDocWatermarkResponse
- type ShowImageWatermarkByAddressRequest
- type ShowImageWatermarkByAddressRequestBody
- type ShowImageWatermarkByAddressResponse
- type ShowImageWatermarkRequest
- type ShowImageWatermarkRequestBody
- type ShowImageWatermarkResponse
- type ShowImageWatermarkWithImageByAddressRequest
- type ShowImageWatermarkWithImageByAddressRequestBody
- type ShowImageWatermarkWithImageByAddressResponse
- type ShowImageWatermarkWithImageRequest
- type ShowImageWatermarkWithImageRequestBody
- type ShowImageWatermarkWithImageResponse
- type ShowOpenApiCalledRecordsRequest
- type ShowOpenApiCalledRecordsResponse
- type ShowScanJobResultsRequest
- type ShowScanJobResultsRequestType
- type ShowScanJobResultsRequestTypeEnum
- type ShowScanJobResultsResponse
- type ShowScanJobsRequest
- type ShowScanJobsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchAddDataMaskRequest ¶
type BatchAddDataMaskRequest struct {
Body *DynamicDataMask `json:"body,omitempty"`
}
Request Object
func (BatchAddDataMaskRequest) String ¶
func (o BatchAddDataMaskRequest) String() string
type BatchAddDataMaskResponse ¶
type BatchAddDataMaskResponse struct { MaskedData *[]map[string]interface{} `json:"masked_data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchAddDataMaskResponse) String ¶
func (o BatchAddDataMaskResponse) String() string
type Columns ¶
type Columns struct { Name string `json:"name"` Type ColumnsType `json:"type"` PrimaryKey bool `json:"primary_key"` }
字段类型列表,最大长度100
type ColumnsType ¶
type ColumnsType struct {
// contains filtered or unexported fields
}
func (ColumnsType) MarshalJSON ¶
func (c ColumnsType) MarshalJSON() ([]byte, error)
func (*ColumnsType) UnmarshalJSON ¶
func (c *ColumnsType) UnmarshalJSON(b []byte) error
type ColumnsTypeEnum ¶
type ColumnsTypeEnum struct { INTEGER ColumnsType STRING ColumnsType DOUBLE ColumnsType }
func GetColumnsTypeEnum ¶
func GetColumnsTypeEnum() ColumnsTypeEnum
type CreateDatabaseWaterMarkRequest ¶
type CreateDatabaseWaterMarkRequest struct {
Body *EmbeddedDatabaseWatermark `json:"body,omitempty"`
}
Request Object
func (CreateDatabaseWaterMarkRequest) String ¶
func (o CreateDatabaseWaterMarkRequest) String() string
type CreateDatabaseWaterMarkResponse ¶
type CreateDatabaseWaterMarkResponse struct { MarkedData *[]map[string]interface{} `json:"marked_data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatabaseWaterMarkResponse) String ¶
func (o CreateDatabaseWaterMarkResponse) String() string
type CreateDocWatermarkByAddressRequest ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequest struct {
Body *CreateDocWatermarkByAddressRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateDocWatermarkByAddressRequest) String ¶ added in v0.0.83
func (o CreateDocWatermarkByAddressRequest) String() string
type CreateDocWatermarkByAddressRequestBody ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequestBody struct { RegionId string `json:"region_id"` SrcFile string `json:"src_file"` DocType CreateDocWatermarkByAddressRequestBodyDocType `json:"doc_type"` DstFile *string `json:"dst_file,omitempty"` BlindWatermark *string `json:"blind_watermark,omitempty"` VisibleWatermark *string `json:"visible_watermark,omitempty"` ImageMark *string `json:"image_mark,omitempty"` VisibleType *CreateDocWatermarkByAddressRequestBodyVisibleType `json:"visible_type,omitempty"` FilePassword *string `json:"file_password,omitempty"` MarkedFilePassword *string `json:"marked_file_password,omitempty"` ReadonlyPassword *string `json:"readonly_password,omitempty"` Front *int32 `json:"front,omitempty"` Rotation *int32 `json:"rotation,omitempty"` Opacity *float32 `json:"opacity,omitempty"` }
OBS文档嵌入水印请求体
func (CreateDocWatermarkByAddressRequestBody) String ¶ added in v0.0.83
func (o CreateDocWatermarkByAddressRequestBody) String() string
type CreateDocWatermarkByAddressRequestBodyDocType ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequestBodyDocType struct {
// contains filtered or unexported fields
}
func (CreateDocWatermarkByAddressRequestBodyDocType) MarshalJSON ¶ added in v0.0.83
func (c CreateDocWatermarkByAddressRequestBodyDocType) MarshalJSON() ([]byte, error)
func (*CreateDocWatermarkByAddressRequestBodyDocType) UnmarshalJSON ¶ added in v0.0.83
func (c *CreateDocWatermarkByAddressRequestBodyDocType) UnmarshalJSON(b []byte) error
type CreateDocWatermarkByAddressRequestBodyDocTypeEnum ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequestBodyDocTypeEnum struct { WORD CreateDocWatermarkByAddressRequestBodyDocType EXCEL CreateDocWatermarkByAddressRequestBodyDocType PDF CreateDocWatermarkByAddressRequestBodyDocType PPT CreateDocWatermarkByAddressRequestBodyDocType }
func GetCreateDocWatermarkByAddressRequestBodyDocTypeEnum ¶ added in v0.0.83
func GetCreateDocWatermarkByAddressRequestBodyDocTypeEnum() CreateDocWatermarkByAddressRequestBodyDocTypeEnum
type CreateDocWatermarkByAddressRequestBodyVisibleType ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequestBodyVisibleType struct {
// contains filtered or unexported fields
}
func (CreateDocWatermarkByAddressRequestBodyVisibleType) MarshalJSON ¶ added in v0.0.83
func (c CreateDocWatermarkByAddressRequestBodyVisibleType) MarshalJSON() ([]byte, error)
func (*CreateDocWatermarkByAddressRequestBodyVisibleType) UnmarshalJSON ¶ added in v0.0.83
func (c *CreateDocWatermarkByAddressRequestBodyVisibleType) UnmarshalJSON(b []byte) error
type CreateDocWatermarkByAddressRequestBodyVisibleTypeEnum ¶ added in v0.0.83
type CreateDocWatermarkByAddressRequestBodyVisibleTypeEnum struct { TEXT CreateDocWatermarkByAddressRequestBodyVisibleType IMAGE CreateDocWatermarkByAddressRequestBodyVisibleType }
func GetCreateDocWatermarkByAddressRequestBodyVisibleTypeEnum ¶ added in v0.0.83
func GetCreateDocWatermarkByAddressRequestBodyVisibleTypeEnum() CreateDocWatermarkByAddressRequestBodyVisibleTypeEnum
type CreateDocWatermarkByAddressResponse ¶ added in v0.0.83
type CreateDocWatermarkByAddressResponse struct { RegionId *string `json:"region_id,omitempty"` WatermarkedFile *string `json:"watermarked_file,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDocWatermarkByAddressResponse) String ¶ added in v0.0.83
func (o CreateDocWatermarkByAddressResponse) String() string
type CreateDocWatermarkRequest ¶
type CreateDocWatermarkRequest struct {
Body *CreateDocWatermarkRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (CreateDocWatermarkRequest) String ¶
func (o CreateDocWatermarkRequest) String() string
type CreateDocWatermarkRequestBody ¶
type CreateDocWatermarkRequestBody struct { // 要嵌入水印的文档类型 DocType *def.MultiPart `json:"doc_type"` // 输入文件有密码时,读取文件的密码, 最大支持长度256。如果Office文档有读密码或域控的权限密码,请输入读密码,或者有读权限的域控密码。 FilePassword *def.MultiPart `json:"file_password,omitempty"` // 添加水印后给文件设置密码, 最大支持长度256。默认不加文档密码。 MarkedFilePassword *def.MultiPart `json:"marked_file_password,omitempty"` // 添加水印后给文件设置只读密码, 最大支持长度256。默认不加只读密码。 ReadonlyPassword *def.MultiPart `json:"readonly_password,omitempty"` // 明水印内容,与“blind_watermark”字段至少有一个不为空 VisibleWatermark *def.MultiPart `json:"visible_watermark,omitempty"` // 明水印字体大小,取值为[1,100],默认值50 FontSize *def.MultiPart `json:"font_size,omitempty"` // 明水印旋转角度,逆时针方向,取值为[0,90],默认值45 Rotation *def.MultiPart `json:"rotation,omitempty"` // 明水印的透明度,取值[0,1],默认值为0.3; Opacity *def.MultiPart `json:"opacity,omitempty"` // 暗水印内容,与“visible_watermark”字段至少有一个不为空 BlindWatermark *def.MultiPart `json:"blind_watermark,omitempty"` // 要添加水印的文档 File *def.FilePart `json:"file"` // 图形水印的字节流。图形文件的格式必须为“png”或“jpg”,否则返回参数错误;图像文件大小不超过1MB;在分段的请求体“Content-Disposition”部分,参数“name”的值必须为“image_mark”。 ImageMark *def.FilePart `json:"image_mark,omitempty"` // 该字段为空时,默认为**TEXT**类型。 当该字段为**IMAGE**时: - 请求的表单中必须包含名为“image”的图像文件,图像格式必须为“png”或“jpg”,否则返回参数错误; - 图像文件大小不超过1MB; - “visible_watermark”,“font_size”,“rotation”和“opacity”字段无效。 VisibleType *def.MultiPart `json:"visible_type,omitempty"` }
func (CreateDocWatermarkRequestBody) String ¶
func (o CreateDocWatermarkRequestBody) String() string
func (*CreateDocWatermarkRequestBody) UnmarshalJSON ¶ added in v0.0.67
func (o *CreateDocWatermarkRequestBody) UnmarshalJSON(b []byte) error
type CreateDocWatermarkRequestBodyDocType ¶
type CreateDocWatermarkRequestBodyDocType struct {
// contains filtered or unexported fields
}
func (CreateDocWatermarkRequestBodyDocType) MarshalJSON ¶
func (c CreateDocWatermarkRequestBodyDocType) MarshalJSON() ([]byte, error)
func (*CreateDocWatermarkRequestBodyDocType) UnmarshalJSON ¶
func (c *CreateDocWatermarkRequestBodyDocType) UnmarshalJSON(b []byte) error
type CreateDocWatermarkRequestBodyDocTypeEnum ¶
type CreateDocWatermarkRequestBodyDocTypeEnum struct { WORD CreateDocWatermarkRequestBodyDocType EXCEL CreateDocWatermarkRequestBodyDocType PDF CreateDocWatermarkRequestBodyDocType PPT CreateDocWatermarkRequestBodyDocType }
func GetCreateDocWatermarkRequestBodyDocTypeEnum ¶
func GetCreateDocWatermarkRequestBodyDocTypeEnum() CreateDocWatermarkRequestBodyDocTypeEnum
type CreateDocWatermarkRequestBodyVisibleType ¶
type CreateDocWatermarkRequestBodyVisibleType struct {
// contains filtered or unexported fields
}
func (CreateDocWatermarkRequestBodyVisibleType) MarshalJSON ¶
func (c CreateDocWatermarkRequestBodyVisibleType) MarshalJSON() ([]byte, error)
func (*CreateDocWatermarkRequestBodyVisibleType) UnmarshalJSON ¶
func (c *CreateDocWatermarkRequestBodyVisibleType) UnmarshalJSON(b []byte) error
type CreateDocWatermarkRequestBodyVisibleTypeEnum ¶
type CreateDocWatermarkRequestBodyVisibleTypeEnum struct { TEXT CreateDocWatermarkRequestBodyVisibleType IMAGE CreateDocWatermarkRequestBodyVisibleType }
func GetCreateDocWatermarkRequestBodyVisibleTypeEnum ¶
func GetCreateDocWatermarkRequestBodyVisibleTypeEnum() CreateDocWatermarkRequestBodyVisibleTypeEnum
type CreateDocWatermarkResponse ¶
type CreateDocWatermarkResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (CreateDocWatermarkResponse) Consume ¶
func (o CreateDocWatermarkResponse) Consume(writer io.Writer) (int64, error)
func (CreateDocWatermarkResponse) String ¶
func (o CreateDocWatermarkResponse) String() string
type CreateImageWatermarkByAddressRequest ¶ added in v0.0.83
type CreateImageWatermarkByAddressRequest struct {
Body *CreateImageWatermarkByAddressRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateImageWatermarkByAddressRequest) String ¶ added in v0.0.83
func (o CreateImageWatermarkByAddressRequest) String() string
type CreateImageWatermarkByAddressRequestBody ¶ added in v0.0.83
type CreateImageWatermarkByAddressRequestBody struct { RegionId string `json:"region_id"` SrcFile string `json:"src_file"` BlindWatermark *string `json:"blind_watermark,omitempty"` ImageWatermark *string `json:"image_watermark,omitempty"` DstFile *string `json:"dst_file,omitempty"` }
func (CreateImageWatermarkByAddressRequestBody) String ¶ added in v0.0.83
func (o CreateImageWatermarkByAddressRequestBody) String() string
type CreateImageWatermarkByAddressResponse ¶ added in v0.0.83
type CreateImageWatermarkByAddressResponse struct { RegionId *string `json:"region_id,omitempty"` WatermarkedFile *string `json:"watermarked_file,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateImageWatermarkByAddressResponse) String ¶ added in v0.0.83
func (o CreateImageWatermarkByAddressResponse) String() string
type CreateImageWatermarkRequest ¶
type CreateImageWatermarkRequest struct {
Body *CreateImageWatermarkRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (CreateImageWatermarkRequest) String ¶
func (o CreateImageWatermarkRequest) String() string
type CreateImageWatermarkRequestBody ¶
type CreateImageWatermarkRequestBody struct { // 要添加水印的图片文件,添加的图片短边尺寸需要超过512像素。 File *def.FilePart `json:"file"` // 待嵌入的文字暗水印内容,长度不超过32个字符。当前仅支持数字及英文大小写。与图片暗水印image_watermark二选一填充。 BlindWatermark *def.MultiPart `json:"blind_watermark,omitempty"` // 待嵌入的图片暗水印文件,与文字暗水印 blind_watermark 二选一填充。 ImageWatermark *def.FilePart `json:"image_watermark,omitempty"` }
func (CreateImageWatermarkRequestBody) String ¶
func (o CreateImageWatermarkRequestBody) String() string
func (*CreateImageWatermarkRequestBody) UnmarshalJSON ¶ added in v0.0.67
func (o *CreateImageWatermarkRequestBody) UnmarshalJSON(b []byte) error
type CreateImageWatermarkResponse ¶
type CreateImageWatermarkResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (CreateImageWatermarkResponse) Consume ¶
func (o CreateImageWatermarkResponse) Consume(writer io.Writer) (int64, error)
func (CreateImageWatermarkResponse) String ¶
func (o CreateImageWatermarkResponse) String() string
type DbMatchInfo ¶ added in v0.0.68
type DbMatchInfo struct { ColumnName *string `json:"column_name,omitempty"` RuleName *string `json:"rule_name,omitempty"` RuleId *string `json:"rule_id,omitempty"` RuleRiskLevel *int32 `json:"rule_risk_level,omitempty"` ColumnLine *[]int64 `json:"column_line,omitempty"` }
func (DbMatchInfo) String ¶ added in v0.0.68
func (o DbMatchInfo) String() string
type DbScanResult ¶ added in v0.0.68
type DbScanResult struct { Total *int32 `json:"total,omitempty"` DbScanResults *[]DbScanResultInfo `json:"db_scan_results,omitempty"` }
func (DbScanResult) String ¶ added in v0.0.68
func (o DbScanResult) String() string
type DbScanResultInfo ¶ added in v0.0.68
type DbScanResultInfo struct { TaskId *string `json:"task_id,omitempty"` DbName *string `json:"db_name,omitempty"` TableId *string `json:"table_id,omitempty"` TableName *string `json:"table_name,omitempty"` RiskLevel *int32 `json:"risk_level,omitempty"` SensitiveDataType *[]string `json:"sensitive_data_type,omitempty"` MatchInfo *[]DbMatchInfo `json:"match_info,omitempty"` }
func (DbScanResultInfo) String ¶ added in v0.0.68
func (o DbScanResultInfo) String() string
type DynamicDataMask ¶
type DynamicDataMask struct { MaskStrategies []MaskStrategies `json:"mask_strategies"` Data []map[string]interface{} `json:"data"` }
func (DynamicDataMask) String ¶
func (o DynamicDataMask) String() string
type EmbeddedDatabaseWatermark ¶
type EmbeddedDatabaseWatermark struct { WatermarkContent string `json:"watermark_content"` WatermarkKey string `json:"watermark_key"` Columns []Columns `json:"columns"` Data []map[string]interface{} `json:"data"` }
func (EmbeddedDatabaseWatermark) String ¶
func (o EmbeddedDatabaseWatermark) String() string
type EsMatchInfo ¶ added in v0.0.68
type EsMatchInfo struct { FieldName *string `json:"field_name,omitempty"` RuleName *string `json:"rule_name,omitempty"` RuleId *string `json:"rule_id,omitempty"` RuleRiskLevel *int32 `json:"rule_risk_level,omitempty"` }
ES数据项匹配信息
func (EsMatchInfo) String ¶ added in v0.0.68
func (o EsMatchInfo) String() string
type EsScanResult ¶ added in v0.0.68
type EsScanResult struct { Total *int32 `json:"total,omitempty"` DbScanResults *[]EsScanResultInfo `json:"db_scan_results,omitempty"` }
func (EsScanResult) String ¶ added in v0.0.68
func (o EsScanResult) String() string
type EsScanResultInfo ¶ added in v0.0.68
type EsScanResultInfo struct { TaskId *string `json:"task_id,omitempty"` IndexName *string `json:"index_name,omitempty"` TypeId *string `json:"type_id,omitempty"` TypeName *string `json:"type_name,omitempty"` RiskLevel *int32 `json:"risk_level,omitempty"` SensitiveDataType *[]string `json:"sensitive_data_type,omitempty"` MatchInfo *[]EsMatchInfo `json:"match_info,omitempty"` }
ES扫描结果信息
func (EsScanResultInfo) String ¶ added in v0.0.68
func (o EsScanResultInfo) String() string
type ExtractedDatabaseWatermark ¶
type ExtractedDatabaseWatermark struct { WatermarkKey string `json:"watermark_key"` Columns []Columns `json:"columns"` Data []map[string]interface{} `json:"data"` }
func (ExtractedDatabaseWatermark) String ¶
func (o ExtractedDatabaseWatermark) String() string
type MaskStrategies ¶
type MaskStrategies struct { Name string `json:"name"` Algorithm MaskStrategiesAlgorithm `json:"algorithm"` Parameters map[string]interface{} `json:"parameters,omitempty"` }
脱敏策略列表,每个策略对应一个字段,脱敏策略数最多100个。详情见“动态脱敏策略配置”。
func (MaskStrategies) String ¶
func (o MaskStrategies) String() string
type MaskStrategiesAlgorithm ¶
type MaskStrategiesAlgorithm struct {
// contains filtered or unexported fields
}
func (MaskStrategiesAlgorithm) MarshalJSON ¶
func (c MaskStrategiesAlgorithm) MarshalJSON() ([]byte, error)
func (*MaskStrategiesAlgorithm) UnmarshalJSON ¶
func (c *MaskStrategiesAlgorithm) UnmarshalJSON(b []byte) error
type MaskStrategiesAlgorithmEnum ¶
type MaskStrategiesAlgorithmEnum struct { SHA256 MaskStrategiesAlgorithm SHA512 MaskStrategiesAlgorithm AES MaskStrategiesAlgorithm PRESNM MaskStrategiesAlgorithm MASKNM MaskStrategiesAlgorithm PRESXY MaskStrategiesAlgorithm MASKXY MaskStrategiesAlgorithm SYMBOL MaskStrategiesAlgorithm KEYWORD MaskStrategiesAlgorithm NUMERIC MaskStrategiesAlgorithm }
func GetMaskStrategiesAlgorithmEnum ¶
func GetMaskStrategiesAlgorithmEnum() MaskStrategiesAlgorithmEnum
type ObsScanResult ¶ added in v0.0.68
type ObsScanResult struct { Total *int32 `json:"total,omitempty"` DbScanResults *[]ObsScanResultInfo `json:"db_scan_results,omitempty"` }
func (ObsScanResult) String ¶ added in v0.0.68
func (o ObsScanResult) String() string
type ObsScanResultInfo ¶ added in v0.0.68
type ObsScanResultInfo struct { TaskId *string `json:"task_id,omitempty"` BucketId *string `json:"bucket_id,omitempty"` BucketName *string `json:"bucket_name,omitempty"` FilePath *string `json:"file_path,omitempty"` FileName *string `json:"file_name,omitempty"` Md5 *string `json:"md5,omitempty"` RiskLevel *int32 `json:"risk_level,omitempty"` SensitiveDataType *[]string `json:"sensitive_data_type,omitempty"` }
func (ObsScanResultInfo) String ¶ added in v0.0.68
func (o ObsScanResultInfo) String() string
type OpenApiCalledRecord ¶ added in v0.0.71
type OpenApiCalledRecord struct { UserName *string `json:"user_name,omitempty"` UserId *string `json:"user_id,omitempty"` DomainName *string `json:"domain_name,omitempty"` DomainId *string `json:"domain_id,omitempty"` RequestUrl *string `json:"request_url,omitempty"` RequestMethod *string `json:"request_method,omitempty"` ResponseCode *string `json:"response_code,omitempty"` FailReason *string `json:"fail_reason,omitempty"` Timestamp *int64 `json:"timestamp,omitempty"` }
OpenApi调用记录
func (OpenApiCalledRecord) String ¶ added in v0.0.71
func (o OpenApiCalledRecord) String() string
type ScanJob ¶ added in v0.0.68
type ScanJob struct { CreateTime *int64 `json:"create_time,omitempty"` Cycle *ScanJobCycle `json:"cycle,omitempty"` Id *string `json:"id,omitempty"` LastRunTime *int64 `json:"last_run_time,omitempty"` LastScanRisk *string `json:"last_scan_risk,omitempty"` Name *string `json:"name,omitempty"` Open *bool `json:"open,omitempty"` RuleGroups *[]string `json:"rule_groups,omitempty"` Status *ScanJobStatus `json:"status,omitempty"` TopicUrn *string `json:"topic_urn,omitempty"` UseNlp *bool `json:"use_nlp,omitempty"` StartTime *int64 `json:"start_time,omitempty"` }
type ScanJobCycle ¶ added in v0.0.68
type ScanJobCycle struct {
// contains filtered or unexported fields
}
func (ScanJobCycle) MarshalJSON ¶ added in v0.0.68
func (c ScanJobCycle) MarshalJSON() ([]byte, error)
func (*ScanJobCycle) UnmarshalJSON ¶ added in v0.0.68
func (c *ScanJobCycle) UnmarshalJSON(b []byte) error
type ScanJobCycleEnum ¶ added in v0.0.68
type ScanJobCycleEnum struct { ONCE ScanJobCycle DAY ScanJobCycle WEEK ScanJobCycle MONTH ScanJobCycle }
func GetScanJobCycleEnum ¶ added in v0.0.68
func GetScanJobCycleEnum() ScanJobCycleEnum
type ScanJobStatus ¶ added in v0.0.68
type ScanJobStatus struct {
// contains filtered or unexported fields
}
func (ScanJobStatus) MarshalJSON ¶ added in v0.0.68
func (c ScanJobStatus) MarshalJSON() ([]byte, error)
func (*ScanJobStatus) UnmarshalJSON ¶ added in v0.0.68
func (c *ScanJobStatus) UnmarshalJSON(b []byte) error
type ScanJobStatusEnum ¶ added in v0.0.68
type ScanJobStatusEnum struct { INIT ScanJobStatus WAITING ScanJobStatus RUNNING ScanJobStatus FAILED ScanJobStatus STOPPED ScanJobStatus FINISHED ScanJobStatus TERMINATED ScanJobStatus }
func GetScanJobStatusEnum ¶ added in v0.0.68
func GetScanJobStatusEnum() ScanJobStatusEnum
type ShowDatabaseWaterMarkRequest ¶
type ShowDatabaseWaterMarkRequest struct {
Body *ExtractedDatabaseWatermark `json:"body,omitempty"`
}
Request Object
func (ShowDatabaseWaterMarkRequest) String ¶
func (o ShowDatabaseWaterMarkRequest) String() string
type ShowDatabaseWaterMarkResponse ¶
type ShowDatabaseWaterMarkResponse struct { Watermarks *[]string `json:"watermarks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDatabaseWaterMarkResponse) String ¶
func (o ShowDatabaseWaterMarkResponse) String() string
type ShowDocWatermarkByAddressRequest ¶ added in v0.0.83
type ShowDocWatermarkByAddressRequest struct {
Body *ShowDocWatermarkByAddressRequestBody `json:"body,omitempty"`
}
Request Object
func (ShowDocWatermarkByAddressRequest) String ¶ added in v0.0.83
func (o ShowDocWatermarkByAddressRequest) String() string
type ShowDocWatermarkByAddressRequestBody ¶ added in v0.0.83
type ShowDocWatermarkByAddressRequestBody struct { RegionId string `json:"region_id"` DocType ShowDocWatermarkByAddressRequestBodyDocType `json:"doc_type"` SrcFile string `json:"src_file"` FilePassword *string `json:"file_password,omitempty"` }
func (ShowDocWatermarkByAddressRequestBody) String ¶ added in v0.0.83
func (o ShowDocWatermarkByAddressRequestBody) String() string
type ShowDocWatermarkByAddressRequestBodyDocType ¶ added in v0.0.83
type ShowDocWatermarkByAddressRequestBodyDocType struct {
// contains filtered or unexported fields
}
func (ShowDocWatermarkByAddressRequestBodyDocType) MarshalJSON ¶ added in v0.0.83
func (c ShowDocWatermarkByAddressRequestBodyDocType) MarshalJSON() ([]byte, error)
func (*ShowDocWatermarkByAddressRequestBodyDocType) UnmarshalJSON ¶ added in v0.0.83
func (c *ShowDocWatermarkByAddressRequestBodyDocType) UnmarshalJSON(b []byte) error
type ShowDocWatermarkByAddressRequestBodyDocTypeEnum ¶ added in v0.0.83
type ShowDocWatermarkByAddressRequestBodyDocTypeEnum struct { WORD ShowDocWatermarkByAddressRequestBodyDocType EXCEL ShowDocWatermarkByAddressRequestBodyDocType PDF ShowDocWatermarkByAddressRequestBodyDocType PPT ShowDocWatermarkByAddressRequestBodyDocType }
func GetShowDocWatermarkByAddressRequestBodyDocTypeEnum ¶ added in v0.0.83
func GetShowDocWatermarkByAddressRequestBodyDocTypeEnum() ShowDocWatermarkByAddressRequestBodyDocTypeEnum
type ShowDocWatermarkByAddressResponse ¶ added in v0.0.83
type ShowDocWatermarkByAddressResponse struct { Watermark *string `json:"watermark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDocWatermarkByAddressResponse) String ¶ added in v0.0.83
func (o ShowDocWatermarkByAddressResponse) String() string
type ShowDocWatermarkRequest ¶
type ShowDocWatermarkRequest struct {
Body *ShowDocWatermarkRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (ShowDocWatermarkRequest) String ¶
func (o ShowDocWatermarkRequest) String() string
type ShowDocWatermarkRequestBody ¶
type ShowDocWatermarkRequestBody struct { // 待提取水印的文档类型 DocType *def.MultiPart `json:"doc_type"` // 解密文件的密码, 最大支持长度256。如果Office文档有读密码或域控的权限密码,请输入读密码,或者有读权限的域控密码。 FilePassword *def.MultiPart `json:"file_password,omitempty"` // 上传要提取水印的文档 File *def.FilePart `json:"file"` }
func (ShowDocWatermarkRequestBody) String ¶
func (o ShowDocWatermarkRequestBody) String() string
func (*ShowDocWatermarkRequestBody) UnmarshalJSON ¶ added in v0.0.67
func (o *ShowDocWatermarkRequestBody) UnmarshalJSON(b []byte) error
type ShowDocWatermarkRequestBodyDocType ¶
type ShowDocWatermarkRequestBodyDocType struct {
// contains filtered or unexported fields
}
func (ShowDocWatermarkRequestBodyDocType) MarshalJSON ¶
func (c ShowDocWatermarkRequestBodyDocType) MarshalJSON() ([]byte, error)
func (*ShowDocWatermarkRequestBodyDocType) UnmarshalJSON ¶
func (c *ShowDocWatermarkRequestBodyDocType) UnmarshalJSON(b []byte) error
type ShowDocWatermarkRequestBodyDocTypeEnum ¶
type ShowDocWatermarkRequestBodyDocTypeEnum struct { WORD ShowDocWatermarkRequestBodyDocType EXCEL ShowDocWatermarkRequestBodyDocType PDF ShowDocWatermarkRequestBodyDocType PPT ShowDocWatermarkRequestBodyDocType }
func GetShowDocWatermarkRequestBodyDocTypeEnum ¶
func GetShowDocWatermarkRequestBodyDocTypeEnum() ShowDocWatermarkRequestBodyDocTypeEnum
type ShowDocWatermarkResponse ¶
type ShowDocWatermarkResponse struct { Watermark *string `json:"watermark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDocWatermarkResponse) String ¶
func (o ShowDocWatermarkResponse) String() string
type ShowImageWatermarkByAddressRequest ¶ added in v0.0.83
type ShowImageWatermarkByAddressRequest struct {
Body *ShowImageWatermarkByAddressRequestBody `json:"body,omitempty"`
}
Request Object
func (ShowImageWatermarkByAddressRequest) String ¶ added in v0.0.83
func (o ShowImageWatermarkByAddressRequest) String() string
type ShowImageWatermarkByAddressRequestBody ¶ added in v0.0.83
type ShowImageWatermarkByAddressRequestBody struct { RegionId string `json:"region_id"` SrcFile string `json:"src_file"` MarkLen *int32 `json:"mark_len,omitempty"` }
func (ShowImageWatermarkByAddressRequestBody) String ¶ added in v0.0.83
func (o ShowImageWatermarkByAddressRequestBody) String() string
type ShowImageWatermarkByAddressResponse ¶ added in v0.0.83
type ShowImageWatermarkByAddressResponse struct { Watermark *string `json:"watermark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowImageWatermarkByAddressResponse) String ¶ added in v0.0.83
func (o ShowImageWatermarkByAddressResponse) String() string
type ShowImageWatermarkRequest ¶
type ShowImageWatermarkRequest struct {
Body *ShowImageWatermarkRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (ShowImageWatermarkRequest) String ¶
func (o ShowImageWatermarkRequest) String() string
type ShowImageWatermarkRequestBody ¶
type ShowImageWatermarkRequestBody struct { // 待提取暗水印的图片文件。 File *def.FilePart `json:"file"` // 指定待提取水印的长度,mark_len长度大于0,小于32。设置后可以提升水印提取性能 MarkLen *def.MultiPart `json:"mark_len,omitempty"` }
func (ShowImageWatermarkRequestBody) String ¶
func (o ShowImageWatermarkRequestBody) String() string
func (*ShowImageWatermarkRequestBody) UnmarshalJSON ¶ added in v0.0.67
func (o *ShowImageWatermarkRequestBody) UnmarshalJSON(b []byte) error
type ShowImageWatermarkResponse ¶
type ShowImageWatermarkResponse struct { Watermark *string `json:"watermark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowImageWatermarkResponse) String ¶
func (o ShowImageWatermarkResponse) String() string
type ShowImageWatermarkWithImageByAddressRequest ¶ added in v0.0.83
type ShowImageWatermarkWithImageByAddressRequest struct {
Body *ShowImageWatermarkWithImageByAddressRequestBody `json:"body,omitempty"`
}
Request Object
func (ShowImageWatermarkWithImageByAddressRequest) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageByAddressRequest) String() string
type ShowImageWatermarkWithImageByAddressRequestBody ¶ added in v0.0.83
type ShowImageWatermarkWithImageByAddressRequestBody struct { RegionId string `json:"region_id"` SrcFile string `json:"src_file"` ImageWatermark string `json:"image_watermark"` }
func (ShowImageWatermarkWithImageByAddressRequestBody) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageByAddressRequestBody) String() string
type ShowImageWatermarkWithImageByAddressResponse ¶ added in v0.0.83
type ShowImageWatermarkWithImageByAddressResponse struct { RegionId *string `json:"region_id,omitempty"` ImageWatermark *string `json:"image_watermark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowImageWatermarkWithImageByAddressResponse) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageByAddressResponse) String() string
type ShowImageWatermarkWithImageRequest ¶ added in v0.0.83
type ShowImageWatermarkWithImageRequest struct {
Body *ShowImageWatermarkWithImageRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (ShowImageWatermarkWithImageRequest) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageRequest) String() string
type ShowImageWatermarkWithImageRequestBody ¶ added in v0.0.83
type ShowImageWatermarkWithImageRequestBody struct { // 待提取暗水印的图片文件。 File *def.FilePart `json:"file"` }
func (ShowImageWatermarkWithImageRequestBody) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageRequestBody) String() string
func (*ShowImageWatermarkWithImageRequestBody) UnmarshalJSON ¶ added in v0.0.83
func (o *ShowImageWatermarkWithImageRequestBody) UnmarshalJSON(b []byte) error
type ShowImageWatermarkWithImageResponse ¶ added in v0.0.83
type ShowImageWatermarkWithImageResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (ShowImageWatermarkWithImageResponse) Consume ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageResponse) Consume(writer io.Writer) (int64, error)
func (ShowImageWatermarkWithImageResponse) String ¶ added in v0.0.83
func (o ShowImageWatermarkWithImageResponse) String() string
type ShowOpenApiCalledRecordsRequest ¶ added in v0.0.71
type ShowOpenApiCalledRecordsRequest struct { Limit *int32 `json:"limit,omitempty"` CalledUrl *string `json:"called_url,omitempty"` StartTime *int64 `json:"start_time,omitempty"` EndTime *int64 `json:"end_time,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ShowOpenApiCalledRecordsRequest) String ¶ added in v0.0.71
func (o ShowOpenApiCalledRecordsRequest) String() string
type ShowOpenApiCalledRecordsResponse ¶ added in v0.0.71
type ShowOpenApiCalledRecordsResponse struct { Total *int32 `json:"total,omitempty"` Succeed *int32 `json:"succeed,omitempty"` Failed *int32 `json:"failed,omitempty"` OpenapiCalledRecords *[]OpenApiCalledRecord `json:"openapi_called_records,omitempty"` NextMarker *string `json:"next_marker,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowOpenApiCalledRecordsResponse) String ¶ added in v0.0.71
func (o ShowOpenApiCalledRecordsResponse) String() string
type ShowScanJobResultsRequest ¶ added in v0.0.68
type ShowScanJobResultsRequest struct { JobId string `json:"job_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Type *ShowScanJobResultsRequestType `json:"type,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` }
Request Object
func (ShowScanJobResultsRequest) String ¶ added in v0.0.68
func (o ShowScanJobResultsRequest) String() string
type ShowScanJobResultsRequestType ¶ added in v0.0.68
type ShowScanJobResultsRequestType struct {
// contains filtered or unexported fields
}
func (ShowScanJobResultsRequestType) MarshalJSON ¶ added in v0.0.68
func (c ShowScanJobResultsRequestType) MarshalJSON() ([]byte, error)
func (*ShowScanJobResultsRequestType) UnmarshalJSON ¶ added in v0.0.68
func (c *ShowScanJobResultsRequestType) UnmarshalJSON(b []byte) error
type ShowScanJobResultsRequestTypeEnum ¶ added in v0.0.68
type ShowScanJobResultsRequestTypeEnum struct { DATABASE ShowScanJobResultsRequestType OBS ShowScanJobResultsRequestType BIGDATA ShowScanJobResultsRequestType }
func GetShowScanJobResultsRequestTypeEnum ¶ added in v0.0.68
func GetShowScanJobResultsRequestTypeEnum() ShowScanJobResultsRequestTypeEnum
type ShowScanJobResultsResponse ¶ added in v0.0.68
type ShowScanJobResultsResponse struct { JobId *string `json:"job_id,omitempty"` JobName *string `json:"job_name,omitempty"` Type *string `json:"type,omitempty"` DbScanResult *DbScanResult `json:"db_scan_result,omitempty"` ObsScanResult *ObsScanResult `json:"obs_scan_result,omitempty"` EsScanResult *EsScanResult `json:"es_scan_result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScanJobResultsResponse) String ¶ added in v0.0.68
func (o ShowScanJobResultsResponse) String() string
type ShowScanJobsRequest ¶ added in v0.0.68
type ShowScanJobsRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Content *string `json:"content,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` }
Request Object
func (ShowScanJobsRequest) String ¶ added in v0.0.68
func (o ShowScanJobsRequest) String() string
type ShowScanJobsResponse ¶ added in v0.0.68
type ShowScanJobsResponse struct { Tasks *[]ScanJob `json:"tasks,omitempty"` Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowScanJobsResponse) String ¶ added in v0.0.68
func (o ShowScanJobsResponse) String() string
Source Files ¶
- model_batch_add_data_mask_request.go
- model_batch_add_data_mask_response.go
- model_columns.go
- model_create_database_water_mark_request.go
- model_create_database_water_mark_response.go
- model_create_doc_watermark_by_address_request.go
- model_create_doc_watermark_by_address_request_body.go
- model_create_doc_watermark_by_address_response.go
- model_create_doc_watermark_request.go
- model_create_doc_watermark_request_body.go
- model_create_doc_watermark_response.go
- model_create_image_watermark_by_address_request.go
- model_create_image_watermark_by_address_request_body.go
- model_create_image_watermark_by_address_response.go
- model_create_image_watermark_request.go
- model_create_image_watermark_request_body.go
- model_create_image_watermark_response.go
- model_db_match_info.go
- model_db_scan_result.go
- model_db_scan_result_info.go
- model_dynamic_data_mask.go
- model_embedded_database_watermark.go
- model_es_match_info.go
- model_es_scan_result.go
- model_es_scan_result_info.go
- model_extracted_database_watermark.go
- model_mask_strategies.go
- model_obs_scan_result.go
- model_obs_scan_result_info.go
- model_open_api_called_record.go
- model_scan_job.go
- model_show_database_water_mark_request.go
- model_show_database_water_mark_response.go
- model_show_doc_watermark_by_address_request.go
- model_show_doc_watermark_by_address_request_body.go
- model_show_doc_watermark_by_address_response.go
- model_show_doc_watermark_request.go
- model_show_doc_watermark_request_body.go
- model_show_doc_watermark_response.go
- model_show_image_watermark_by_address_request.go
- model_show_image_watermark_by_address_request_body.go
- model_show_image_watermark_by_address_response.go
- model_show_image_watermark_request.go
- model_show_image_watermark_request_body.go
- model_show_image_watermark_response.go
- model_show_image_watermark_with_image_by_address_request.go
- model_show_image_watermark_with_image_by_address_request_body.go
- model_show_image_watermark_with_image_by_address_response.go
- model_show_image_watermark_with_image_request.go
- model_show_image_watermark_with_image_request_body.go
- model_show_image_watermark_with_image_response.go
- model_show_open_api_called_records_request.go
- model_show_open_api_called_records_response.go
- model_show_scan_job_results_request.go
- model_show_scan_job_results_response.go
- model_show_scan_jobs_request.go
- model_show_scan_jobs_response.go
Click to show internal directories.
Click to hide internal directories.