Documentation ¶
Index ¶
- Constants
- Variables
- func MarshalToQuery(model interface{}, filters ...QueryMarshalFilter) (url.Values, error)
- func UnmarshalResultInto(data []byte, result interface{}) error
- type AccessControlConfig
- type AllItem
- type App
- type ApplyUploadImageParam
- type ApplyUploadImageResult
- type CdnOverviewResp
- type ClientOverviewResp
- type ClientTopItem
- type CommitUploadImageParam
- type CommitUploadImageResult
- type CompressDataItem
- type Contour
- type CreateImageContentTaskReq
- type CreateImageContentTaskResp
- type CreateImageHmEmbedParam
- type CreateImageHmEmbedResult
- type CreateImageHmExtractParam
- type CreateImageHmExtractResult
- type CurveDataFloatItem
- type CurveDataIntItem
- type CurveFloatItem
- type CurveIntItem
- type DataFloatItem
- type DataIntItem
- type DeleteImageParam
- type DeleteImageResult
- type DescribeImageVolcCdnAccessLogReq
- type DescribeImageVolcCdnAccessLogResp
- type DescribeImageVolcCdnAccessLogRespLog
- type DescribeImageXBaseOpUsageReq
- type DescribeImageXBaseOpUsageResp
- type DescribeImageXBucketUsageReq
- type DescribeImageXBucketUsageResp
- type DescribeImageXCDNTopRequestDataReq
- type DescribeImageXCDNTopRequestDataResp
- type DescribeImageXCdnDurationAllReq
- type DescribeImageXCdnDurationAllResp
- type DescribeImageXCdnDurationDetailByTimeReq
- type DescribeImageXCdnDurationDetailByTimeResp
- type DescribeImageXCdnErrorCodeAllReq
- type DescribeImageXCdnErrorCodeAllResp
- type DescribeImageXCdnErrorCodeByTimeReq
- type DescribeImageXCdnErrorCodeByTimeResp
- type DescribeImageXCdnProtocolRateByTimeReq
- type DescribeImageXCdnProtocolRateByTimeResp
- type DescribeImageXCdnReuseRateAllReq
- type DescribeImageXCdnReuseRateAllResp
- type DescribeImageXCdnReuseRateByTimeReq
- type DescribeImageXCdnReuseRateByTimeResp
- type DescribeImageXCdnSuccessRateAllReq
- type DescribeImageXCdnSuccessRateAllResp
- type DescribeImageXCdnSuccessRateByTimeReq
- type DescribeImageXCdnSuccessRateByTimeResp
- type DescribeImageXClientCountByTimeReq
- type DescribeImageXClientCountByTimeResp
- type DescribeImageXClientDecodeDurationByTimeReq
- type DescribeImageXClientDecodeDurationByTimeResp
- type DescribeImageXClientDecodeSuccessRateByTimeReq
- type DescribeImageXClientDecodeSuccessRateByTimeResp
- type DescribeImageXClientDemotionRateByTimeReq
- type DescribeImageXClientDemotionRateByTimeResp
- type DescribeImageXClientErrorCodeAllReq
- type DescribeImageXClientErrorCodeAllResp
- type DescribeImageXClientErrorCodeByTimeReq
- type DescribeImageXClientErrorCodeByTimeResp
- type DescribeImageXClientFailureRateReq
- type DescribeImageXClientFailureRateResp
- type DescribeImageXClientFileSizeReq
- type DescribeImageXClientFileSizeResp
- type DescribeImageXClientLoadDurationAllReq
- type DescribeImageXClientLoadDurationAllResp
- type DescribeImageXClientLoadDurationReq
- type DescribeImageXClientLoadDurationResp
- type DescribeImageXClientQualityRateByTimeReq
- type DescribeImageXClientQualityRateByTimeResp
- type DescribeImageXClientQueueDurationByTimeReq
- type DescribeImageXClientQueueDurationByTimeResp
- type DescribeImageXClientScoreByTimeReq
- type DescribeImageXClientScoreByTimeResp
- type DescribeImageXClientSdkVerByTimeReq
- type DescribeImageXClientSdkVerByTimeResp
- type DescribeImageXClientTopDemotionURLReq
- type DescribeImageXClientTopDemotionURLResp
- type DescribeImageXClientTopFileSizeReq
- type DescribeImageXClientTopFileSizeResp
- type DescribeImageXClientTopQualityURLReq
- type DescribeImageXClientTopQualityURLResp
- type DescribeImageXCompressUsageReq
- type DescribeImageXCompressUsageResp
- type DescribeImageXDomainBandwidthDataReq
- type DescribeImageXDomainBandwidthDataResp
- type DescribeImageXDomainTrafficDataReq
- type DescribeImageXDomainTrafficDataResp
- type DescribeImageXEdgeRequestBandwidthReq
- type DescribeImageXEdgeRequestBandwidthResp
- type DescribeImageXEdgeRequestRegionsReq
- type DescribeImageXEdgeRequestRegionsResp
- type DescribeImageXEdgeRequestReq
- type DescribeImageXEdgeRequestResp
- type DescribeImageXEdgeRequestTrafficReq
- type DescribeImageXEdgeRequestTrafficResp
- type DescribeImageXHitRateRequestDataReq
- type DescribeImageXHitRateRequestDataResp
- type DescribeImageXHitRateTrafficDataReq
- type DescribeImageXHitRateTrafficDataResp
- type DescribeImageXMirrorRequestBandwidthReq
- type DescribeImageXMirrorRequestBandwidthResp
- type DescribeImageXMirrorRequestHttpCodeByTimeReq
- type DescribeImageXMirrorRequestHttpCodeByTimeResp
- type DescribeImageXMirrorRequestHttpCodeOverviewReq
- type DescribeImageXMirrorRequestHttpCodeOverviewResp
- type DescribeImageXMirrorRequestTrafficReq
- type DescribeImageXMirrorRequestTrafficResp
- type DescribeImageXRequestCntUsageReq
- type DescribeImageXRequestCntUsageResp
- type DescribeImageXSensibleCacheHitRateByTimeReq
- type DescribeImageXSensibleCacheHitRateByTimeResp
- type DescribeImageXSensibleCountByTimeReq
- type DescribeImageXSensibleCountByTimeResp
- type DescribeImageXSensibleTopRamURLReq
- type DescribeImageXSensibleTopRamURLResp
- type DescribeImageXSensibleTopResolutionURLReq
- type DescribeImageXSensibleTopResolutionURLResp
- type DescribeImageXSensibleTopSizeURLReq
- type DescribeImageXSensibleTopSizeURLResp
- type DescribeImageXSensibleTopUnknownURLReq
- type DescribeImageXSensibleTopUnknownURLResp
- type DescribeImageXServiceQualityReq
- type DescribeImageXServiceQualityResp
- type DescribeImageXSummaryReq
- type DescribeImageXSummaryResp
- type DescribeImageXUploadCountByTimeReq
- type DescribeImageXUploadCountByTimeResp
- type DescribeImageXUploadDurationReq
- type DescribeImageXUploadDurationResp
- type DescribeImageXUploadErrorCodeAllReq
- type DescribeImageXUploadErrorCodeAllResp
- type DescribeImageXUploadErrorCodeByTimeReq
- type DescribeImageXUploadErrorCodeByTimeResp
- type DescribeImageXUploadFileSizeReq
- type DescribeImageXUploadFileSizeResp
- type DescribeImageXUploadSegmentSpeedByTimeReq
- type DescribeImageXUploadSegmentSpeedByTimeResp
- type DescribeImageXUploadSpeedReq
- type DescribeImageXUploadSpeedResp
- type DescribeImageXUploadSuccessRateByTimeReq
- type DescribeImageXUploadSuccessRateByTimeResp
- type Domain
- type DomainDataItem
- type DomainResult
- type EdgeRequestCntItem
- type Encryption
- type EncryptionInput
- type EraseBox
- type ErrorCodeAllDetailsItem
- type ErrorCodeAllItem
- type ErrorCodeItem
- type ExtraDim
- type FetchUrlReq
- type FetchUrlResp
- type FileObject
- type Function
- type GetDedupTaskStatusResult
- type GetDenoisingImageParam
- type GetDenoisingImageResult
- type GetImageBgFillParam
- type GetImageBgFillResult
- type GetImageComicParam
- type GetImageComicResult
- type GetImageContentBlockListReq
- type GetImageContentBlockListResp
- type GetImageContentBlockListRespData
- type GetImageContentTaskDetailReq
- type GetImageContentTaskDetailResp
- type GetImageContentTaskDetailRespData
- type GetImageDuplicateDetectionAsyncParam
- type GetImageDuplicateDetectionAsyncResult
- type GetImageDuplicateDetectionCallbackBody
- type GetImageDuplicateDetectionParam
- type GetImageDuplicateDetectionResult
- type GetImageEnhanceParam
- type GetImageEnhanceResult
- type GetImageEraseParam
- type GetImageEraseResult
- type GetImageOCRGeneralTextInfo
- type GetImageOCRLicenseTextInfo
- type GetImageOCRParam
- type GetImageOCRResult
- type GetImagePSDetectionParam
- type GetImagePSDetectionResult
- type GetImageQualityParam
- type GetImageQualityResult
- type GetImageSegmentParam
- type GetImageSegmentResult
- type GetImageSmartCropParam
- type GetImageSmartCropResult
- type GetImageStyleResultReq
- type GetImageStyleResultResp
- type GetImageSuperResolutionParam
- type GetImageSuperResolutionResp
- type GetImageUploadFileParam
- type GetImageUploadFileResult
- type GetImageUploadFilesParam
- type GetImageUploadFilesResult
- type GetImageXQueryAppsReq
- type GetImageXQueryAppsResp
- type GetImageXQueryDimsReq
- type GetImageXQueryDimsResp
- type GetImageXQueryRegionsReq
- type GetImageXQueryRegionsResp
- type GetImageXQueryValsReq
- type GetImageXQueryValsResp
- type GetLicensePlateDetectionParam
- type GetLicensePlateDetectionResult
- type GetPrivateImageTypeParam
- type GetPrivateImageTypeResult
- type GetServicesResult
- type GetUrlFetchTaskReq
- type GetUrlFetchTaskResp
- type HttpsConfig
- type ImageInfo
- type ImageX
- func (c *ImageX) ApplyUploadImage(params *ApplyUploadImageParam) (*ApplyUploadImageResult, error)
- func (c *ImageX) CommitUploadImage(params *CommitUploadImageParam) (*CommitUploadImageResult, error)
- func (c *ImageX) CreateImageContentTask(req *CreateImageContentTaskReq) (*CreateImageContentTaskResp, error)
- func (c *ImageX) CreateImageHmEmbed(param *CreateImageHmEmbedParam) (*CreateImageHmEmbedResult, error)
- func (c *ImageX) CreateImageHmExtract(param *CreateImageHmExtractParam) (*CreateImageHmExtractResult, error)
- func (c *ImageX) DeleteImages(serviceId string, uris []string) (*DeleteImageResult, error)
- func (c *ImageX) DescribeImageVolcCdnAccessLog(req *DescribeImageVolcCdnAccessLogReq) (*DescribeImageVolcCdnAccessLogResp, error)
- func (c *ImageX) DescribeImageXBaseOpUsage(req *DescribeImageXBaseOpUsageReq) (*DescribeImageXBaseOpUsageResp, error)
- func (c *ImageX) DescribeImageXBucketUsage(req *DescribeImageXBucketUsageReq) (*DescribeImageXBucketUsageResp, error)
- func (c *ImageX) DescribeImageXCDNTopRequestData(req *DescribeImageXCDNTopRequestDataReq) (*DescribeImageXCDNTopRequestDataResp, error)
- func (c *ImageX) DescribeImageXCdnDurationAll(req *DescribeImageXCdnDurationAllReq) (*DescribeImageXCdnDurationAllResp, error)
- func (c *ImageX) DescribeImageXCdnDurationDetailByTime(req *DescribeImageXCdnDurationDetailByTimeReq) (*DescribeImageXCdnDurationDetailByTimeResp, error)
- func (c *ImageX) DescribeImageXCdnErrorCodeAll(req *DescribeImageXCdnErrorCodeAllReq) (*DescribeImageXCdnErrorCodeAllResp, error)
- func (c *ImageX) DescribeImageXCdnErrorCodeByTime(req *DescribeImageXCdnErrorCodeByTimeReq) (*DescribeImageXCdnErrorCodeByTimeResp, error)
- func (c *ImageX) DescribeImageXCdnProtocolRateByTime(req *DescribeImageXCdnProtocolRateByTimeReq) (*DescribeImageXCdnProtocolRateByTimeResp, error)
- func (c *ImageX) DescribeImageXCdnReuseRateAll(req *DescribeImageXCdnReuseRateAllReq) (*DescribeImageXCdnReuseRateAllResp, error)
- func (c *ImageX) DescribeImageXCdnReuseRateByTime(req *DescribeImageXCdnReuseRateByTimeReq) (*DescribeImageXCdnReuseRateByTimeResp, error)
- func (c *ImageX) DescribeImageXCdnSuccessRateAll(req *DescribeImageXCdnSuccessRateAllReq) (*DescribeImageXCdnSuccessRateAllResp, error)
- func (c *ImageX) DescribeImageXCdnSuccessRateByTime(req *DescribeImageXCdnSuccessRateByTimeReq) (*DescribeImageXCdnSuccessRateByTimeResp, error)
- func (c *ImageX) DescribeImageXClientCountByTime(req *DescribeImageXClientCountByTimeReq) (*DescribeImageXClientCountByTimeResp, error)
- func (c *ImageX) DescribeImageXClientDecodeDurationByTime(req *DescribeImageXClientDecodeDurationByTimeReq) (*DescribeImageXClientDecodeDurationByTimeResp, error)
- func (c *ImageX) DescribeImageXClientDecodeSuccessRateByTime(req *DescribeImageXClientDecodeSuccessRateByTimeReq) (*DescribeImageXClientDecodeSuccessRateByTimeResp, error)
- func (c *ImageX) DescribeImageXClientDemotionRateByTime(req *DescribeImageXClientDemotionRateByTimeReq) (*DescribeImageXClientDemotionRateByTimeResp, error)
- func (c *ImageX) DescribeImageXClientErrorCodeAll(req *DescribeImageXClientErrorCodeAllReq) (*DescribeImageXClientErrorCodeAllResp, error)
- func (c *ImageX) DescribeImageXClientErrorCodeByTime(req *DescribeImageXClientErrorCodeByTimeReq) (*DescribeImageXClientErrorCodeByTimeResp, error)
- func (c *ImageX) DescribeImageXClientFailureRate(req *DescribeImageXClientFailureRateReq) (*DescribeImageXClientFailureRateResp, error)
- func (c *ImageX) DescribeImageXClientFileSize(req *DescribeImageXClientFileSizeReq) (*DescribeImageXClientFileSizeResp, error)
- func (c *ImageX) DescribeImageXClientLoadDuration(req *DescribeImageXClientLoadDurationReq) (*DescribeImageXClientLoadDurationResp, error)
- func (c *ImageX) DescribeImageXClientLoadDurationAll(req *DescribeImageXClientLoadDurationAllReq) (*DescribeImageXClientLoadDurationAllResp, error)
- func (c *ImageX) DescribeImageXClientQualityRateByTime(req *DescribeImageXClientQualityRateByTimeReq) (*DescribeImageXClientQualityRateByTimeResp, error)
- func (c *ImageX) DescribeImageXClientQueueDurationByTime(req *DescribeImageXClientQueueDurationByTimeReq) (*DescribeImageXClientQueueDurationByTimeResp, error)
- func (c *ImageX) DescribeImageXClientScoreByTime(req *DescribeImageXClientScoreByTimeReq) (*DescribeImageXClientScoreByTimeResp, error)
- func (c *ImageX) DescribeImageXClientSdkVerByTime(req *DescribeImageXClientSdkVerByTimeReq) (*DescribeImageXClientSdkVerByTimeResp, error)
- func (c *ImageX) DescribeImageXClientTopDemotionURL(req *DescribeImageXClientTopDemotionURLReq) (*DescribeImageXClientTopDemotionURLResp, error)
- func (c *ImageX) DescribeImageXClientTopFileSize(req *DescribeImageXClientTopFileSizeReq) (*DescribeImageXClientTopFileSizeResp, error)
- func (c *ImageX) DescribeImageXClientTopQualityURL(req *DescribeImageXClientTopQualityURLReq) (*DescribeImageXClientTopQualityURLResp, error)
- func (c *ImageX) DescribeImageXCompressUsage(req *DescribeImageXCompressUsageReq) (*DescribeImageXCompressUsageResp, error)
- func (c *ImageX) DescribeImageXDomainBandwidthData(req *DescribeImageXDomainBandwidthDataReq) (*DescribeImageXDomainBandwidthDataResp, error)
- func (c *ImageX) DescribeImageXDomainTrafficData(req *DescribeImageXDomainTrafficDataReq) (*DescribeImageXDomainTrafficDataResp, error)
- func (c *ImageX) DescribeImageXEdgeRequest(req *DescribeImageXEdgeRequestReq) (*DescribeImageXEdgeRequestResp, error)
- func (c *ImageX) DescribeImageXEdgeRequestBandwidth(req *DescribeImageXEdgeRequestBandwidthReq) (*DescribeImageXEdgeRequestBandwidthResp, error)
- func (c *ImageX) DescribeImageXEdgeRequestRegions(req *DescribeImageXEdgeRequestRegionsReq) (*DescribeImageXEdgeRequestRegionsResp, error)
- func (c *ImageX) DescribeImageXEdgeRequestTraffic(req *DescribeImageXEdgeRequestTrafficReq) (*DescribeImageXEdgeRequestTrafficResp, error)
- func (c *ImageX) DescribeImageXHitRateRequestData(req *DescribeImageXHitRateRequestDataReq) (*DescribeImageXHitRateRequestDataResp, error)
- func (c *ImageX) DescribeImageXHitRateTrafficData(req *DescribeImageXHitRateTrafficDataReq) (*DescribeImageXHitRateTrafficDataResp, error)
- func (c *ImageX) DescribeImageXMirrorRequestBandwidth(req *DescribeImageXMirrorRequestBandwidthReq) (*DescribeImageXMirrorRequestBandwidthResp, error)
- func (c *ImageX) DescribeImageXMirrorRequestHttpCodeByTime(req *DescribeImageXMirrorRequestHttpCodeByTimeReq) (*DescribeImageXMirrorRequestHttpCodeByTimeResp, error)
- func (c *ImageX) DescribeImageXMirrorRequestHttpCodeOverview(req *DescribeImageXMirrorRequestHttpCodeOverviewReq) (*DescribeImageXMirrorRequestHttpCodeOverviewResp, error)
- func (c *ImageX) DescribeImageXMirrorRequestTraffic(req *DescribeImageXMirrorRequestTrafficReq) (*DescribeImageXMirrorRequestTrafficResp, error)
- func (c *ImageX) DescribeImageXRequestCntUsage(req *DescribeImageXRequestCntUsageReq) (*DescribeImageXRequestCntUsageResp, error)
- func (c *ImageX) DescribeImageXSensibleCacheHitRateByTime(req *DescribeImageXSensibleCacheHitRateByTimeReq) (*DescribeImageXSensibleCacheHitRateByTimeResp, error)
- func (c *ImageX) DescribeImageXSensibleCountByTime(req *DescribeImageXSensibleCountByTimeReq) (*DescribeImageXSensibleCountByTimeResp, error)
- func (c *ImageX) DescribeImageXSensibleTopRamURL(req *DescribeImageXSensibleTopRamURLReq) (*DescribeImageXSensibleTopRamURLResp, error)
- func (c *ImageX) DescribeImageXSensibleTopResolutionURL(req *DescribeImageXSensibleTopResolutionURLReq) (*DescribeImageXSensibleTopResolutionURLResp, error)
- func (c *ImageX) DescribeImageXSensibleTopSizeURL(req *DescribeImageXSensibleTopSizeURLReq) (*DescribeImageXSensibleTopSizeURLResp, error)
- func (c *ImageX) DescribeImageXSensibleTopUnknownURL(req *DescribeImageXSensibleTopUnknownURLReq) (*DescribeImageXSensibleTopUnknownURLResp, error)
- func (c *ImageX) DescribeImageXServiceQuality(req *DescribeImageXServiceQualityReq) (*DescribeImageXServiceQualityResp, error)
- func (c *ImageX) DescribeImageXSummary(req *DescribeImageXSummaryReq) (*DescribeImageXSummaryResp, error)
- func (c *ImageX) DescribeImageXUploadCountByTime(req *DescribeImageXUploadCountByTimeReq) (*DescribeImageXUploadCountByTimeResp, error)
- func (c *ImageX) DescribeImageXUploadDuration(req *DescribeImageXUploadDurationReq) (*DescribeImageXUploadDurationResp, error)
- func (c *ImageX) DescribeImageXUploadErrorCodeAll(req *DescribeImageXUploadErrorCodeAllReq) (*DescribeImageXUploadErrorCodeAllResp, error)
- func (c *ImageX) DescribeImageXUploadErrorCodeByTime(req *DescribeImageXUploadErrorCodeByTimeReq) (*DescribeImageXUploadErrorCodeByTimeResp, error)
- func (c *ImageX) DescribeImageXUploadFileSize(req *DescribeImageXUploadFileSizeReq) (*DescribeImageXUploadFileSizeResp, error)
- func (c *ImageX) DescribeImageXUploadSegmentSpeedByTime(req *DescribeImageXUploadSegmentSpeedByTimeReq) (*DescribeImageXUploadSegmentSpeedByTimeResp, error)
- func (c *ImageX) DescribeImageXUploadSpeed(req *DescribeImageXUploadSpeedReq) (*DescribeImageXUploadSpeedResp, error)
- func (c *ImageX) DescribeImageXUploadSuccessRateByTime(req *DescribeImageXUploadSuccessRateByTimeReq) (*DescribeImageXUploadSuccessRateByTimeResp, error)
- func (c *ImageX) FetchImageUrl(req *FetchUrlReq) (*FetchUrlResp, error)
- func (c *ImageX) GetDedupTaskStatus(taskId string) (*GetDedupTaskStatusResult, error)
- func (c *ImageX) GetDenoisingImage(param *GetDenoisingImageParam) (*GetDenoisingImageResult, error)
- func (c *ImageX) GetImageBgFill(param *GetImageBgFillParam) (*GetImageBgFillResult, error)
- func (c *ImageX) GetImageComic(param *GetImageComicParam) (*GetImageComicResult, error)
- func (c *ImageX) GetImageContentBlockList(req *GetImageContentBlockListReq) (*GetImageContentBlockListResp, error)
- func (c *ImageX) GetImageContentTaskDetail(req *GetImageContentTaskDetailReq) (*GetImageContentTaskDetailResp, error)
- func (c *ImageX) GetImageDomains(serviceId string) ([]DomainResult, error)
- func (c *ImageX) GetImageDuplicateDetection(param *GetImageDuplicateDetectionParam) (*GetImageDuplicateDetectionResult, error)
- func (c *ImageX) GetImageDuplicateDetectionAsync(param *GetImageDuplicateDetectionAsyncParam) (*GetImageDuplicateDetectionAsyncResult, error)
- func (c *ImageX) GetImageEnhance(param *GetImageEnhanceParam) (*GetImageEnhanceResult, error)
- func (c *ImageX) GetImageEnhanceWithData(param *GetImageEnhanceParam, data io.Reader) ([]byte, error)
- func (c *ImageX) GetImageErase(param *GetImageEraseParam) (*GetImageEraseResult, error)
- func (c *ImageX) GetImageEraseModel(eraseType int) ([]string, error)
- func (c *ImageX) GetImageOCRV2(req *GetImageOCRParam) (*GetImageOCRResult, error)
- func (c *ImageX) GetImagePSDetection(param *GetImagePSDetectionParam) (*GetImagePSDetectionResult, error)
- func (c *ImageX) GetImageQuality(param *GetImageQualityParam) (*GetImageQualityResult, error)
- func (c *ImageX) GetImageSegment(param *GetImageSegmentParam) (*GetImageSegmentResult, error)
- func (c *ImageX) GetImageServices(searchPtn string) (*GetServicesResult, error)
- func (c *ImageX) GetImageSmartCrop(param *GetImageSmartCropParam) (*GetImageSmartCropResult, error)
- func (c *ImageX) GetImageStyleResult(req *GetImageStyleResultReq) (*GetImageStyleResultResp, error)
- func (c *ImageX) GetImageSuperResolution(param *GetImageSuperResolutionParam) (*GetImageSuperResolutionResp, error)
- func (c *ImageX) GetImageUploadFile(param *GetImageUploadFileParam) (*GetImageUploadFileResult, error)
- func (c *ImageX) GetImageUploadFiles(param *GetImageUploadFilesParam) (*GetImageUploadFilesResult, error)
- func (c *ImageX) GetImageXQueryApps(req *GetImageXQueryAppsReq) (*GetImageXQueryAppsResp, error)
- func (c *ImageX) GetImageXQueryDims(req *GetImageXQueryDimsReq) (*GetImageXQueryDimsResp, error)
- func (c *ImageX) GetImageXQueryRegions(req *GetImageXQueryRegionsReq) (*GetImageXQueryRegionsResp, error)
- func (c *ImageX) GetImageXQueryVals(req *GetImageXQueryValsReq) (*GetImageXQueryValsResp, error)
- func (c *ImageX) GetLicensePlateDetection(param *GetLicensePlateDetectionParam) (*GetLicensePlateDetectionResult, error)
- func (c *ImageX) GetPrivateImageType(param *GetPrivateImageTypeParam) (*GetPrivateImageTypeResult, error)
- func (c *ImageX) GetUploadAuth(serviceIds []string, opt ...UploadAuthOpt) (*base.SecurityToken2, error)
- func (c *ImageX) GetUploadAuthToken(query url.Values) (string, error)
- func (c *ImageX) GetUploadAuthWithExpire(serviceIds []string, expire time.Duration, opt ...UploadAuthOpt) (*base.SecurityToken2, error)
- func (c *ImageX) GetUrlFetchTask(req *GetUrlFetchTaskReq) (*GetUrlFetchTaskResp, error)
- func (c *ImageX) ImageXGet(action string, query url.Values, result interface{}) error
- func (c *ImageX) ImageXPost(action string, query url.Values, req, result interface{}) error
- func (c *ImageX) SegmentedUploadImages(ctx context.Context, params *ApplyUploadImageParam, content []io.Reader, ...) (*CommitUploadImageResult, error)
- func (c *ImageX) UpdateImageStorageTTL(req *UpdateImageStorageTTLReq) (*UpdateImageStorageTTLResp, error)
- func (c *ImageX) UploadImages(params *ApplyUploadImageParam, images [][]byte) (*CommitUploadImageResult, error)
- type LocationsLower
- type Mirror
- type MirrorHttpCodeDataItem
- type MirrorHttpCodeDetailsItem
- type MirrorHttpCodeRespItem
- type QueryMarshalFilter
- type ReferLink
- type RequestCntDataItem
- type RespHdr
- type Result
- type SdkVerItem
- type SensibleRamItem
- type SensibleResolutionItem
- type SensibleSizeItem
- type SensibleUnknownItem
- type Service
- type ServiceDomainDataItem
- type Storage
- type StorageDataItem
- type StoreInfo
- type SummaryFloatItem
- type SummaryIntItem
- type TSFloatItem
- type TSIntItem
- type TopValueItem
- type UpdateImageStorageTTLReq
- type UpdateImageStorageTTLResp
- type UploadAddress
- type UploadAuthOpt
- type UploadOverviewResp
Constants ¶
const ( ServiceName = "ImageX" ApiVersion = "2018-08-01" DefaultTimeout = 10 * time.Second ResourceServiceIdTRN = "trn:ImageX:*:*:ServiceId/%s" ResourceStoreKeyTRN = "trn:ImageX:*:*:StoreKeys/%s" MinChunkSize = 1024 * 1024 * 20 LargeFileSize = 1024 * 1024 * 1024 UploadRoutines = 4 )
const ( SEGMENT_CLASS_GENERAL = "general" SEGMENT_CLASS_HUMAN = "human" SEGMENT_CLASS_PRODUCT = "product" SEGMENT_CLASS_HUMAN_V2 = "humanv2" SEGMENT_CLASS_PRODUCT_V2 = "productv2" SMARTCROP_POLICY_DEMOTION_CENTER = "center" SMARTCROP_POLICY_DEMOTION_FGLASS = "fglass" SMARTCROP_POLICY_DEMOTION_TOP = "top" SMARTCROP_SCENE_NORMAL = "normal" SMARTCROP_SCENE_CARTOON = "cartoon" FunctionEncryption = "Encryption" )
Variables ¶
var ( ServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Scheme: "https", Host: "imagex.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: ServiceName, }, }, base.RegionUsEast1: { Timeout: DefaultTimeout, Scheme: "https", Host: "imagex-us-east-1.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionUsEast1, Service: ServiceName, }, }, base.RegionApSingapore: { Timeout: DefaultTimeout, Scheme: "https", Host: "imagex-ap-singapore-1.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionApSingapore, Service: ServiceName, }, }, } ApiInfoList = map[string]*base.ApiInfo{ "GetImageServiceSubscription": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageServiceSubscription"}, "Version": []string{"2018-08-01"}, }, }, "CreateImageService": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateImageService"}, "Version": []string{"2018-08-01"}, }, }, "GetImageService": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageService"}, "Version": []string{"2018-08-01"}, }, }, "GetAllImageServices": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetAllImageServices"}, "Version": []string{"2018-08-01"}, }, }, "DeleteImageService": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteImageService"}, "Version": []string{"2018-08-01"}, }, }, "UpdateImageAuthKey": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateImageAuthKey"}, "Version": []string{"2018-08-01"}, }, }, "GetImageAuthKey": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageAuthKey"}, "Version": []string{"2018-08-01"}, }, }, "UpdateImageObjectAccess": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateImageObjectAccess"}, "Version": []string{"2018-08-01"}, }, }, "UpdateImageMirrorConf": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateImageMirrorConf"}, "Version": []string{"2018-08-01"}, }, }, "DelDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DelDomain"}, "Version": []string{"2018-08-01"}, }, }, "GetServiceDomains": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetServiceDomains"}, "Version": []string{"2018-08-01"}, }, }, "GetDomainConfig": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetDomainConfig"}, "Version": []string{"2018-08-01"}, }, }, "SetDefaultDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SetDefaultDomain"}, "Version": []string{"2018-08-01"}, }, }, "UpdateResponseHeader": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateResponseHeader"}, "Version": []string{"2018-08-01"}, }, }, "UpdateRefer": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRefer"}, "Version": []string{"2018-08-01"}, }, }, "UpdateHttps": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateHttps"}, "Version": []string{"2018-08-01"}, }, }, "GetResponseHeaderValidateKeys": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetResponseHeaderValidateKeys"}, "Version": []string{"2018-08-01"}, }, }, "CreateImageTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateImageTemplate"}, "Version": []string{"2018-08-01"}, }, }, "DeleteImageTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteImageTemplate"}, "Version": []string{"2018-08-01"}, }, }, "GetImageTemplate": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageTemplate"}, "Version": []string{"2018-08-01"}, }, }, "GetAllImageTemplates": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetAllImageTemplates"}, "Version": []string{"2018-08-01"}, }, }, "GetTemplatesFromBin": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetTemplatesFromBin"}, "Version": []string{"2018-08-01"}, }, }, "CreateTemplatesFromBin": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateTemplatesFromBin"}, "Version": []string{"2018-08-01"}, }, }, "DeleteTemplatesFromBin": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteTemplatesFromBin"}, "Version": []string{"2018-08-01"}, }, }, "ApplyImageUpload": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ApplyImageUpload"}, "Version": []string{"2018-08-01"}, }, }, "CommitImageUpload": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CommitImageUpload"}, "Version": []string{"2018-08-01"}, }, }, "GetImageUploadFile": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageUploadFile"}, "Version": []string{"2018-08-01"}, }, }, "GetImageUploadFiles": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageUploadFiles"}, "Version": []string{"2018-08-01"}, }, }, "DeleteImageUploadFiles": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteImageUploadFiles"}, "Version": []string{"2018-08-01"}, }, }, "PreviewImageUploadFile": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"PreviewImageUploadFile"}, "Version": []string{"2018-08-01"}, }, }, "CreateImageContentTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateImageContentTask"}, "Version": []string{"2018-08-01"}, }, }, "GetImageContentTaskDetail": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageContentTaskDetail"}, "Version": []string{"2018-08-01"}, }, }, "GetImageContentBlockList": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageContentBlockList"}, "Version": []string{"2018-08-01"}, }, }, "GetImageUpdateFiles": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageUpdateFiles"}, "Version": []string{"2018-08-01"}, }, }, "FetchImageUrl": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"FetchImageUrl"}, "Version": []string{"2018-08-01"}, }, }, "GetUrlFetchTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetUrlFetchTask"}, "Version": []string{"2018-08-01"}, }, }, "UpdateServiceName": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateServiceName"}, "Version": []string{"2018-08-01"}, }, }, "UpdateImageStorageTTL": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateImageStorageTTL"}, "Version": []string{"2018-08-01"}, }, }, "GetImageOCRV2": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageOCRV2"}, "Version": []string{"2018-08-01"}, }, }, "GetImageQuality": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageQuality"}, "Version": []string{"2018-08-01"}, }, }, "GetImageEraseModels": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetImageEraseModels"}, "Version": []string{"2018-08-01"}, }, }, "GetImageEnhanceResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageEnhanceResult"}, "Version": []string{"2018-08-01"}, }, }, "GetImageBgFillResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageBgFillResult"}, "Version": []string{"2018-08-01"}, }, }, "GetImageDuplicateDetection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageDuplicateDetection"}, "Version": []string{"2018-08-01"}, }, }, "GetDedupTaskStatus": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetDedupTaskStatus"}, "Version": []string{"2018-08-01"}, }, }, "GetDenoisingImage": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetDenoisingImage"}, "Version": []string{"2018-08-01"}, }, }, "GetSegmentImage": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetSegmentImage"}, "Version": []string{"2018-08-01"}, }, }, "GetImageComicResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageComicResult"}, "Version": []string{"2018-08-01"}, }, }, "GetImageSuperResolutionResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageSuperResolutionResult"}, "Version": []string{"2018-08-01"}, }, }, "GetImageSmartCropResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageSmartCropResult"}, "Version": []string{"2018-08-01"}, }, }, "GetLicensePlateDetection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetLicensePlateDetection"}, "Version": []string{"2018-08-01"}, }, }, "GetImagePSDetection": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImagePSDetection"}, "Version": []string{"2018-08-01"}, }, }, "GetPrivateImageType": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetPrivateImageType"}, "Version": []string{"2018-08-01"}, }, }, "CreateImageHmEmbed": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateImageHmEmbed"}, "Version": []string{"2018-08-01"}, }, }, "CreateImageHmExtract": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateImageHmExtract"}, "Version": []string{"2018-08-01"}, }, }, "GetImageEraseResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageEraseResult"}, "Version": []string{"2018-08-01"}, }, }, "GetImageStyleResult": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageStyleResult"}, "Version": []string{"2018-08-01"}, }, }, "DescribeImageVolcCdnAccessLog": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeImageVolcCdnAccessLog"}, "Version": []string{"2018-08-01"}, }, }, "GetImageEnhanceResultWithData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetImageEnhanceResultWithData"}, "Version": []string{"2018-08-01"}, }, }, } )
var DefaultInstance = NewInstance()
DefaultInstance 默认实例,Region: cn-north-1
Functions ¶
func MarshalToQuery ¶
func MarshalToQuery(model interface{}, filters ...QueryMarshalFilter) (url.Values, error)
func UnmarshalResultInto ¶
Types ¶
type AccessControlConfig ¶
type AccessControlConfig struct {
ReferLink ReferLink `json:"refer_link"`
}
type ApplyUploadImageParam ¶
type ApplyUploadImageParam struct { ServiceId string SessionKey string UploadNum int StoreKeys []string CommitParam *CommitUploadImageParam SkipMeta bool SkipCommit bool }
ApplyImageUpload
type ApplyUploadImageResult ¶
type ApplyUploadImageResult struct { UploadAddress UploadAddress `json:"UploadAddress"` RequestId string `json:"RequestId"` }
type CdnOverviewResp ¶
type ClientOverviewResp ¶
type ClientOverviewResp struct { FailureRate float64 `json:"FailureRate"` SuccessRate float64 `json:"SuccessRate"` AvgDecodeDuration float64 `json:"AvgDecodeDuration"` AvgQueueDuration float64 `json:"AvgQueueDuration"` AvgLoadDuration float64 `json:"AvgLoadDuration"` TotalCount int `json:"TotalCount"` }
type ClientTopItem ¶
type CommitUploadImageParam ¶
type CommitUploadImageParam struct { ServiceId string `json:"-"` SessionKey string `json:"SessionKey"` SuccessOids []string `json:"SuccessOids"` Functions []Function `json:"Functions"` SkipMeta bool `json:"-"` }
CommitImageUpload
type CommitUploadImageResult ¶
type CompressDataItem ¶
type CompressDataItem struct { InSize []TSFloatItem `json:"InSize"` OutSize []TSFloatItem `json:"OutSize"` }
type CreateImageContentTaskReq ¶
type CreateImageContentTaskReq struct { ServiceId string `query:"ServiceId" json:"-"` TaskType string `json:"TaskType"` Urls []string `json:"Urls"` }
CreateImageContentTask
type CreateImageHmEmbedParam ¶
type CreateImageHmEmbedParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Algorithm string `json:"Algorithm"` Info string `json:"Info"` OutFormat string `json:"OutFormat"` OutQuality int `json:"OutQuality"` StrengthLevel string `json:"StrengthLevel"` }
CreateImageHmEmbed
type CreateImageHmEmbedResult ¶
type CreateImageHmEmbedResult struct {
StoreUri string `json:"StoreUri"`
}
type CreateImageHmExtractParam ¶
type CreateImageHmExtractParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Algorithm string `json:"Algorithm"` }
CreateImageHmExtract
type CurveDataFloatItem ¶
type CurveDataIntItem ¶
type CurveFloatItem ¶
type CurveFloatItem struct { Type string `json:"Type"` Count int64 `json:"Count"` Data []CurveDataFloatItem `json:"Data"` }
type CurveIntItem ¶
type CurveIntItem struct { Type string `json:"Type"` Count int64 `json:"Count"` Data []CurveDataIntItem `json:"Data"` }
type DataFloatItem ¶
type DataFloatItem struct {
Data []TSFloatItem `json:"Data"`
}
type DataIntItem ¶
type DataIntItem struct {
Data []TSIntItem `json:"Data"`
}
type DeleteImageParam ¶
type DeleteImageParam struct {
StoreUris []string `json:"StoreUris"`
}
DeleteImageUploadFiles
type DeleteImageResult ¶
type DescribeImageVolcCdnAccessLogReq ¶
type DescribeImageVolcCdnAccessLogReq struct { ServiceId string `query:"ServiceId"` Domain string `json:"Domain"` Region string `json:"Region"` StartTime int64 `json:"StartTime"` EndTime int64 `json:"EndTime"` PageNum int `json:"PageNum"` PageSize int `json:"PageSize"` }
DescribeImageVolcCdnAccessLog
type DescribeImageVolcCdnAccessLogResp ¶
type DescribeImageVolcCdnAccessLogResp struct { Domain string `json:"Domain"` PageSize int `json:"PageSize"` PageNum int `json:"PageNum"` TotalCount int `json:"TotalCount"` Logs []DescribeImageVolcCdnAccessLogRespLog `json:"Logs"` }
type DescribeImageXBaseOpUsageReq ¶
type DescribeImageXBaseOpUsageReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXBaseOpUsageResp ¶
type DescribeImageXBaseOpUsageResp struct {
BaseOpData []DataFloatItem `json:"BaseOpData"`
}
type DescribeImageXBucketUsageReq ¶
type DescribeImageXBucketUsageReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 BucketNames string `query:"BucketNames"` // 传入多个用英文逗号分隔 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,BucketName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm }
type DescribeImageXBucketUsageResp ¶
type DescribeImageXBucketUsageResp struct {
StorageData []StorageDataItem `json:"StorageData"`
}
type DescribeImageXCDNTopRequestDataReq ¶
type DescribeImageXCDNTopRequestDataReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm KeyType string `query:"KeyType"` // 需要Top的对象 ValueType string `query:"ValueType"` // 单选Traffic/RequestCnt,代表按流量/请求次数排序 (KeyType=Domain时,只能为Traffic) IPVersion string `query:"IPVersion"` // 单选IPv4/IPv6,不传为不限制; KeyType=Domain时无效 Country string `query:"Country"` Limit string `query:"Limit"` // 分页Limit,默认为0,即返回所有 Offset string `query:"Offset"` // 分页Offset,默认为0 }
type DescribeImageXCDNTopRequestDataResp ¶
type DescribeImageXCDNTopRequestDataResp struct { Count int `json:"Count"` TopValue []TopValueItem `json:"TopValue"` TotalValue float64 `json:"TotalValue"` }
type DescribeImageXCdnDurationAllReq ¶
type DescribeImageXCdnDurationAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXCdnDurationAllResp ¶
type DescribeImageXCdnDurationAllResp struct {
DurationData []AllItem `json:"DurationData"`
}
type DescribeImageXCdnDurationDetailByTimeReq ¶
type DescribeImageXCdnDurationDetailByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` Phase string `json:"Phase"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXCdnDurationDetailByTimeResp ¶
type DescribeImageXCdnDurationDetailByTimeResp struct {
DurationData []CurveFloatItem `json:"DurationData"`
}
type DescribeImageXCdnErrorCodeAllReq ¶
type DescribeImageXCdnErrorCodeAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXCdnErrorCodeAllResp ¶
type DescribeImageXCdnErrorCodeAllResp struct {
ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}
type DescribeImageXCdnErrorCodeByTimeReq ¶
type DescribeImageXCdnErrorCodeByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXCdnErrorCodeByTimeResp ¶
type DescribeImageXCdnErrorCodeByTimeResp struct {
ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}
type DescribeImageXCdnProtocolRateByTimeReq ¶
type DescribeImageXCdnProtocolRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXCdnProtocolRateByTimeResp ¶
type DescribeImageXCdnProtocolRateByTimeResp struct {
ProtocolRateData []CurveFloatItem `json:"ProtocolRateData"`
}
type DescribeImageXCdnReuseRateAllReq ¶
type DescribeImageXCdnReuseRateAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXCdnReuseRateAllResp ¶
type DescribeImageXCdnReuseRateAllResp struct {
ReuseRateData []AllItem `json:"ReuseRateData"`
}
type DescribeImageXCdnReuseRateByTimeReq ¶
type DescribeImageXCdnReuseRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXCdnReuseRateByTimeResp ¶
type DescribeImageXCdnReuseRateByTimeResp struct {
ReuseRateData []CurveFloatItem `json:"ReuseRateData"`
}
type DescribeImageXCdnSuccessRateAllReq ¶
type DescribeImageXCdnSuccessRateAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXCdnSuccessRateAllResp ¶
type DescribeImageXCdnSuccessRateAllResp struct {
SuccessRateData []AllItem `json:"SuccessRateData"`
}
type DescribeImageXCdnSuccessRateByTimeReq ¶
type DescribeImageXCdnSuccessRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXCdnSuccessRateByTimeResp ¶
type DescribeImageXCdnSuccessRateByTimeResp struct {
SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}
type DescribeImageXClientCountByTimeReq ¶
type DescribeImageXClientCountByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientCountByTimeResp ¶
type DescribeImageXClientCountByTimeResp struct {
ClientCountData []CurveIntItem `json:"ClientCountData"`
}
type DescribeImageXClientDecodeDurationByTimeReq ¶
type DescribeImageXClientDecodeDurationByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientDecodeDurationByTimeResp ¶
type DescribeImageXClientDecodeDurationByTimeResp struct {
DurationData []CurveFloatItem `json:"DurationData"`
}
type DescribeImageXClientDecodeSuccessRateByTimeReq ¶
type DescribeImageXClientDecodeSuccessRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientDecodeSuccessRateByTimeResp ¶
type DescribeImageXClientDecodeSuccessRateByTimeResp struct {
SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}
type DescribeImageXClientDemotionRateByTimeReq ¶
type DescribeImageXClientDemotionRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` DemotionType string `json:"DemotionType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientDemotionRateByTimeResp ¶
type DescribeImageXClientDemotionRateByTimeResp struct {
DemotionRateData []CurveFloatItem `json:"DemotionRateData"`
}
type DescribeImageXClientErrorCodeAllReq ¶
type DescribeImageXClientErrorCodeAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXClientErrorCodeAllResp ¶
type DescribeImageXClientErrorCodeAllResp struct {
ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}
type DescribeImageXClientErrorCodeByTimeReq ¶
type DescribeImageXClientErrorCodeByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientErrorCodeByTimeResp ¶
type DescribeImageXClientErrorCodeByTimeResp struct {
ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}
type DescribeImageXClientFailureRateReq ¶
type DescribeImageXClientFailureRateReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientFailureRateResp ¶
type DescribeImageXClientFailureRateResp struct {
FailureRateData []CurveFloatItem `json:"FailureRateData"`
}
type DescribeImageXClientFileSizeReq ¶
type DescribeImageXClientFileSizeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientFileSizeResp ¶
type DescribeImageXClientFileSizeResp struct {
FSizeData []CurveFloatItem `json:"FSizeData"`
}
type DescribeImageXClientLoadDurationAllReq ¶
type DescribeImageXClientLoadDurationAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXClientLoadDurationAllResp ¶
type DescribeImageXClientLoadDurationAllResp struct {
DurationData []AllItem `json:"DurationData"`
}
type DescribeImageXClientLoadDurationReq ¶
type DescribeImageXClientLoadDurationReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientLoadDurationResp ¶
type DescribeImageXClientLoadDurationResp struct {
DurationData []CurveFloatItem `json:"DurationData"`
}
type DescribeImageXClientQualityRateByTimeReq ¶
type DescribeImageXClientQualityRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` QualityType string `json:"QualityType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientQualityRateByTimeResp ¶
type DescribeImageXClientQualityRateByTimeResp struct {
QualityRateData []CurveFloatItem `json:"QualityRateData"`
}
type DescribeImageXClientQueueDurationByTimeReq ¶
type DescribeImageXClientQueueDurationByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientQueueDurationByTimeResp ¶
type DescribeImageXClientQueueDurationByTimeResp struct {
DurationData []CurveFloatItem `json:"DurationData"`
}
type DescribeImageXClientScoreByTimeReq ¶
type DescribeImageXClientScoreByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` ScoreType string `json:"ScoreType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientScoreByTimeResp ¶
type DescribeImageXClientScoreByTimeResp struct {
ScoreData []CurveFloatItem `json:"ScoreData"`
}
type DescribeImageXClientSdkVerByTimeReq ¶
type DescribeImageXClientSdkVerByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` Domain []string `json:"Domain"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXClientSdkVerByTimeResp ¶
type DescribeImageXClientSdkVerByTimeResp struct {
SdkVerData []SdkVerItem `json:"SdkVerData"`
}
type DescribeImageXClientTopDemotionURLResp ¶
type DescribeImageXClientTopDemotionURLResp struct {
TopUrlData []ClientTopItem `json:"TopUrlData"`
}
type DescribeImageXClientTopFileSizeResp ¶
type DescribeImageXClientTopFileSizeResp struct {
TopUrlData []ClientTopItem `json:"TopUrlData"`
}
type DescribeImageXClientTopQualityURLResp ¶
type DescribeImageXClientTopQualityURLResp struct {
TopUrlData []ClientTopItem `json:"TopUrlData"`
}
type DescribeImageXCompressUsageReq ¶
type DescribeImageXCompressUsageReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXCompressUsageResp ¶
type DescribeImageXCompressUsageResp struct {
CompressData []CompressDataItem `json:"CompressData"`
}
type DescribeImageXDomainBandwidthDataReq ¶
type DescribeImageXDomainBandwidthDataReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 BillingRegion string `query:"BillingRegion"` // 过滤计费区域 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXDomainBandwidthDataResp ¶
type DescribeImageXDomainBandwidthDataResp struct {
BpsData []ServiceDomainDataItem `json:"BpsData"`
}
type DescribeImageXDomainTrafficDataReq ¶
type DescribeImageXDomainTrafficDataReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 BillingRegion string `query:"BillingRegion"` // 过滤计费区域 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXDomainTrafficDataResp ¶
type DescribeImageXDomainTrafficDataResp struct {
TrafficData []ServiceDomainDataItem `json:"TrafficData"`
}
type DescribeImageXEdgeRequestBandwidthReq ¶
type DescribeImageXEdgeRequestBandwidthReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 Regions string `query:"Regions"` // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。 UserCountry string `query:"UserCountry"` // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。 UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。 Protocols string `query:"Protocols"` // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。 Isp string `query:"Isp"` // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXEdgeRequestBandwidthResp ¶
type DescribeImageXEdgeRequestBandwidthResp struct {
BpsData []DomainDataItem `json:"BpsData"`
}
type DescribeImageXEdgeRequestReq ¶
type DescribeImageXEdgeRequestReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 Regions string `query:"Regions"` // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。 UserCountry string `query:"UserCountry"` // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。 UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。 Protocols string `query:"Protocols"` // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。 Isp string `query:"Isp"` // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。 DataTypes string `query:"DataTypes"` // 状态码过滤。传入多个用英文逗号分隔。支持2xx,3xx,4xx,5xx,req_cnt GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName,DataType StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 DetailedCode string `query:"DetailedCode"` // 是否拆分状态码。不传默认为false,表示不拆分。 }
type DescribeImageXEdgeRequestResp ¶
type DescribeImageXEdgeRequestResp struct {
RequestCnt []EdgeRequestCntItem `json:"RequestCnt"`
}
type DescribeImageXEdgeRequestTrafficReq ¶
type DescribeImageXEdgeRequestTrafficReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 Regions string `query:"Regions"` // cdn区域。支持参数:中国大陆、亚太一区、亚太二区、亚太三区、欧洲区、北美区、南美区、中东区。传入多个用英文逗号分割。不传表示不过滤。 UserCountry string `query:"UserCountry"` // 客户端国家。支持参数:中国、海外、美国等。传入多个用英文逗号分割。不传表示不过滤。 UserProvince string `query:"UserProvince"` // 客户端省份。传入多个用英文逗号分割。不传表示不过滤。 Protocols string `query:"Protocols"` // 过滤网络协议。支持参数:HTTP、HTTPS。传入多个用英文逗号分割。不传为不过滤。 Isp string `query:"Isp"` // 过滤运营商。传入多个用英文逗号分割。不传为不过滤。 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXEdgeRequestTrafficResp ¶
type DescribeImageXEdgeRequestTrafficResp struct {
TrafficData []DomainDataItem `json:"TrafficData"`
}
type DescribeImageXHitRateRequestDataReq ¶
type DescribeImageXHitRateRequestDataReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXHitRateRequestDataResp ¶
type DescribeImageXHitRateRequestDataResp struct {
HitRateData []ServiceDomainDataItem `json:"HitRateData"`
}
type DescribeImageXHitRateTrafficDataReq ¶
type DescribeImageXHitRateTrafficDataReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 DomainNames string `query:"DomainNames"` // 传入多个用英文逗号分隔 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持ServiceId,DomainName StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXHitRateTrafficDataResp ¶
type DescribeImageXHitRateTrafficDataResp struct {
HitRateData []ServiceDomainDataItem `json:"HitRateData"`
}
type DescribeImageXMirrorRequestBandwidthReq ¶
type DescribeImageXMirrorRequestBandwidthReq struct { ServiceIds []string `json:"ServiceIds"` // 服务id过滤 DomainNames []string `json:"DomainNames"` // 域名过滤 StartTime string `json:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `json:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Granularity string `json:"Granularity"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据 Interval string `json:"Interval"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据 }
type DescribeImageXMirrorRequestBandwidthResp ¶
type DescribeImageXMirrorRequestBandwidthResp struct {
Data []TSFloatItem `json:"Data"`
}
type DescribeImageXMirrorRequestHttpCodeByTimeReq ¶
type DescribeImageXMirrorRequestHttpCodeByTimeReq struct { ServiceIds []string `json:"ServiceIds"` // 服务id过滤 DomainNames []string `json:"DomainNames"` // 域名过滤 AggregateCode string `json:"AggregateCode"` // 状态码是否聚合。支持true,false。默认为false StartTime string `json:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `json:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Granularity string `json:"Granularity"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据 }
type DescribeImageXMirrorRequestHttpCodeByTimeResp ¶
type DescribeImageXMirrorRequestHttpCodeByTimeResp struct {
Data []MirrorHttpCodeDataItem `json:"Data"`
}
type DescribeImageXMirrorRequestHttpCodeOverviewReq ¶
type DescribeImageXMirrorRequestHttpCodeOverviewReq struct { ServiceIds []string `json:"ServiceIds"` DomainNames []string `json:"DomainNames"` StartTime string `json:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `json:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm AggregateCode string `json:"AggregateCode"` Granularity string `json:"Granularity"` }
type DescribeImageXMirrorRequestHttpCodeOverviewResp ¶
type DescribeImageXMirrorRequestHttpCodeOverviewResp struct {
Data []MirrorHttpCodeRespItem `json:"Data"`
}
type DescribeImageXMirrorRequestTrafficReq ¶
type DescribeImageXMirrorRequestTrafficReq struct { ServiceIds []string `json:"ServiceIds"` // 服务id过滤 DomainNames []string `json:"DomainNames"` // 域名过滤 StartTime string `json:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `json:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `json:"Interval"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据 Granularity string `json:"Granularity"` // 时间粒度。支持5m,1h,1d。不传默认查询时间段全部数据 }
type DescribeImageXMirrorRequestTrafficResp ¶
type DescribeImageXMirrorRequestTrafficResp struct {
Data []TSIntItem `json:"Data"`
}
type DescribeImageXRequestCntUsageReq ¶
type DescribeImageXRequestCntUsageReq struct { ServiceIds string `query:"ServiceIds"` // 传入多个用英文逗号分隔 AdvFeats string `query:"AdvFeats"` // 传入多个用英文逗号分隔 GroupBy string `query:"GroupBy"` // 维度拆分的维度值。不传表示不拆分维度。传入多个用英文逗号分隔。支持AdvFeat StartTime string `query:"StartTime"` // YYYY-MM-DDThh:mm:ss±hh:mm EndTime string `query:"EndTime"` // YYYY-MM-DDThh:mm:ss±hh:mm Interval string `query:"Interval"` // 时间粒度,单位秒。支持300,3600,86400。不传默认查询时间段全部数据 }
type DescribeImageXRequestCntUsageResp ¶
type DescribeImageXRequestCntUsageResp struct {
RequestCntData []RequestCntDataItem `json:"RequestCntData"`
}
type DescribeImageXSensibleCacheHitRateByTimeReq ¶
type DescribeImageXSensibleCacheHitRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` Type string `json:"Type"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXSensibleCacheHitRateByTimeResp ¶
type DescribeImageXSensibleCacheHitRateByTimeResp struct {
CacheHitData []CurveFloatItem `json:"CacheHitData"`
}
type DescribeImageXSensibleCountByTimeReq ¶
type DescribeImageXSensibleCountByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXSensibleCountByTimeResp ¶
type DescribeImageXSensibleCountByTimeResp struct {
SensibleCountData []CurveIntItem `json:"SensibleCountData"`
}
type DescribeImageXSensibleTopRamURLReq ¶
type DescribeImageXSensibleTopRamURLReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Top int `json:"Top"` OrderByIdx int `json:"OrderByIdx"` }
type DescribeImageXSensibleTopRamURLResp ¶
type DescribeImageXSensibleTopRamURLResp struct {
TopUrlData []SensibleRamItem `json:"TopUrlData"`
}
type DescribeImageXSensibleTopResolutionURLReq ¶
type DescribeImageXSensibleTopResolutionURLReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Top int `json:"Top"` OrderByIdx int `json:"OrderByIdx"` }
type DescribeImageXSensibleTopResolutionURLResp ¶
type DescribeImageXSensibleTopResolutionURLResp struct {
TopUrlData []SensibleResolutionItem `json:"TopUrlData"`
}
type DescribeImageXSensibleTopSizeURLReq ¶
type DescribeImageXSensibleTopSizeURLReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Top int `json:"Top"` OrderByIdx int `json:"OrderByIdx"` }
type DescribeImageXSensibleTopSizeURLResp ¶
type DescribeImageXSensibleTopSizeURLResp struct {
TopUrlData []SensibleSizeItem `json:"TopUrlData"`
}
type DescribeImageXSensibleTopUnknownURLReq ¶
type DescribeImageXSensibleTopUnknownURLReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` ImageType []string `json:"ImageType"` ExtraDims []ExtraDim `json:"ExtraDims"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Top int `json:"Top"` OrderByIdx int `json:"OrderByIdx"` }
type DescribeImageXSensibleTopUnknownURLResp ¶
type DescribeImageXSensibleTopUnknownURLResp struct {
TopUrlData []SensibleUnknownItem `json:"TopUrlData"`
}
type DescribeImageXServiceQualityReq ¶
type DescribeImageXServiceQualityReq struct {
Region string `query:"Region"`
}
type DescribeImageXServiceQualityResp ¶
type DescribeImageXServiceQualityResp struct { FailureRate float64 `json:"FailureRate"` UploadData UploadOverviewResp `json:"UploadData"` CdnData CdnOverviewResp `json:"CdnData"` ClientData ClientOverviewResp `json:"ClientData"` }
type DescribeImageXSummaryResp ¶
type DescribeImageXSummaryResp struct { StorageData SummaryFloatItem `json:"StorageData"` CdnBandwidthData SummaryFloatItem `json:"CdnBandwidthData"` CdnTrafficData SummaryIntItem `json:"CdnTrafficData"` RequestCntData SummaryIntItem `json:"RequestCntData"` BaseOpData SummaryIntItem `json:"BaseOpData"` }
type DescribeImageXUploadCountByTimeReq ¶
type DescribeImageXUploadCountByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadCountByTimeResp ¶
type DescribeImageXUploadCountByTimeResp struct {
UploadCountData []CurveIntItem `json:"UploadCountData"`
}
type DescribeImageXUploadDurationReq ¶
type DescribeImageXUploadDurationReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadDurationResp ¶
type DescribeImageXUploadDurationResp struct {
DurationData []CurveFloatItem `json:"DurationData"`
}
type DescribeImageXUploadErrorCodeAllReq ¶
type DescribeImageXUploadErrorCodeAllReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` GroupBy string `json:"GroupBy"` OrderBy string `json:"OrderBy"` OrderAsc bool `json:"OrderAsc"` }
type DescribeImageXUploadErrorCodeAllResp ¶
type DescribeImageXUploadErrorCodeAllResp struct {
ErrorCodeData []ErrorCodeAllItem `json:"ErrorCodeData"`
}
type DescribeImageXUploadErrorCodeByTimeReq ¶
type DescribeImageXUploadErrorCodeByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadErrorCodeByTimeResp ¶
type DescribeImageXUploadErrorCodeByTimeResp struct {
ErrorCodeData []ErrorCodeItem `json:"ErrorCodeData"`
}
type DescribeImageXUploadFileSizeReq ¶
type DescribeImageXUploadFileSizeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadFileSizeResp ¶
type DescribeImageXUploadFileSizeResp struct {
FSizeData []CurveFloatItem `json:"FSizeData"`
}
type DescribeImageXUploadSegmentSpeedByTimeReq ¶
type DescribeImageXUploadSegmentSpeedByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadSegmentSpeedByTimeResp ¶
type DescribeImageXUploadSegmentSpeedByTimeResp struct {
SpeedData []CurveFloatItem `json:"SpeedData"`
}
type DescribeImageXUploadSpeedReq ¶
type DescribeImageXUploadSpeedReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` UploadType int `json:"UploadType"` GroupBy string `json:"GroupBy"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadSpeedResp ¶
type DescribeImageXUploadSpeedResp struct {
SpeedData []CurveFloatItem `json:"SpeedData"`
}
type DescribeImageXUploadSuccessRateByTimeReq ¶
type DescribeImageXUploadSuccessRateByTimeReq struct { Appid string `json:"Appid"` AppVer []string `json:"AppVer"` OS string `json:"OS"` SdkVer []string `json:"SdkVer"` Country string `json:"Country"` Province string `json:"Province"` Isp []string `json:"Isp"` ExtraDims []ExtraDim `json:"ExtraDims"` GroupBy string `json:"GroupBy"` UploadType int `json:"UploadType"` StartTime string `json:"StartTime"` EndTime string `json:"EndTime"` Granularity string `json:"Granularity"` }
type DescribeImageXUploadSuccessRateByTimeResp ¶
type DescribeImageXUploadSuccessRateByTimeResp struct {
SuccessRateData []CurveFloatItem `json:"SuccessRateData"`
}
type DomainDataItem ¶
type DomainDataItem struct { DomainName string `json:"DomainName,omitempty"` Data []TSFloatItem `json:"Data"` }
type DomainResult ¶
type DomainResult struct { Domain string `json:"domain"` CNAME string `json:"cname"` Status string `json:"status"` HttpsConfig HttpsConfig `json:"https_config"` IsDefault bool `json:"is_default"` Resolved bool `json:"resolved"` }
GetServiceDomains
type EdgeRequestCntItem ¶
type Encryption ¶
type EncryptionInput ¶
type ErrorCodeAllDetailsItem ¶
type ErrorCodeAllItem ¶
type ErrorCodeAllItem struct { ErrorCode string `json:"ErrorCode,omitempty"` ErrorCodeDesc string `json:"ErrorCodeDesc,omitempty"` Isp string `json:"Isp,omitempty"` Domain string `json:"Domain,omitempty"` Region string `json:"Region,omitempty"` RegionType string `json:"RegionType,omitempty"` Value int64 `json:"Value"` Details []ErrorCodeAllDetailsItem `json:"Details,omitempty"` }
type ErrorCodeItem ¶
type ErrorCodeItem struct { ErrorCode string `json:"ErrorCode"` Count int64 `json:"Count"` Data []CurveIntItem `json:"Data"` }
type FetchUrlReq ¶
type FetchUrlReq struct { Url string `json:"Url"` ServiceId string `json:"ServiceId"` StoreKey string `json:"StoreKey"` RequestHeader map[string][]string `json:"RequestHeader"` TimeOut int `json:"TimeOut"` Async bool `json:"Async"` Callback string `json:"Callback"` Host string `json:"Host"` MD5 string `json:"MD5"` CallbackBodyType string `json:"CallbackBodyType"` CallbackBody string `json:"CallbackBody"` CallbackHost string `json:"CallbackHost"` IgnoreSameKey bool `json:"IgnoreSameKey"` }
FetchImageUrl
type FetchUrlResp ¶
type FetchUrlResp struct { Url string `json:"Url"` StoreUri string `json:"StoreUri"` FSize int `json:"FSize"` ImageWidth int `json:"ImageWidth,omitempty"` ImageHeight int `json:"ImageHeight,omitempty"` Duration int `json:"Duration,omitempty"` FrameCnt int `json:"FrameCnt,omitempty"` ImageFormat string `json:"ImageFormat,omitempty"` TaskId string `json:"TaskId"` }
type FileObject ¶
type GetDedupTaskStatusResult ¶
type GetDedupTaskStatusResult struct { Status int `json:"Status"` TaskId string `json:"TaskId"` Result GetImageDuplicateDetectionResult `json:"Result"` }
type GetDenoisingImageParam ¶
type GetDenoisingImageParam struct { ServiceId string `json:"-"` StoreUri string `json:"StoreUri"` ImageUrl string `json:"ImageUrl"` OutFormat string `json:"OutFormat"` Intensity float64 `json:"Intensity"` CanDemotion bool `json:"CanDemotion"` }
GetDenoisingImage
type GetDenoisingImageResult ¶
type GetImageBgFillParam ¶
type GetImageBgFillParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Model int `json:"Model"` Top float64 `json:"Top"` Bottom float64 `json:"Bottom"` Left float64 `json:"Left"` Right float64 `json:"Right"` }
GetImageBgFillResult
type GetImageBgFillResult ¶
type GetImageBgFillResult struct {
ResUri string `json:"ResUri"`
}
type GetImageComicParam ¶
type GetImageComicParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` }
GetImageComicResult
type GetImageComicResult ¶
type GetImageComicResult struct {
ResUri string `json:"ResUri"`
}
type GetImageContentBlockListReq ¶
type GetImageContentBlockListReq struct { ServiceId string `query:"ServiceId" json:"-"` State string `json:"State"` Order string `json:"Order"` StartTime int64 `json:"StartTime"` EndTime int64 `json:"EndTime"` Url string `json:"Url"` PageNum int `json:"PageNum"` PageSize int `json:"PageSize"` }
GetImageContentBlockList
type GetImageContentBlockListResp ¶
type GetImageContentBlockListResp struct { PageNum int `json:"PageNum"` PageSize int `json:"PageSize"` Total int `json:"Total"` Data []GetImageContentBlockListRespData `json:"Data"` }
type GetImageContentTaskDetailReq ¶
type GetImageContentTaskDetailReq struct { ServiceId string `query:"ServiceId" json:"-"` TaskType string `json:"TaskType"` TaskId string `json:"TaskId"` State string `json:"State"` Order string `json:"Order"` StartTime int64 `json:"StartTime"` EndTime int64 `json:"EndTime"` Url string `json:"Url"` PageNum int `json:"PageNum"` PageSize int `json:"PageSize"` }
GetImageContentTaskDetail
type GetImageContentTaskDetailResp ¶
type GetImageContentTaskDetailResp struct { PageNum int `json:"PageNum"` PageSize int `json:"PageSize"` Total int `json:"Total"` Data []GetImageContentTaskDetailRespData `json:"Data"` }
type GetImageDuplicateDetectionAsyncParam ¶
type GetImageDuplicateDetectionAsyncParam struct { GetImageDuplicateDetectionParam Callback string `json:"Callback"` }
type GetImageDuplicateDetectionCallbackBody ¶
type GetImageDuplicateDetectionCallbackBody struct { Status int `json:"Status"` TaskId string `json:"TaskId"` Result GetImageDuplicateDetectionResult `json:"Result"` }
type GetImageDuplicateDetectionParam ¶
type GetImageDuplicateDetectionParam struct { Urls []string `json:"Urls"` ServiceId string `json:"-"` }
GetImageDuplicateDetection
type GetImageEnhanceParam ¶
type GetImageEnhanceParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Model int `json:"Model"` DisableAr bool `json:"DisableAr"` DisableSharp bool `json:"DisableSharp"` Resolution string `json:"Resolution"` Actions []string `json:"Actions"` }
GetImageEnhanceResult
type GetImageEnhanceResult ¶
type GetImageEraseParam ¶
type GetImageEraseParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Model string `json:"Model"` BBox []EraseBox `json:"BBox"` }
GetImageEraseResult
type GetImageEraseResult ¶
type GetImageEraseResult struct {
ResUri string `json:"ResUri"`
}
type GetImageOCRParam ¶
type GetImageOCRResult ¶
type GetImageOCRResult struct { Scene string `json:"Scene"` GeneralResult *[]*GetImageOCRGeneralTextInfo `json:"GeneralResult"` LicenseResult *map[string]*GetImageOCRLicenseTextInfo `json:"LicenseResult"` }
GetImageOCR
type GetImagePSDetectionParam ¶
type GetImagePSDetectionParam struct { ServiceId string `json:"-"` ImageUri string `json:"ImageUri"` Method string `json:"Method"` }
GetImagePSDetection
type GetImageQualityParam ¶
type GetImageQualityParam struct { ServiceId string ImageUrl string `json:"ImageUrl"` VqType string `json:"VqType"` }
GetImageQuality
type GetImageQualityResult ¶
type GetImageSegmentParam ¶
type GetImageSegmentParam struct { ServiceId string StoreUri string `json:"StoreUri"` Class string `json:"Class"` Refine bool `json:"Refine"` OutFormat string `json:"OutFormat"` TransBg bool `json:"TransBg"` Contour *Contour `json:"Contour"` }
GetImageSegment
type GetImageSegmentResult ¶
type GetImageSegmentResult struct {
ResUri string `json:"ResUri"`
}
type GetImageSmartCropParam ¶
type GetImageSmartCropParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Policy string `json:"Policy"` Scene string `json:"Scene"` Sigma float64 `json:"Sigma"` Width int `json:"Width"` Height int `json:"Height"` }
GetImageSmartCropResult
type GetImageSmartCropResult ¶
type GetImageStyleResultReq ¶
type GetImageStyleResultReq struct { ServiceId string StyleId string `json:"StyleId"` Params map[string]string `json:"Params"` OutputFormat string `json:"OutputFormat"` OutputQuality int `json:"OutputQuality"` }
GetImageStyleResult
type GetImageStyleResultResp ¶
type GetImageSuperResolutionParam ¶
type GetImageSuperResolutionParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` Multiple float64 `json:"Multiple"` }
GetImageSuperResolutionResult
type GetImageSuperResolutionResp ¶
type GetImageSuperResolutionResp struct {
ResUri string `json:"ResUri"`
}
type GetImageUploadFileParam ¶
type GetImageUploadFileParam struct { ServiceId string `json:"ServiceId"` StoreUri string `json:"StoreUri"` }
GetImageUploadFile
type GetImageUploadFilesParam ¶
type GetImageUploadFilesParam struct { ServiceId string `json:"ServiceId"` Limit int `json:"Limit"` Marker int64 `json:"Marker"` }
GetImageUploadFiles
type GetImageUploadFilesResult ¶
type GetImageUploadFilesResult struct { ServiceId string `json:"ServiceId"` FileObjects []FileObject `json:"FileObjects"` Status string `json:"Status"` HasMore bool `json:"hasMore"` }
type GetImageXQueryAppsReq ¶
type GetImageXQueryAppsReq struct {
Source string `query:"Source"`
}
type GetImageXQueryAppsResp ¶
type GetImageXQueryAppsResp struct {
Apps []App `json:"Apps"`
}
type GetImageXQueryDimsReq ¶
type GetImageXQueryDimsResp ¶
type GetImageXQueryDimsResp struct {
Dim []string `json:"Dim"`
}
type GetImageXQueryValsReq ¶
type GetImageXQueryValsResp ¶
type GetImageXQueryValsResp struct {
DimVal []string `json:"DimVal"`
}
type GetLicensePlateDetectionParam ¶
type GetLicensePlateDetectionParam struct { ServiceId string `json:"-"` ImageUri string `json:"ImageUri"` }
GetLicensePlateDetection
type GetLicensePlateDetectionResult ¶
type GetLicensePlateDetectionResult struct {
Locations []LocationsLower `json:"Locations"`
}
type GetPrivateImageTypeParam ¶
type GetPrivateImageTypeParam struct { ServiceId string `json:"-"` ImageUri string `json:"ImageUri"` Method string `json:"Method"` ThresFace float64 `json:"ThresFace"` ThresCloth float64 `json:"ThresCloth"` }
GetPrivateImageType
type GetServicesResult ¶
type GetServicesResult struct {
Services []Service `json:"Services"`
}
GetAllImageServices
type GetUrlFetchTaskReq ¶
GetUrlFetchTask
type GetUrlFetchTaskResp ¶
type GetUrlFetchTaskResp struct { Id string `json:"Id"` Status string `json:"Status"` Url string `json:"Url"` StoreUri string `json:"StoreUri"` Callback string `json:"Callback"` CallbackBody string `json:"CallbackBody"` CallbackBodyType string `json:"CallbackBodyType"` Err string `json:"Err"` Code string `json:"Code"` }
type HttpsConfig ¶
type ImageInfo ¶
type ImageInfo struct { FileName string `json:"FileName"` ImageUri string `json:"ImageUri"` ImageWidth int `json:"ImageWidth"` ImageHeight int `json:"ImageHeight"` ImageMd5 string `json:"ImageMd5"` ImageFormat string `json:"ImageFormat"` ImageSize int `json:"ImageSize"` FrameCnt int `json:"FrameCnt"` Duration int `json:"Duration"` }
type ImageX ¶
func NewInstance ¶
func NewInstance() *ImageX
func NewInstanceWithRegion ¶
func (*ImageX) ApplyUploadImage ¶
func (c *ImageX) ApplyUploadImage(params *ApplyUploadImageParam) (*ApplyUploadImageResult, error)
ApplyImageUpload 获取图片上传地址
func (*ImageX) CommitUploadImage ¶
func (c *ImageX) CommitUploadImage(params *CommitUploadImageParam) (*CommitUploadImageResult, error)
CommitImageUpload 图片上传完成上报
func (*ImageX) CreateImageContentTask ¶
func (c *ImageX) CreateImageContentTask(req *CreateImageContentTaskReq) (*CreateImageContentTaskResp, error)
func (*ImageX) CreateImageHmEmbed ¶
func (c *ImageX) CreateImageHmEmbed(param *CreateImageHmEmbedParam) (*CreateImageHmEmbedResult, error)
func (*ImageX) CreateImageHmExtract ¶
func (c *ImageX) CreateImageHmExtract(param *CreateImageHmExtractParam) (*CreateImageHmExtractResult, error)
func (*ImageX) DeleteImages ¶
func (c *ImageX) DeleteImages(serviceId string, uris []string) (*DeleteImageResult, error)
DeleteImageUploadFiles 删除图片
func (*ImageX) DescribeImageVolcCdnAccessLog ¶
func (c *ImageX) DescribeImageVolcCdnAccessLog(req *DescribeImageVolcCdnAccessLogReq) (*DescribeImageVolcCdnAccessLogResp, error)
func (*ImageX) DescribeImageXBaseOpUsage ¶
func (c *ImageX) DescribeImageXBaseOpUsage(req *DescribeImageXBaseOpUsageReq) (*DescribeImageXBaseOpUsageResp, error)
func (*ImageX) DescribeImageXBucketUsage ¶
func (c *ImageX) DescribeImageXBucketUsage(req *DescribeImageXBucketUsageReq) (*DescribeImageXBucketUsageResp, error)
func (*ImageX) DescribeImageXCDNTopRequestData ¶
func (c *ImageX) DescribeImageXCDNTopRequestData(req *DescribeImageXCDNTopRequestDataReq) (*DescribeImageXCDNTopRequestDataResp, error)
func (*ImageX) DescribeImageXCdnDurationAll ¶
func (c *ImageX) DescribeImageXCdnDurationAll(req *DescribeImageXCdnDurationAllReq) (*DescribeImageXCdnDurationAllResp, error)
func (*ImageX) DescribeImageXCdnDurationDetailByTime ¶
func (c *ImageX) DescribeImageXCdnDurationDetailByTime(req *DescribeImageXCdnDurationDetailByTimeReq) (*DescribeImageXCdnDurationDetailByTimeResp, error)
func (*ImageX) DescribeImageXCdnErrorCodeAll ¶
func (c *ImageX) DescribeImageXCdnErrorCodeAll(req *DescribeImageXCdnErrorCodeAllReq) (*DescribeImageXCdnErrorCodeAllResp, error)
func (*ImageX) DescribeImageXCdnErrorCodeByTime ¶
func (c *ImageX) DescribeImageXCdnErrorCodeByTime(req *DescribeImageXCdnErrorCodeByTimeReq) (*DescribeImageXCdnErrorCodeByTimeResp, error)
func (*ImageX) DescribeImageXCdnProtocolRateByTime ¶
func (c *ImageX) DescribeImageXCdnProtocolRateByTime(req *DescribeImageXCdnProtocolRateByTimeReq) (*DescribeImageXCdnProtocolRateByTimeResp, error)
func (*ImageX) DescribeImageXCdnReuseRateAll ¶
func (c *ImageX) DescribeImageXCdnReuseRateAll(req *DescribeImageXCdnReuseRateAllReq) (*DescribeImageXCdnReuseRateAllResp, error)
func (*ImageX) DescribeImageXCdnReuseRateByTime ¶
func (c *ImageX) DescribeImageXCdnReuseRateByTime(req *DescribeImageXCdnReuseRateByTimeReq) (*DescribeImageXCdnReuseRateByTimeResp, error)
func (*ImageX) DescribeImageXCdnSuccessRateAll ¶
func (c *ImageX) DescribeImageXCdnSuccessRateAll(req *DescribeImageXCdnSuccessRateAllReq) (*DescribeImageXCdnSuccessRateAllResp, error)
func (*ImageX) DescribeImageXCdnSuccessRateByTime ¶
func (c *ImageX) DescribeImageXCdnSuccessRateByTime(req *DescribeImageXCdnSuccessRateByTimeReq) (*DescribeImageXCdnSuccessRateByTimeResp, error)
func (*ImageX) DescribeImageXClientCountByTime ¶
func (c *ImageX) DescribeImageXClientCountByTime(req *DescribeImageXClientCountByTimeReq) (*DescribeImageXClientCountByTimeResp, error)
func (*ImageX) DescribeImageXClientDecodeDurationByTime ¶
func (c *ImageX) DescribeImageXClientDecodeDurationByTime(req *DescribeImageXClientDecodeDurationByTimeReq) (*DescribeImageXClientDecodeDurationByTimeResp, error)
func (*ImageX) DescribeImageXClientDecodeSuccessRateByTime ¶
func (c *ImageX) DescribeImageXClientDecodeSuccessRateByTime(req *DescribeImageXClientDecodeSuccessRateByTimeReq) (*DescribeImageXClientDecodeSuccessRateByTimeResp, error)
func (*ImageX) DescribeImageXClientDemotionRateByTime ¶
func (c *ImageX) DescribeImageXClientDemotionRateByTime(req *DescribeImageXClientDemotionRateByTimeReq) (*DescribeImageXClientDemotionRateByTimeResp, error)
func (*ImageX) DescribeImageXClientErrorCodeAll ¶
func (c *ImageX) DescribeImageXClientErrorCodeAll(req *DescribeImageXClientErrorCodeAllReq) (*DescribeImageXClientErrorCodeAllResp, error)
func (*ImageX) DescribeImageXClientErrorCodeByTime ¶
func (c *ImageX) DescribeImageXClientErrorCodeByTime(req *DescribeImageXClientErrorCodeByTimeReq) (*DescribeImageXClientErrorCodeByTimeResp, error)
func (*ImageX) DescribeImageXClientFailureRate ¶
func (c *ImageX) DescribeImageXClientFailureRate(req *DescribeImageXClientFailureRateReq) (*DescribeImageXClientFailureRateResp, error)
func (*ImageX) DescribeImageXClientFileSize ¶
func (c *ImageX) DescribeImageXClientFileSize(req *DescribeImageXClientFileSizeReq) (*DescribeImageXClientFileSizeResp, error)
func (*ImageX) DescribeImageXClientLoadDuration ¶
func (c *ImageX) DescribeImageXClientLoadDuration(req *DescribeImageXClientLoadDurationReq) (*DescribeImageXClientLoadDurationResp, error)
func (*ImageX) DescribeImageXClientLoadDurationAll ¶
func (c *ImageX) DescribeImageXClientLoadDurationAll(req *DescribeImageXClientLoadDurationAllReq) (*DescribeImageXClientLoadDurationAllResp, error)
func (*ImageX) DescribeImageXClientQualityRateByTime ¶
func (c *ImageX) DescribeImageXClientQualityRateByTime(req *DescribeImageXClientQualityRateByTimeReq) (*DescribeImageXClientQualityRateByTimeResp, error)
func (*ImageX) DescribeImageXClientQueueDurationByTime ¶
func (c *ImageX) DescribeImageXClientQueueDurationByTime(req *DescribeImageXClientQueueDurationByTimeReq) (*DescribeImageXClientQueueDurationByTimeResp, error)
func (*ImageX) DescribeImageXClientScoreByTime ¶
func (c *ImageX) DescribeImageXClientScoreByTime(req *DescribeImageXClientScoreByTimeReq) (*DescribeImageXClientScoreByTimeResp, error)
func (*ImageX) DescribeImageXClientSdkVerByTime ¶
func (c *ImageX) DescribeImageXClientSdkVerByTime(req *DescribeImageXClientSdkVerByTimeReq) (*DescribeImageXClientSdkVerByTimeResp, error)
func (*ImageX) DescribeImageXClientTopDemotionURL ¶
func (c *ImageX) DescribeImageXClientTopDemotionURL(req *DescribeImageXClientTopDemotionURLReq) (*DescribeImageXClientTopDemotionURLResp, error)
func (*ImageX) DescribeImageXClientTopFileSize ¶
func (c *ImageX) DescribeImageXClientTopFileSize(req *DescribeImageXClientTopFileSizeReq) (*DescribeImageXClientTopFileSizeResp, error)
func (*ImageX) DescribeImageXClientTopQualityURL ¶
func (c *ImageX) DescribeImageXClientTopQualityURL(req *DescribeImageXClientTopQualityURLReq) (*DescribeImageXClientTopQualityURLResp, error)
func (*ImageX) DescribeImageXCompressUsage ¶
func (c *ImageX) DescribeImageXCompressUsage(req *DescribeImageXCompressUsageReq) (*DescribeImageXCompressUsageResp, error)
func (*ImageX) DescribeImageXDomainBandwidthData ¶
func (c *ImageX) DescribeImageXDomainBandwidthData(req *DescribeImageXDomainBandwidthDataReq) (*DescribeImageXDomainBandwidthDataResp, error)
func (*ImageX) DescribeImageXDomainTrafficData ¶
func (c *ImageX) DescribeImageXDomainTrafficData(req *DescribeImageXDomainTrafficDataReq) (*DescribeImageXDomainTrafficDataResp, error)
func (*ImageX) DescribeImageXEdgeRequest ¶
func (c *ImageX) DescribeImageXEdgeRequest(req *DescribeImageXEdgeRequestReq) (*DescribeImageXEdgeRequestResp, error)
func (*ImageX) DescribeImageXEdgeRequestBandwidth ¶
func (c *ImageX) DescribeImageXEdgeRequestBandwidth(req *DescribeImageXEdgeRequestBandwidthReq) (*DescribeImageXEdgeRequestBandwidthResp, error)
func (*ImageX) DescribeImageXEdgeRequestRegions ¶
func (c *ImageX) DescribeImageXEdgeRequestRegions(req *DescribeImageXEdgeRequestRegionsReq) (*DescribeImageXEdgeRequestRegionsResp, error)
func (*ImageX) DescribeImageXEdgeRequestTraffic ¶
func (c *ImageX) DescribeImageXEdgeRequestTraffic(req *DescribeImageXEdgeRequestTrafficReq) (*DescribeImageXEdgeRequestTrafficResp, error)
func (*ImageX) DescribeImageXHitRateRequestData ¶
func (c *ImageX) DescribeImageXHitRateRequestData(req *DescribeImageXHitRateRequestDataReq) (*DescribeImageXHitRateRequestDataResp, error)
func (*ImageX) DescribeImageXHitRateTrafficData ¶
func (c *ImageX) DescribeImageXHitRateTrafficData(req *DescribeImageXHitRateTrafficDataReq) (*DescribeImageXHitRateTrafficDataResp, error)
func (*ImageX) DescribeImageXMirrorRequestBandwidth ¶
func (c *ImageX) DescribeImageXMirrorRequestBandwidth(req *DescribeImageXMirrorRequestBandwidthReq) (*DescribeImageXMirrorRequestBandwidthResp, error)
func (*ImageX) DescribeImageXMirrorRequestHttpCodeByTime ¶
func (c *ImageX) DescribeImageXMirrorRequestHttpCodeByTime(req *DescribeImageXMirrorRequestHttpCodeByTimeReq) (*DescribeImageXMirrorRequestHttpCodeByTimeResp, error)
func (*ImageX) DescribeImageXMirrorRequestHttpCodeOverview ¶
func (c *ImageX) DescribeImageXMirrorRequestHttpCodeOverview(req *DescribeImageXMirrorRequestHttpCodeOverviewReq) (*DescribeImageXMirrorRequestHttpCodeOverviewResp, error)
func (*ImageX) DescribeImageXMirrorRequestTraffic ¶
func (c *ImageX) DescribeImageXMirrorRequestTraffic(req *DescribeImageXMirrorRequestTrafficReq) (*DescribeImageXMirrorRequestTrafficResp, error)
func (*ImageX) DescribeImageXRequestCntUsage ¶
func (c *ImageX) DescribeImageXRequestCntUsage(req *DescribeImageXRequestCntUsageReq) (*DescribeImageXRequestCntUsageResp, error)
func (*ImageX) DescribeImageXSensibleCacheHitRateByTime ¶
func (c *ImageX) DescribeImageXSensibleCacheHitRateByTime(req *DescribeImageXSensibleCacheHitRateByTimeReq) (*DescribeImageXSensibleCacheHitRateByTimeResp, error)
func (*ImageX) DescribeImageXSensibleCountByTime ¶
func (c *ImageX) DescribeImageXSensibleCountByTime(req *DescribeImageXSensibleCountByTimeReq) (*DescribeImageXSensibleCountByTimeResp, error)
func (*ImageX) DescribeImageXSensibleTopRamURL ¶
func (c *ImageX) DescribeImageXSensibleTopRamURL(req *DescribeImageXSensibleTopRamURLReq) (*DescribeImageXSensibleTopRamURLResp, error)
func (*ImageX) DescribeImageXSensibleTopResolutionURL ¶
func (c *ImageX) DescribeImageXSensibleTopResolutionURL(req *DescribeImageXSensibleTopResolutionURLReq) (*DescribeImageXSensibleTopResolutionURLResp, error)
func (*ImageX) DescribeImageXSensibleTopSizeURL ¶
func (c *ImageX) DescribeImageXSensibleTopSizeURL(req *DescribeImageXSensibleTopSizeURLReq) (*DescribeImageXSensibleTopSizeURLResp, error)
func (*ImageX) DescribeImageXSensibleTopUnknownURL ¶
func (c *ImageX) DescribeImageXSensibleTopUnknownURL(req *DescribeImageXSensibleTopUnknownURLReq) (*DescribeImageXSensibleTopUnknownURLResp, error)
func (*ImageX) DescribeImageXServiceQuality ¶
func (c *ImageX) DescribeImageXServiceQuality(req *DescribeImageXServiceQualityReq) (*DescribeImageXServiceQualityResp, error)
func (*ImageX) DescribeImageXSummary ¶
func (c *ImageX) DescribeImageXSummary(req *DescribeImageXSummaryReq) (*DescribeImageXSummaryResp, error)
func (*ImageX) DescribeImageXUploadCountByTime ¶
func (c *ImageX) DescribeImageXUploadCountByTime(req *DescribeImageXUploadCountByTimeReq) (*DescribeImageXUploadCountByTimeResp, error)
func (*ImageX) DescribeImageXUploadDuration ¶
func (c *ImageX) DescribeImageXUploadDuration(req *DescribeImageXUploadDurationReq) (*DescribeImageXUploadDurationResp, error)
func (*ImageX) DescribeImageXUploadErrorCodeAll ¶
func (c *ImageX) DescribeImageXUploadErrorCodeAll(req *DescribeImageXUploadErrorCodeAllReq) (*DescribeImageXUploadErrorCodeAllResp, error)
func (*ImageX) DescribeImageXUploadErrorCodeByTime ¶
func (c *ImageX) DescribeImageXUploadErrorCodeByTime(req *DescribeImageXUploadErrorCodeByTimeReq) (*DescribeImageXUploadErrorCodeByTimeResp, error)
func (*ImageX) DescribeImageXUploadFileSize ¶
func (c *ImageX) DescribeImageXUploadFileSize(req *DescribeImageXUploadFileSizeReq) (*DescribeImageXUploadFileSizeResp, error)
func (*ImageX) DescribeImageXUploadSegmentSpeedByTime ¶
func (c *ImageX) DescribeImageXUploadSegmentSpeedByTime(req *DescribeImageXUploadSegmentSpeedByTimeReq) (*DescribeImageXUploadSegmentSpeedByTimeResp, error)
func (*ImageX) DescribeImageXUploadSpeed ¶
func (c *ImageX) DescribeImageXUploadSpeed(req *DescribeImageXUploadSpeedReq) (*DescribeImageXUploadSpeedResp, error)
func (*ImageX) DescribeImageXUploadSuccessRateByTime ¶
func (c *ImageX) DescribeImageXUploadSuccessRateByTime(req *DescribeImageXUploadSuccessRateByTimeReq) (*DescribeImageXUploadSuccessRateByTimeResp, error)
func (*ImageX) FetchImageUrl ¶
func (c *ImageX) FetchImageUrl(req *FetchUrlReq) (*FetchUrlResp, error)
func (*ImageX) GetDedupTaskStatus ¶
func (c *ImageX) GetDedupTaskStatus(taskId string) (*GetDedupTaskStatusResult, error)
func (*ImageX) GetDenoisingImage ¶
func (c *ImageX) GetDenoisingImage(param *GetDenoisingImageParam) (*GetDenoisingImageResult, error)
func (*ImageX) GetImageBgFill ¶
func (c *ImageX) GetImageBgFill(param *GetImageBgFillParam) (*GetImageBgFillResult, error)
func (*ImageX) GetImageComic ¶
func (c *ImageX) GetImageComic(param *GetImageComicParam) (*GetImageComicResult, error)
func (*ImageX) GetImageContentBlockList ¶
func (c *ImageX) GetImageContentBlockList(req *GetImageContentBlockListReq) (*GetImageContentBlockListResp, error)
func (*ImageX) GetImageContentTaskDetail ¶
func (c *ImageX) GetImageContentTaskDetail(req *GetImageContentTaskDetailReq) (*GetImageContentTaskDetailResp, error)
func (*ImageX) GetImageDomains ¶
func (c *ImageX) GetImageDomains(serviceId string) ([]DomainResult, error)
GetServiceDomains 获取服务下的所有域名
func (*ImageX) GetImageDuplicateDetection ¶
func (c *ImageX) GetImageDuplicateDetection(param *GetImageDuplicateDetectionParam) (*GetImageDuplicateDetectionResult, error)
func (*ImageX) GetImageDuplicateDetectionAsync ¶
func (c *ImageX) GetImageDuplicateDetectionAsync(param *GetImageDuplicateDetectionAsyncParam) (*GetImageDuplicateDetectionAsyncResult, error)
func (*ImageX) GetImageEnhance ¶
func (c *ImageX) GetImageEnhance(param *GetImageEnhanceParam) (*GetImageEnhanceResult, error)
func (*ImageX) GetImageEnhanceWithData ¶
func (*ImageX) GetImageErase ¶
func (c *ImageX) GetImageErase(param *GetImageEraseParam) (*GetImageEraseResult, error)
func (*ImageX) GetImageEraseModel ¶
func (*ImageX) GetImageOCRV2 ¶
func (c *ImageX) GetImageOCRV2(req *GetImageOCRParam) (*GetImageOCRResult, error)
func (*ImageX) GetImagePSDetection ¶
func (c *ImageX) GetImagePSDetection(param *GetImagePSDetectionParam) (*GetImagePSDetectionResult, error)
func (*ImageX) GetImageQuality ¶
func (c *ImageX) GetImageQuality(param *GetImageQualityParam) (*GetImageQualityResult, error)
func (*ImageX) GetImageSegment ¶
func (c *ImageX) GetImageSegment(param *GetImageSegmentParam) (*GetImageSegmentResult, error)
func (*ImageX) GetImageServices ¶
func (c *ImageX) GetImageServices(searchPtn string) (*GetServicesResult, error)
GetAllImageServices 获取所有服务信息
func (*ImageX) GetImageSmartCrop ¶
func (c *ImageX) GetImageSmartCrop(param *GetImageSmartCropParam) (*GetImageSmartCropResult, error)
func (*ImageX) GetImageStyleResult ¶
func (c *ImageX) GetImageStyleResult(req *GetImageStyleResultReq) (*GetImageStyleResultResp, error)
func (*ImageX) GetImageSuperResolution ¶
func (c *ImageX) GetImageSuperResolution(param *GetImageSuperResolutionParam) (*GetImageSuperResolutionResp, error)
func (*ImageX) GetImageUploadFile ¶
func (c *ImageX) GetImageUploadFile(param *GetImageUploadFileParam) (*GetImageUploadFileResult, error)
func (*ImageX) GetImageUploadFiles ¶
func (c *ImageX) GetImageUploadFiles(param *GetImageUploadFilesParam) (*GetImageUploadFilesResult, error)
func (*ImageX) GetImageXQueryApps ¶
func (c *ImageX) GetImageXQueryApps(req *GetImageXQueryAppsReq) (*GetImageXQueryAppsResp, error)
func (*ImageX) GetImageXQueryDims ¶
func (c *ImageX) GetImageXQueryDims(req *GetImageXQueryDimsReq) (*GetImageXQueryDimsResp, error)
func (*ImageX) GetImageXQueryRegions ¶
func (c *ImageX) GetImageXQueryRegions(req *GetImageXQueryRegionsReq) (*GetImageXQueryRegionsResp, error)
func (*ImageX) GetImageXQueryVals ¶
func (c *ImageX) GetImageXQueryVals(req *GetImageXQueryValsReq) (*GetImageXQueryValsResp, error)
func (*ImageX) GetLicensePlateDetection ¶
func (c *ImageX) GetLicensePlateDetection(param *GetLicensePlateDetectionParam) (*GetLicensePlateDetectionResult, error)
func (*ImageX) GetPrivateImageType ¶
func (c *ImageX) GetPrivateImageType(param *GetPrivateImageTypeParam) (*GetPrivateImageTypeResult, error)
func (*ImageX) GetUploadAuth ¶
func (c *ImageX) GetUploadAuth(serviceIds []string, opt ...UploadAuthOpt) (*base.SecurityToken2, error)
获取上传临时密钥
func (*ImageX) GetUploadAuthToken ¶
获取临时上传凭证
func (*ImageX) GetUploadAuthWithExpire ¶
func (c *ImageX) GetUploadAuthWithExpire(serviceIds []string, expire time.Duration, opt ...UploadAuthOpt) (*base.SecurityToken2, error)
获取上传临时密钥
func (*ImageX) GetUrlFetchTask ¶
func (c *ImageX) GetUrlFetchTask(req *GetUrlFetchTaskReq) (*GetUrlFetchTaskResp, error)
func (*ImageX) ImageXPost ¶
func (*ImageX) SegmentedUploadImages ¶
func (c *ImageX) SegmentedUploadImages(ctx context.Context, params *ApplyUploadImageParam, content []io.Reader, size []int64) (*CommitUploadImageResult, error)
上传图片 请确保 content 长度和 size 长度一致
func (*ImageX) UpdateImageStorageTTL ¶
func (c *ImageX) UpdateImageStorageTTL(req *UpdateImageStorageTTLReq) (*UpdateImageStorageTTLResp, error)
func (*ImageX) UploadImages ¶
func (c *ImageX) UploadImages(params *ApplyUploadImageParam, images [][]byte) (*CommitUploadImageResult, error)
上传图片
type LocationsLower ¶
type MirrorHttpCodeDataItem ¶
type MirrorHttpCodeRespItem ¶
type MirrorHttpCodeRespItem struct { Domain string `json:"Domain"` Count int64 `json:"Count"` Details []MirrorHttpCodeDetailsItem `json:"Details"` }
type QueryMarshalFilter ¶
func SkipEmptyValue ¶
func SkipEmptyValue() QueryMarshalFilter
type RequestCntDataItem ¶
type RequestCntDataItem struct { AdvFeat string `json:"AdvFeat,omitempty"` Data []TSFloatItem `json:"Data"` }
type Result ¶
type Result struct { Uri string `json:"Uri"` UriStatus int `json:"UriStatus"` // 图片上传结果(2000:成功,2001:失败)需要传 SuccessOids 才会返回 Encryption Encryption `json:"Encryption"` }
type SdkVerItem ¶
type SdkVerItem struct { SdkVer string `json:"SdkVer"` Count int64 `json:"Count"` Data []CurveDataIntItem `json:"Data"` }
type SensibleRamItem ¶
type SensibleResolutionItem ¶
type SensibleResolutionItem struct { ActivityViewTree string `json:"ActivityViewTree"` Count int64 `json:"Count"` URL string `json:"URL"` BizTag string `json:"BizTag"` ImageHeight int64 `json:"ImageHeight"` ImageWidth int64 `json:"ImageWidth"` ViewHeight int64 `json:"ViewHeight"` ViewWidth int64 `json:"ViewWidth"` }
type SensibleSizeItem ¶
type SensibleUnknownItem ¶
type SensibleUnknownItem struct { ActivityViewTree string `json:"ActivityViewTree"` Count int64 `json:"Count"` URL string `json:"URL"` BizTag string `json:"BizTag"` ImageHeight int64 `json:"ImageHeight"` ImageWidth int64 `json:"ImageWidth"` ViewHeight int64 `json:"ViewHeight"` ViewWidth int64 `json:"ViewWidth"` FileSize int64 `json:"FileSize"` RamSize int64 `json:"RamSize"` }
type Service ¶
type Service struct { ServiceName string `json:"ServiceName"` ServiceId string `json:"ServiceId"` ServiceRegion string `json:"ServiceRegion"` CreateAt string `json:"CreateAt"` ServiceStatus string `json:"ServiceStatus"` HasSigkey bool `json:"HasSigkey"` TemplatePrefix string `json:"TemplatePrefix"` DomainInfos []Domain `json:"DomainInfos"` PrimaryKey string `json:"PrimaryKey"` SecondaryKey string `json:"SecondaryKey"` ObjectAccess bool `json:"ObjectAccess"` CompactURL bool `json:"CompactURL"` Mirror Mirror `json:"Mirror"` Storage Storage `json:"Storage"` AllowBkts []string `json:"AllowBkts"` }
GetImageService
type ServiceDomainDataItem ¶
type ServiceDomainDataItem struct { ServiceId string `json:"ServiceId,omitempty"` DomainName string `json:"DomainName,omitempty"` Data []TSFloatItem `json:"Data"` }
type StorageDataItem ¶
type StorageDataItem struct { ServiceId string `json:"ServiceId,omitempty"` BucketName string `json:"BucketName,omitempty"` Data []TSFloatItem `json:"Data"` }
type SummaryFloatItem ¶
type SummaryFloatItem struct {
Value float64 `json:"Value"`
}
type SummaryIntItem ¶
type SummaryIntItem struct {
Value int64 `json:"Value"`
}
type TSFloatItem ¶
type TopValueItem ¶
type UpdateImageStorageTTLReq ¶
UpdateImageStorageTTL
type UpdateImageStorageTTLResp ¶
type UpdateImageStorageTTLResp struct { }
type UploadAddress ¶
type UploadAuthOpt ¶
type UploadAuthOpt func(option *uploadAuthOption)
func WithUploadKeyPtn ¶
func WithUploadKeyPtn(ptn string) UploadAuthOpt