Documentation ¶
Index ¶
- type AddBucketsRequest
- type AddBucketsResponse
- type AddRuleGroupRequest
- type AddRuleGroupResponse
- type AddRuleRequest
- type AddRuleResponse
- type AddScanJobRequest
- type AddScanJobResponse
- type AssetNameRequest
- type BatchAddDataMaskRequest
- type BatchAddDataMaskResponse
- type Bucket
- type BucketBean
- type BucketsRequest
- type ChangeDbTemplateOperationRequest
- type ChangeDbTemplateOperationResponse
- type ChangeRuleRequest
- type ChangeRuleResponse
- 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 CreateProductOrderRequest
- type CreateProductOrderResponse
- type DbMaskTaskInfo
- type DbMatchInfo
- type DbScanResult
- type DbScanResultInfo
- type DefaultTopicRequest
- type DeleteBucketRequest
- type DeleteBucketResponse
- type DeleteRuleGroupRequest
- type DeleteRuleGroupResponse
- type DeleteRuleRequest
- type DeleteRuleResponse
- type DynamicDataMask
- type EmbeddedDatabaseWatermark
- type EsMatchInfo
- type EsScanResult
- type EsScanResultInfo
- type ExtractedDatabaseWatermark
- type ListBucketsRequest
- type ListBucketsResponse
- type ListDbMaskTaskRequest
- type ListDbMaskTaskResponse
- type ListRelationBucketsRequest
- type ListRelationBucketsResponse
- type ListRelationColumnRequest
- type ListRelationColumnResponse
- type ListRelationDbRequest
- type ListRelationDbResponse
- type ListRelationFileRequest
- type ListRelationFileResponse
- type ListRelationTableRequest
- type ListRelationTableResponse
- type ListRuleGroupsRequest
- type ListRuleGroupsResponse
- type MaskStrategies
- type MaskStrategiesAlgorithm
- type MaskStrategiesAlgorithmEnum
- type MaskSwitchRequest
- type ObsScanResult
- type ObsScanResultInfo
- type OpenApiCalledRecord
- type PeriodOrderRequest
- type ProductInfoBean
- type ProductOrderInfo
- type RelationSimpleInfo
- type ResponseGroup
- type ResponseGroupCategory
- type ResponseGroupCategoryEnum
- type ResponseRule
- type ResponseRuleCategory
- type ResponseRuleCategoryEnum
- type ResponseRuleRuleType
- type ResponseRuleRuleTypeEnum
- type RuleGroupRequest
- type RuleGroupRequestCategory
- type RuleGroupRequestCategoryEnum
- type RuleRequest
- type RuleRequestCategory
- type RuleRequestCategoryEnum
- type RuleRequestRuleType
- type RuleRequestRuleTypeEnum
- type ScanJob
- type ScanJobCycle
- type ScanJobCycleEnum
- type ScanJobRequest
- type ScanJobRequestCycle
- type ScanJobRequestCycleEnum
- 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 ShowRulesRequest
- type ShowRulesResponse
- type ShowScanJobResultsRequest
- type ShowScanJobResultsRequestType
- type ShowScanJobResultsRequestTypeEnum
- type ShowScanJobResultsResponse
- type ShowScanJobsRequest
- type ShowScanJobsResponse
- type ShowSpecificationRequest
- type ShowSpecificationResponse
- type ShowTopicsRequest
- type ShowTopicsResponse
- type TopicBean
- type UpdateAssetNameRequest
- type UpdateAssetNameResponse
- type UpdateDefaultTopicRequest
- type UpdateDefaultTopicResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBucketsRequest ¶ added in v0.1.15
type AddBucketsRequest struct { // 资产类型 Type *string `json:"type,omitempty"` Body *BucketsRequest `json:"body,omitempty"` }
Request Object
func (AddBucketsRequest) String ¶ added in v0.1.15
func (o AddBucketsRequest) String() string
type AddBucketsResponse ¶ added in v0.1.15
type AddBucketsResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddBucketsResponse) String ¶ added in v0.1.15
func (o AddBucketsResponse) String() string
type AddRuleGroupRequest ¶ added in v0.1.15
type AddRuleGroupRequest struct {
Body *RuleGroupRequest `json:"body,omitempty"`
}
Request Object
func (AddRuleGroupRequest) String ¶ added in v0.1.15
func (o AddRuleGroupRequest) String() string
type AddRuleGroupResponse ¶ added in v0.1.15
type AddRuleGroupResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddRuleGroupResponse) String ¶ added in v0.1.15
func (o AddRuleGroupResponse) String() string
type AddRuleRequest ¶ added in v0.1.15
type AddRuleRequest struct {
Body *RuleRequest `json:"body,omitempty"`
}
Request Object
func (AddRuleRequest) String ¶ added in v0.1.15
func (o AddRuleRequest) String() string
type AddRuleResponse ¶ added in v0.1.15
type AddRuleResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddRuleResponse) String ¶ added in v0.1.15
func (o AddRuleResponse) String() string
type AddScanJobRequest ¶ added in v0.1.15
type AddScanJobRequest struct {
Body *ScanJobRequest `json:"body,omitempty"`
}
Request Object
func (AddScanJobRequest) String ¶ added in v0.1.15
func (o AddScanJobRequest) String() string
type AddScanJobResponse ¶ added in v0.1.15
type AddScanJobResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddScanJobResponse) String ¶ added in v0.1.15
func (o AddScanJobResponse) String() string
type AssetNameRequest ¶ added in v0.1.15
type AssetNameRequest struct { // 资产名称 Name *string `json:"name,omitempty"` }
func (AssetNameRequest) String ¶ added in v0.1.15
func (o AssetNameRequest) String() string
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 Bucket ¶ added in v0.1.15
type Bucket struct { // 资产名称 AssetName *string `json:"asset_name,omitempty"` // 桶位置 BucketLocation *string `json:"bucket_location,omitempty"` // 桶名称 BucketName *string `json:"bucket_name,omitempty"` // 桶策略 BucketPolicy *string `json:"bucket_policy,omitempty"` // 创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 是否被删除 Deleted *bool `json:"deleted,omitempty"` // 桶ID Id *string `json:"id,omitempty"` // 是否被删除 IsDeleted *bool `json:"is_deleted,omitempty"` }
type BucketBean ¶ added in v0.1.15
type BucketBean struct { // 资产名称 AssetName *string `json:"asset_name,omitempty"` // 桶位置 Location *string `json:"location,omitempty"` // 桶名称 BucketName *string `json:"bucket_name,omitempty"` // 桶策略 BucketPolicy *string `json:"bucket_policy,omitempty"` }
func (BucketBean) String ¶ added in v0.1.15
func (o BucketBean) String() string
type BucketsRequest ¶ added in v0.1.15
type BucketsRequest struct { // OBS桶列表 Buckets *[]BucketBean `json:"buckets,omitempty"` }
func (BucketsRequest) String ¶ added in v0.1.15
func (o BucketsRequest) String() string
type ChangeDbTemplateOperationRequest ¶ added in v0.1.15
type ChangeDbTemplateOperationRequest struct { // 模板ID TemplateId string `json:"template_id"` Body *MaskSwitchRequest `json:"body,omitempty"` }
Request Object
func (ChangeDbTemplateOperationRequest) String ¶ added in v0.1.15
func (o ChangeDbTemplateOperationRequest) String() string
type ChangeDbTemplateOperationResponse ¶ added in v0.1.15
type ChangeDbTemplateOperationResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeDbTemplateOperationResponse) String ¶ added in v0.1.15
func (o ChangeDbTemplateOperationResponse) String() string
type ChangeRuleRequest ¶ added in v0.1.15
type ChangeRuleRequest struct {
Body *RuleRequest `json:"body,omitempty"`
}
Request Object
func (ChangeRuleRequest) String ¶ added in v0.1.15
func (o ChangeRuleRequest) String() string
type ChangeRuleResponse ¶ added in v0.1.15
type ChangeRuleResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeRuleResponse) String ¶ added in v0.1.15
func (o ChangeRuleResponse) String() string
type Columns ¶
type Columns struct { // 数据的字段名称,最大支持长度256 Name string `json:"name"` // 数据的字段类型 Type ColumnsType `json:"type"` // 标记该字段是否为主键。true为主键,表示用来定位水印位置;false为非主键,将在该列嵌入/提取水印内容。字段类型列表中可同时包含多个为true或为false的字段 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
func (ColumnsType) Value ¶ added in v0.0.90
func (c ColumnsType) Value() string
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 { // 项目所在region的id,如:xx-xx-1。 RegionId string `json:"region_id"` // 待添加水印的文档地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 SrcFile string `json:"src_file"` // 待嵌入水印的文档类型。 DocType CreateDocWatermarkByAddressRequestBodyDocType `json:"doc_type"` // 添加水印后的文档存放地址,格式和要求同src_file字段,不设置时,默认取src_file的值,即添加水印后覆盖原文件。 DstFile *string `json:"dst_file,omitempty"` // 暗文字水印内容,与“visible_watermark”字段至少有一个不为空 BlindWatermark *string `json:"blind_watermark,omitempty"` // 明文字水印内容,与暗水印“blind_watermark”字段至少有一个不为空。 VisibleWatermark *string `json:"visible_watermark,omitempty"` // 待嵌入的图形明水印文件的地址, 字段格式要求同src_file字段,图形文件的格式必须为“png”或“jpg”,否则返回参数错误;图像文件大小不超过1MB ImageMark *string `json:"image_mark,omitempty"` // 该字段控制明水印嵌入文字还是图片。默认为**TEXT**类型,需填写visible_watermark字段设置明文字水印; 当该字段为**IMAGE**时,需填写image_watermark字段设置水印图片地址此时 ,“visible_watermark”,“font_size”,“rotation”和“opacity”字段无效。 VisibleType *CreateDocWatermarkByAddressRequestBodyVisibleType `json:"visible_type,omitempty"` // 待加水印文件有密码时,读取文件的密码, 最大支持长度256。如果Office文档有读密码或域控的权限密码,请输入读密码,或者有读权限的域控密码。 FilePassword *string `json:"file_password,omitempty"` // 添加水印后给文件设置密码, 最大支持长度256。默认不加文档密码。 MarkedFilePassword *string `json:"marked_file_password,omitempty"` // 添加水印后给文件设置只读密码, 最大支持长度256。默认不加只读密码。 ReadonlyPassword *string `json:"readonly_password,omitempty"` // 明水印字体大小,取值为[1,100],默认值50 Front *int32 `json:"front,omitempty"` // 明水印旋转角度,逆时针方向,取值为[0,90],默认值45。 Rotation *int32 `json:"rotation,omitempty"` // 明水印的透明度,取值[0,1],默认值为0.3; 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
func (CreateDocWatermarkByAddressRequestBodyDocType) Value ¶ added in v0.0.90
func (c CreateDocWatermarkByAddressRequestBodyDocType) Value() string
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
func (CreateDocWatermarkByAddressRequestBodyVisibleType) Value ¶ added in v0.0.90
func (c CreateDocWatermarkByAddressRequestBodyVisibleType) Value() string
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 { // 当前项目所在region的id,如:xx-xx-1。 RegionId *string `json:"region_id,omitempty"` // 添加水印后的文档地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.doc**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.doc为对象全路径名。 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
func (CreateDocWatermarkRequestBodyDocType) Value ¶ added in v0.0.90
func (c CreateDocWatermarkRequestBodyDocType) Value() string
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
func (CreateDocWatermarkRequestBodyVisibleType) Value ¶ added in v0.0.90
func (c CreateDocWatermarkRequestBodyVisibleType) Value() string
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 { // 当前项目所在region的id,如:xx-xx-1。 RegionId string `json:"region_id"` // 待加暗水印的图片地址,当前只支持华为云OBS文件,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 SrcFile string `json:"src_file"` // 待嵌入的文字暗水印内容,长度不超过32个字符。当前仅支持数字及英文大小写。与图片暗水印image_watermark二选一。 BlindWatermark *string `json:"blind_watermark,omitempty"` // 待嵌入的图片暗水印地址,格式要求同src_file字段,与文字暗水印 blind_watermark 二选一,都填写时,生效image_watermark。 ImageWatermark *string `json:"image_watermark,omitempty"` // 添加水印后的图片存放的地址,格式要求同src_file字段,不设置时,默认取src_file的值,即添加水印后覆盖原文件。 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 { // 当前项目所在region的id,如:xx-xx-1。 RegionId *string `json:"region_id,omitempty"` // 添加水印后的OBS图片地址,当前只支持华为云OBS文件,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 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 CreateProductOrderRequest ¶ added in v0.1.15
type CreateProductOrderRequest struct {
Body *PeriodOrderRequest `json:"body,omitempty"`
}
Request Object
func (CreateProductOrderRequest) String ¶ added in v0.1.15
func (o CreateProductOrderRequest) String() string
type CreateProductOrderResponse ¶ added in v0.1.15
type CreateProductOrderResponse struct { // 订单ID OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProductOrderResponse) String ¶ added in v0.1.15
func (o CreateProductOrderResponse) String() string
type DbMaskTaskInfo ¶ added in v0.1.15
type DbMaskTaskInfo struct { // DB类型 DbType *string `json:"db_type,omitempty"` // 任务结束时间 EndTime *int64 `json:"end_time,omitempty"` // 执行行数 ExecuteLine *int32 `json:"execute_line,omitempty"` // 任务ID Id *string `json:"id,omitempty"` // 执行进度 Progress *int32 `json:"progress,omitempty"` // 任务运行状态 RunStatus *string `json:"run_status,omitempty"` // 任务开始时间 StartTime *int64 `json:"start_time,omitempty"` // 任务模板ID TaskTemplateId *string `json:"task_template_id,omitempty"` // 任务类型 Type *string `json:"type,omitempty"` }
func (DbMaskTaskInfo) String ¶ added in v0.1.15
func (o DbMaskTaskInfo) String() string
type DbMatchInfo ¶ added in v0.0.68
type DbMatchInfo struct { // 列名 ColumnName *string `json:"column_name,omitempty"` // 匹配的规则名 RuleName *string `json:"rule_name,omitempty"` // 匹配的规则ID 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 { // 任务ID TaskId *string `json:"task_id,omitempty"` // 数据库名称 DbName *string `json:"db_name,omitempty"` // 表ID 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 DefaultTopicRequest ¶ added in v0.1.15
type DefaultTopicRequest struct { // 告警主题id Id *string `json:"id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 告警通知状态 Status *int32 `json:"status,omitempty"` // 消息通知主题的唯一资源标识符 TopicUrn *string `json:"topic_urn,omitempty"` }
func (DefaultTopicRequest) String ¶ added in v0.1.15
func (o DefaultTopicRequest) String() string
type DeleteBucketRequest ¶ added in v0.1.15
type DeleteBucketRequest struct { // 桶ID BucketId string `json:"bucket_id"` }
Request Object
func (DeleteBucketRequest) String ¶ added in v0.1.15
func (o DeleteBucketRequest) String() string
type DeleteBucketResponse ¶ added in v0.1.15
type DeleteBucketResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteBucketResponse) String ¶ added in v0.1.15
func (o DeleteBucketResponse) String() string
type DeleteRuleGroupRequest ¶ added in v0.1.15
type DeleteRuleGroupRequest struct { // 规则组ID GroupId string `json:"group_id"` }
Request Object
func (DeleteRuleGroupRequest) String ¶ added in v0.1.15
func (o DeleteRuleGroupRequest) String() string
type DeleteRuleGroupResponse ¶ added in v0.1.15
type DeleteRuleGroupResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteRuleGroupResponse) String ¶ added in v0.1.15
func (o DeleteRuleGroupResponse) String() string
type DeleteRuleRequest ¶ added in v0.1.15
type DeleteRuleRequest struct { // 规则ID RuleId string `json:"rule_id"` }
Request Object
func (DeleteRuleRequest) String ¶ added in v0.1.15
func (o DeleteRuleRequest) String() string
type DeleteRuleResponse ¶ added in v0.1.15
type DeleteRuleResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteRuleResponse) String ¶ added in v0.1.15
func (o DeleteRuleResponse) String() string
type DynamicDataMask ¶
type DynamicDataMask struct { // 脱敏策略列表,每一个策略对应一个字段,脱敏策略数最多100个。 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"` // 字段类型列表,最大长度100。使用时,至少包含两个字段,一个“primary_key”为true表示主键,一个为false用来嵌入水印 Columns []Columns `json:"columns"` // 数据字段的内容,最大支持长度2000 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"` // 规则ID 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"` // ES扫描结果列表 DbScanResults *[]EsScanResultInfo `json:"db_scan_results,omitempty"` }
ES扫描结果
func (EsScanResult) String ¶ added in v0.0.68
func (o EsScanResult) String() string
type EsScanResultInfo ¶ added in v0.0.68
type EsScanResultInfo struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 索引名 IndexName *string `json:"index_name,omitempty"` // 类型ID 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"` // 字段类型列表,最大长度100。使用时,要包含嵌入时所有“primary_key”为true的字段,和至少一个为false的字段用来提取水印 Columns []Columns `json:"columns"` // 水印数据,数据条数不超过30,000条 Data []map[string]interface{} `json:"data"` }
func (ExtractedDatabaseWatermark) String ¶
func (o ExtractedDatabaseWatermark) String() string
type ListBucketsRequest ¶ added in v0.1.15
type ListBucketsRequest struct { // 已授权 Added *bool `json:"added,omitempty"` // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListBucketsRequest) String ¶ added in v0.1.15
func (o ListBucketsRequest) String() string
type ListBucketsResponse ¶ added in v0.1.15
type ListBucketsResponse struct { // OBS桶列表 Buckets *[]Bucket `json:"buckets,omitempty"` // OBS桶总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBucketsResponse) String ¶ added in v0.1.15
func (o ListBucketsResponse) String() string
type ListDbMaskTaskRequest ¶ added in v0.1.15
type ListDbMaskTaskRequest struct { // 模板ID TemplateId string `json:"template_id"` // 工作区ID WorkspaceId *string `json:"workspace_id,omitempty"` // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListDbMaskTaskRequest) String ¶ added in v0.1.15
func (o ListDbMaskTaskRequest) String() string
type ListDbMaskTaskResponse ¶ added in v0.1.15
type ListDbMaskTaskResponse struct { // 脱敏任务列表 Tasks *[]DbMaskTaskInfo `json:"tasks,omitempty"` // 脱敏任务总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDbMaskTaskResponse) String ¶ added in v0.1.15
func (o ListDbMaskTaskResponse) String() string
type ListRelationBucketsRequest ¶ added in v0.1.15
type ListRelationBucketsRequest struct { // 任务ID JobId string `json:"job_id"` // 资产名称 AssetsName *string `json:"assets_name,omitempty"` // 起始风险等级 RiskStart int32 `json:"risk_start"` // 终止风险等级 RiskEnd int32 `json:"risk_end"` // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRelationBucketsRequest) String ¶ added in v0.1.15
func (o ListRelationBucketsRequest) String() string
type ListRelationBucketsResponse ¶ added in v0.1.15
type ListRelationBucketsResponse struct { // 关系信息总数 Total *int32 `json:"total,omitempty"` // 关系信息列表 BucketList *[]RelationSimpleInfo `json:"bucket_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRelationBucketsResponse) String ¶ added in v0.1.15
func (o ListRelationBucketsResponse) String() string
type ListRelationColumnRequest ¶ added in v0.1.15
type ListRelationColumnRequest struct { // 任务ID JobId string `json:"job_id"` // 表ID TableId string `json:"table_id"` // 资产名称 AssetsName *string `json:"assets_name,omitempty"` // 起始风险等级 RiskStart int32 `json:"risk_start"` // 终止风险等级 RiskEnd int32 `json:"risk_end"` // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRelationColumnRequest) String ¶ added in v0.1.15
func (o ListRelationColumnRequest) String() string
type ListRelationColumnResponse ¶ added in v0.1.15
type ListRelationColumnResponse struct { // 关系信息总数 Total *int32 `json:"total,omitempty"` // 关系信息列表 ColumnList *[]RelationSimpleInfo `json:"column_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRelationColumnResponse) String ¶ added in v0.1.15
func (o ListRelationColumnResponse) String() string
type ListRelationDbRequest ¶ added in v0.1.15
type ListRelationDbRequest struct { // 任务ID JobId string `json:"job_id"` // 资产名称 AssetsName *string `json:"assets_name,omitempty"` // 起始风险等级 RiskStart int32 `json:"risk_start"` // 终止风险等级 RiskEnd int32 `json:"risk_end"` // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRelationDbRequest) String ¶ added in v0.1.15
func (o ListRelationDbRequest) String() string
type ListRelationDbResponse ¶ added in v0.1.15
type ListRelationDbResponse struct { // 关系信息总数 Total *int32 `json:"total,omitempty"` // 关系信息列表 DbList *[]RelationSimpleInfo `json:"db_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRelationDbResponse) String ¶ added in v0.1.15
func (o ListRelationDbResponse) String() string
type ListRelationFileRequest ¶ added in v0.1.15
type ListRelationFileRequest struct { // 任务ID JobId string `json:"job_id"` // 桶ID BucketId string `json:"bucket_id"` // 资产名称 AssetsName *string `json:"assets_name,omitempty"` // 起始风险等级 RiskStart int32 `json:"risk_start"` // 终止风险等级 RiskEnd int32 `json:"risk_end"` // 偏移量 Offset int32 `json:"offset"` // 页面大小 Size int32 `json:"size"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRelationFileRequest) String ¶ added in v0.1.15
func (o ListRelationFileRequest) String() string
type ListRelationFileResponse ¶ added in v0.1.15
type ListRelationFileResponse struct { // 关系信息总数 Total *int32 `json:"total,omitempty"` // 当前页 CurrentPage *int32 `json:"current_page,omitempty"` // 关系信息列表 FileList *[]RelationSimpleInfo `json:"file_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRelationFileResponse) String ¶ added in v0.1.15
func (o ListRelationFileResponse) String() string
type ListRelationTableRequest ¶ added in v0.1.15
type ListRelationTableRequest struct { // 任务ID JobId string `json:"job_id"` // 数据库ID DbId string `json:"db_id"` // 资产名称 AssetsName *string `json:"assets_name,omitempty"` // 起始风险等级 RiskStart int32 `json:"risk_start"` // 终止风险等级 RiskEnd int32 `json:"risk_end"` // 偏移量 Offset int32 `json:"offset"` // 页面大小 Size int32 `json:"size"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRelationTableRequest) String ¶ added in v0.1.15
func (o ListRelationTableRequest) String() string
type ListRelationTableResponse ¶ added in v0.1.15
type ListRelationTableResponse struct { // 关系信息总数 Total *int32 `json:"total,omitempty"` // 当前页 CurrentPage *int32 `json:"current_page,omitempty"` // 关系信息列表 TableList *[]RelationSimpleInfo `json:"table_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRelationTableResponse) String ¶ added in v0.1.15
func (o ListRelationTableResponse) String() string
type ListRuleGroupsRequest ¶ added in v0.1.15
type ListRuleGroupsRequest struct { // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRuleGroupsRequest) String ¶ added in v0.1.15
func (o ListRuleGroupsRequest) String() string
type ListRuleGroupsResponse ¶ added in v0.1.15
type ListRuleGroupsResponse struct { // 规则组总数 Total *int32 `json:"total,omitempty"` // 规则组列表 Groups *[]ResponseGroup `json:"groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRuleGroupsResponse) String ¶ added in v0.1.15
func (o ListRuleGroupsResponse) String() string
type MaskStrategies ¶
type MaskStrategies struct { // 需要脱敏的字段名称,最大支持长度256。 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
func (MaskStrategiesAlgorithm) Value ¶ added in v0.0.90
func (c MaskStrategiesAlgorithm) Value() string
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 MaskSwitchRequest ¶ added in v0.1.15
type MaskSwitchRequest struct { // 脱敏任务状态 Status *int32 `json:"status,omitempty"` }
func (MaskSwitchRequest) String ¶ added in v0.1.15
func (o MaskSwitchRequest) String() string
type ObsScanResult ¶ added in v0.0.68
type ObsScanResult struct { // 扫描结果总数 Total *int32 `json:"total,omitempty"` // OBS扫描结果列表 DbScanResults *[]ObsScanResultInfo `json:"db_scan_results,omitempty"` }
OBS扫描结果
func (ObsScanResult) String ¶ added in v0.0.68
func (o ObsScanResult) String() string
type ObsScanResultInfo ¶ added in v0.0.68
type ObsScanResultInfo struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // OBS桶ID BucketId *string `json:"bucket_id,omitempty"` // OBS桶名称 BucketName *string `json:"bucket_name,omitempty"` // 文件路径 FilePath *string `json:"file_path,omitempty"` // 文件名 FileName *string `json:"file_name,omitempty"` // 文件md5值 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 { // 调用API的user_name UserName *string `json:"user_name,omitempty"` // 调用API的user_id UserId *string `json:"user_id,omitempty"` // 调用API的domain_name DomainName *string `json:"domain_name,omitempty"` // 调用API的domain_id DomainId *string `json:"domain_id,omitempty"` // 调用API的URL RequestUrl *string `json:"request_url,omitempty"` // http请求方法 RequestMethod *string `json:"request_method,omitempty"` // http状态码 ResponseCode *string `json:"response_code,omitempty"` // 调用API失败原因 FailReason *string `json:"fail_reason,omitempty"` // 调用API的时间(Unix timestamp),单位:毫秒 Timestamp *int64 `json:"timestamp,omitempty"` }
OpenApi调用记录
func (OpenApiCalledRecord) String ¶ added in v0.0.71
func (o OpenApiCalledRecord) String() string
type PeriodOrderRequest ¶ added in v0.1.15
type PeriodOrderRequest struct { // 计费模式,0:包周期计费,1:按需计费,2:一次性计费 ChargingMode *int32 `json:"chargingMode,omitempty"` // 云服务类型 CloudServiceType *string `json:"cloudServiceType,omitempty"` // 组合套餐ID CompositeProductId *string `json:"compositeProductId,omitempty"` // 折扣ID DiscountId *string `json:"discountId,omitempty"` // 是否自动续费 IsAutoRenew *int32 `json:"isAutoRenew,omitempty"` // 订购周期数目 PeriodNum *int32 `json:"periodNum,omitempty"` // 订购周期类型,2:月,3:年 PeriodType *int32 `json:"periodType,omitempty"` // 产品信息列表 ProductInfos *[]ProductInfoBean `json:"productInfos,omitempty"` // 促销ID PromotionActivityId *string `json:"promotionActivityId,omitempty"` // 促销信息 PromotionInfo *string `json:"promotionInfo,omitempty"` // 当前项目所在region的id,如:xx-xx-1。 RegionId *string `json:"regionId,omitempty"` // 所属国家区域 Zone *string `json:"zone,omitempty"` }
func (PeriodOrderRequest) String ¶ added in v0.1.15
func (o PeriodOrderRequest) String() string
type ProductInfoBean ¶ added in v0.1.15
type ProductInfoBean struct { // 资源名称列表 AllResourceNames *[]string `json:"allResourceNames,omitempty"` // 云服务类型 CloudServiceType *string `json:"cloudServiceType,omitempty"` // 展示ID DisplayId *string `json:"displayId,omitempty"` // 产品ID ProductId *string `json:"productId,omitempty"` // 产品规格描述 ProductSpecDesc *string `json:"productSpecDesc,omitempty"` // 资源名称 ResourceName *string `json:"resourceName,omitempty"` // 产品支持的数据库数量,或者支持obs的扫描量 ResourceSize *int32 `json:"resourceSize,omitempty"` // 资源容量度量标识,枚举值举例如下:15:mbps(购买带宽时使用),17:gb(购买云硬盘时使用),14:个/次 ResourceSizeMeasureId *int32 `json:"resourceSizeMeasureId,omitempty"` // 产品编码 ResourceSpecCode *string `json:"resourceSpecCode,omitempty"` // 资源类型 ResourceType *string `json:"resourceType,omitempty"` // 已使用系数 UsageFactor *string `json:"usageFactor,omitempty"` // 已使用容量度量标识 UsageMeasureId *int32 `json:"usageMeasureId,omitempty"` // 已使用值 UsageValue *float64 `json:"usageValue,omitempty"` }
产品信息
func (ProductInfoBean) String ¶ added in v0.1.15
func (o ProductInfoBean) String() string
type ProductOrderInfo ¶ added in v0.1.15
type ProductOrderInfo struct { // 租户ID TenantId *string `json:"tenantId,omitempty"` // 订购周期类型 PeriodType *string `json:"periodType,omitempty"` // 订购周期数量 PeriodNum *int32 `json:"periodNum,omitempty"` // 资源ID ResourceId *string `json:"resourceId,omitempty"` // 产品信息 ProductInfo *[]ProductInfoBean `json:"productInfo,omitempty"` }
func (ProductOrderInfo) String ¶ added in v0.1.15
func (o ProductOrderInfo) String() string
type RelationSimpleInfo ¶ added in v0.1.15
type RelationSimpleInfo struct { // 关系信息ID Id *string `json:"id,omitempty"` // 关系信息名称 Name *string `json:"name,omitempty"` // 关系信息路径 Path *string `json:"path,omitempty"` // 风险等级 RiskLevel *int32 `json:"risk_level,omitempty"` // 关系信息类型 Type *string `json:"type,omitempty"` }
func (RelationSimpleInfo) String ¶ added in v0.1.15
func (o RelationSimpleInfo) String() string
type ResponseGroup ¶ added in v0.1.15
type ResponseGroup struct { // 规则类别,内置规则(BUILT_IN)或自建规则(BUILT_SELF) Category *ResponseGroupCategory `json:"category,omitempty"` // 是否允许删除 DeleteAllowed *bool `json:"delete_allowed,omitempty"` // 规则组描述 GroupDesc *string `json:"group_desc,omitempty"` // 规则组名称 GroupName *string `json:"group_name,omitempty"` // 规则组ID Id *string `json:"id,omitempty"` // 规则名称 RuleNames *string `json:"rule_names,omitempty"` // 扫描任务名称 TaskNames *string `json:"task_names,omitempty"` // 是否为默认规则组 IsDefault *bool `json:"is_default,omitempty"` }
func (ResponseGroup) String ¶ added in v0.1.15
func (o ResponseGroup) String() string
type ResponseGroupCategory ¶ added in v0.1.15
type ResponseGroupCategory struct {
// contains filtered or unexported fields
}
func (ResponseGroupCategory) MarshalJSON ¶ added in v0.1.15
func (c ResponseGroupCategory) MarshalJSON() ([]byte, error)
func (*ResponseGroupCategory) UnmarshalJSON ¶ added in v0.1.15
func (c *ResponseGroupCategory) UnmarshalJSON(b []byte) error
func (ResponseGroupCategory) Value ¶ added in v0.1.15
func (c ResponseGroupCategory) Value() string
type ResponseGroupCategoryEnum ¶ added in v0.1.15
type ResponseGroupCategoryEnum struct { BUILT_IN ResponseGroupCategory BUILT_SELF ResponseGroupCategory }
func GetResponseGroupCategoryEnum ¶ added in v0.1.15
func GetResponseGroupCategoryEnum() ResponseGroupCategoryEnum
type ResponseRule ¶ added in v0.1.15
type ResponseRule struct { // 规则类别,内置规则(BUILT_IN)或自建规则(BUILT_SELF) Category *ResponseRuleCategory `json:"category,omitempty"` // 是否允许删除 DeleteAllowed *bool `json:"delete_allowed,omitempty"` // 相关的规则组 GroupNames *string `json:"group_names,omitempty"` // 规则ID Id *string `json:"id,omitempty"` // 逻辑运算符,\"AND\",\"OR\",\"REGEX\" LogicOperator *string `json:"logic_operator,omitempty"` // 最小匹配次数 MinMatch *int32 `json:"min_match,omitempty"` // 风险等级 RiskLevel *int32 `json:"risk_level,omitempty"` // 规则内容 RuleContent *string `json:"rule_content,omitempty"` // 规则描述 RuleDesc *string `json:"rule_desc,omitempty"` // 规则名称 RuleName *string `json:"rule_name,omitempty"` // 规则类型,关键字(KEYWORD)、正则表达式(REGEX)或自然语言(NLP) RuleType *ResponseRuleRuleType `json:"rule_type,omitempty"` // 是否可选 Selected *bool `json:"selected,omitempty"` }
扫描规则
func (ResponseRule) String ¶ added in v0.1.15
func (o ResponseRule) String() string
type ResponseRuleCategory ¶ added in v0.1.15
type ResponseRuleCategory struct {
// contains filtered or unexported fields
}
func (ResponseRuleCategory) MarshalJSON ¶ added in v0.1.15
func (c ResponseRuleCategory) MarshalJSON() ([]byte, error)
func (*ResponseRuleCategory) UnmarshalJSON ¶ added in v0.1.15
func (c *ResponseRuleCategory) UnmarshalJSON(b []byte) error
func (ResponseRuleCategory) Value ¶ added in v0.1.15
func (c ResponseRuleCategory) Value() string
type ResponseRuleCategoryEnum ¶ added in v0.1.15
type ResponseRuleCategoryEnum struct { BUILT_IN ResponseRuleCategory BUILT_SELF ResponseRuleCategory }
func GetResponseRuleCategoryEnum ¶ added in v0.1.15
func GetResponseRuleCategoryEnum() ResponseRuleCategoryEnum
type ResponseRuleRuleType ¶ added in v0.1.15
type ResponseRuleRuleType struct {
// contains filtered or unexported fields
}
func (ResponseRuleRuleType) MarshalJSON ¶ added in v0.1.15
func (c ResponseRuleRuleType) MarshalJSON() ([]byte, error)
func (*ResponseRuleRuleType) UnmarshalJSON ¶ added in v0.1.15
func (c *ResponseRuleRuleType) UnmarshalJSON(b []byte) error
func (ResponseRuleRuleType) Value ¶ added in v0.1.15
func (c ResponseRuleRuleType) Value() string
type ResponseRuleRuleTypeEnum ¶ added in v0.1.15
type ResponseRuleRuleTypeEnum struct { KEYWORD ResponseRuleRuleType REGEX ResponseRuleRuleType NLP ResponseRuleRuleType }
func GetResponseRuleRuleTypeEnum ¶ added in v0.1.15
func GetResponseRuleRuleTypeEnum() ResponseRuleRuleTypeEnum
type RuleGroupRequest ¶ added in v0.1.15
type RuleGroupRequest struct { // 规则类别,内置规则(BUILT_IN)或自建规则(BUILT_SELF) Category *RuleGroupRequestCategory `json:"category,omitempty"` // 是否默认规则组 DefaultStatus *bool `json:"default_status,omitempty"` // 规则组描述 GroupDesc *string `json:"group_desc,omitempty"` // 规则组名称 GroupName *string `json:"group_name,omitempty"` // 规则组ID Id *string `json:"id,omitempty"` // 包含的规则ID列表 RuleIds *[]string `json:"rule_ids,omitempty"` }
func (RuleGroupRequest) String ¶ added in v0.1.15
func (o RuleGroupRequest) String() string
type RuleGroupRequestCategory ¶ added in v0.1.15
type RuleGroupRequestCategory struct {
// contains filtered or unexported fields
}
func (RuleGroupRequestCategory) MarshalJSON ¶ added in v0.1.15
func (c RuleGroupRequestCategory) MarshalJSON() ([]byte, error)
func (*RuleGroupRequestCategory) UnmarshalJSON ¶ added in v0.1.15
func (c *RuleGroupRequestCategory) UnmarshalJSON(b []byte) error
func (RuleGroupRequestCategory) Value ¶ added in v0.1.15
func (c RuleGroupRequestCategory) Value() string
type RuleGroupRequestCategoryEnum ¶ added in v0.1.15
type RuleGroupRequestCategoryEnum struct { BUILT_IN RuleGroupRequestCategory BUILT_SELF RuleGroupRequestCategory }
func GetRuleGroupRequestCategoryEnum ¶ added in v0.1.15
func GetRuleGroupRequestCategoryEnum() RuleGroupRequestCategoryEnum
type RuleRequest ¶ added in v0.1.15
type RuleRequest struct { // 规则类别,内置规则(BUILT_IN)或自建规则(BUILT_SELF) Category *RuleRequestCategory `json:"category,omitempty"` // 规则ID Id *string `json:"id,omitempty"` // 逻辑运算符,\"AND\",\"OR\",\"REGEX\" LogicOperator *string `json:"logic_operator,omitempty"` // 最小匹配次数 MinMatch *int32 `json:"min_match,omitempty"` // 风险等级 RiskLevel *int32 `json:"risk_level,omitempty"` // 规则内容 RuleContent *string `json:"rule_content,omitempty"` // 规则描述 RuleDesc *string `json:"rule_desc,omitempty"` // 规则名称 RuleName *string `json:"rule_name,omitempty"` // 规则类型,关键字(KEYWORD)、正则表达式(REGEX)或自然语言(NLP) RuleType *RuleRequestRuleType `json:"rule_type,omitempty"` }
func (RuleRequest) String ¶ added in v0.1.15
func (o RuleRequest) String() string
type RuleRequestCategory ¶ added in v0.1.15
type RuleRequestCategory struct {
// contains filtered or unexported fields
}
func (RuleRequestCategory) MarshalJSON ¶ added in v0.1.15
func (c RuleRequestCategory) MarshalJSON() ([]byte, error)
func (*RuleRequestCategory) UnmarshalJSON ¶ added in v0.1.15
func (c *RuleRequestCategory) UnmarshalJSON(b []byte) error
func (RuleRequestCategory) Value ¶ added in v0.1.15
func (c RuleRequestCategory) Value() string
type RuleRequestCategoryEnum ¶ added in v0.1.15
type RuleRequestCategoryEnum struct { BUILT_IN RuleRequestCategory BUILT_SELF RuleRequestCategory }
func GetRuleRequestCategoryEnum ¶ added in v0.1.15
func GetRuleRequestCategoryEnum() RuleRequestCategoryEnum
type RuleRequestRuleType ¶ added in v0.1.15
type RuleRequestRuleType struct {
// contains filtered or unexported fields
}
func (RuleRequestRuleType) MarshalJSON ¶ added in v0.1.15
func (c RuleRequestRuleType) MarshalJSON() ([]byte, error)
func (*RuleRequestRuleType) UnmarshalJSON ¶ added in v0.1.15
func (c *RuleRequestRuleType) UnmarshalJSON(b []byte) error
func (RuleRequestRuleType) Value ¶ added in v0.1.15
func (c RuleRequestRuleType) Value() string
type RuleRequestRuleTypeEnum ¶ added in v0.1.15
type RuleRequestRuleTypeEnum struct { KEYWORD RuleRequestRuleType REGEX RuleRequestRuleType NLP RuleRequestRuleType }
func GetRuleRequestRuleTypeEnum ¶ added in v0.1.15
func GetRuleRequestRuleTypeEnum() RuleRequestRuleTypeEnum
type ScanJob ¶ added in v0.0.68
type ScanJob struct { // 任务ID Id *string `json:"id,omitempty"` // 任务名称 Name *string `json:"name,omitempty"` // 任务使用的规则组 RuleGroups *[]string `json:"rule_groups,omitempty"` // 任务执行方式 Cycle *ScanJobCycle `json:"cycle,omitempty"` // 任务当前状态 Status *ScanJobStatus `json:"status,omitempty"` // 任务上一次执行时间 LastRunTime *int64 `json:"last_run_time,omitempty"` // 任务创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 任务上一次扫描风险等级结果 LastScanRisk *string `json:"last_scan_risk,omitempty"` // 是否使用了NLP进行扫描 UseNlp *bool `json:"use_nlp,omitempty"` // 任务开启状态 Open *bool `json:"open,omitempty"` // SMN服务通知主题 TopicUrn *string `json:"topic_urn,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
func (ScanJobCycle) Value ¶ added in v0.0.90
func (c ScanJobCycle) Value() string
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 ScanJobRequest ¶ added in v0.1.15
type ScanJobRequest struct { // 资产ID列表 AssetIds *[]string `json:"asset_ids,omitempty"` // 扫描周期,日(DAY),周(WEEK),月(MONTH),单次扫描(ONCE) Cycle *ScanJobRequestCycle `json:"cycle,omitempty"` // 扫描任务名 Name *string `json:"name,omitempty"` // 是否开启任务 Open *bool `json:"open,omitempty"` // 规则组ID列表 RuleGroupIds *[]string `json:"rule_group_ids,omitempty"` // 扫描任务开始时间 StartTime *int64 `json:"start_time,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` // 主题的唯一资源标识符 TopicUrn *string `json:"topic_urn,omitempty"` // 是否用nlp UseNlp *bool `json:"use_nlp,omitempty"` }
func (ScanJobRequest) String ¶ added in v0.1.15
func (o ScanJobRequest) String() string
type ScanJobRequestCycle ¶ added in v0.1.15
type ScanJobRequestCycle struct {
// contains filtered or unexported fields
}
func (ScanJobRequestCycle) MarshalJSON ¶ added in v0.1.15
func (c ScanJobRequestCycle) MarshalJSON() ([]byte, error)
func (*ScanJobRequestCycle) UnmarshalJSON ¶ added in v0.1.15
func (c *ScanJobRequestCycle) UnmarshalJSON(b []byte) error
func (ScanJobRequestCycle) Value ¶ added in v0.1.15
func (c ScanJobRequestCycle) Value() string
type ScanJobRequestCycleEnum ¶ added in v0.1.15
type ScanJobRequestCycleEnum struct { ONCE ScanJobRequestCycle DAY ScanJobRequestCycle WEEK ScanJobRequestCycle MONTH ScanJobRequestCycle }
func GetScanJobRequestCycleEnum ¶ added in v0.1.15
func GetScanJobRequestCycleEnum() ScanJobRequestCycleEnum
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
func (ScanJobStatus) Value ¶ added in v0.0.90
func (c ScanJobStatus) Value() string
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 { // 提取水印内容列表。上传数据中不同列可能包含不同水印,返回时将所有提取到的水印返回,列表中水印个数不超过100 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 { // 项目所在region的id,如:xx-xx-1。 RegionId string `json:"region_id"` // 待提取水印的文档类型 DocType ShowDocWatermarkByAddressRequestBodyDocType `json:"doc_type"` // 待提取文字暗水印的文档的地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.doc**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.doc为对象全路径名。 SrcFile string `json:"src_file"` // 解密文件的密码, 最大支持长度256。如果Office文档有读密码或域控的权限密码,请输入读密码,或者有读权限的域控密码。 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
func (ShowDocWatermarkByAddressRequestBodyDocType) Value ¶ added in v0.0.90
func (c ShowDocWatermarkByAddressRequestBodyDocType) Value() string
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 { // 暗水印内容,长度不超过32个字节 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
func (ShowDocWatermarkRequestBodyDocType) Value ¶ added in v0.0.90
func (c ShowDocWatermarkRequestBodyDocType) Value() string
type ShowDocWatermarkRequestBodyDocTypeEnum ¶
type ShowDocWatermarkRequestBodyDocTypeEnum struct { WORD ShowDocWatermarkRequestBodyDocType EXCEL ShowDocWatermarkRequestBodyDocType PDF ShowDocWatermarkRequestBodyDocType PPT ShowDocWatermarkRequestBodyDocType }
func GetShowDocWatermarkRequestBodyDocTypeEnum ¶
func GetShowDocWatermarkRequestBodyDocTypeEnum() ShowDocWatermarkRequestBodyDocTypeEnum
type ShowDocWatermarkResponse ¶
type ShowDocWatermarkResponse struct { // 暗水印内容,长度不超过32个字节 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 { // 项目所在region的id,如:xx-xx-1。 RegionId string `json:"region_id"` // 待提取文字暗水印的图片地址,当前只支持华为云OBS,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 SrcFile string `json:"src_file"` // 指定待提取水印的长度,最小0,最大32.。设置后可以提升水印提取性能。 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 { // 暗水印内容,长度不超过32个字节 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 { // 暗水印内容,长度不超过32个字节 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 { // 项目所在region的id,如:xx-xx-1。 RegionId string `json:"region_id"` // 待提取图片暗水印的图片地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 SrcFile string `json:"src_file"` // 提取出来的水印图片存放地址,格式要求同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 { // 当前项目所在region的id,如:xx-xx-1。 RegionId *string `json:"region_id,omitempty"` // 提取出的水印图片存放地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 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 { // 分页大小,默认1000,最大2000。 Limit *int32 `json:"limit,omitempty"` // 需要查询调用记录的URL,例如:/v1/{project_id}/sdg/database/watermark/embed。 CalledUrl *string `json:"called_url,omitempty"` // 开始时间(Unix timestamp),单位:毫秒,例如:0 StartTime *int64 `json:"start_time,omitempty"` // 结束时间(Unix timestamp),单位:毫秒,例如:1638515803572 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 { // 调用API总次数 Total *int32 `json:"total,omitempty"` // 调用API成功次数 Succeed *int32 `json:"succeed,omitempty"` // 调用API失败次数 Failed *int32 `json:"failed,omitempty"` // API调用记录列表 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 ShowRulesRequest ¶ added in v0.1.15
type ShowRulesRequest struct { // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ShowRulesRequest) String ¶ added in v0.1.15
func (o ShowRulesRequest) String() string
type ShowRulesResponse ¶ added in v0.1.15
type ShowRulesResponse struct { // 规则列表 Rules *[]ResponseRule `json:"rules,omitempty"` // 规则总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRulesResponse) String ¶ added in v0.1.15
func (o ShowRulesResponse) String() string
type ShowScanJobResultsRequest ¶ added in v0.0.68
type ShowScanJobResultsRequest struct { // 任务ID 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
func (ShowScanJobResultsRequestType) Value ¶ added in v0.0.90
func (c ShowScanJobResultsRequestType) Value() string
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 { // 任务ID 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
type ShowSpecificationRequest ¶ added in v0.1.15
type ShowSpecificationRequest struct { }
Request Object
func (ShowSpecificationRequest) String ¶ added in v0.1.15
func (o ShowSpecificationRequest) String() string
type ShowSpecificationResponse ¶ added in v0.1.15
type ShowSpecificationResponse struct { // 订单列表 OrderInfos *[]ProductOrderInfo `json:"orderInfos,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSpecificationResponse) String ¶ added in v0.1.15
func (o ShowSpecificationResponse) String() string
type ShowTopicsRequest ¶ added in v0.1.15
type ShowTopicsRequest struct { // 页码 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ShowTopicsRequest) String ¶ added in v0.1.15
func (o ShowTopicsRequest) String() string
type ShowTopicsResponse ¶ added in v0.1.15
type ShowTopicsResponse struct { // 默认消息通知主题的唯一资源标识符 DefaultTopicUrn *string `json:"default_topic_urn,omitempty"` // 已确认的消息通知主题数量 TopicCount *int32 `json:"topic_count,omitempty"` // 已确认的消息通知主题列表 Topics *[]TopicBean `json:"topics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTopicsResponse) String ¶ added in v0.1.15
func (o ShowTopicsResponse) String() string
type TopicBean ¶ added in v0.1.15
type UpdateAssetNameRequest ¶ added in v0.1.15
type UpdateAssetNameRequest struct { // 资产ID AssetId string `json:"asset_id"` Body *AssetNameRequest `json:"body,omitempty"` }
Request Object
func (UpdateAssetNameRequest) String ¶ added in v0.1.15
func (o UpdateAssetNameRequest) String() string
type UpdateAssetNameResponse ¶ added in v0.1.15
type UpdateAssetNameResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAssetNameResponse) String ¶ added in v0.1.15
func (o UpdateAssetNameResponse) String() string
type UpdateDefaultTopicRequest ¶ added in v0.1.15
type UpdateDefaultTopicRequest struct {
Body *DefaultTopicRequest `json:"body,omitempty"`
}
Request Object
func (UpdateDefaultTopicRequest) String ¶ added in v0.1.15
func (o UpdateDefaultTopicRequest) String() string
type UpdateDefaultTopicResponse ¶ added in v0.1.15
type UpdateDefaultTopicResponse struct { // 返回消息 Msg *string `json:"msg,omitempty"` // 返回状态,如'200','400' Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDefaultTopicResponse) String ¶ added in v0.1.15
func (o UpdateDefaultTopicResponse) String() string
Source Files ¶
- model_add_buckets_request.go
- model_add_buckets_response.go
- model_add_rule_group_request.go
- model_add_rule_group_response.go
- model_add_rule_request.go
- model_add_rule_response.go
- model_add_scan_job_request.go
- model_add_scan_job_response.go
- model_asset_name_request.go
- model_batch_add_data_mask_request.go
- model_batch_add_data_mask_response.go
- model_bucket.go
- model_bucket_bean.go
- model_buckets_request.go
- model_change_db_template_operation_request.go
- model_change_db_template_operation_response.go
- model_change_rule_request.go
- model_change_rule_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_create_product_order_request.go
- model_create_product_order_response.go
- model_db_mask_task_info.go
- model_db_match_info.go
- model_db_scan_result.go
- model_db_scan_result_info.go
- model_default_topic_request.go
- model_delete_bucket_request.go
- model_delete_bucket_response.go
- model_delete_rule_group_request.go
- model_delete_rule_group_response.go
- model_delete_rule_request.go
- model_delete_rule_response.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_list_buckets_request.go
- model_list_buckets_response.go
- model_list_db_mask_task_request.go
- model_list_db_mask_task_response.go
- model_list_relation_buckets_request.go
- model_list_relation_buckets_response.go
- model_list_relation_column_request.go
- model_list_relation_column_response.go
- model_list_relation_db_request.go
- model_list_relation_db_response.go
- model_list_relation_file_request.go
- model_list_relation_file_response.go
- model_list_relation_table_request.go
- model_list_relation_table_response.go
- model_list_rule_groups_request.go
- model_list_rule_groups_response.go
- model_mask_strategies.go
- model_mask_switch_request.go
- model_obs_scan_result.go
- model_obs_scan_result_info.go
- model_open_api_called_record.go
- model_period_order_request.go
- model_product_info_bean.go
- model_product_order_info.go
- model_relation_simple_info.go
- model_response_group.go
- model_response_rule.go
- model_rule_group_request.go
- model_rule_request.go
- model_scan_job.go
- model_scan_job_request.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_rules_request.go
- model_show_rules_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
- model_show_specification_request.go
- model_show_specification_response.go
- model_show_topics_request.go
- model_show_topics_response.go
- model_topic_bean.go
- model_update_asset_name_request.go
- model_update_asset_name_response.go
- model_update_default_topic_request.go
- model_update_default_topic_response.go