Documentation ¶
Index ¶
- Constants
- type AIAnalysisTemplateItem
- type AIRecognitionTemplateItem
- type AccelerateAreaInfo
- type AdaptiveDynamicStreamingInfoItem
- type AdaptiveDynamicStreamingTaskInput
- type AdaptiveDynamicStreamingTemplate
- type AdaptiveStreamTemplate
- type AiAnalysisResult
- type AiAnalysisTaskClassificationInput
- type AiAnalysisTaskClassificationOutput
- type AiAnalysisTaskClassificationResult
- type AiAnalysisTaskCoverInput
- type AiAnalysisTaskCoverOutput
- type AiAnalysisTaskCoverResult
- type AiAnalysisTaskFrameTagInput
- type AiAnalysisTaskFrameTagOutput
- type AiAnalysisTaskFrameTagResult
- type AiAnalysisTaskHighlightInput
- type AiAnalysisTaskHighlightOutput
- type AiAnalysisTaskHighlightResult
- type AiAnalysisTaskInput
- type AiAnalysisTaskTagInput
- type AiAnalysisTaskTagOutput
- type AiAnalysisTaskTagResult
- type AiContentReviewResult
- type AiContentReviewTaskInput
- type AiRecognitionResult
- type AiRecognitionTaskAsrFullTextResult
- type AiRecognitionTaskAsrFullTextResultInput
- type AiRecognitionTaskAsrFullTextResultOutput
- type AiRecognitionTaskAsrFullTextResultOutputSubtitleItem
- type AiRecognitionTaskAsrFullTextSegmentItem
- type AiRecognitionTaskAsrWordsResult
- type AiRecognitionTaskAsrWordsResultInput
- type AiRecognitionTaskAsrWordsResultItem
- type AiRecognitionTaskAsrWordsResultOutput
- type AiRecognitionTaskAsrWordsSegmentItem
- type AiRecognitionTaskFaceResult
- type AiRecognitionTaskFaceResultInput
- type AiRecognitionTaskFaceResultItem
- type AiRecognitionTaskFaceResultOutput
- type AiRecognitionTaskFaceSegmentItem
- type AiRecognitionTaskHeadTailResult
- type AiRecognitionTaskHeadTailResultInput
- type AiRecognitionTaskHeadTailResultOutput
- type AiRecognitionTaskInput
- type AiRecognitionTaskObjectResult
- type AiRecognitionTaskObjectResultInput
- type AiRecognitionTaskObjectResultItem
- type AiRecognitionTaskObjectResultOutput
- type AiRecognitionTaskObjectSeqmentItem
- type AiRecognitionTaskOcrFullTextResult
- type AiRecognitionTaskOcrFullTextResultInput
- type AiRecognitionTaskOcrFullTextResultOutput
- type AiRecognitionTaskOcrFullTextSegmentItem
- type AiRecognitionTaskOcrFullTextSegmentTextItem
- type AiRecognitionTaskOcrWordsResult
- type AiRecognitionTaskOcrWordsResultInput
- type AiRecognitionTaskOcrWordsResultItem
- type AiRecognitionTaskOcrWordsResultOutput
- type AiRecognitionTaskOcrWordsSegmentItem
- type AiRecognitionTaskSegmentResult
- type AiRecognitionTaskSegmentResultInput
- type AiRecognitionTaskSegmentResultOutput
- type AiRecognitionTaskSegmentSegmentItem
- type AiReviewPoliticalAsrTaskInput
- type AiReviewPoliticalAsrTaskOutput
- type AiReviewPoliticalOcrTaskInput
- type AiReviewPoliticalOcrTaskOutput
- type AiReviewPoliticalTaskInput
- type AiReviewPoliticalTaskOutput
- type AiReviewPornAsrTaskInput
- type AiReviewPornAsrTaskOutput
- type AiReviewPornOcrTaskInput
- type AiReviewPornOcrTaskOutput
- type AiReviewPornTaskInput
- type AiReviewPornTaskOutput
- type AiReviewProhibitedAsrTaskInput
- type AiReviewProhibitedAsrTaskOutput
- type AiReviewProhibitedOcrTaskInput
- type AiReviewProhibitedOcrTaskOutput
- type AiReviewTaskPoliticalAsrResult
- type AiReviewTaskPoliticalOcrResult
- type AiReviewTaskPoliticalResult
- type AiReviewTaskPornAsrResult
- type AiReviewTaskPornOcrResult
- type AiReviewTaskPornResult
- type AiReviewTaskProhibitedAsrResult
- type AiReviewTaskProhibitedOcrResult
- type AiReviewTaskTerrorismOcrResult
- type AiReviewTaskTerrorismResult
- type AiReviewTerrorismOcrTaskInput
- type AiReviewTerrorismOcrTaskOutput
- type AiReviewTerrorismTaskInput
- type AiReviewTerrorismTaskOutput
- type AiSampleFaceInfo
- type AiSampleFaceOperation
- type AiSampleFailFaceInfo
- type AiSamplePerson
- type AiSampleTagOperation
- type AiSampleWord
- type AiSampleWordInfo
- type AnimatedGraphicTaskInput
- type AnimatedGraphicsTemplate
- type ApplyUploadRequest
- type ApplyUploadRequestParams
- type ApplyUploadResponse
- type ApplyUploadResponseParams
- type AsrFullTextConfigureInfo
- type AsrFullTextConfigureInfoForUpdate
- type AsrWordsConfigureInfo
- type AsrWordsConfigureInfoForUpdate
- type AttachMediaSubtitlesRequest
- type AttachMediaSubtitlesRequestParams
- type AttachMediaSubtitlesResponse
- type AttachMediaSubtitlesResponseParams
- type AudioTemplateInfo
- type AudioTemplateInfoForUpdate
- type AudioTrackItem
- type AudioTransform
- type AudioVolumeParam
- type Canvas
- type CdnLogInfo
- type ClassificationConfigureInfo
- type ClassificationConfigureInfoForUpdate
- type Client
- func (c *Client) ApplyUpload(request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)
- func (c *Client) ApplyUploadWithContext(ctx context.Context, request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)
- func (c *Client) AttachMediaSubtitles(request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)
- func (c *Client) AttachMediaSubtitlesWithContext(ctx context.Context, request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)
- func (c *Client) CommitUpload(request *CommitUploadRequest) (response *CommitUploadResponse, err error)
- func (c *Client) CommitUploadWithContext(ctx context.Context, request *CommitUploadRequest) (response *CommitUploadResponse, err error)
- func (c *Client) ComposeMedia(request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)
- func (c *Client) ComposeMediaWithContext(ctx context.Context, request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)
- func (c *Client) ConfirmEvents(request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)
- func (c *Client) ConfirmEventsWithContext(ctx context.Context, request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)
- func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
- func (c *Client) CreateAIAnalysisTemplateWithContext(ctx context.Context, request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
- func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
- func (c *Client) CreateAIRecognitionTemplateWithContext(ctx context.Context, request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
- func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) CreateAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) CreateAnimatedGraphicsTemplateWithContext(ctx context.Context, request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) CreateClass(request *CreateClassRequest) (response *CreateClassResponse, err error)
- func (c *Client) CreateClassWithContext(ctx context.Context, request *CreateClassRequest) (response *CreateClassResponse, err error)
- func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
- func (c *Client) CreateContentReviewTemplateWithContext(ctx context.Context, request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
- func (c *Client) CreateImageProcessingTemplate(request *CreateImageProcessingTemplateRequest) (response *CreateImageProcessingTemplateResponse, err error)
- func (c *Client) CreateImageProcessingTemplateWithContext(ctx context.Context, request *CreateImageProcessingTemplateRequest) (response *CreateImageProcessingTemplateResponse, err error)
- func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
- func (c *Client) CreateImageSpriteTemplateWithContext(ctx context.Context, request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
- func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
- func (c *Client) CreatePersonSampleWithContext(ctx context.Context, request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
- func (c *Client) CreateProcedureTemplate(request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)
- func (c *Client) CreateProcedureTemplateWithContext(ctx context.Context, request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)
- func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
- func (c *Client) CreateSampleSnapshotTemplateWithContext(ctx context.Context, request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
- func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) CreateSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) CreateStorageRegion(request *CreateStorageRegionRequest) (response *CreateStorageRegionResponse, err error)
- func (c *Client) CreateStorageRegionWithContext(ctx context.Context, request *CreateStorageRegionRequest) (response *CreateStorageRegionResponse, err error)
- func (c *Client) CreateSubAppId(request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)
- func (c *Client) CreateSubAppIdWithContext(ctx context.Context, request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)
- func (c *Client) CreateSuperPlayerConfig(request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)
- func (c *Client) CreateSuperPlayerConfigWithContext(ctx context.Context, request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)
- func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
- func (c *Client) CreateTranscodeTemplateWithContext(ctx context.Context, request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
- func (c *Client) CreateVodDomain(request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)
- func (c *Client) CreateVodDomainWithContext(ctx context.Context, request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)
- func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
- func (c *Client) CreateWatermarkTemplateWithContext(ctx context.Context, request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
- func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
- func (c *Client) CreateWordSamplesWithContext(ctx context.Context, request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
- func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
- func (c *Client) DeleteAIAnalysisTemplateWithContext(ctx context.Context, request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
- func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
- func (c *Client) DeleteAIRecognitionTemplateWithContext(ctx context.Context, request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
- func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) DeleteAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) DeleteAnimatedGraphicsTemplateWithContext(ctx context.Context, request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) DeleteClass(request *DeleteClassRequest) (response *DeleteClassResponse, err error)
- func (c *Client) DeleteClassWithContext(ctx context.Context, request *DeleteClassRequest) (response *DeleteClassResponse, err error)
- func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
- func (c *Client) DeleteContentReviewTemplateWithContext(ctx context.Context, request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
- func (c *Client) DeleteImageProcessingTemplate(request *DeleteImageProcessingTemplateRequest) (response *DeleteImageProcessingTemplateResponse, err error)
- func (c *Client) DeleteImageProcessingTemplateWithContext(ctx context.Context, request *DeleteImageProcessingTemplateRequest) (response *DeleteImageProcessingTemplateResponse, err error)
- func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
- func (c *Client) DeleteImageSpriteTemplateWithContext(ctx context.Context, request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
- func (c *Client) DeleteMedia(request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)
- func (c *Client) DeleteMediaWithContext(ctx context.Context, request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)
- func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
- func (c *Client) DeletePersonSampleWithContext(ctx context.Context, request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
- func (c *Client) DeleteProcedureTemplate(request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)
- func (c *Client) DeleteProcedureTemplateWithContext(ctx context.Context, request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)
- func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
- func (c *Client) DeleteSampleSnapshotTemplateWithContext(ctx context.Context, request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
- func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) DeleteSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) DeleteSuperPlayerConfig(request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)
- func (c *Client) DeleteSuperPlayerConfigWithContext(ctx context.Context, request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)
- func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
- func (c *Client) DeleteTranscodeTemplateWithContext(ctx context.Context, request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
- func (c *Client) DeleteVodDomain(request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)
- func (c *Client) DeleteVodDomainWithContext(ctx context.Context, request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)
- func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
- func (c *Client) DeleteWatermarkTemplateWithContext(ctx context.Context, request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
- func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
- func (c *Client) DeleteWordSamplesWithContext(ctx context.Context, request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
- func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
- func (c *Client) DescribeAIAnalysisTemplatesWithContext(ctx context.Context, request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
- func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
- func (c *Client) DescribeAIRecognitionTemplatesWithContext(ctx context.Context, request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
- func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
- func (c *Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext(ctx context.Context, request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
- func (c *Client) DescribeAllClass(request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)
- func (c *Client) DescribeAllClassWithContext(ctx context.Context, request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)
- func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
- func (c *Client) DescribeAnimatedGraphicsTemplatesWithContext(ctx context.Context, request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
- func (c *Client) DescribeCDNStatDetails(request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)
- func (c *Client) DescribeCDNStatDetailsWithContext(ctx context.Context, request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)
- func (c *Client) DescribeCDNUsageData(request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)
- func (c *Client) DescribeCDNUsageDataWithContext(ctx context.Context, request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)
- func (c *Client) DescribeCdnLogs(request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)
- func (c *Client) DescribeCdnLogsWithContext(ctx context.Context, request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)
- func (c *Client) DescribeClientUploadAccelerationUsageData(request *DescribeClientUploadAccelerationUsageDataRequest) (response *DescribeClientUploadAccelerationUsageDataResponse, err error)
- func (c *Client) DescribeClientUploadAccelerationUsageDataWithContext(ctx context.Context, request *DescribeClientUploadAccelerationUsageDataRequest) (response *DescribeClientUploadAccelerationUsageDataResponse, err error)
- func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
- func (c *Client) DescribeContentReviewTemplatesWithContext(ctx context.Context, request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
- func (c *Client) DescribeDailyPlayStatFileList(request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)
- func (c *Client) DescribeDailyPlayStatFileListWithContext(ctx context.Context, request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)
- func (c *Client) DescribeDrmKeyProviderInfo(request *DescribeDrmKeyProviderInfoRequest) (response *DescribeDrmKeyProviderInfoResponse, err error)
- func (c *Client) DescribeDrmKeyProviderInfoWithContext(ctx context.Context, request *DescribeDrmKeyProviderInfoRequest) (response *DescribeDrmKeyProviderInfoResponse, err error)
- func (c *Client) DescribeFileAttributes(request *DescribeFileAttributesRequest) (response *DescribeFileAttributesResponse, err error)
- func (c *Client) DescribeFileAttributesWithContext(ctx context.Context, request *DescribeFileAttributesRequest) (response *DescribeFileAttributesResponse, err error)
- func (c *Client) DescribeImageProcessingTemplates(request *DescribeImageProcessingTemplatesRequest) (response *DescribeImageProcessingTemplatesResponse, err error)
- func (c *Client) DescribeImageProcessingTemplatesWithContext(ctx context.Context, request *DescribeImageProcessingTemplatesRequest) (response *DescribeImageProcessingTemplatesResponse, err error)
- func (c *Client) DescribeImageReviewUsageData(request *DescribeImageReviewUsageDataRequest) (response *DescribeImageReviewUsageDataResponse, err error)
- func (c *Client) DescribeImageReviewUsageDataWithContext(ctx context.Context, request *DescribeImageReviewUsageDataRequest) (response *DescribeImageReviewUsageDataResponse, err error)
- func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
- func (c *Client) DescribeImageSpriteTemplatesWithContext(ctx context.Context, request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
- func (c *Client) DescribeLicenseUsageData(request *DescribeLicenseUsageDataRequest) (response *DescribeLicenseUsageDataResponse, err error)
- func (c *Client) DescribeLicenseUsageDataWithContext(ctx context.Context, request *DescribeLicenseUsageDataRequest) (response *DescribeLicenseUsageDataResponse, err error)
- func (c *Client) DescribeMediaInfos(request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)
- func (c *Client) DescribeMediaInfosWithContext(ctx context.Context, request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)
- func (c *Client) DescribeMediaPlayStatDetails(request *DescribeMediaPlayStatDetailsRequest) (response *DescribeMediaPlayStatDetailsResponse, err error)
- func (c *Client) DescribeMediaPlayStatDetailsWithContext(ctx context.Context, request *DescribeMediaPlayStatDetailsRequest) (response *DescribeMediaPlayStatDetailsResponse, err error)
- func (c *Client) DescribeMediaProcessUsageData(request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)
- func (c *Client) DescribeMediaProcessUsageDataWithContext(ctx context.Context, request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)
- func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
- func (c *Client) DescribePersonSamplesWithContext(ctx context.Context, request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
- func (c *Client) DescribeProcedureTemplates(request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)
- func (c *Client) DescribeProcedureTemplatesWithContext(ctx context.Context, request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)
- func (c *Client) DescribeReviewDetails(request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)
- func (c *Client) DescribeReviewDetailsWithContext(ctx context.Context, request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)
- func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeSampleSnapshotTemplatesWithContext(ctx context.Context, request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
- func (c *Client) DescribeSnapshotByTimeOffsetTemplatesWithContext(ctx context.Context, request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
- func (c *Client) DescribeStorageData(request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)
- func (c *Client) DescribeStorageDataWithContext(ctx context.Context, request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)
- func (c *Client) DescribeStorageDetails(request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)
- func (c *Client) DescribeStorageDetailsWithContext(ctx context.Context, request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)
- func (c *Client) DescribeStorageRegions(request *DescribeStorageRegionsRequest) (response *DescribeStorageRegionsResponse, err error)
- func (c *Client) DescribeStorageRegionsWithContext(ctx context.Context, request *DescribeStorageRegionsRequest) (response *DescribeStorageRegionsResponse, err error)
- func (c *Client) DescribeSubAppIds(request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)
- func (c *Client) DescribeSubAppIdsWithContext(ctx context.Context, request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)
- func (c *Client) DescribeSuperPlayerConfigs(request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)
- func (c *Client) DescribeSuperPlayerConfigsWithContext(ctx context.Context, request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)
- func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeTranscodeTemplatesWithContext(ctx context.Context, request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeVodDomains(request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)
- func (c *Client) DescribeVodDomainsWithContext(ctx context.Context, request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)
- func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
- func (c *Client) DescribeWatermarkTemplatesWithContext(ctx context.Context, request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
- func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
- func (c *Client) DescribeWordSamplesWithContext(ctx context.Context, request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
- func (c *Client) ExecuteFunction(request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
- func (c *Client) ExecuteFunctionWithContext(ctx context.Context, request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
- func (c *Client) ExtractTraceWatermark(request *ExtractTraceWatermarkRequest) (response *ExtractTraceWatermarkResponse, err error)
- func (c *Client) ExtractTraceWatermarkWithContext(ctx context.Context, request *ExtractTraceWatermarkRequest) (response *ExtractTraceWatermarkResponse, err error)
- func (c *Client) ForbidMediaDistribution(request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)
- func (c *Client) ForbidMediaDistributionWithContext(ctx context.Context, request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)
- func (c *Client) LiveRealTimeClip(request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)
- func (c *Client) LiveRealTimeClipWithContext(ctx context.Context, request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)
- func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)
- func (c *Client) ManageTaskWithContext(ctx context.Context, request *ManageTaskRequest) (response *ManageTaskResponse, err error)
- func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
- func (c *Client) ModifyAIAnalysisTemplateWithContext(ctx context.Context, request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
- func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
- func (c *Client) ModifyAIRecognitionTemplateWithContext(ctx context.Context, request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
- func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) ModifyAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) ModifyAnimatedGraphicsTemplateWithContext(ctx context.Context, request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) ModifyClass(request *ModifyClassRequest) (response *ModifyClassResponse, err error)
- func (c *Client) ModifyClassWithContext(ctx context.Context, request *ModifyClassRequest) (response *ModifyClassResponse, err error)
- func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
- func (c *Client) ModifyContentReviewTemplateWithContext(ctx context.Context, request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
- func (c *Client) ModifyDefaultStorageRegion(request *ModifyDefaultStorageRegionRequest) (response *ModifyDefaultStorageRegionResponse, err error)
- func (c *Client) ModifyDefaultStorageRegionWithContext(ctx context.Context, request *ModifyDefaultStorageRegionRequest) (response *ModifyDefaultStorageRegionResponse, err error)
- func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
- func (c *Client) ModifyImageSpriteTemplateWithContext(ctx context.Context, request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
- func (c *Client) ModifyMediaInfo(request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)
- func (c *Client) ModifyMediaInfoWithContext(ctx context.Context, request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)
- func (c *Client) ModifyMediaStorageClass(request *ModifyMediaStorageClassRequest) (response *ModifyMediaStorageClassResponse, err error)
- func (c *Client) ModifyMediaStorageClassWithContext(ctx context.Context, request *ModifyMediaStorageClassRequest) (response *ModifyMediaStorageClassResponse, err error)
- func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
- func (c *Client) ModifyPersonSampleWithContext(ctx context.Context, request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
- func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
- func (c *Client) ModifySampleSnapshotTemplateWithContext(ctx context.Context, request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
- func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) ModifySnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) ModifySubAppIdInfo(request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)
- func (c *Client) ModifySubAppIdInfoWithContext(ctx context.Context, request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)
- func (c *Client) ModifySubAppIdStatus(request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)
- func (c *Client) ModifySubAppIdStatusWithContext(ctx context.Context, request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)
- func (c *Client) ModifySuperPlayerConfig(request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)
- func (c *Client) ModifySuperPlayerConfigWithContext(ctx context.Context, request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)
- func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
- func (c *Client) ModifyTranscodeTemplateWithContext(ctx context.Context, request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
- func (c *Client) ModifyVodDomainAccelerateConfig(request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)
- func (c *Client) ModifyVodDomainAccelerateConfigWithContext(ctx context.Context, request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)
- func (c *Client) ModifyVodDomainConfig(request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)
- func (c *Client) ModifyVodDomainConfigWithContext(ctx context.Context, request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)
- func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
- func (c *Client) ModifyWatermarkTemplateWithContext(ctx context.Context, request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
- func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
- func (c *Client) ModifyWordSampleWithContext(ctx context.Context, request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
- func (c *Client) ParseStreamingManifest(request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)
- func (c *Client) ParseStreamingManifestWithContext(ctx context.Context, request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)
- func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
- func (c *Client) ProcessMediaByProcedure(request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)
- func (c *Client) ProcessMediaByProcedureWithContext(ctx context.Context, request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)
- func (c *Client) ProcessMediaByUrl(request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)
- func (c *Client) ProcessMediaByUrlWithContext(ctx context.Context, request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)
- func (c *Client) ProcessMediaWithContext(ctx context.Context, request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
- func (c *Client) PullEvents(request *PullEventsRequest) (response *PullEventsResponse, err error)
- func (c *Client) PullEventsWithContext(ctx context.Context, request *PullEventsRequest) (response *PullEventsResponse, err error)
- func (c *Client) PullUpload(request *PullUploadRequest) (response *PullUploadResponse, err error)
- func (c *Client) PullUploadWithContext(ctx context.Context, request *PullUploadRequest) (response *PullUploadResponse, err error)
- func (c *Client) PushUrlCache(request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)
- func (c *Client) PushUrlCacheWithContext(ctx context.Context, request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)
- func (c *Client) RefreshUrlCache(request *RefreshUrlCacheRequest) (response *RefreshUrlCacheResponse, err error)
- func (c *Client) RefreshUrlCacheWithContext(ctx context.Context, request *RefreshUrlCacheRequest) (response *RefreshUrlCacheResponse, err error)
- func (c *Client) RemoveWatermark(request *RemoveWatermarkRequest) (response *RemoveWatermarkResponse, err error)
- func (c *Client) RemoveWatermarkWithContext(ctx context.Context, request *RemoveWatermarkRequest) (response *RemoveWatermarkResponse, err error)
- func (c *Client) ResetProcedureTemplate(request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)
- func (c *Client) ResetProcedureTemplateWithContext(ctx context.Context, request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)
- func (c *Client) RestoreMedia(request *RestoreMediaRequest) (response *RestoreMediaResponse, err error)
- func (c *Client) RestoreMediaWithContext(ctx context.Context, request *RestoreMediaRequest) (response *RestoreMediaResponse, err error)
- func (c *Client) ReviewAudioVideo(request *ReviewAudioVideoRequest) (response *ReviewAudioVideoResponse, err error)
- func (c *Client) ReviewAudioVideoWithContext(ctx context.Context, request *ReviewAudioVideoRequest) (response *ReviewAudioVideoResponse, err error)
- func (c *Client) SearchMedia(request *SearchMediaRequest) (response *SearchMediaResponse, err error)
- func (c *Client) SearchMediaWithContext(ctx context.Context, request *SearchMediaRequest) (response *SearchMediaResponse, err error)
- func (c *Client) SetDrmKeyProviderInfo(request *SetDrmKeyProviderInfoRequest) (response *SetDrmKeyProviderInfoResponse, err error)
- func (c *Client) SetDrmKeyProviderInfoWithContext(ctx context.Context, request *SetDrmKeyProviderInfoRequest) (response *SetDrmKeyProviderInfoResponse, err error)
- func (c *Client) SimpleHlsClip(request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)
- func (c *Client) SimpleHlsClipWithContext(ctx context.Context, request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)
- type ClipFileInfo2017
- type ClipTask2017
- type CommitUploadRequest
- type CommitUploadRequestParams
- type CommitUploadResponse
- type CommitUploadResponseParams
- type ComposeMediaOutput
- type ComposeMediaRequest
- type ComposeMediaRequestParams
- type ComposeMediaResponse
- type ComposeMediaResponseParams
- type ComposeMediaTask
- type ComposeMediaTaskInput
- type ComposeMediaTaskOutput
- type ConcatFileInfo2017
- type ConcatTask2017
- type ConfirmEventsRequest
- type ConfirmEventsRequestParams
- type ConfirmEventsResponse
- type ConfirmEventsResponseParams
- type ContentReviewTemplateItem
- type CoverBySnapshotTaskInput
- type CoverBySnapshotTaskOutput
- type CoverConfigureInfo
- type CoverConfigureInfoForUpdate
- type CreateAIAnalysisTemplateRequest
- type CreateAIAnalysisTemplateRequestParams
- type CreateAIAnalysisTemplateResponse
- type CreateAIAnalysisTemplateResponseParams
- type CreateAIRecognitionTemplateRequest
- type CreateAIRecognitionTemplateRequestParams
- type CreateAIRecognitionTemplateResponse
- type CreateAIRecognitionTemplateResponseParams
- type CreateAdaptiveDynamicStreamingTemplateRequest
- type CreateAdaptiveDynamicStreamingTemplateRequestParams
- type CreateAdaptiveDynamicStreamingTemplateResponse
- type CreateAdaptiveDynamicStreamingTemplateResponseParams
- type CreateAnimatedGraphicsTemplateRequest
- type CreateAnimatedGraphicsTemplateRequestParams
- type CreateAnimatedGraphicsTemplateResponse
- type CreateAnimatedGraphicsTemplateResponseParams
- type CreateClassRequest
- type CreateClassRequestParams
- type CreateClassResponse
- type CreateClassResponseParams
- type CreateContentReviewTemplateRequest
- type CreateContentReviewTemplateRequestParams
- type CreateContentReviewTemplateResponse
- type CreateContentReviewTemplateResponseParams
- type CreateImageProcessingTemplateRequest
- type CreateImageProcessingTemplateRequestParams
- type CreateImageProcessingTemplateResponse
- type CreateImageProcessingTemplateResponseParams
- type CreateImageSpriteTask2017
- type CreateImageSpriteTemplateRequest
- type CreateImageSpriteTemplateRequestParams
- type CreateImageSpriteTemplateResponse
- type CreateImageSpriteTemplateResponseParams
- type CreatePersonSampleRequest
- type CreatePersonSampleRequestParams
- type CreatePersonSampleResponse
- type CreatePersonSampleResponseParams
- type CreateProcedureTemplateRequest
- type CreateProcedureTemplateRequestParams
- type CreateProcedureTemplateResponse
- type CreateProcedureTemplateResponseParams
- type CreateSampleSnapshotTemplateRequest
- type CreateSampleSnapshotTemplateRequestParams
- type CreateSampleSnapshotTemplateResponse
- type CreateSampleSnapshotTemplateResponseParams
- type CreateSnapshotByTimeOffsetTemplateRequest
- type CreateSnapshotByTimeOffsetTemplateRequestParams
- type CreateSnapshotByTimeOffsetTemplateResponse
- type CreateSnapshotByTimeOffsetTemplateResponseParams
- type CreateStorageRegionRequest
- type CreateStorageRegionRequestParams
- type CreateStorageRegionResponse
- type CreateStorageRegionResponseParams
- type CreateSubAppIdRequest
- type CreateSubAppIdRequestParams
- type CreateSubAppIdResponse
- type CreateSubAppIdResponseParams
- type CreateSuperPlayerConfigRequest
- type CreateSuperPlayerConfigRequestParams
- type CreateSuperPlayerConfigResponse
- type CreateSuperPlayerConfigResponseParams
- type CreateTranscodeTemplateRequest
- type CreateTranscodeTemplateRequestParams
- type CreateTranscodeTemplateResponse
- type CreateTranscodeTemplateResponseParams
- type CreateVodDomainRequest
- type CreateVodDomainRequestParams
- type CreateVodDomainResponse
- type CreateVodDomainResponseParams
- type CreateWatermarkTemplateRequest
- type CreateWatermarkTemplateRequestParams
- type CreateWatermarkTemplateResponse
- type CreateWatermarkTemplateResponseParams
- type CreateWordSamplesRequest
- type CreateWordSamplesRequestParams
- type CreateWordSamplesResponse
- type CreateWordSamplesResponseParams
- type DeleteAIAnalysisTemplateRequest
- type DeleteAIAnalysisTemplateRequestParams
- type DeleteAIAnalysisTemplateResponse
- type DeleteAIAnalysisTemplateResponseParams
- type DeleteAIRecognitionTemplateRequest
- type DeleteAIRecognitionTemplateRequestParams
- type DeleteAIRecognitionTemplateResponse
- type DeleteAIRecognitionTemplateResponseParams
- type DeleteAdaptiveDynamicStreamingTemplateRequest
- type DeleteAdaptiveDynamicStreamingTemplateRequestParams
- type DeleteAdaptiveDynamicStreamingTemplateResponse
- type DeleteAdaptiveDynamicStreamingTemplateResponseParams
- type DeleteAnimatedGraphicsTemplateRequest
- type DeleteAnimatedGraphicsTemplateRequestParams
- type DeleteAnimatedGraphicsTemplateResponse
- type DeleteAnimatedGraphicsTemplateResponseParams
- type DeleteClassRequest
- type DeleteClassRequestParams
- type DeleteClassResponse
- type DeleteClassResponseParams
- type DeleteContentReviewTemplateRequest
- type DeleteContentReviewTemplateRequestParams
- type DeleteContentReviewTemplateResponse
- type DeleteContentReviewTemplateResponseParams
- type DeleteImageProcessingTemplateRequest
- type DeleteImageProcessingTemplateRequestParams
- type DeleteImageProcessingTemplateResponse
- type DeleteImageProcessingTemplateResponseParams
- type DeleteImageSpriteTemplateRequest
- type DeleteImageSpriteTemplateRequestParams
- type DeleteImageSpriteTemplateResponse
- type DeleteImageSpriteTemplateResponseParams
- type DeleteMediaRequest
- type DeleteMediaRequestParams
- type DeleteMediaResponse
- type DeleteMediaResponseParams
- type DeletePersonSampleRequest
- type DeletePersonSampleRequestParams
- type DeletePersonSampleResponse
- type DeletePersonSampleResponseParams
- type DeleteProcedureTemplateRequest
- type DeleteProcedureTemplateRequestParams
- type DeleteProcedureTemplateResponse
- type DeleteProcedureTemplateResponseParams
- type DeleteSampleSnapshotTemplateRequest
- type DeleteSampleSnapshotTemplateRequestParams
- type DeleteSampleSnapshotTemplateResponse
- type DeleteSampleSnapshotTemplateResponseParams
- type DeleteSnapshotByTimeOffsetTemplateRequest
- type DeleteSnapshotByTimeOffsetTemplateRequestParams
- type DeleteSnapshotByTimeOffsetTemplateResponse
- type DeleteSnapshotByTimeOffsetTemplateResponseParams
- type DeleteSuperPlayerConfigRequest
- type DeleteSuperPlayerConfigRequestParams
- type DeleteSuperPlayerConfigResponse
- type DeleteSuperPlayerConfigResponseParams
- type DeleteTranscodeTemplateRequest
- type DeleteTranscodeTemplateRequestParams
- type DeleteTranscodeTemplateResponse
- type DeleteTranscodeTemplateResponseParams
- type DeleteVodDomainRequest
- type DeleteVodDomainRequestParams
- type DeleteVodDomainResponse
- type DeleteVodDomainResponseParams
- type DeleteWatermarkTemplateRequest
- type DeleteWatermarkTemplateRequestParams
- type DeleteWatermarkTemplateResponse
- type DeleteWatermarkTemplateResponseParams
- type DeleteWordSamplesRequest
- type DeleteWordSamplesRequestParams
- type DeleteWordSamplesResponse
- type DeleteWordSamplesResponseParams
- type DescribeAIAnalysisTemplatesRequest
- type DescribeAIAnalysisTemplatesRequestParams
- type DescribeAIAnalysisTemplatesResponse
- type DescribeAIAnalysisTemplatesResponseParams
- type DescribeAIRecognitionTemplatesRequest
- type DescribeAIRecognitionTemplatesRequestParams
- type DescribeAIRecognitionTemplatesResponse
- type DescribeAIRecognitionTemplatesResponseParams
- type DescribeAdaptiveDynamicStreamingTemplatesRequest
- type DescribeAdaptiveDynamicStreamingTemplatesRequestParams
- type DescribeAdaptiveDynamicStreamingTemplatesResponse
- type DescribeAdaptiveDynamicStreamingTemplatesResponseParams
- type DescribeAllClassRequest
- type DescribeAllClassRequestParams
- type DescribeAllClassResponse
- type DescribeAllClassResponseParams
- type DescribeAnimatedGraphicsTemplatesRequest
- type DescribeAnimatedGraphicsTemplatesRequestParams
- type DescribeAnimatedGraphicsTemplatesResponse
- type DescribeAnimatedGraphicsTemplatesResponseParams
- type DescribeCDNStatDetailsRequest
- type DescribeCDNStatDetailsRequestParams
- type DescribeCDNStatDetailsResponse
- type DescribeCDNStatDetailsResponseParams
- type DescribeCDNUsageDataRequest
- type DescribeCDNUsageDataRequestParams
- type DescribeCDNUsageDataResponse
- type DescribeCDNUsageDataResponseParams
- type DescribeCdnLogsRequest
- type DescribeCdnLogsRequestParams
- type DescribeCdnLogsResponse
- type DescribeCdnLogsResponseParams
- type DescribeClientUploadAccelerationUsageDataRequest
- type DescribeClientUploadAccelerationUsageDataRequestParams
- type DescribeClientUploadAccelerationUsageDataResponse
- type DescribeClientUploadAccelerationUsageDataResponseParams
- type DescribeContentReviewTemplatesRequest
- type DescribeContentReviewTemplatesRequestParams
- type DescribeContentReviewTemplatesResponse
- type DescribeContentReviewTemplatesResponseParams
- type DescribeDailyPlayStatFileListRequest
- type DescribeDailyPlayStatFileListRequestParams
- type DescribeDailyPlayStatFileListResponse
- type DescribeDailyPlayStatFileListResponseParams
- type DescribeDrmKeyProviderInfoRequest
- type DescribeDrmKeyProviderInfoRequestParams
- type DescribeDrmKeyProviderInfoResponse
- type DescribeDrmKeyProviderInfoResponseParams
- type DescribeFileAttributesRequest
- type DescribeFileAttributesRequestParams
- type DescribeFileAttributesResponse
- type DescribeFileAttributesResponseParams
- type DescribeFileAttributesTask
- type DescribeFileAttributesTaskOutput
- type DescribeImageProcessingTemplatesRequest
- type DescribeImageProcessingTemplatesRequestParams
- type DescribeImageProcessingTemplatesResponse
- type DescribeImageProcessingTemplatesResponseParams
- type DescribeImageReviewUsageDataRequest
- type DescribeImageReviewUsageDataRequestParams
- type DescribeImageReviewUsageDataResponse
- type DescribeImageReviewUsageDataResponseParams
- type DescribeImageSpriteTemplatesRequest
- type DescribeImageSpriteTemplatesRequestParams
- type DescribeImageSpriteTemplatesResponse
- type DescribeImageSpriteTemplatesResponseParams
- type DescribeLicenseUsageDataRequest
- type DescribeLicenseUsageDataRequestParams
- type DescribeLicenseUsageDataResponse
- type DescribeLicenseUsageDataResponseParams
- type DescribeMediaInfosRequest
- type DescribeMediaInfosRequestParams
- type DescribeMediaInfosResponse
- type DescribeMediaInfosResponseParams
- type DescribeMediaPlayStatDetailsRequest
- type DescribeMediaPlayStatDetailsRequestParams
- type DescribeMediaPlayStatDetailsResponse
- type DescribeMediaPlayStatDetailsResponseParams
- type DescribeMediaProcessUsageDataRequest
- type DescribeMediaProcessUsageDataRequestParams
- type DescribeMediaProcessUsageDataResponse
- type DescribeMediaProcessUsageDataResponseParams
- type DescribePersonSamplesRequest
- type DescribePersonSamplesRequestParams
- type DescribePersonSamplesResponse
- type DescribePersonSamplesResponseParams
- type DescribeProcedureTemplatesRequest
- type DescribeProcedureTemplatesRequestParams
- type DescribeProcedureTemplatesResponse
- type DescribeProcedureTemplatesResponseParams
- type DescribeReviewDetailsRequest
- type DescribeReviewDetailsRequestParams
- type DescribeReviewDetailsResponse
- type DescribeReviewDetailsResponseParams
- type DescribeSampleSnapshotTemplatesRequest
- type DescribeSampleSnapshotTemplatesRequestParams
- type DescribeSampleSnapshotTemplatesResponse
- type DescribeSampleSnapshotTemplatesResponseParams
- type DescribeSnapshotByTimeOffsetTemplatesRequest
- type DescribeSnapshotByTimeOffsetTemplatesRequestParams
- type DescribeSnapshotByTimeOffsetTemplatesResponse
- type DescribeSnapshotByTimeOffsetTemplatesResponseParams
- type DescribeStorageDataRequest
- type DescribeStorageDataRequestParams
- type DescribeStorageDataResponse
- type DescribeStorageDataResponseParams
- type DescribeStorageDetailsRequest
- type DescribeStorageDetailsRequestParams
- type DescribeStorageDetailsResponse
- type DescribeStorageDetailsResponseParams
- type DescribeStorageRegionsRequest
- type DescribeStorageRegionsRequestParams
- type DescribeStorageRegionsResponse
- type DescribeStorageRegionsResponseParams
- type DescribeSubAppIdsRequest
- type DescribeSubAppIdsRequestParams
- type DescribeSubAppIdsResponse
- type DescribeSubAppIdsResponseParams
- type DescribeSuperPlayerConfigsRequest
- type DescribeSuperPlayerConfigsRequestParams
- type DescribeSuperPlayerConfigsResponse
- type DescribeSuperPlayerConfigsResponseParams
- type DescribeTaskDetailRequest
- type DescribeTaskDetailRequestParams
- type DescribeTaskDetailResponse
- type DescribeTaskDetailResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeTranscodeTemplatesRequest
- type DescribeTranscodeTemplatesRequestParams
- type DescribeTranscodeTemplatesResponse
- type DescribeTranscodeTemplatesResponseParams
- type DescribeVodDomainsRequest
- type DescribeVodDomainsRequestParams
- type DescribeVodDomainsResponse
- type DescribeVodDomainsResponseParams
- type DescribeWatermarkTemplatesRequest
- type DescribeWatermarkTemplatesRequestParams
- type DescribeWatermarkTemplatesResponse
- type DescribeWatermarkTemplatesResponseParams
- type DescribeWordSamplesRequest
- type DescribeWordSamplesRequestParams
- type DescribeWordSamplesResponse
- type DescribeWordSamplesResponseParams
- type DomainDetailInfo
- type DomainHTTPSConfig
- type DrmStreamingsInfo
- type DrmStreamingsInfoForUpdate
- type EditMediaFileInfo
- type EditMediaStreamInfo
- type EditMediaTask
- type EditMediaTaskInput
- type EditMediaTaskOutput
- type EmptyTrackItem
- type EventContent
- type ExecuteFunctionRequest
- type ExecuteFunctionRequestParams
- type ExecuteFunctionResponse
- type ExecuteFunctionResponseParams
- type ExtractTraceWatermarkRequest
- type ExtractTraceWatermarkRequestParams
- type ExtractTraceWatermarkResponse
- type ExtractTraceWatermarkResponseParams
- type ExtractTraceWatermarkTask
- type ExtractTraceWatermarkTaskInput
- type ExtractTraceWatermarkTaskOutput
- type FaceConfigureInfo
- type FaceConfigureInfoForUpdate
- type FileDeleteResultItem
- type FileDeleteTask
- type FileUploadTask
- type ForbidMediaDistributionRequest
- type ForbidMediaDistributionRequestParams
- type ForbidMediaDistributionResponse
- type ForbidMediaDistributionResponseParams
- type FrameTagConfigureInfo
- type FrameTagConfigureInfoForUpdate
- type HeadTailConfigureInfo
- type HeadTailConfigureInfoForUpdate
- type HeadTailTaskInput
- type HighlightSegmentItem
- type HighlightsConfigureInfo
- type HighlightsConfigureInfoForUpdate
- type ImageCenterCut
- type ImageOperation
- type ImageProcessingTemplate
- type ImageReviewUsageDataItem
- type ImageScale
- type ImageSpriteTaskInput
- type ImageSpriteTemplate
- type ImageTransform
- type ImageWatermarkInput
- type ImageWatermarkInputForUpdate
- type ImageWatermarkTemplate
- type LicenseUsageDataItem
- type LiveRealTimeClipRequest
- type LiveRealTimeClipRequestParams
- type LiveRealTimeClipResponse
- type LiveRealTimeClipResponseParams
- type LiveRealTimeClipStreamInfo
- type ManageTaskRequest
- type ManageTaskRequestParams
- type ManageTaskResponse
- type ManageTaskResponseParams
- type MediaAdaptiveDynamicStreamingInfo
- type MediaAiAnalysisClassificationItem
- type MediaAiAnalysisCoverItem
- type MediaAiAnalysisFrameTagItem
- type MediaAiAnalysisFrameTagSegmentItem
- type MediaAiAnalysisHighlightItem
- type MediaAiAnalysisTagItem
- type MediaAnimatedGraphicsInfo
- type MediaAnimatedGraphicsItem
- type MediaAudioStreamItem
- type MediaBasicInfo
- type MediaClassInfo
- type MediaContentReviewAsrTextSegmentItem
- type MediaContentReviewOcrTextSegmentItem
- type MediaContentReviewPoliticalSegmentItem
- type MediaContentReviewSegmentItem
- type MediaDeleteItem
- type MediaImageSpriteInfo
- type MediaImageSpriteItem
- type MediaInfo
- type MediaInputInfo
- type MediaKeyFrameDescInfo
- type MediaKeyFrameDescItem
- type MediaMetaData
- type MediaMiniProgramReviewElem
- type MediaMiniProgramReviewInfo
- type MediaMiniProgramReviewInfoItem
- type MediaOutputInfo
- type MediaProcessTaskAdaptiveDynamicStreamingResult
- type MediaProcessTaskAnimatedGraphicResult
- type MediaProcessTaskCoverBySnapshotResult
- type MediaProcessTaskImageSpriteResult
- type MediaProcessTaskInput
- type MediaProcessTaskResult
- type MediaProcessTaskSampleSnapshotResult
- type MediaProcessTaskSnapshotByTimeOffsetResult
- type MediaProcessTaskTranscodeResult
- type MediaSampleSnapshotInfo
- type MediaSampleSnapshotItem
- type MediaSnapshotByTimeOffsetInfo
- type MediaSnapshotByTimeOffsetItem
- type MediaSnapshotByTimePicInfoItem
- type MediaSourceData
- type MediaSubtitleInfo
- type MediaSubtitleInput
- type MediaSubtitleItem
- type MediaTrack
- type MediaTrackItem
- type MediaTranscodeInfo
- type MediaTranscodeItem
- type MediaTransitionItem
- type MediaVideoStreamItem
- type ModifyAIAnalysisTemplateRequest
- type ModifyAIAnalysisTemplateRequestParams
- type ModifyAIAnalysisTemplateResponse
- type ModifyAIAnalysisTemplateResponseParams
- type ModifyAIRecognitionTemplateRequest
- type ModifyAIRecognitionTemplateRequestParams
- type ModifyAIRecognitionTemplateResponse
- type ModifyAIRecognitionTemplateResponseParams
- type ModifyAdaptiveDynamicStreamingTemplateRequest
- type ModifyAdaptiveDynamicStreamingTemplateRequestParams
- type ModifyAdaptiveDynamicStreamingTemplateResponse
- type ModifyAdaptiveDynamicStreamingTemplateResponseParams
- type ModifyAnimatedGraphicsTemplateRequest
- type ModifyAnimatedGraphicsTemplateRequestParams
- type ModifyAnimatedGraphicsTemplateResponse
- type ModifyAnimatedGraphicsTemplateResponseParams
- type ModifyClassRequest
- type ModifyClassRequestParams
- type ModifyClassResponse
- type ModifyClassResponseParams
- type ModifyContentReviewTemplateRequest
- type ModifyContentReviewTemplateRequestParams
- type ModifyContentReviewTemplateResponse
- type ModifyContentReviewTemplateResponseParams
- type ModifyDefaultStorageRegionRequest
- type ModifyDefaultStorageRegionRequestParams
- type ModifyDefaultStorageRegionResponse
- type ModifyDefaultStorageRegionResponseParams
- type ModifyImageSpriteTemplateRequest
- type ModifyImageSpriteTemplateRequestParams
- type ModifyImageSpriteTemplateResponse
- type ModifyImageSpriteTemplateResponseParams
- type ModifyMediaInfoRequest
- type ModifyMediaInfoRequestParams
- type ModifyMediaInfoResponse
- type ModifyMediaInfoResponseParams
- type ModifyMediaStorageClassRequest
- type ModifyMediaStorageClassRequestParams
- type ModifyMediaStorageClassResponse
- type ModifyMediaStorageClassResponseParams
- type ModifyPersonSampleRequest
- type ModifyPersonSampleRequestParams
- type ModifyPersonSampleResponse
- type ModifyPersonSampleResponseParams
- type ModifySampleSnapshotTemplateRequest
- type ModifySampleSnapshotTemplateRequestParams
- type ModifySampleSnapshotTemplateResponse
- type ModifySampleSnapshotTemplateResponseParams
- type ModifySnapshotByTimeOffsetTemplateRequest
- type ModifySnapshotByTimeOffsetTemplateRequestParams
- type ModifySnapshotByTimeOffsetTemplateResponse
- type ModifySnapshotByTimeOffsetTemplateResponseParams
- type ModifySubAppIdInfoRequest
- type ModifySubAppIdInfoRequestParams
- type ModifySubAppIdInfoResponse
- type ModifySubAppIdInfoResponseParams
- type ModifySubAppIdStatusRequest
- type ModifySubAppIdStatusRequestParams
- type ModifySubAppIdStatusResponse
- type ModifySubAppIdStatusResponseParams
- type ModifySuperPlayerConfigRequest
- type ModifySuperPlayerConfigRequestParams
- type ModifySuperPlayerConfigResponse
- type ModifySuperPlayerConfigResponseParams
- type ModifyTranscodeTemplateRequest
- type ModifyTranscodeTemplateRequestParams
- type ModifyTranscodeTemplateResponse
- type ModifyTranscodeTemplateResponseParams
- type ModifyVodDomainAccelerateConfigRequest
- type ModifyVodDomainAccelerateConfigRequestParams
- type ModifyVodDomainAccelerateConfigResponse
- type ModifyVodDomainAccelerateConfigResponseParams
- type ModifyVodDomainConfigRequest
- type ModifyVodDomainConfigRequestParams
- type ModifyVodDomainConfigResponse
- type ModifyVodDomainConfigResponseParams
- type ModifyWatermarkTemplateRequest
- type ModifyWatermarkTemplateRequestParams
- type ModifyWatermarkTemplateResponse
- type ModifyWatermarkTemplateResponseParams
- type ModifyWordSampleRequest
- type ModifyWordSampleRequestParams
- type ModifyWordSampleResponse
- type ModifyWordSampleResponseParams
- type MosaicInput
- type ObjectConfigureInfo
- type ObjectConfigureInfoForUpdate
- type OcrFullTextConfigureInfo
- type OcrFullTextConfigureInfoForUpdate
- type OcrWordsConfigureInfo
- type OcrWordsConfigureInfoForUpdate
- type OutputAudioStream
- type OutputVideoStream
- type ParseStreamingManifestRequest
- type ParseStreamingManifestRequestParams
- type ParseStreamingManifestResponse
- type ParseStreamingManifestResponseParams
- type PlayStatFileInfo
- type PlayStatInfo
- type PlayerConfig
- type PoliticalAsrReviewTemplateInfo
- type PoliticalAsrReviewTemplateInfoForUpdate
- type PoliticalConfigureInfo
- type PoliticalConfigureInfoForUpdate
- type PoliticalImgReviewTemplateInfo
- type PoliticalImgReviewTemplateInfoForUpdate
- type PoliticalOcrReviewTemplateInfo
- type PoliticalOcrReviewTemplateInfoForUpdate
- type PornAsrReviewTemplateInfo
- type PornAsrReviewTemplateInfoForUpdate
- type PornConfigureInfo
- type PornConfigureInfoForUpdate
- type PornImgReviewTemplateInfo
- type PornImgReviewTemplateInfoForUpdate
- type PornOcrReviewTemplateInfo
- type PornOcrReviewTemplateInfoForUpdate
- type ProcedureTask
- type ProcedureTemplate
- type ProcessMediaByProcedureRequest
- type ProcessMediaByProcedureRequestParams
- type ProcessMediaByProcedureResponse
- type ProcessMediaByProcedureResponseParams
- type ProcessMediaByUrlRequest
- type ProcessMediaByUrlRequestParams
- type ProcessMediaByUrlResponse
- type ProcessMediaByUrlResponseParams
- type ProcessMediaRequest
- type ProcessMediaRequestParams
- type ProcessMediaResponse
- type ProcessMediaResponseParams
- type ProhibitedAsrReviewTemplateInfo
- type ProhibitedAsrReviewTemplateInfoForUpdate
- type ProhibitedConfigureInfo
- type ProhibitedConfigureInfoForUpdate
- type ProhibitedOcrReviewTemplateInfo
- type ProhibitedOcrReviewTemplateInfoForUpdate
- type PullEventsRequest
- type PullEventsRequestParams
- type PullEventsResponse
- type PullEventsResponseParams
- type PullUploadRequest
- type PullUploadRequestParams
- type PullUploadResponse
- type PullUploadResponseParams
- type PullUploadTask
- type PushUrlCacheRequest
- type PushUrlCacheRequestParams
- type PushUrlCacheResponse
- type PushUrlCacheResponseParams
- type ReduceMediaBitrateAdaptiveDynamicStreamingResult
- type ReduceMediaBitrateMediaProcessTaskResult
- type ReduceMediaBitrateTask
- type ReduceMediaBitrateTranscodeResult
- type RefererAuthPolicy
- type RefreshUrlCacheRequest
- type RefreshUrlCacheRequestParams
- type RefreshUrlCacheResponse
- type RefreshUrlCacheResponseParams
- type RemoveWaterMarkTaskInput
- type RemoveWaterMarkTaskOutput
- type RemoveWatermarkRequest
- type RemoveWatermarkRequestParams
- type RemoveWatermarkResponse
- type RemoveWatermarkResponseParams
- type RemoveWatermarkTask
- type ResetProcedureTemplateRequest
- type ResetProcedureTemplateRequestParams
- type ResetProcedureTemplateResponse
- type ResetProcedureTemplateResponseParams
- type ResolutionNameInfo
- type ResourceTag
- type RestoreMediaRequest
- type RestoreMediaRequestParams
- type RestoreMediaResponse
- type RestoreMediaResponseParams
- type RestoreMediaTask
- type ReviewAudioVideoRequest
- type ReviewAudioVideoRequestParams
- type ReviewAudioVideoResponse
- type ReviewAudioVideoResponseParams
- type ReviewAudioVideoSegmentItem
- type ReviewAudioVideoTask
- type ReviewAudioVideoTaskInput
- type ReviewAudioVideoTaskOutput
- type SDMCDrmKeyProviderInfo
- type SampleSnapshotTaskInput
- type SampleSnapshotTemplate
- type SearchMediaRequest
- type SearchMediaRequestParams
- type SearchMediaResponse
- type SearchMediaResponseParams
- type SegmentConfigureInfo
- type SegmentConfigureInfoForUpdate
- type SetDrmKeyProviderInfoRequest
- type SetDrmKeyProviderInfoRequestParams
- type SetDrmKeyProviderInfoResponse
- type SetDrmKeyProviderInfoResponseParams
- type SimpleHlsClipRequest
- type SimpleHlsClipRequestParams
- type SimpleHlsClipResponse
- type SimpleHlsClipResponseParams
- type SnapshotByTimeOffset2017
- type SnapshotByTimeOffsetTask2017
- type SnapshotByTimeOffsetTaskInput
- type SnapshotByTimeOffsetTemplate
- type SortBy
- type SpecificationDataItem
- type SplitMediaOutputConfig
- type SplitMediaTask
- type SplitMediaTaskInput
- type SplitMediaTaskSegmentInfo
- type StatDataItem
- type StickerTrackItem
- type StorageRegionInfo
- type StorageStatData
- type SubAppIdInfo
- type SubtitleFormatsOperation
- type SvgWatermarkInput
- type SvgWatermarkInputForUpdate
- type TEHDConfig
- type TEHDConfigForUpdate
- type TagConfigureInfo
- type TagConfigureInfoForUpdate
- type TaskOutputMediaInfo
- type TaskSimpleInfo
- type TaskStatData
- type TaskStatDataItem
- type TempCertificate
- type TerrorismConfigureInfo
- type TerrorismConfigureInfoForUpdate
- type TerrorismImgReviewTemplateInfo
- type TerrorismImgReviewTemplateInfoForUpdate
- type TerrorismOcrReviewTemplateInfo
- type TerrorismOcrReviewTemplateInfoForUpdate
- type TextWatermarkTemplateInput
- type TextWatermarkTemplateInputForUpdate
- type TimeRange
- type TraceWatermarkInput
- type TranscodePlayInfo2017
- type TranscodeTask2017
- type TranscodeTaskInput
- type TranscodeTemplate
- type TransitionOpertion
- type TrtcRecordInfo
- type UrlSignatureAuthPolicy
- type UserDefineAsrTextReviewTemplateInfo
- type UserDefineAsrTextReviewTemplateInfoForUpdate
- type UserDefineConfigureInfo
- type UserDefineConfigureInfoForUpdate
- type UserDefineFaceReviewTemplateInfo
- type UserDefineFaceReviewTemplateInfoForUpdate
- type UserDefineOcrTextReviewTemplateInfo
- type UserDefineOcrTextReviewTemplateInfoForUpdate
- type VideoTemplateInfo
- type VideoTemplateInfoForUpdate
- type VideoTrackItem
- type WatermarkCycleConfigForUpdate
- type WatermarkInput
- type WatermarkTemplate
- type WechatMiniProgramPublishTask
- type WechatMiniProgramPublishTaskInput
- type WechatPublishTask
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // Operation failed: the number of category levels exceeds the limit. FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded" // Operation failed: the category name already exists. FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate" // Operation failed: the category does not exist. FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound" // Operation failed: unsupported cover type. FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType" // You cannot modify the settings of the domain name as it is being deployed. FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying" // User account exception. FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount" // The VOD service is not activated. FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" // Media blocked by the system. FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem" // Operation failed: unsupported media type. FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType" // Network error. FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError" // No need to reduce the bitrate. FAILEDOPERATION_NONEEDTOREDUCEMEDIABITRATE = "FailedOperation.NoNeedToReduceMediaBitrate" // Operation failed: the parent category ID does not exist. FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound" // Operation failed: the number of subcategories exceeds the limit. FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded" // Operation failed: the task already exists. FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" // Operation failed: failed to upload file to COS. FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail" // The service has been suspended. FAILEDOPERATION_USERSTATUSINAVLID = "FailedOperation.UserStatusInavlid" // Internal error. INTERNALERROR = "InternalError" // Internal error. Failed to access DB. INTERNALERROR_DBERROR = "InternalError.DBError" // Internal error: failed to generate template ID. INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" // Internal error: an error occurred while getting media file information. INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" // Internal error: an error occurred while getting the media list. INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" // An error occurred while parsing the time. INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError" // Internal error: an error occurred while updating media file information. INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError" // Internal error: an error occurred while uploading cover image. INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError" // Internal error: failed to upload watermark image. INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // The task flow template name already exists. INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName" // Incorrect parameter value: expiration time. INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime" // The task flow template name does not exist. INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist" // Incorrect parameter value: storage region. INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Incorrect parameter value: `AddKeyFrameDescs` conflicts with `ClearKeyFrameDescs`. INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict" // Incorrect parameter value: `AddKeyFrameDescs` conflicts with `DeleteKeyFrameDescs`. INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict" // Incorrect parameter value: `AddTags` conflicts with `ClearTags`. INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict" // Incorrect parameter value: `AddTags` conflicts with `DeleteTags`. INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict" // Incorrect parameter value: `Definition` for AI-based analysis. INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition" // Incorrect parameter value: `Definition` AI-based content audit. INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition" // Incorrect parameter value: `Definition` for AI-based recognition. INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition" // Invalid `Area`. INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area" // Invalid parameter: audio stream bitrate. INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" // Incorrect parameter value: AudioChannel. INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" // Invalid parameter: audio stream encoder. INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" // Invalid parameter: audio stream sample rate. INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" // Invalid audio/video bitrate. INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" // Incorrect parameter value: the value of the `BlockConfidence` parameter is invalid. INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" // Invalid file type. INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories" // Incorrect parameter value: category ID. INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId" // Incorrect parameter value: invalid `ClassIds`. INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds" // Incorrect parameter value: invalid `ClassName` INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName" // The control field parameter for intelligent categorization is incorrect. INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" // Incorrect parameter value: the clipping duration is too long. INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration" // Invalid audio/video codec. INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" // Incorrect parameter value: ColumnCount. INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" // Invalid parameter: template description. INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" // Invalid parameter: container. INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" // Incorrect parameter value: ContainerType. INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" // Incorrect parameter value: CoordinateOrigin. INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" // The control field parameter for intelligent cover generation is incorrect. INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" // Incorrect parameter value: cover type. INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType" // Incorrect parameter value: cover URL. INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl" // Parameter error: Invalid `CutAndCrops` value. INVALIDPARAMETERVALUE_CUTANDCROPS = "InvalidParameterValue.CutAndCrops" // Incorrect parameter value: time granularity. INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval" // Incorrect parameter value: data type. INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType" // Incorrect parameter value: the default face library filter tag is invalid. INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" // Invalid parameter: Definition. INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" // Invalid parameter: Definitions. INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" // Incorrect parameter value: the default template cannot be deleted. INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" // Incorrect parameter value: `Description` exceeds the length limit. INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description" // Invalid value of the switch for prohibiting transcoding from low bitrate to high bitrate. INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" // Invalid value of the switch for prohibiting transcoding from low resolution to high resolution. INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" // Incorrect `Districts`. INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts" // Invalid parameter: the domain name does not exist. INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName" // This domain name cannot be added as it is invalid. INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList" // Parameter value. The domain name list is too large. INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames" // Invalid DRM type. INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType" // Incorrect parameter value: invalid `EndTime`. INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" // Incorrect parameter: the end time is invalid. INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset" // Incorrect parameter value: incorrect `ExpireTime` format. INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // Incorrect parameter value: the same face already exists. INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" // Incorrect parameter value: the face library parameter is invalid. INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" // Incorrect parameter value: the value of the face score parameter is invalid. INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" // The `FileId` does not exist. INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" // Incorrect `FileIds` parameter. INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" // The `FileIds` array is empty. INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty" // Incorrect parameter value: too many `FileId` INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany" // Invalid parameter: incorrect fill type. INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" // INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio" // INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo" // Incorrect parameter value: Format. INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" // Incorrect parameter value: `Format` is `webp`, but both `Width` and `Height` are empty. INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" // Incorrect parameter value: when `Format` is `webp`, `Width` and `Height` cannot be both 0. INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" // Invalid parameter: video frame rate. INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" // The control field parameter for intelligent frame-specific tagging is incorrect. INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" // Incorrect parameter value: FunctionArg. INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" // Incorrect parameter value: FunctionName. INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" // Invalid parameter: height. INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" // Invalid intelligent highlight generating control parameter. INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure" // Invalid `ImageContent`. INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" // Failed to Base64-decode the image. INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError" // Invalid parameter: image watermarking template. INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" // Invalid `Interval` value INVALIDPARAMETERVALUE_INTERVAL = "InvalidParameterValue.Interval" // Invalid `OperationType`. INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" // Invalid `Isps`. INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps" // Incorrect parameter value: the timestamp content is too long. INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong" // Incorrect parameter value: the value of the `LabelSet` parameter is invalid. INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" // Invalid parameter: Limit. INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" // Incorrect parameter value: `Limit` is too large. INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge" // Incorrect parameter value: MediaManifestContent. INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent" // Incorrect parameter value: media type. INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType" // Incorrect parameter value: media file URL. INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl" // Invalid `Metric`. INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric" // Incorrect parameter value: the default template cannot be modified. INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" // Incorrect parameter value: `Name` exceeds the length limit. INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" // Invalid filename prefix. INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes" // Too many elements in the `Names` array. INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names" // Parameter error: The file cannot be restored. INVALIDPARAMETERVALUE_NOTRESTORABLE = "InvalidParameterValue.NotRestorable" // Incorrect parameter value: the value of the object library parameter is invalid. INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" // Incorrect parameter value: invalid `Offset`. INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" // Incorrect parameter value: `Offset` is too large. INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge" // Incorrect parameter value: invalid `Operation`. INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation" // Parameter error: Current storage class error. INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = "InvalidParameterValue.OriginalStorageClass" // Incorrect parameter value: invalid `ParentId` INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId" // Incorrect parameter value: the face image format is incorrect. INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" // The task flow template name is invalid. INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName" // Incorrect parameter value: Quality. INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" // Incorrect parameter value: RemoveAudio. INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" // Incorrect parameter value: RemoveVideo. INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" // Invalid parameter: invalid `RepeatType`. INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" // Invalid parameter: incorrect resolution. INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" // Invalid `ResolutionAdaptive`. INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" // Parameter error: Invalid `RestoreDay`. INVALIDPARAMETERVALUE_RESTOREDAY = "InvalidParameterValue.RestoreDay" // Parameter error: Unsupported retrieval mode. INVALIDPARAMETERVALUE_RESTORETIER = "InvalidParameterValue.RestoreTier" // Incorrect parameter value: the value of the `ReviewConfidence` parameter is invalid. INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" // Incorrect parameter value: the value of the `ReviewWallSwitch` parameter is invalid. INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch" // Incorrect parameter value: RowCount. INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" // Incorrect parameter value: SampleInterval. INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" // Invalid audio sample rate. INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" // Incorrect parameter value: SampleType. INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" // Incorrect parameter value: the value of the `ScreenshotInterval` parameter is invalid. INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" // `SessionContext` is too long. INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" // The deduplication ID already exists. The request is removed due to duplication. INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" // `SessionId` is too long. INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" // Incorrect parameter value: invalid `Sort`. INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort" // Incorrect parameter: audio channel system. INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" // Incorrect parameter value: invalid `SourceType`. INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType" // Unknown media file source. INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes" // Incorrect parameter value: invalid `StartTime`. INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" // Incorrect parameter: the start time is invalid. INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset" // Incorrect parameter value: the value of human confirmation result is invalid. INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status" // Parameter error: The target storage class is not allowed. INVALIDPARAMETERVALUE_STORAGECLASS = "InvalidParameterValue.StorageClass" // Incorrect parameter value: `StorageRegion`. INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" // Invalid `StorageRegions`. INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions" // Incorrect parameter value: StorageType. INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType" // Incorrect parameter value: invalid `StreamId`. INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid" // Invalid stream ID. INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds" // Incorrect parameter value: subapplication ID INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" // Incorrect parameter value: the value of the `SubtitleFormat` parameter is invalid. INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" // Incorrect parameter value: SVG is empty. INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" // Incorrect parameter value: SVG height. INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" // Incorrect parameter value: SVG width. INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" // Incorrect parameter value: the value of the `Switch` parameter is invalid. INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" // Incorrect parameter value: `TEHD Type` is invalid. INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" // The control field parameter for intelligent tagging is incorrect. INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" // Incorrect parameter value: the tag is too long. INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong" // Incorrect parameter value: invalid `Tags`. INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags" // The task ID does not exist. INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" // Incorrect parameter value: search text. INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text" // Invalid parameter: text transparency. INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" // Invalid parameter: text template. INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" // Parameter error: Invalid `Thumbnail` value. INVALIDPARAMETERVALUE_THUMBNAILS = "InvalidParameterValue.Thumbnails" // Incorrect parameter value: TimeType. INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType" // Incorrect `Type` parameter value. INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" // Invalid `Types`. INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types" // The deduplication ID already exists on the same day. The request is removed due to duplication. INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier" // Parameter error: This retrieval mode is not supported for the file. INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = "InvalidParameterValue.UnsupportedRestoreTier" // Parameter error: Unsupported target storage class. DEEP ARCHIVE is only supported in certain regions. INVALIDPARAMETERVALUE_UNSUPPORTEDSTORAGECLASS = "InvalidParameterValue.UnsupportedStorageClass" // Parameter error: Unsupported storage class change. INVALIDPARAMETERVALUE_UNSUPPORTEDTRANSITION = "InvalidParameterValue.UnsupportedTransition" // Incorrect parameter: the URL is invalid. INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url" // Incorrect parameter value: the custom face library filter tag is invalid. INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" // Incorrect `vcrf`. INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf" // Invalid parameter: video stream bitrate. INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" // Invalid parameter: video stream encoder. INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" // Invalid `Vids`. INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids" // Incorrect parameter value: VOD session. INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey" // Parameter error: Invalid `Watermarks` value. INVALIDPARAMETERVALUE_WATERMARKS = "InvalidParameterValue.Watermarks" // Invalid parameter: width. INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported. INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported. INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" // Quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Limit exceeded: the total number of new and old timestamps exceeds the limit. LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax" // Limit exceeded: the total number of new and old tags exceeds the limit. LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax" // Limit exceeded: the number of templates exceeds the limit. LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource does not exist: the cover does not exist. RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl" // The resource does not exist: the file does not exist. RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" // The resource does not exist: figure. RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" // The service is not activated. RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist" // The resource does not exist: the template does not exist. RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // The user does not exist. RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" // The resource does not exist: keyword. RESOURCENOTFOUND_WORD = "ResourceNotFound.Word" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Incorrect parameter: M3U8 of `MasterPlaylist` is not supported. RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Non-empty categories cannot be deleted. UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty" )
const APIVersion = "2018-07-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIAnalysisTemplateItem ¶
type AIAnalysisTemplateItem struct { // Unique ID of intelligent analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Intelligent analysis template name. Name *string `json:"Name,omitempty" name:"Name"` // Intelligent analysis template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. // Note: this field may return null, indicating that no valid values can be obtained. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. // Note: this field may return null, indicating that no valid values can be obtained. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. // Note: this field may return null, indicating that no valid values can be obtained. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. // Note: this field may return null, indicating that no valid values can be obtained. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"` // Control parameter of an intelligent highlight generating task. HighlightConfigure *HighlightsConfigureInfo `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type AIRecognitionTemplateItem ¶
type AIRecognitionTemplateItem struct { // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Video content recognition template name. Name *string `json:"Name,omitempty" name:"Name"` // Video content recognition template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of opening and closing credits recognition. // Note: this field may return null, indicating that no valid values can be obtained. HeadTailConfigure *HeadTailConfigureInfo `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"` // Control parameter of splitting recognition. // Note: this field may return null, indicating that no valid values can be obtained. SegmentConfigure *SegmentConfigureInfo `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"` // Face recognition control parameter. // Note: this field may return null, indicating that no valid values can be obtained. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"` // Full text recognition control parameter. // Note: this field may return null, indicating that no valid values can be obtained. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. // Note: this field may return null, indicating that no valid values can be obtained. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"` // Full speech recognition control parameter. // Note: this field may return null, indicating that no valid values can be obtained. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. // Note: this field may return null, indicating that no valid values can be obtained. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"` // Control parameter of object recognition. // Note: this field may return null, indicating that no valid values can be obtained. ObjectConfigure *ObjectConfigureInfo `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"` // Screencapturing interval in seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type AccelerateAreaInfo ¶
type AccelerateAreaInfo struct { // Acceleration region. Valid values: // <li>Chinese Mainland</li> // <li>Outside Chinese Mainland</li> Area *string `json:"Area,omitempty" name:"Area"` // Reason why acceleration is disabled by Tencent Cloud. Valid values: // <li>ForLegalReasons: legal reasons</li> // <li>ForOverdueBills: overdue payment</li> TencentDisableReason *string `json:"TencentDisableReason,omitempty" name:"TencentDisableReason"` // CNAME of the acceleration domain name TencentEdgeDomain *string `json:"TencentEdgeDomain,omitempty" name:"TencentEdgeDomain"` }
type AdaptiveDynamicStreamingInfoItem ¶
type AdaptiveDynamicStreamingInfoItem struct { // Adaptive bitrate streaming specification. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Container format. Valid values: hls, dash. Package *string `json:"Package,omitempty" name:"Package"` // Encryption type. DrmType *string `json:"DrmType,omitempty" name:"DrmType"` // Playback address. Url *string `json:"Url,omitempty" name:"Url"` // File size (bytes) // <li>If the file is an HLS file, the value of this parameter is the sum of the size of the M3U8 and TS files.</li> // <li>If the file is a DASH file, the value of this parameter is the sum of the size of the MPD and segment files.</li> // <li><font color=red>Note</font>: For adaptive bitrate streaming files generated before 2022-01-10T16:00:00Z, the value of this parameter is `0`.</li> Size *int64 `json:"Size,omitempty" name:"Size"` // The watermark type. Valid values: // <li>Trace: Digital watermark</li> // <li>None: Regular watermark</li> DigitalWatermarkType *string `json:"DigitalWatermarkType,omitempty" name:"DigitalWatermarkType"` }
type AdaptiveDynamicStreamingTaskInput ¶
type AdaptiveDynamicStreamingTaskInput struct { // Adaptive bitrate streaming template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // List of up to 10 image or text watermarks. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"` // Digital watermark. TraceWatermark *TraceWatermarkInput `json:"TraceWatermark,omitempty" name:"TraceWatermark"` // List of subtitle IDs (maximum: 16) SubtitleSet []*string `json:"SubtitleSet,omitempty" name:"SubtitleSet"` }
type AdaptiveDynamicStreamingTemplate ¶
type AdaptiveDynamicStreamingTemplate struct { // Unique ID of a transcoding to adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Name of a transcoding to adaptive bitrate streaming template. Name *string `json:"Name,omitempty" name:"Name"` // Description of a transcoding to adaptive bitrate streaming template. Comment *string `json:"Comment,omitempty" name:"Comment"` // Adaptive bitstream format. Valid value: // <li>HLS.</li> Format *string `json:"Format,omitempty" name:"Format"` // The DRM type. Valid values: // <li>SimpleAES</li> // <li>Widevine</li> // <li>FairPlay</li> // If this parameter is an empty string, it indicates that the video is not protected by DRM. DrmType *string `json:"DrmType,omitempty" name:"DrmType"` // The provider of the DRM key. Valid values: // <li>SDMC</li> // <li>VOD</li> // The default is `VOD`. DrmKeyProvider *string `json:"DrmKeyProvider,omitempty" name:"DrmKeyProvider"` // Parameter information of input stream for adaptive bitrate streaming. Up to 10 streams can be input. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // The segment type. This parameter is valid only if `Format` is `HLS`. SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
type AdaptiveStreamTemplate ¶
type AdaptiveStreamTemplate struct { // Video parameter information. Video *VideoTemplateInfo `json:"Video,omitempty" name:"Video"` // Audio parameter information. Audio *AudioTemplateInfo `json:"Audio,omitempty" name:"Audio"` // Whether to remove audio stream. Valid values: // <li>0: no,</li> // <li>1: yes.</li> RemoveAudio *uint64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Whether to remove a video stream. Valid values: // <li>0: no</li> // <li>1: yes</li> RemoveVideo *uint64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // TESHD transcoding parameters // Note: This field may return `null`, indicating that no valid value was found. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"` }
type AiAnalysisResult ¶
type AiAnalysisResult struct { // Task type. Valid values: // <li>Classification: intelligent categorization</li> // <li>Cover: intelligent cover generating</li> // <li>Tag: intelligent tagging</li> // <li>FrameTag: intelligent frame tagging</li> // <li>Highlight: intelligent highlight generating</li> Type *string `json:"Type,omitempty" name:"Type"` // Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`. // Note: this field may return null, indicating that no valid values can be obtained. ClassificationTask *AiAnalysisTaskClassificationResult `json:"ClassificationTask,omitempty" name:"ClassificationTask"` // Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`. // Note: this field may return null, indicating that no valid values can be obtained. CoverTask *AiAnalysisTaskCoverResult `json:"CoverTask,omitempty" name:"CoverTask"` // Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`. // Note: this field may return null, indicating that no valid values can be obtained. TagTask *AiAnalysisTaskTagResult `json:"TagTask,omitempty" name:"TagTask"` // Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`. // Note: this field may return null, indicating that no valid values can be obtained. FrameTagTask *AiAnalysisTaskFrameTagResult `json:"FrameTagTask,omitempty" name:"FrameTagTask"` // Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`. // Note: this field may return null, indicating that no valid values can be obtained. HighlightTask *AiAnalysisTaskHighlightResult `json:"HighlightTask,omitempty" name:"HighlightTask"` }
type AiAnalysisTaskClassificationInput ¶
type AiAnalysisTaskClassificationInput struct { // Intelligent video categorization template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskClassificationOutput ¶
type AiAnalysisTaskClassificationOutput struct { // List of intelligently generated video categories // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`. ClassificationSet []*MediaAiAnalysisClassificationItem `json:"ClassificationSet,omitempty" name:"ClassificationSet"` // URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`. ClassificationSetFileUrl *string `json:"ClassificationSetFileUrl,omitempty" name:"ClassificationSetFileUrl"` // Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) ClassificationSetFileUrlExpireTime *string `json:"ClassificationSetFileUrlExpireTime,omitempty" name:"ClassificationSetFileUrlExpireTime"` }
type AiAnalysisTaskClassificationResult ¶
type AiAnalysisTaskClassificationResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input of intelligent categorization task. Input *AiAnalysisTaskClassificationInput `json:"Input,omitempty" name:"Input"` // Output of intelligent categorization task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskClassificationOutput `json:"Output,omitempty" name:"Output"` // The progress of an intelligent categorization task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiAnalysisTaskCoverInput ¶
type AiAnalysisTaskCoverInput struct { // Intelligent video cover generating template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskCoverOutput ¶
type AiAnalysisTaskCoverOutput struct { // List of intelligently generated thumbnails // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `CoverSetFileUrl`. CoverSet []*MediaAiAnalysisCoverItem `json:"CoverSet,omitempty" name:"CoverSet"` // URL to the file for intelligently generated thumbnails. The file is in JSON format and has the same data structure as `CoverSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `CoverSetFileUrlExpireTime`. CoverSetFileUrl *string `json:"CoverSetFileUrl,omitempty" name:"CoverSetFileUrl"` // Expiration time of the URL to the file for intelligently generated thumbnails, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) CoverSetFileUrlExpireTime *string `json:"CoverSetFileUrlExpireTime,omitempty" name:"CoverSetFileUrlExpireTime"` }
type AiAnalysisTaskCoverResult ¶
type AiAnalysisTaskCoverResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input of intelligent cover generating task. Input *AiAnalysisTaskCoverInput `json:"Input,omitempty" name:"Input"` // Output of intelligent cover generating task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskCoverOutput `json:"Output,omitempty" name:"Output"` // The progress of an intelligent thumbnail generation task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiAnalysisTaskFrameTagInput ¶
type AiAnalysisTaskFrameTagInput struct { // Intelligent frame-specific video tagging template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskFrameTagOutput ¶
type AiAnalysisTaskFrameTagOutput struct { // List of frame-specific video tags // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaAiAnalysisFrameTagSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for frame-specific video tags. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for frame-specific video tags, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiAnalysisTaskFrameTagResult ¶
type AiAnalysisTaskFrameTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input of intelligent frame-specific tagging task. Input *AiAnalysisTaskFrameTagInput `json:"Input,omitempty" name:"Input"` // Output of intelligent frame-specific tagging task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskFrameTagOutput `json:"Output,omitempty" name:"Output"` // The progress of an intelligent labeling by frame task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiAnalysisTaskHighlightInput ¶
type AiAnalysisTaskHighlightInput struct { // ID of an intelligent highlight generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskHighlightOutput ¶
type AiAnalysisTaskHighlightOutput struct { // List of intelligently generated highlights // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `HighlightSetFileUrl`. HighlightSet []*MediaAiAnalysisHighlightItem `json:"HighlightSet,omitempty" name:"HighlightSet"` // URL to the file for intelligently generated highlights. The file is in JSON format and has the same data structure as `HighlightSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `HighlightSetFileUrlExpireTime`. HighlightSetFileUrl *string `json:"HighlightSetFileUrl,omitempty" name:"HighlightSetFileUrl"` // Expiration time of the URL to the file for intelligently generated highlights, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) HighlightSetFileUrlExpireTime *string `json:"HighlightSetFileUrlExpireTime,omitempty" name:"HighlightSetFileUrlExpireTime"` }
type AiAnalysisTaskHighlightResult ¶
type AiAnalysisTaskHighlightResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input for an intelligent highlight generating task. Input *AiAnalysisTaskHighlightInput `json:"Input,omitempty" name:"Input"` // Output of an intelligent highlight generating task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskHighlightOutput `json:"Output,omitempty" name:"Output"` // The progress of an intelligent highlight generation task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiAnalysisTaskInput ¶
type AiAnalysisTaskInput struct { // Video content analysis template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskTagInput ¶
type AiAnalysisTaskTagInput struct { // Intelligent video tagging template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiAnalysisTaskTagOutput ¶
type AiAnalysisTaskTagOutput struct { // List of intelligently generated video tags // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `TagSetFileUrl`. TagSet []*MediaAiAnalysisTagItem `json:"TagSet,omitempty" name:"TagSet"` // URL to the file for intelligently generated video tags. The file is in JSON format and has the same data structure as `TagSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `TagSetFileUrlExpireTime`. TagSetFileUrl *string `json:"TagSetFileUrl,omitempty" name:"TagSetFileUrl"` // Expiration time of the URL to the file for intelligently generated video tags, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) TagSetFileUrlExpireTime *string `json:"TagSetFileUrlExpireTime,omitempty" name:"TagSetFileUrlExpireTime"` }
type AiAnalysisTaskTagResult ¶
type AiAnalysisTaskTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input of intelligent tagging task. Input *AiAnalysisTaskTagInput `json:"Input,omitempty" name:"Input"` // Output of intelligent tagging task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskTagOutput `json:"Output,omitempty" name:"Output"` // The progress of an intelligent labeling task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiContentReviewResult ¶
type AiContentReviewResult struct { // Task type. Valid values: // <li>`Porn`: porn information recognition in images</li> // <li>`Terrorism`: terrorism information recognition in images</li> // <li>`Political`: politically sensitive information recognition in images</li> // <li>`Porn.Asr`: ASR-based porn information recognition in speech</li> // <li>`Porn.Ocr`: OCR-based porn information recognition in text</li> // <li>`Political.Asr`: ASR-based politically sensitive information recognition in speech</li> // <li>`Political.Ocr`: OCR-based politically sensitive information recognition in text</li> // <li>`Terrorism.Ocr`: OCR-based terrorism information recognition in text</li> // <li>`Prohibited.Asr`: ASR-based prohibited information recognition in speech</li> // <li>`Prohibited.Ocr`: OCR-based prohibited information recognition in text</li> Type *string `json:"Type,omitempty" name:"Type"` // Result for intelligent recognition of pornographic content in images. This parameter is valid when `Type` is `Porn`. // Note: This field may return `null`, indicating that no valid value can be found. PornTask *AiReviewTaskPornResult `json:"PornTask,omitempty" name:"PornTask"` // Result for intelligent recognition of terrorism content in images. This parameter is valid when `Type` is `Terrorism`. // Note: This field may return `null`, indicating that no valid value can be found. TerrorismTask *AiReviewTaskTerrorismResult `json:"TerrorismTask,omitempty" name:"TerrorismTask"` // Result for intelligent recognition of politically sensitive content in images. This parameter is valid when `Type` is `Political`. // Note: This field may return `null`, indicating that no valid value can be found. PoliticalTask *AiReviewTaskPoliticalResult `json:"PoliticalTask,omitempty" name:"PoliticalTask"` // Result for ASR-based recognition of pornographic content. This parameter is valid when `Type` is `Porn.Asr`. // Note: This field may return `null`, indicating that no valid value can be found. PornAsrTask *AiReviewTaskPornAsrResult `json:"PornAsrTask,omitempty" name:"PornAsrTask"` // Result for OCR-based recognition of pornographic content. This parameter is valid when `Type` is `Porn.Ocr`. // Note: This field may return `null`, indicating that no valid value can be found. PornOcrTask *AiReviewTaskPornOcrResult `json:"PornOcrTask,omitempty" name:"PornOcrTask"` // Result for ASR-based recognition of politically sensitive content. This parameter is valid when `Type` is `Political.Asr`. // Note: This field may return `null`, indicating that no valid value can be found. PoliticalAsrTask *AiReviewTaskPoliticalAsrResult `json:"PoliticalAsrTask,omitempty" name:"PoliticalAsrTask"` // Result for OCR-based recognition of politically sensitive content. This parameter is valid when `Type` is `Political.Ocr`. // Note: This field may return `null`, indicating that no valid value can be found. PoliticalOcrTask *AiReviewTaskPoliticalOcrResult `json:"PoliticalOcrTask,omitempty" name:"PoliticalOcrTask"` // Result for OCR-based recognition of terrorism content. This parameter is valid when `Type` is `Terrorism.Ocr`. // Note: This field may return `null`, indicating that no valid value can be found. TerrorismOcrTask *AiReviewTaskTerrorismOcrResult `json:"TerrorismOcrTask,omitempty" name:"TerrorismOcrTask"` // Result for OCR-based recognition of banned content. This parameter is valid when `Type` is `Prohibited.Ocr`. // Note: This field may return `null`, indicating that no valid value can be found. ProhibitedOcrTask *AiReviewTaskProhibitedOcrResult `json:"ProhibitedOcrTask,omitempty" name:"ProhibitedOcrTask"` // Result for ASR-based recognition of banned content. This parameter is valid when `Type` is `Prohibited.Asr`. // Note: This field may return `null`, indicating that no valid value can be found. ProhibitedAsrTask *AiReviewTaskProhibitedAsrResult `json:"ProhibitedAsrTask,omitempty" name:"ProhibitedAsrTask"` }
type AiContentReviewTaskInput ¶
type AiContentReviewTaskInput struct { // Intelligent recognition template ID Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionResult ¶
type AiRecognitionResult struct { // Task type. Valid values: // <li>FaceRecognition: face recognition,</li> // <li>AsrWordsRecognition: speech keyword recognition,</li> // <li>OcrWordsRecognition: text keyword recognition,</li> // <li>AsrFullTextRecognition: full speech recognition,</li> // <li>OcrFullTextRecognition: full text recognition,</li> // <li>HeadTailRecognition: video opening and ending credits recognition,</li> // <li>ObjectRecognition: object recognition.</li> Type *string `json:"Type,omitempty" name:"Type"` // Video opening and ending credits recognition result, which is valid when `Type` is // `HeadTailRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. HeadTailTask *AiRecognitionTaskHeadTailResult `json:"HeadTailTask,omitempty" name:"HeadTailTask"` // Video splitting recognition result, which is valid when `Type` is // `SegmentRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. SegmentTask *AiRecognitionTaskSegmentResult `json:"SegmentTask,omitempty" name:"SegmentTask"` // Face recognition result, which is valid when `Type` is // `FaceRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. FaceTask *AiRecognitionTaskFaceResult `json:"FaceTask,omitempty" name:"FaceTask"` // Speech keyword recognition result, which is valid when `Type` is // `AsrWordsRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. AsrWordsTask *AiRecognitionTaskAsrWordsResult `json:"AsrWordsTask,omitempty" name:"AsrWordsTask"` // Full speech recognition result, which is valid when `Type` is // `AsrFullTextRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. AsrFullTextTask *AiRecognitionTaskAsrFullTextResult `json:"AsrFullTextTask,omitempty" name:"AsrFullTextTask"` // Text keyword recognition result, which is valid when `Type` is // `OcrWordsRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. OcrWordsTask *AiRecognitionTaskOcrWordsResult `json:"OcrWordsTask,omitempty" name:"OcrWordsTask"` // Full text recognition result, which is valid when `Type` is // `OcrFullTextRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. OcrFullTextTask *AiRecognitionTaskOcrFullTextResult `json:"OcrFullTextTask,omitempty" name:"OcrFullTextTask"` // Object recognition result, which is valid when `Type` is // `ObjectRecognition`. // Note: this field may return null, indicating that no valid values can be obtained. ObjectTask *AiRecognitionTaskObjectResult `json:"ObjectTask,omitempty" name:"ObjectTask"` }
type AiRecognitionTaskAsrFullTextResult ¶
type AiRecognitionTaskAsrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of full speech recognition task. Input *AiRecognitionTaskAsrFullTextResultInput `json:"Input,omitempty" name:"Input"` // Output information of full speech recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskAsrFullTextResultOutput `json:"Output,omitempty" name:"Output"` }
type AiRecognitionTaskAsrFullTextResultInput ¶
type AiRecognitionTaskAsrFullTextResultInput struct { // Full speech recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskAsrFullTextResultOutput ¶
type AiRecognitionTaskAsrFullTextResultOutput struct { // List of full-text speech recognition segments // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. SegmentSet []*AiRecognitionTaskAsrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file of the list for full-text speech recognition segments. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // The expiration time of the URLs of full-text speech recognition segments in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` // The subtitle files generated, whose format is determined by the `SubtitleFormats` parameter of [AsrFullTextConfigureInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#AsrFullTextConfigureInfo). SubtitleSet []*AiRecognitionTaskAsrFullTextResultOutputSubtitleItem `json:"SubtitleSet,omitempty" name:"SubtitleSet"` // The URLs of the subtitle files generated, whose format is determined by the `SubtitleFormats` parameter of [AsrFullTextConfigureInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#AsrFullTextConfigureInfo). SubtitleUrl *string `json:"SubtitleUrl,omitempty" name:"SubtitleUrl"` }
type AiRecognitionTaskAsrFullTextSegmentItem ¶
type AiRecognitionTaskAsrFullTextSegmentItem struct { // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Recognized text. Text *string `json:"Text,omitempty" name:"Text"` }
type AiRecognitionTaskAsrWordsResult ¶
type AiRecognitionTaskAsrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of speech keyword recognition task. Input *AiRecognitionTaskAsrWordsResultInput `json:"Input,omitempty" name:"Input"` // Output information of speech keyword recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskAsrWordsResultOutput `json:"Output,omitempty" name:"Output"` // The progress of a speech keyword recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskAsrWordsResultInput ¶
type AiRecognitionTaskAsrWordsResultInput struct { // Speech keyword recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskAsrWordsResultItem ¶
type AiRecognitionTaskAsrWordsResultItem struct { // Speech keyword. Word *string `json:"Word,omitempty" name:"Word"` // List of time segments that contain the speech keyword. SegmentSet []*AiRecognitionTaskAsrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskAsrWordsResultOutput ¶
type AiRecognitionTaskAsrWordsResultOutput struct { // Speech keyword recognition result set // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. ResultSet []*AiRecognitionTaskAsrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet"` // URL to the file of the speech keyword recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"` // Expiration time of the URL to the file of the speech keyword recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"` }
type AiRecognitionTaskAsrWordsSegmentItem ¶
type AiRecognitionTaskAsrWordsSegmentItem struct { // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` }
type AiRecognitionTaskFaceResult ¶
type AiRecognitionTaskFaceResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of face recognition task. Input *AiRecognitionTaskFaceResultInput `json:"Input,omitempty" name:"Input"` // Output information of face recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskFaceResultOutput `json:"Output,omitempty" name:"Output"` // The progress of a face recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskFaceResultInput ¶
type AiRecognitionTaskFaceResultInput struct { // Face recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskFaceResultItem ¶
type AiRecognitionTaskFaceResultItem struct { // Unique ID of figure. Id *string `json:"Id,omitempty" name:"Id"` // Figure library type, indicating to which figure library the recognized figure belongs: // <li>Default: default figure library;</li> // <li>UserDefine: custom figure library.</li> Type *string `json:"Type,omitempty" name:"Type"` // Figure name. Name *string `json:"Name,omitempty" name:"Name"` // Result set of segments that contain a figure. SegmentSet []*AiRecognitionTaskFaceSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskFaceResultOutput ¶
type AiRecognitionTaskFaceResultOutput struct { // Intelligent face recognition result set // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. ResultSet []*AiRecognitionTaskFaceResultItem `json:"ResultSet,omitempty" name:"ResultSet"` // URL to the file of the intelligent face recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"` // Expiration time of the URL to the file of the intelligent face recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"` }
type AiRecognitionTaskFaceSegmentItem ¶
type AiRecognitionTaskFaceSegmentItem struct { // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskHeadTailResult ¶
type AiRecognitionTaskHeadTailResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of video opening and ending credits recognition task. Input *AiRecognitionTaskHeadTailResultInput `json:"Input,omitempty" name:"Input"` // Output information of video opening and ending credits recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskHeadTailResultOutput `json:"Output,omitempty" name:"Output"` // The progress of an opening/closing segment recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskHeadTailResultInput ¶
type AiRecognitionTaskHeadTailResultInput struct { // Video opening and ending credits recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskHeadTailResultOutput ¶
type AiRecognitionTaskHeadTailResultOutput struct { // Confidence of recognized opening credits. Value range: 0-100. HeadConfidence *float64 `json:"HeadConfidence,omitempty" name:"HeadConfidence"` // End time point of video opening credits in seconds. HeadTimeOffset *float64 `json:"HeadTimeOffset,omitempty" name:"HeadTimeOffset"` // Confidence of recognized closing credits. Value range: 0-100. TailConfidence *float64 `json:"TailConfidence,omitempty" name:"TailConfidence"` // Start time point of video closing credits in seconds. TailTimeOffset *float64 `json:"TailTimeOffset,omitempty" name:"TailTimeOffset"` }
type AiRecognitionTaskInput ¶
type AiRecognitionTaskInput struct { // Intelligent video recognition template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskObjectResult ¶
type AiRecognitionTaskObjectResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of object recognition task. Input *AiRecognitionTaskObjectResultInput `json:"Input,omitempty" name:"Input"` // Output information of object recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskObjectResultOutput `json:"Output,omitempty" name:"Output"` // The progress of an object recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskObjectResultInput ¶
type AiRecognitionTaskObjectResultInput struct { // Object recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskObjectResultItem ¶
type AiRecognitionTaskObjectResultItem struct { // Name of recognized object. Name *string `json:"Name,omitempty" name:"Name"` // List of segments that contain an object. SegmentSet []*AiRecognitionTaskObjectSeqmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskObjectResultOutput ¶
type AiRecognitionTaskObjectResultOutput struct { // Intelligent object recognition result set // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. ResultSet []*AiRecognitionTaskObjectResultItem `json:"ResultSet,omitempty" name:"ResultSet"` // URL to the file of the object recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"` // Expiration time of the URL to the object recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"` }
type AiRecognitionTaskObjectSeqmentItem ¶
type AiRecognitionTaskObjectSeqmentItem struct { // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskOcrFullTextResult ¶
type AiRecognitionTaskOcrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of full text recognition task. Input *AiRecognitionTaskOcrFullTextResultInput `json:"Input,omitempty" name:"Input"` // Output information of full text recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskOcrFullTextResultOutput `json:"Output,omitempty" name:"Output"` // The progress of a full text recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskOcrFullTextResultInput ¶
type AiRecognitionTaskOcrFullTextResultInput struct { // Full text recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskOcrFullTextResultOutput ¶
type AiRecognitionTaskOcrFullTextResultOutput struct { // Full-text recognition result set // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. SegmentSet []*AiRecognitionTaskOcrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file of the full-text recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file of the full-text recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiRecognitionTaskOcrFullTextSegmentItem ¶
type AiRecognitionTaskOcrFullTextSegmentItem struct { // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Recognition segment result set. TextSet []*AiRecognitionTaskOcrFullTextSegmentTextItem `json:"TextSet,omitempty" name:"TextSet"` }
type AiRecognitionTaskOcrFullTextSegmentTextItem ¶
type AiRecognitionTaskOcrFullTextSegmentTextItem struct { // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` // Recognized text. Text *string `json:"Text,omitempty" name:"Text"` }
type AiRecognitionTaskOcrWordsResult ¶
type AiRecognitionTaskOcrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of text keyword recognition task. Input *AiRecognitionTaskOcrWordsResultInput `json:"Input,omitempty" name:"Input"` // Output information of text keyword recognition task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskOcrWordsResultOutput `json:"Output,omitempty" name:"Output"` // The progress of a text keyword recognition task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskOcrWordsResultInput ¶
type AiRecognitionTaskOcrWordsResultInput struct { // Text keyword recognition template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskOcrWordsResultItem ¶
type AiRecognitionTaskOcrWordsResultItem struct { // Text keyword. Word *string `json:"Word,omitempty" name:"Word"` // List of segments that contain a text keyword. SegmentSet []*AiRecognitionTaskOcrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskOcrWordsResultOutput ¶
type AiRecognitionTaskOcrWordsResultOutput struct { // Text keyword recognition result set // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. ResultSet []*AiRecognitionTaskOcrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet"` // URL to the file of the text keyword recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"` // Expiration time of the URL to the file of the text keyword recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"` }
type AiRecognitionTaskOcrWordsSegmentItem ¶
type AiRecognitionTaskOcrWordsSegmentItem struct { // Start time offset of recognized segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskSegmentResult ¶
type AiRecognitionTaskSegmentResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input information of video splitting task. // Note: this field may return null, indicating that no valid values can be obtained. Input *AiRecognitionTaskSegmentResultInput `json:"Input,omitempty" name:"Input"` // Output information of video splitting task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskSegmentResultOutput `json:"Output,omitempty" name:"Output"` // The progress of a video splitting task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiRecognitionTaskSegmentResultInput ¶
type AiRecognitionTaskSegmentResultInput struct { // Video splitting template ID. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type AiRecognitionTaskSegmentResultOutput ¶
type AiRecognitionTaskSegmentResultOutput struct { // List of split video segments // <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`. SegmentSet []*AiRecognitionTaskSegmentSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file of the list for split video segments. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file of the list for split video segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiRecognitionTaskSegmentSegmentItem ¶
type AiRecognitionTaskSegmentSegmentItem struct { // File ID, which is valid only when a VOD file is processed and the subsegments generated through segmentation are also VOD files. FileId *string `json:"FileId,omitempty" name:"FileId"` // Split video segment URL. SegmentUrl *string `json:"SegmentUrl,omitempty" name:"SegmentUrl"` // Confidence of split segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Start time offset of split segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of split segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Split cover image URL. CovImgUrl *string `json:"CovImgUrl,omitempty" name:"CovImgUrl"` // Special field, which should be ignored. SpecialInfo *string `json:"SpecialInfo,omitempty" name:"SpecialInfo"` }
type AiReviewPoliticalAsrTaskInput ¶
type AiReviewPoliticalAsrTaskInput struct { // ID of the template for recognition of politically sensitive content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPoliticalAsrTaskOutput ¶
type AiReviewPoliticalAsrTaskOutput struct { // Confidence score for the ASR-detected politically sensitive content. Value range: 0-100 Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the ASR-detected politically sensitive content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain ASR-detected politically sensitive content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain ASR-detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain ASR-detected politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewPoliticalOcrTaskInput ¶
type AiReviewPoliticalOcrTaskInput struct { // ID of the template for recognition of politically sensitive content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPoliticalOcrTaskOutput ¶
type AiReviewPoliticalOcrTaskOutput struct { // Confidence score for the OCR-detected politically sensitive content. Value range: 0-100 Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the OCR-detected politically sensitive content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain OCR-detected politically sensitive content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain OCR-detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain OCR-detected politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewPoliticalTaskInput ¶
type AiReviewPoliticalTaskInput struct { // ID of the template for recognition of politically sensitive content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPoliticalTaskOutput ¶
type AiReviewPoliticalTaskOutput struct { // Confidence score for the detected politically sensitive content. Value range: 0-100 Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the detected politically sensitive content // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // Labels for the detected politically sensitive content. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows: // violation_photo: // <li>`violation_photo`: banned images</li> // Other values (politician/entertainment/sport/entrepreneur/scholar/celebrity/military): // <li>`politician`: politically sensitive people</li> Label *string `json:"Label,omitempty" name:"Label"` // List of video segments that contain detected politically sensitive content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewPoliticalSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewPornAsrTaskInput ¶
type AiReviewPornAsrTaskInput struct { // ID of the template for recognition of pornographic content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPornAsrTaskOutput ¶
type AiReviewPornAsrTaskOutput struct { // Confidence score for the ASR-detected pornographic content Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the ASR-detected pornographic content // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain ASR-detected pornographic content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain ASR-detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain ASR-detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewPornOcrTaskInput ¶
type AiReviewPornOcrTaskInput struct { // ID of the template for recognition of pornographic content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPornOcrTaskOutput ¶
type AiReviewPornOcrTaskOutput struct { // Confidence score for the OCR-detected pornographic content Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the OCR-detected pornographic content // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain OCR-detected pornographic content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain OCR-detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain OCR-detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewPornTaskInput ¶
type AiReviewPornTaskInput struct { // ID of the template for recognition of pornographic content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewPornTaskOutput ¶
type AiReviewPornTaskOutput struct { // Confidence score for the detected pornographic content. Value range: 0-100 Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the detected pornographic content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // Labels for the detected pornographic content. Valid values: // <li>porn</li> // <li>sexy</li> // <li>vulgar</li> // <li>intimacy</li> Label *string `json:"Label,omitempty" name:"Label"` // List of video segments that contain detected pornographic content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewProhibitedAsrTaskInput ¶
type AiReviewProhibitedAsrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewProhibitedAsrTaskOutput ¶
type AiReviewProhibitedAsrTaskOutput struct { // Score of ASR-detected prohibited information in speech between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Suggestion for ASR-detected prohibited information in speech. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain ASR-detected prohibited information // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain ASR-detected prohibited information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain ASR-detected prohibited information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewProhibitedOcrTaskInput ¶
type AiReviewProhibitedOcrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewProhibitedOcrTaskOutput ¶
type AiReviewProhibitedOcrTaskOutput struct { // Score of OCR-detected prohibited information in text between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Suggestion for OCR-detected prohibited information in text. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain OCR-detected prohibited information // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain OCR-detected prohibited information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL for video segments that contain OCR-detected prohibited information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewTaskPoliticalAsrResult ¶
type AiReviewTaskPoliticalAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for ASR-based recognition of politically sensitive content Input *AiReviewPoliticalAsrTaskInput `json:"Input,omitempty" name:"Input"` // Output for ASR-based recognition of politically sensitive content Output *AiReviewPoliticalAsrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an ASR-based moderation task (politically sensitive content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskPoliticalOcrResult ¶
type AiReviewTaskPoliticalOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for OCR-based recognition of politically sensitive content Input *AiReviewPoliticalOcrTaskInput `json:"Input,omitempty" name:"Input"` // Output for OCR-based recognition of politically sensitive content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewPoliticalOcrTaskOutput `json:"Output,omitempty" name:"Output"` }
type AiReviewTaskPoliticalResult ¶
type AiReviewTaskPoliticalResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for intelligent recognition of politically sensitive content Input *AiReviewPoliticalTaskInput `json:"Input,omitempty" name:"Input"` // Output for intelligent recognition of politically sensitive content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewPoliticalTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of a moderation task (politically sensitive content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskPornAsrResult ¶
type AiReviewTaskPornAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for ASR-based recognition of pornographic content Input *AiReviewPornAsrTaskInput `json:"Input,omitempty" name:"Input"` // Output for ASR-based recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewPornAsrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an ASR-based moderation task (pornographic content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskPornOcrResult ¶
type AiReviewTaskPornOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for OCR-based recognition of pornographic content Input *AiReviewPornOcrTaskInput `json:"Input,omitempty" name:"Input"` // Output for OCR-based recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewPornOcrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an OCR-based moderation task (pornographic content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskPornResult ¶
type AiReviewTaskPornResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for intelligent recognition of pornographic content Input *AiReviewPornTaskInput `json:"Input,omitempty" name:"Input"` // Output for intelligent recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewPornTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of a moderation task (pornographic content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskProhibitedAsrResult ¶
type AiReviewTaskProhibitedAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input for ASR-based recognition of banned content Input *AiReviewProhibitedAsrTaskInput `json:"Input,omitempty" name:"Input"` // Output for ASR-based recognition of banned content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewProhibitedAsrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an ASR-based moderation task (banned content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskProhibitedOcrResult ¶
type AiReviewTaskProhibitedOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input for OCR-based recognition of banned content Input *AiReviewProhibitedOcrTaskInput `json:"Input,omitempty" name:"Input"` // Output for OCR-based recognition of banned content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewProhibitedOcrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an OCR-based moderation task (banned content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskTerrorismOcrResult ¶
type AiReviewTaskTerrorismOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // Input for OCR-based recognition of terrorism content Input *AiReviewTerrorismOcrTaskInput `json:"Input,omitempty" name:"Input"` // Output for OCR-based recognition of terrorism content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewTerrorismOcrTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of an OCR-based moderation task (terrorist content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTaskTerrorismResult ¶
type AiReviewTaskTerrorismResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input for intelligent recognition of terrorism content Input *AiReviewTerrorismTaskInput `json:"Input,omitempty" name:"Input"` // Output for intelligent recognition of terrorism content // Note: This field may return `null`, indicating that no valid value can be found. Output *AiReviewTerrorismTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of a moderation task (terrorist content). Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type AiReviewTerrorismOcrTaskInput ¶
type AiReviewTerrorismOcrTaskInput struct { // ID of the template for recognition of terrorism content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewTerrorismOcrTaskOutput ¶
type AiReviewTerrorismOcrTaskOutput struct { // Confidence score for the OCR-detected terrorism content. Value range: 0-100 Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the OCR-detected terrorism content // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of video segments that contain OCR-detected terrorism content // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain OCR-detected terrorism content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain OCR-detected terrorism content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiReviewTerrorismTaskInput ¶
type AiReviewTerrorismTaskInput struct { // ID of the template for recognition of terrorism content Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type AiReviewTerrorismTaskOutput ¶
type AiReviewTerrorismTaskOutput struct { // Score of detected terrorism information in a video between 0 and 100. // Note: this field may return null, indicating that no valid values can be obtained. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Suggestion for detected terrorism information. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> // Note: this field may return null, indicating that no valid values can be obtained. Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // Tag of the detected terrorism information in a video. Valid values: // <li>`guns`: weapons and guns</li> // <li>`crowd`: crowds</li> // <li>`police`: police forces</li> // <li>`bloody`: bloody images</li> // <li>`banners`: terrorism flags</li> // <li>`militant`: militants</li> // <li>`explosion`: explosions and fires</li> // <li>`terrorists`: terrorists</li> // <li>`scenario`: terrorism images</li> Label *string `json:"Label,omitempty" name:"Label"` // List of video segments that contain terrorism information // <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // URL to the file for video segments that contain terrorism information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`. SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // Expiration time of the URL to the file for video segments that contain terrorism information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type AiSampleFaceInfo ¶
type AiSampleFaceOperation ¶
type AiSampleFaceOperation struct { // Operation type. Valid values: add, delete, reset. The `reset` operation will clear the existing face data of a figure and add `FaceContents` as the specified face data. Type *string `json:"Type,omitempty" name:"Type"` // Face ID set, which is required if `Type` is `delete`. FaceIds []*string `json:"FaceIds,omitempty" name:"FaceIds"` // String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image. // <li>This field is required if `Type` is `add` or `reset`;</li> // <li>Array length limit: 5 images.</li> // Note: the image must be a relatively clear full-face photo of a figure in at least 200 * 200 px. FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents"` }
type AiSampleFailFaceInfo ¶
type AiSampleFailFaceInfo struct { // It corresponds to incorrect image subscripts in the `FaceContents` input parameter, starting from 0. Index *uint64 `json:"Index,omitempty" name:"Index"` // Error code. Valid values: // <li>0: success;</li> // <li>Other values: failure.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` }
type AiSamplePerson ¶
type AiSamplePerson struct { // Figure ID. PersonId *string `json:"PersonId,omitempty" name:"PersonId"` // Figure name. Name *string `json:"Name,omitempty" name:"Name"` // Figure description. Description *string `json:"Description,omitempty" name:"Description"` // Face information. FaceInfoSet []*AiSampleFaceInfo `json:"FaceInfoSet,omitempty" name:"FaceInfoSet"` // Figure tag. TagSet []*string `json:"TagSet,omitempty" name:"TagSet"` // Use case. UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet"` // Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type AiSampleTagOperation ¶
type AiSampleWord ¶
type AiSampleWord struct { // Keyword. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // Keyword tag. TagSet []*string `json:"TagSet,omitempty" name:"TagSet"` // Keyword use case. UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet"` // Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type AiSampleWordInfo ¶
type AnimatedGraphicTaskInput ¶
type AnimatedGraphicTaskInput struct { // Animated image generating template ID Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Start time offset of an animated image in the video, in seconds. // <li>If this parameter is left empty or set to 0, the animated image will start at the same time as the video.</li> // <li>If this parameter is set to a positive number (n for example), the animated image will start at the nth second of the video.</li> // <li>If this parameter is set to a negative number (-n for example), the animated image will start at the nth second before the end of the video.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of an animated image in the video, in seconds. // <li>If this parameter is left empty or set to 0, the animated image will end at the same time as the video.</li> // <li>If this parameter is set to a positive number (n for example), the animated image will end at the nth second of the video.</li> // <li>If this parameter is set to a negative number (-n for example), the animated image will end at the nth second before the end of the video.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type AnimatedGraphicsTemplate ¶
type AnimatedGraphicsTemplate struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Name of an animated image generating template. Name *string `json:"Name,omitempty" name:"Name"` // Description of an animated image generating template. Comment *string `json:"Comment,omitempty" name:"Comment"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Animated image format. Format *string `json:"Format,omitempty" name:"Format"` // Frame rate. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // Image quality. Quality *float64 `json:"Quality,omitempty" name:"Quality"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ApplyUploadRequest ¶
type ApplyUploadRequest struct { *tchttp.BaseRequest // Media type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B). MediaType *string `json:"MediaType,omitempty" name:"MediaType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media name. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // Cover type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B). CoverType *string `json:"CoverType,omitempty" name:"CoverType"` // Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically. This parameter value is a task flow template name. VOD supports [creating task flow templates](https://intl.cloud.tencent.com/document/product/266/33819?from_cn_redirect=1) and naming the templates. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // Expiration time of a media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Specifies upload region. This is only applicable to users that have special requirements for the upload region. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. // <li>Default value: 0, which means "Other".</li> ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // Session context, which is used to pass through the user request information. If the `Procedure` parameter is specified, the [task flow status change callback](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) API will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Reserved parameter for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewApplyUploadRequest ¶
func NewApplyUploadRequest() (request *ApplyUploadRequest)
func (*ApplyUploadRequest) FromJsonString ¶
func (r *ApplyUploadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyUploadRequest) ToJsonString ¶
func (r *ApplyUploadRequest) ToJsonString() string
type ApplyUploadRequestParams ¶
type ApplyUploadRequestParams struct { // Media type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B). MediaType *string `json:"MediaType,omitempty" name:"MediaType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media name. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // Cover type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B). CoverType *string `json:"CoverType,omitempty" name:"CoverType"` // Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically. This parameter value is a task flow template name. VOD supports [creating task flow templates](https://intl.cloud.tencent.com/document/product/266/33819?from_cn_redirect=1) and naming the templates. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // Expiration time of a media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Specifies upload region. This is only applicable to users that have special requirements for the upload region. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. // <li>Default value: 0, which means "Other".</li> ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // Session context, which is used to pass through the user request information. If the `Procedure` parameter is specified, the [task flow status change callback](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) API will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Reserved parameter for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ApplyUploadResponse ¶
type ApplyUploadResponse struct { *tchttp.BaseResponse Response *ApplyUploadResponseParams `json:"Response"` }
func NewApplyUploadResponse ¶
func NewApplyUploadResponse() (response *ApplyUploadResponse)
func (*ApplyUploadResponse) FromJsonString ¶
func (r *ApplyUploadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyUploadResponse) ToJsonString ¶
func (r *ApplyUploadResponse) ToJsonString() string
type ApplyUploadResponseParams ¶
type ApplyUploadResponseParams struct { // Storage bucket, which is used as the `bucket_name` in the URL of the upload API. StorageBucket *string `json:"StorageBucket,omitempty" name:"StorageBucket"` // Storage region, which is used as the `Region` in the `Host` of the upload API. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // VOD session, which is used to confirm the `VodSessionKey` parameter of the upload API. VodSessionKey *string `json:"VodSessionKey,omitempty" name:"VodSessionKey"` // Media storage path, which is used as the `Key` of the stored media of the upload API. // Note: this field may return null, indicating that no valid values can be obtained. MediaStoragePath *string `json:"MediaStoragePath,omitempty" name:"MediaStoragePath"` // Cover storage path, which is used as the `Key` of the stored cover of the upload API. // Note: this field may return null, indicating that no valid values can be obtained. CoverStoragePath *string `json:"CoverStoragePath,omitempty" name:"CoverStoragePath"` // Temporary credential, which is used for authentication of the upload API. TempCertificate *TempCertificate `json:"TempCertificate,omitempty" name:"TempCertificate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AsrFullTextConfigureInfo ¶
type AsrFullTextConfigureInfo struct { // Switch of full speech recognition task. Valid values: // <li>ON: enables intelligent full speech recognition task;</li> // <li>OFF: disables intelligent full speech recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values: // <li>vtt</li> // <li>srt</li> SubtitleFormats []*string `json:"SubtitleFormats,omitempty" name:"SubtitleFormats"` // The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values: // <li>vtt</li> // <li>srt</li> // <font color='red'>Note: This parameter has been deprecated. Please use `SubtitleFormats` instead.</font> SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"` }
type AsrFullTextConfigureInfoForUpdate ¶
type AsrFullTextConfigureInfoForUpdate struct { // Switch of full speech recognition task. Valid values: // <li>ON: enables intelligent full speech recognition task;</li> // <li>OFF: disables intelligent full speech recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // The modification information of the subtitle format list. SubtitleFormatsOperation *SubtitleFormatsOperation `json:"SubtitleFormatsOperation,omitempty" name:"SubtitleFormatsOperation"` // The format of the subtitle file generated. <font color='red'>If you pass in an empty string</font>, no subtitle files will be generated. Valid values: // <li>vtt</li> // <li>srt</li> // <font color='red'>Note: This parameter has been deprecated. Please use `SubtitleFormatsOperation` instead.</font> SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"` }
type AsrWordsConfigureInfo ¶
type AsrWordsConfigureInfo struct { // Switch of speech keyword recognition task. Valid values: // <li>ON: enables speech keyword recognition task;</li> // <li>OFF: disables speech keyword recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` }
type AsrWordsConfigureInfoForUpdate ¶
type AsrWordsConfigureInfoForUpdate struct { // Switch of speech keyword recognition task. Valid values: // <li>ON: enables speech keyword recognition task;</li> // <li>OFF: disables speech keyword recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty or a blank value is entered, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` }
type AttachMediaSubtitlesRequest ¶
type AttachMediaSubtitlesRequest struct { *tchttp.BaseRequest // Unique ID of the media file FileId *string `json:"FileId,omitempty" name:"FileId"` // Operation. Valid values: // <li>`Attach`: associates subtitles.</li> // <li>`Detach`: disassociates subtitles.</li> Operation *string `json:"Operation,omitempty" name:"Operation"` // [Adaptive bitrate streaming template ID](https://intl.cloud.tencent.com/document/product/266/34071?from_cn_redirect=1#zsy) AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Unique IDs of the subtitles SubtitleIds []*string `json:"SubtitleIds,omitempty" name:"SubtitleIds"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewAttachMediaSubtitlesRequest ¶
func NewAttachMediaSubtitlesRequest() (request *AttachMediaSubtitlesRequest)
func (*AttachMediaSubtitlesRequest) FromJsonString ¶
func (r *AttachMediaSubtitlesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachMediaSubtitlesRequest) ToJsonString ¶
func (r *AttachMediaSubtitlesRequest) ToJsonString() string
type AttachMediaSubtitlesRequestParams ¶
type AttachMediaSubtitlesRequestParams struct { // Unique ID of the media file FileId *string `json:"FileId,omitempty" name:"FileId"` // Operation. Valid values: // <li>`Attach`: associates subtitles.</li> // <li>`Detach`: disassociates subtitles.</li> Operation *string `json:"Operation,omitempty" name:"Operation"` // [Adaptive bitrate streaming template ID](https://intl.cloud.tencent.com/document/product/266/34071?from_cn_redirect=1#zsy) AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Unique IDs of the subtitles SubtitleIds []*string `json:"SubtitleIds,omitempty" name:"SubtitleIds"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type AttachMediaSubtitlesResponse ¶
type AttachMediaSubtitlesResponse struct { *tchttp.BaseResponse Response *AttachMediaSubtitlesResponseParams `json:"Response"` }
func NewAttachMediaSubtitlesResponse ¶
func NewAttachMediaSubtitlesResponse() (response *AttachMediaSubtitlesResponse)
func (*AttachMediaSubtitlesResponse) FromJsonString ¶
func (r *AttachMediaSubtitlesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachMediaSubtitlesResponse) ToJsonString ¶
func (r *AttachMediaSubtitlesResponse) ToJsonString() string
type AttachMediaSubtitlesResponseParams ¶
type AttachMediaSubtitlesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AudioTemplateInfo ¶
type AudioTemplateInfo struct { // The audio codec. // If `Container` parameter is `mp3`, the valid value is: // <li>libmp3lame</li> // If `Container` is `ogg` or `flac`, the valid value is: // <li>flac</li> // If `Container` is `m4a`, the valid values are: // <li>libfdk_aac</li> // <li>libmp3lame</li> // <li>ac3</li> // If `Container` is `mp4` or `flv`, the valid values are: // <li>libfdk_aac: more suitable for mp4</li> // <li>libmp3lame: More suitable for flv</li> // <li>mp2</li> // If `Container` is `hls`, the valid values are: // <li>libfdk_aac</li> // If `Format` is `HLS` or `MPEG-DASH`, the valid values are: // <li>libfdk_aac</li> Codec *string `json:"Codec,omitempty" name:"Codec"` // Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. // If the value is 0, the bitrate of the audio stream will be the same as that of the original audio. Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // Audio stream sample rate. Valid values: // <li>32,000</li> // <li>44,100</li> // <li>48,000</li> // In Hz. SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"` // Audio channel system. Valid values: // <li>1: mono-channel</li> // <li>2: dual-channel</li> // <li>6: stereo</li> // You cannot set the sound channel as stereo for media files in container formats for audios (FLAC, OGG, MP3, M4A). // Default value: 2 AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"` }
type AudioTemplateInfoForUpdate ¶
type AudioTemplateInfoForUpdate struct { // The audio codec. // If `Container` parameter is `mp3`, the valid value is: // <li>libmp3lame</li> // If `Container` is `ogg` or `flac`, the valid value is: // <li>flac</li> // If `Container` is `m4a`, the valid values are: // <li>libfdk_aac</li> // <li>libmp3lame</li> // <li>ac3</li> // If `Container` is `mp4` or `flv`, the valid values are: // <li>libfdk_aac: more suitable for mp4</li> // <li>libmp3lame: More suitable for flv</li> // <li>mp2</li> // If `Container` is `hls`, the valid values are: // <li>libfdk_aac</li> // If `Format` is `HLS` or `MPEG-DASH`, the valid values are: // <li>libfdk_aac</li> Codec *string `json:"Codec,omitempty" name:"Codec"` // Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio. Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // Audio stream sample rate. Valid values: // <li>32,000</li> // <li>44,100</li> // <li>48,000</li> // In Hz. SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"` // Audio channel system. Valid values: // <li>1: mono-channel</li> // <li>2: dual-channel</li> // <li>6: stereo</li> // You cannot set the sound channel as stereo for media files in container formats for audios (FLAC, OGG, MP3, M4A). AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"` }
type AudioTrackItem ¶
type AudioTrackItem struct { // Source of media material for audio segment, which can be: // <li>ID of VOD media files</li> // <li>Download URL of other media files</li> // Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature). SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"` // Start time of audio segment in material file in seconds. Default value: 0, which means to start capturing from the beginning position of the material. SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitempty" name:"SourceMediaStartTime"` // Audio segment duration in seconds. By default, the length of the material will be used, which means that the entire material will be captured. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // The target audio duration, in seconds. // <li>If `TargetDuration` is empty or `0`, the target duration is the same as `Duration`.</li> // <li>If `TargetDuration` is a value greater than 0, the playback speed will be changed to make the final audio duration the same as the value of `TargetDuration`.</li> TargetDuration *float64 `json:"TargetDuration,omitempty" name:"TargetDuration"` // Operation on audio segment, such as volume adjustment. // Note: this field may return null, indicating that no valid values can be obtained. AudioOperations []*AudioTransform `json:"AudioOperations,omitempty" name:"AudioOperations"` }
type AudioTransform ¶
type AudioTransform struct { // Audio operation type. Valid values: // <li>Volume: volume adjustment.</li> Type *string `json:"Type,omitempty" name:"Type"` // Volume adjustment parameter, which is valid if `Type` is `Volume`. // Note: this field may return null, indicating that no valid values can be obtained. VolumeParam *AudioVolumeParam `json:"VolumeParam,omitempty" name:"VolumeParam"` }
type AudioVolumeParam ¶
type AudioVolumeParam struct { // Whether to mute. Valid values: 0, 1. // <li>0: not muted.</li> // <li>1: muted.</li> // Default value: 0. Mute *int64 `json:"Mute,omitempty" name:"Mute"` // Audio gain. Value range: 0-10. // <li>If the value is greater than 1, the volume will be increased.</li> // <li>If the value is smaller than 1, the volume will be decreased.</li> // <li>0 and 1: no change.</li> // Default value: 0. Gain *float64 `json:"Gain,omitempty" name:"Gain"` }
type Canvas ¶
type Canvas struct { // Background color. Valid values: // <li>Black: black background</li> // <li>White: white background</li> // Default value: Black. Color *string `json:"Color,omitempty" name:"Color"` // Canvas width, which is the width of the output video. Value range: 0-4096 px. // Default value: 0, which means that the value is the same as the video width of the first video segment in the first video track. Width *int64 `json:"Width,omitempty" name:"Width"` // Canvas height, which is the height (or long side) of the output video. Value range: 0-4096 px. // Default value: 0, which means that the value is the same as the video height of the first video segment in the first video track. Height *int64 `json:"Height,omitempty" name:"Height"` }
type CdnLogInfo ¶
type CdnLogInfo struct { // Log date in the format of `yyyy-MM-dd`, such as 2018-03-01. Date *string `json:"Date,omitempty" name:"Date"` // Log name in the format of date and time-domain name, // such as 2018120101-test.vod2.mqcloud.com. Name *string `json:"Name,omitempty" name:"Name"` // Log download link, which is valid for 24 hours. Url *string `json:"Url,omitempty" name:"Url"` // Log start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Log end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type ClassificationConfigureInfo ¶
type ClassificationConfigureInfo struct { // Switch of intelligent categorization task. Valid values: // <li>ON: enables intelligent categorization task;</li> // <li>OFF: disables intelligent categorization task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type ClassificationConfigureInfoForUpdate ¶
type ClassificationConfigureInfoForUpdate struct { // Switch of intelligent categorization task. Valid values: // <li>ON: enables intelligent categorization task;</li> // <li>OFF: disables intelligent categorization task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyUpload ¶
func (c *Client) ApplyUpload(request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)
ApplyUpload * This API is used to apply for uploading a media file (and cover file) to VOD and obtain the metadata of file storage (including upload path and upload signature) for subsequent use by the uploading API.
* For the detailed upload process, please see [Overview of Upload from Client](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime" INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ApplyUploadWithContext ¶
func (c *Client) ApplyUploadWithContext(ctx context.Context, request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)
ApplyUpload * This API is used to apply for uploading a media file (and cover file) to VOD and obtain the metadata of file storage (including upload path and upload signature) for subsequent use by the uploading API.
* For the detailed upload process, please see [Overview of Upload from Client](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime" INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AttachMediaSubtitles ¶
func (c *Client) AttachMediaSubtitles(request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)
AttachMediaSubtitles This API is used to associate/disassociate subtitles with/from a media file of a specific adaptive bitrate streaming template ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AttachMediaSubtitlesWithContext ¶
func (c *Client) AttachMediaSubtitlesWithContext(ctx context.Context, request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)
AttachMediaSubtitles This API is used to associate/disassociate subtitles with/from a media file of a specific adaptive bitrate streaming template ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CommitUpload ¶
func (c *Client) CommitUpload(request *CommitUploadRequest) (response *CommitUploadResponse, err error)
CommitUpload This API is used to confirm the result of uploading a media file (and cover file) to VOD, store the media information, and return the playback address and ID of the file.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CommitUploadWithContext ¶
func (c *Client) CommitUploadWithContext(ctx context.Context, request *CommitUploadRequest) (response *CommitUploadResponse, err error)
CommitUpload This API is used to confirm the result of uploading a media file (and cover file) to VOD, store the media information, and return the playback address and ID of the file.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ComposeMedia ¶
func (c *Client) ComposeMedia(request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)
ComposeMedia This API is used to compose a media file. You can use it to do the following:
1. **Rotation/Flipping**: Rotate a video or image by a specific angle or flip a video or image.
2. **Audio control**: Increase/Lower the volume of an audio/video file or mute an audio/video file.
3. **Overlaying**: Overlay videos/images in a specified sequence to achieve the picture-in-picture effect.
4. **Audio mixing**: Mix the audios of audio/video files.
5 **Audio extraction**: Extract audio from a video.
6. **Clipping**: Clip segments from audio/video files according to a specified start and end time.
7. **Splicing**: Splice videos/audios/images in a specified sequence.
8. **Transition**: Add transition effects between video segments or images that are spliced together.
The output file is in MP4 or MP3 format. In the callback for media composition, the event type is [ComposeMediaComplete](https://intl.cloud.tencent.com/document/product/266/43000?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ComposeMediaWithContext ¶
func (c *Client) ComposeMediaWithContext(ctx context.Context, request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)
ComposeMedia This API is used to compose a media file. You can use it to do the following:
1. **Rotation/Flipping**: Rotate a video or image by a specific angle or flip a video or image.
2. **Audio control**: Increase/Lower the volume of an audio/video file or mute an audio/video file.
3. **Overlaying**: Overlay videos/images in a specified sequence to achieve the picture-in-picture effect.
4. **Audio mixing**: Mix the audios of audio/video files.
5 **Audio extraction**: Extract audio from a video.
6. **Clipping**: Clip segments from audio/video files according to a specified start and end time.
7. **Splicing**: Splice videos/audios/images in a specified sequence.
8. **Transition**: Add transition effects between video segments or images that are spliced together.
The output file is in MP4 or MP3 format. In the callback for media composition, the event type is [ComposeMediaComplete](https://intl.cloud.tencent.com/document/product/266/43000?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ConfirmEvents ¶
func (c *Client) ConfirmEvents(request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)
ConfirmEvents * After the `PullEvents` API is called to get an event, this API must be called to confirm that the message has been received;
* After the event handler is obtained, the validity period of waiting for confirmation is 30 seconds. If the wait exceeds 30 seconds, a parameter error will be reported (4000);
* For more information, please see the [reliable callback](https://intl.cloud.tencent.com/document/product/266/33779?from_cn_redirect=1#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) of event notification.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ConfirmEventsWithContext ¶
func (c *Client) ConfirmEventsWithContext(ctx context.Context, request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)
ConfirmEvents * After the `PullEvents` API is called to get an event, this API must be called to confirm that the message has been received;
* After the event handler is obtained, the validity period of waiting for confirmation is 30 seconds. If the wait exceeds 30 seconds, a parameter error will be reported (4000);
* For more information, please see the [reliable callback](https://intl.cloud.tencent.com/document/product/266/33779?from_cn_redirect=1#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) of event notification.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAIAnalysisTemplate ¶
func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
CreateAIAnalysisTemplate This API is used to create a custom video content analysis template. Up to 50 templates can be created.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAIAnalysisTemplateWithContext ¶
func (c *Client) CreateAIAnalysisTemplateWithContext(ctx context.Context, request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
CreateAIAnalysisTemplate This API is used to create a custom video content analysis template. Up to 50 templates can be created.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAIRecognitionTemplate ¶
func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
CreateAIRecognitionTemplate This API is used to create a custom video content recognition template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAIRecognitionTemplateWithContext ¶
func (c *Client) CreateAIRecognitionTemplateWithContext(ctx context.Context, request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
CreateAIRecognitionTemplate This API is used to create a custom video content recognition template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAdaptiveDynamicStreamingTemplate ¶
func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up to 100 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) CreateAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up to 100 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAnimatedGraphicsTemplate ¶
func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAnimatedGraphicsTemplateWithContext ¶
func (c *Client) CreateAnimatedGraphicsTemplateWithContext(ctx context.Context, request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateClass ¶
func (c *Client) CreateClass(request *CreateClassRequest) (response *CreateClassResponse, err error)
CreateClass * This API is used to categorize media assets for management;
* It does not affect the categories of existing media assets. If you want to modify the category of a media asset, call the [ModifyMediaInfo](https://intl.cloud.tencent.com/document/product/266/31762?from_cn_redirect=1) API.
* There can be up to 4 levels of categories.
* One category can have up to 500 subcategories under it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded" FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound" FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName" INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateClassWithContext ¶
func (c *Client) CreateClassWithContext(ctx context.Context, request *CreateClassRequest) (response *CreateClassResponse, err error)
CreateClass * This API is used to categorize media assets for management;
* It does not affect the categories of existing media assets. If you want to modify the category of a media asset, call the [ModifyMediaInfo](https://intl.cloud.tencent.com/document/product/266/31762?from_cn_redirect=1) API.
* There can be up to 4 levels of categories.
* One category can have up to 500 subcategories under it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded" FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound" FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName" INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateContentReviewTemplate ¶
func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
CreateContentReviewTemplate This API is used to create custom intelligent video content recognition templates. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateContentReviewTemplateWithContext ¶
func (c *Client) CreateContentReviewTemplateWithContext(ctx context.Context, request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
CreateContentReviewTemplate This API is used to create custom intelligent video content recognition templates. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateImageProcessingTemplate ¶
func (c *Client) CreateImageProcessingTemplate(request *CreateImageProcessingTemplateRequest) (response *CreateImageProcessingTemplateResponse, err error)
CreateImageProcessingTemplate This API is used to create a custom image processing template. You can create up to 16 templates, and each template can contain up to three operations, for example, cropping, scaling, and cropping again.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CUTANDCROPS = "InvalidParameterValue.CutAndCrops" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_THUMBNAILS = "InvalidParameterValue.Thumbnails" INVALIDPARAMETERVALUE_WATERMARKS = "InvalidParameterValue.Watermarks" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateImageProcessingTemplateWithContext ¶
func (c *Client) CreateImageProcessingTemplateWithContext(ctx context.Context, request *CreateImageProcessingTemplateRequest) (response *CreateImageProcessingTemplateResponse, err error)
CreateImageProcessingTemplate This API is used to create a custom image processing template. You can create up to 16 templates, and each template can contain up to three operations, for example, cropping, scaling, and cropping again.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CUTANDCROPS = "InvalidParameterValue.CutAndCrops" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_THUMBNAILS = "InvalidParameterValue.Thumbnails" INVALIDPARAMETERVALUE_WATERMARKS = "InvalidParameterValue.Watermarks" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateImageSpriteTemplate ¶
func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateImageSpriteTemplateWithContext ¶
func (c *Client) CreateImageSpriteTemplateWithContext(ctx context.Context, request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreatePersonSample ¶
func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
CreatePersonSample This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreatePersonSampleWithContext ¶
func (c *Client) CreatePersonSampleWithContext(ctx context.Context, request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
CreatePersonSample This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateProcedureTemplate ¶
func (c *Client) CreateProcedureTemplate(request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)
CreateProcedureTemplate This API is used to create a custom task flow template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateProcedureTemplateWithContext ¶
func (c *Client) CreateProcedureTemplateWithContext(ctx context.Context, request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)
CreateProcedureTemplate This API is used to create a custom task flow template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSampleSnapshotTemplate ¶
func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSampleSnapshotTemplateWithContext ¶
func (c *Client) CreateSampleSnapshotTemplateWithContext(ctx context.Context, request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSnapshotByTimeOffsetTemplate ¶
func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) CreateSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateStorageRegion ¶
func (c *Client) CreateStorageRegion(request *CreateStorageRegionRequest) (response *CreateStorageRegionResponse, err error)
CreateStorageRegion This API is used to enable storage in a region.
When you activate VOD, the system will enable storage for you in certain regions. If you need to store data in another region, you can use this API to enable storage in that region.
You can use the `DescribeStorageRegions` API to query all supported storage regions and the regions you have storage access to currently.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_USERSTATUSINAVLID = "FailedOperation.UserStatusInavlid" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateStorageRegionWithContext ¶
func (c *Client) CreateStorageRegionWithContext(ctx context.Context, request *CreateStorageRegionRequest) (response *CreateStorageRegionResponse, err error)
CreateStorageRegion This API is used to enable storage in a region.
When you activate VOD, the system will enable storage for you in certain regions. If you need to store data in another region, you can use this API to enable storage in that region.
You can use the `DescribeStorageRegions` API to query all supported storage regions and the regions you have storage access to currently.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_USERSTATUSINAVLID = "FailedOperation.UserStatusInavlid" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSubAppId ¶
func (c *Client) CreateSubAppId(request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)
CreateSubAppId This API is used to create a VOD subapplication.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSubAppIdWithContext ¶
func (c *Client) CreateSubAppIdWithContext(ctx context.Context, request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)
CreateSubAppId This API is used to create a VOD subapplication.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSuperPlayerConfig ¶
func (c *Client) CreateSuperPlayerConfig(request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)
CreateSuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to create a player configuration. Up to 100 configurations can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSuperPlayerConfigWithContext ¶
func (c *Client) CreateSuperPlayerConfigWithContext(ctx context.Context, request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)
CreateSuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to create a player configuration. Up to 100 configurations can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTranscodeTemplate ¶
func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 100 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTranscodeTemplateWithContext ¶
func (c *Client) CreateTranscodeTemplateWithContext(ctx context.Context, request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 100 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateVodDomain ¶
func (c *Client) CreateVodDomain(request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)
CreateVodDomain This API is used to add an acceleration domain name to VOD. One user can add up to 20 domain names.
1. After a domain name is added, VOD will deploy it, and it takes about 2 minutes for the domain name status to change from `Deploying` to `Online`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList"
func (*Client) CreateVodDomainWithContext ¶
func (c *Client) CreateVodDomainWithContext(ctx context.Context, request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)
CreateVodDomain This API is used to add an acceleration domain name to VOD. One user can add up to 20 domain names.
1. After a domain name is added, VOD will deploy it, and it takes about 2 minutes for the domain name status to change from `Deploying` to `Online`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList"
func (*Client) CreateWatermarkTemplate ¶
func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateWatermarkTemplateWithContext ¶
func (c *Client) CreateWatermarkTemplateWithContext(ctx context.Context, request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateWordSamples ¶
func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
CreateWordSamples This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateWordSamplesWithContext ¶
func (c *Client) CreateWordSamplesWithContext(ctx context.Context, request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
CreateWordSamples This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAIAnalysisTemplate ¶
func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
DeleteAIAnalysisTemplate This API is used to delete a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be deleted.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAIAnalysisTemplateWithContext ¶
func (c *Client) DeleteAIAnalysisTemplateWithContext(ctx context.Context, request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
DeleteAIAnalysisTemplate This API is used to delete a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be deleted.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAIRecognitionTemplate ¶
func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
DeleteAIRecognitionTemplate This API is used to delete a custom video content recognition template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAIRecognitionTemplateWithContext ¶
func (c *Client) DeleteAIRecognitionTemplateWithContext(ctx context.Context, request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
DeleteAIRecognitionTemplate This API is used to delete a custom video content recognition template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAdaptiveDynamicStreamingTemplate ¶
func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) DeleteAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAnimatedGraphicsTemplate ¶
func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAnimatedGraphicsTemplateWithContext ¶
func (c *Client) DeleteAnimatedGraphicsTemplateWithContext(ctx context.Context, request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteClass ¶
func (c *Client) DeleteClass(request *DeleteClassRequest) (response *DeleteClassResponse, err error)
DeleteClass * A category can be deleted only if it has no subcategories and associated media files;
* Otherwise, [delete the media files](https://intl.cloud.tencent.com/document/product/266/31764?from_cn_redirect=1) and subcategories first before deleting the category.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty"
func (*Client) DeleteClassWithContext ¶
func (c *Client) DeleteClassWithContext(ctx context.Context, request *DeleteClassRequest) (response *DeleteClassResponse, err error)
DeleteClass * A category can be deleted only if it has no subcategories and associated media files;
* Otherwise, [delete the media files](https://intl.cloud.tencent.com/document/product/266/31764?from_cn_redirect=1) and subcategories first before deleting the category.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty"
func (*Client) DeleteContentReviewTemplate ¶
func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
DeleteContentReviewTemplate This API is used to delete custom intelligent video content recognition templates.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteContentReviewTemplateWithContext ¶
func (c *Client) DeleteContentReviewTemplateWithContext(ctx context.Context, request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
DeleteContentReviewTemplate This API is used to delete custom intelligent video content recognition templates.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteImageProcessingTemplate ¶
func (c *Client) DeleteImageProcessingTemplate(request *DeleteImageProcessingTemplateRequest) (response *DeleteImageProcessingTemplateResponse, err error)
DeleteImageProcessingTemplate This API is used to delete an image processing template.
error code that may be returned:
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteImageProcessingTemplateWithContext ¶
func (c *Client) DeleteImageProcessingTemplateWithContext(ctx context.Context, request *DeleteImageProcessingTemplateRequest) (response *DeleteImageProcessingTemplateResponse, err error)
DeleteImageProcessingTemplate This API is used to delete an image processing template.
error code that may be returned:
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteImageSpriteTemplate ¶
func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteImageSpriteTemplateWithContext ¶
func (c *Client) DeleteImageSpriteTemplateWithContext(ctx context.Context, request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMedia ¶
func (c *Client) DeleteMedia(request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)
DeleteMedia * This API is used to delete a media file and its processed files, such as the transcoded video files, image sprites, screenshots, and videos for publishing on WeChat.
* You can delete the original files, transcoded video files, and videos for publishing on WeChat, etc. of videos with specified IDs.
* Note: after the original file of a video is deleted, you cannot transcode the video, publish it on WeChat, or perform other operations on it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMediaWithContext ¶
func (c *Client) DeleteMediaWithContext(ctx context.Context, request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)
DeleteMedia * This API is used to delete a media file and its processed files, such as the transcoded video files, image sprites, screenshots, and videos for publishing on WeChat.
* You can delete the original files, transcoded video files, and videos for publishing on WeChat, etc. of videos with specified IDs.
* Note: after the original file of a video is deleted, you cannot transcode the video, publish it on WeChat, or perform other operations on it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeletePersonSample ¶
func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
DeletePersonSample This API is used to delete samples according to sample IDs.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeletePersonSampleWithContext ¶
func (c *Client) DeletePersonSampleWithContext(ctx context.Context, request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
DeletePersonSample This API is used to delete samples according to sample IDs.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteProcedureTemplate ¶
func (c *Client) DeleteProcedureTemplate(request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)
DeleteProcedureTemplate This API is used to delete a custom task flow template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteProcedureTemplateWithContext ¶
func (c *Client) DeleteProcedureTemplateWithContext(ctx context.Context, request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)
DeleteProcedureTemplate This API is used to delete a custom task flow template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSampleSnapshotTemplate ¶
func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSampleSnapshotTemplateWithContext ¶
func (c *Client) DeleteSampleSnapshotTemplateWithContext(ctx context.Context, request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSnapshotByTimeOffsetTemplate ¶
func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) DeleteSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSuperPlayerConfig ¶
func (c *Client) DeleteSuperPlayerConfig(request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)
DeleteSuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to delete a player configuration.
*Note: Preset player configurations cannot be deleted.*
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSuperPlayerConfigWithContext ¶
func (c *Client) DeleteSuperPlayerConfigWithContext(ctx context.Context, request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)
DeleteSuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to delete a player configuration.
*Note: Preset player configurations cannot be deleted.*
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTranscodeTemplate ¶
func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
DeleteTranscodeTemplate This API is used to delete a custom transcoding template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTranscodeTemplateWithContext ¶
func (c *Client) DeleteTranscodeTemplateWithContext(ctx context.Context, request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
DeleteTranscodeTemplate This API is used to delete a custom transcoding template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteVodDomain ¶
func (c *Client) DeleteVodDomain(request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)
DeleteVodDomain This API is used to delete an acceleration domain name from VOD.
1. Before deleting a domain name, disable its acceleration in all regions.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteVodDomainWithContext ¶
func (c *Client) DeleteVodDomainWithContext(ctx context.Context, request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)
DeleteVodDomain This API is used to delete an acceleration domain name from VOD.
1. Before deleting a domain name, disable its acceleration in all regions.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteWatermarkTemplate ¶
func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
DeleteWatermarkTemplate This API is used to delete a custom watermarking template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteWatermarkTemplateWithContext ¶
func (c *Client) DeleteWatermarkTemplateWithContext(ctx context.Context, request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
DeleteWatermarkTemplate This API is used to delete a custom watermarking template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteWordSamples ¶
func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
DeleteWordSamples This API is used to delete keyword samples in batches.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteWordSamplesWithContext ¶
func (c *Client) DeleteWordSamplesWithContext(ctx context.Context, request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
DeleteWordSamples This API is used to delete keyword samples in batches.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAIAnalysisTemplates ¶
func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
DescribeAIAnalysisTemplates This API is used to get the list of video content analysis templates based on unique template ID. The returned result includes all eligible custom and [preset video content analysis templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.88.86.E6.9E.90.E6.A8.A1.E6.9D.BF).
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAIAnalysisTemplatesWithContext ¶
func (c *Client) DescribeAIAnalysisTemplatesWithContext(ctx context.Context, request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
DescribeAIAnalysisTemplates This API is used to get the list of video content analysis templates based on unique template ID. The returned result includes all eligible custom and [preset video content analysis templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.88.86.E6.9E.90.E6.A8.A1.E6.9D.BF).
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAIRecognitionTemplates ¶
func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
DescribeAIRecognitionTemplates This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAIRecognitionTemplatesWithContext ¶
func (c *Client) DescribeAIRecognitionTemplatesWithContext(ctx context.Context, request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
DescribeAIRecognitionTemplates This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAdaptiveDynamicStreamingTemplates ¶
func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext ¶
func (c *Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext(ctx context.Context, request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAllClass ¶
func (c *Client) DescribeAllClass(request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)
DescribeAllClass * This API is used to get the information of all categories.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAllClassWithContext ¶
func (c *Client) DescribeAllClassWithContext(ctx context.Context, request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)
DescribeAllClass * This API is used to get the information of all categories.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAnimatedGraphicsTemplates ¶
func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAnimatedGraphicsTemplatesWithContext ¶
func (c *Client) DescribeAnimatedGraphicsTemplatesWithContext(ctx context.Context, request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCDNStatDetails ¶
func (c *Client) DescribeCDNStatDetails(request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)
DescribeCDNStatDetails This API is used to query CDN bandwidth, traffic, and other data of VOD domain names.
* The query period is up to 90 days.
* You can query data of different service regions.
* You can query data of Chinese mainland by region and ISP.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area" INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts" INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps" INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeCDNStatDetailsWithContext ¶
func (c *Client) DescribeCDNStatDetailsWithContext(ctx context.Context, request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)
DescribeCDNStatDetails This API is used to query CDN bandwidth, traffic, and other data of VOD domain names.
* The query period is up to 90 days.
* You can query data of different service regions.
* You can query data of Chinese mainland by region and ISP.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area" INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts" INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps" INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeCDNUsageData ¶
func (c *Client) DescribeCDNUsageData(request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)
DescribeCDNUsageData This API is used to query the CDN statistics of VOD such as traffic and bandwidth.
Only CDN usage data for the last 365 days can be queried.
The query time range cannot be more than 90 days.
The time granularity of usage data can be specified, including 5-minute, 1-hour, and 1-day.
Traffic refers to the total traffic within the query time granularity, while bandwidth the peak bandwidth.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval" INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType" INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName" INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCDNUsageDataWithContext ¶
func (c *Client) DescribeCDNUsageDataWithContext(ctx context.Context, request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)
DescribeCDNUsageData This API is used to query the CDN statistics of VOD such as traffic and bandwidth.
Only CDN usage data for the last 365 days can be queried.
The query time range cannot be more than 90 days.
The time granularity of usage data can be specified, including 5-minute, 1-hour, and 1-day.
Traffic refers to the total traffic within the query time granularity, while bandwidth the peak bandwidth.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval" INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType" INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName" INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCdnLogs ¶
func (c *Client) DescribeCdnLogs(request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)
DescribeCdnLogs This API is used to query the download links of CDN access logs of a VOD domain name.
Only download links of CDN logs for the last 30 days can be queried.
By default, CDN generates a log file every hour. If there is no CDN access for a certain hour, no log file will be generated for the hour.
A CDN log download link is valid for 24 hours.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCdnLogsWithContext ¶
func (c *Client) DescribeCdnLogsWithContext(ctx context.Context, request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)
DescribeCdnLogs This API is used to query the download links of CDN access logs of a VOD domain name.
Only download links of CDN logs for the last 30 days can be queried.
By default, CDN generates a log file every hour. If there is no CDN access for a certain hour, no log file will be generated for the hour.
A CDN log download link is valid for 24 hours.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClientUploadAccelerationUsageData ¶
func (c *Client) DescribeClientUploadAccelerationUsageData(request *DescribeClientUploadAccelerationUsageDataRequest) (response *DescribeClientUploadAccelerationUsageDataResponse, err error)
DescribeClientUploadAccelerationUsageData This API is used to query the usage of the client upload acceleration service in a specific time period.
You can query the usage of client upload acceleration in the last 365 days.
The maximum time period allowed for query is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeClientUploadAccelerationUsageDataWithContext ¶
func (c *Client) DescribeClientUploadAccelerationUsageDataWithContext(ctx context.Context, request *DescribeClientUploadAccelerationUsageDataRequest) (response *DescribeClientUploadAccelerationUsageDataResponse, err error)
DescribeClientUploadAccelerationUsageData This API is used to query the usage of the client upload acceleration service in a specific time period.
You can query the usage of client upload acceleration in the last 365 days.
The maximum time period allowed for query is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeContentReviewTemplates ¶
func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
DescribeContentReviewTemplates This API is used to get the list of intelligent video content recognition template details according to unique template IDs. The return result includes all eligible custom and [preset intelligent video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33932).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeContentReviewTemplatesWithContext ¶
func (c *Client) DescribeContentReviewTemplatesWithContext(ctx context.Context, request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
DescribeContentReviewTemplates This API is used to get the list of intelligent video content recognition template details according to unique template IDs. The return result includes all eligible custom and [preset intelligent video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33932).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDailyPlayStatFileList ¶
func (c *Client) DescribeDailyPlayStatFileList(request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)
DescribeDailyPlayStatFileList This API is used to query the download links of playback statistics files.
* You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.
* Every day, VOD will analyze CDN request logs of the previous day and then generate a playback statistics file.
* A playback statistics file includes playback times and traffic of media files.
* Notes on playback times:
HLS file: VOD counts playback times when M3U8 files are accessed, but not when TS files are accessed.
Other files (MP4 files for example): VOD does not count playback times when the playback request carries the `range` parameter and the `start` parameter in `range` is not `0`. In other cases, VOD counts playback times.
* Statistics on playback devices: VOD counts playback times on mobile clients when the playback request carries the `UserAgent` parameter which includes an identifier such as `Android` or `iPhone`. In other cases, VOD counts playback times on PC clients.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeDailyPlayStatFileListWithContext ¶
func (c *Client) DescribeDailyPlayStatFileListWithContext(ctx context.Context, request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)
DescribeDailyPlayStatFileList This API is used to query the download links of playback statistics files.
* You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.
* Every day, VOD will analyze CDN request logs of the previous day and then generate a playback statistics file.
* A playback statistics file includes playback times and traffic of media files.
* Notes on playback times:
HLS file: VOD counts playback times when M3U8 files are accessed, but not when TS files are accessed.
Other files (MP4 files for example): VOD does not count playback times when the playback request carries the `range` parameter and the `start` parameter in `range` is not `0`. In other cases, VOD counts playback times.
* Statistics on playback devices: VOD counts playback times on mobile clients when the playback request carries the `UserAgent` parameter which includes an identifier such as `Android` or `iPhone`. In other cases, VOD counts playback times on PC clients.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeDrmKeyProviderInfo ¶
func (c *Client) DescribeDrmKeyProviderInfo(request *DescribeDrmKeyProviderInfoRequest) (response *DescribeDrmKeyProviderInfoResponse, err error)
DescribeDrmKeyProviderInfo This API is used to query DRM key information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeDrmKeyProviderInfoWithContext ¶
func (c *Client) DescribeDrmKeyProviderInfoWithContext(ctx context.Context, request *DescribeDrmKeyProviderInfoRequest) (response *DescribeDrmKeyProviderInfoResponse, err error)
DescribeDrmKeyProviderInfo This API is used to query DRM key information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeFileAttributes ¶
func (c *Client) DescribeFileAttributes(request *DescribeFileAttributesRequest) (response *DescribeFileAttributesResponse, err error)
DescribeFileAttributes This API is used to get file attributes asynchronously.
- Currently, this API can only get the MD5 hash of a file.
- If the file queried is in HLS or DASH format, the attributes of the index file will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeFileAttributesWithContext ¶
func (c *Client) DescribeFileAttributesWithContext(ctx context.Context, request *DescribeFileAttributesRequest) (response *DescribeFileAttributesResponse, err error)
DescribeFileAttributes This API is used to get file attributes asynchronously.
- Currently, this API can only get the MD5 hash of a file.
- If the file queried is in HLS or DASH format, the attributes of the index file will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeImageProcessingTemplates ¶
func (c *Client) DescribeImageProcessingTemplates(request *DescribeImageProcessingTemplatesRequest) (response *DescribeImageProcessingTemplatesResponse, err error)
DescribeImageProcessingTemplates This API is used to query image processing templates. You can specify the filters as well as the offset to start returning records from.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeImageProcessingTemplatesWithContext ¶
func (c *Client) DescribeImageProcessingTemplatesWithContext(ctx context.Context, request *DescribeImageProcessingTemplatesRequest) (response *DescribeImageProcessingTemplatesResponse, err error)
DescribeImageProcessingTemplates This API is used to query image processing templates. You can specify the filters as well as the offset to start returning records from.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeImageReviewUsageData ¶
func (c *Client) DescribeImageReviewUsageData(request *DescribeImageReviewUsageDataRequest) (response *DescribeImageReviewUsageDataResponse, err error)
DescribeImageReviewUsageData This API is used to query your daily usage of the image recognition feature in a specified time period.
You can query statistics from the last 365 days.
The maximum query period is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeImageReviewUsageDataWithContext ¶
func (c *Client) DescribeImageReviewUsageDataWithContext(ctx context.Context, request *DescribeImageReviewUsageDataRequest) (response *DescribeImageReviewUsageDataResponse, err error)
DescribeImageReviewUsageData This API is used to query your daily usage of the image recognition feature in a specified time period.
You can query statistics from the last 365 days.
The maximum query period is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeImageSpriteTemplates ¶
func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeImageSpriteTemplatesWithContext ¶
func (c *Client) DescribeImageSpriteTemplatesWithContext(ctx context.Context, request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLicenseUsageData ¶
func (c *Client) DescribeLicenseUsageData(request *DescribeLicenseUsageDataRequest) (response *DescribeLicenseUsageDataResponse, err error)
DescribeLicenseUsageData This API is used to query daily playback license requests in a specified time period.
You can query statistics from the last 365 days.
The maximum query period is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeLicenseUsageDataWithContext ¶
func (c *Client) DescribeLicenseUsageDataWithContext(ctx context.Context, request *DescribeLicenseUsageDataRequest) (response *DescribeLicenseUsageDataResponse, err error)
DescribeLicenseUsageData This API is used to query daily playback license requests in a specified time period.
You can query statistics from the last 365 days.
The maximum query period is 90 days.
If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeMediaInfos ¶
func (c *Client) DescribeMediaInfos(request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)
DescribeMediaInfos 1. This API can get multiple types of information of multiple media files, including:
Basic information (basicInfo): media name, category, playback address, cover image, etc.
Metadata (metaData): size, duration, video stream information, audio stream information, etc.
Information of the transcoding result (transcodeInfo): addresses, video stream parameters, and audio stream parameters of the media files with various specifications generated by transcoding a media file.
Information of the animated image generating result (animatedGraphicsInfo): information of an animated image (such as .gif) generated from a video.
Information of a sampled screenshot (sampleSnapshotInfo): information of a sampled screenshot of a video.
Information of an image sprite (imageSpriteInfo): information of an image sprite generated from a video.
Information of a time point screenshot (snapshotByTimeOffsetInfo): information of a time point screenshot of a video.
Information of a timestamp (keyFrameDescInfo): information of a timestamp set for a video.
Information of transcoding to adaptive bitrate streaming (adaptiveDynamicStreamingInfo): specification, encryption type, container format, etc.
2. The return packet can be configured to only contain certain information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMediaInfosWithContext ¶
func (c *Client) DescribeMediaInfosWithContext(ctx context.Context, request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)
DescribeMediaInfos 1. This API can get multiple types of information of multiple media files, including:
Basic information (basicInfo): media name, category, playback address, cover image, etc.
Metadata (metaData): size, duration, video stream information, audio stream information, etc.
Information of the transcoding result (transcodeInfo): addresses, video stream parameters, and audio stream parameters of the media files with various specifications generated by transcoding a media file.
Information of the animated image generating result (animatedGraphicsInfo): information of an animated image (such as .gif) generated from a video.
Information of a sampled screenshot (sampleSnapshotInfo): information of a sampled screenshot of a video.
Information of an image sprite (imageSpriteInfo): information of an image sprite generated from a video.
Information of a time point screenshot (snapshotByTimeOffsetInfo): information of a time point screenshot of a video.
Information of a timestamp (keyFrameDescInfo): information of a timestamp set for a video.
Information of transcoding to adaptive bitrate streaming (adaptiveDynamicStreamingInfo): specification, encryption type, container format, etc.
2. The return packet can be configured to only contain certain information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMediaPlayStatDetails ¶
func (c *Client) DescribeMediaPlayStatDetails(request *DescribeMediaPlayStatDetailsRequest) (response *DescribeMediaPlayStatDetailsResponse, err error)
DescribeMediaPlayStatDetails This API is used to query the playback statistics of a media file at the specified granularity.
* You can query playback statistics in the past year.
* If the granularity is an hour, the start and end time cannot be more than seven days apart.
* If the granularity is a day, the start and end time cannot be more than 90 days apart.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_INTERVAL = "InvalidParameterValue.Interval" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeMediaPlayStatDetailsWithContext ¶
func (c *Client) DescribeMediaPlayStatDetailsWithContext(ctx context.Context, request *DescribeMediaPlayStatDetailsRequest) (response *DescribeMediaPlayStatDetailsResponse, err error)
DescribeMediaPlayStatDetails This API is used to query the playback statistics of a media file at the specified granularity.
* You can query playback statistics in the past year.
* If the granularity is an hour, the start and end time cannot be more than seven days apart.
* If the granularity is a day, the start and end time cannot be more than 90 days apart.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_INTERVAL = "InvalidParameterValue.Interval" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
func (*Client) DescribeMediaProcessUsageData ¶
func (c *Client) DescribeMediaProcessUsageData(request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)
DescribeMediaProcessUsageData This API is used to query the information of video processing usage within the specified time range.
Statistics on video processing for the last 365 days can be queried.
The query time range cannot be more than 90 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeMediaProcessUsageDataWithContext ¶
func (c *Client) DescribeMediaProcessUsageDataWithContext(ctx context.Context, request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)
DescribeMediaProcessUsageData This API is used to query the information of video processing usage within the specified time range.
Statistics on video processing for the last 365 days can be queried.
The query time range cannot be more than 90 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePersonSamples ¶
func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
DescribePersonSamples This API is used to query the information of samples and supports paginated queries by sample ID, name, and tag.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribePersonSamplesWithContext ¶
func (c *Client) DescribePersonSamplesWithContext(ctx context.Context, request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
DescribePersonSamples This API is used to query the information of samples and supports paginated queries by sample ID, name, and tag.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProcedureTemplates ¶
func (c *Client) DescribeProcedureTemplates(request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)
DescribeProcedureTemplates This API is used to get the list of task flow template details by task flow template name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProcedureTemplatesWithContext ¶
func (c *Client) DescribeProcedureTemplatesWithContext(ctx context.Context, request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)
DescribeProcedureTemplates This API is used to get the list of task flow template details by task flow template name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeReviewDetails ¶
func (c *Client) DescribeReviewDetails(request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)
DescribeReviewDetails <b>This API is disused and replaced by [DescribeMediaProcessUsageData](https://intl.cloud.tencent.com/document/product/266/41464?from_cn_redirect=1).</b>
This API returns the video content duration for intelligent recognition in seconds per day within the queried period.
1. The API is used to query statistics on the video content duration for intelligent recognition in the last 365 days.
2. The query period is up to 90 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeReviewDetailsWithContext ¶
func (c *Client) DescribeReviewDetailsWithContext(ctx context.Context, request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)
DescribeReviewDetails <b>This API is disused and replaced by [DescribeMediaProcessUsageData](https://intl.cloud.tencent.com/document/product/266/41464?from_cn_redirect=1).</b>
This API returns the video content duration for intelligent recognition in seconds per day within the queried period.
1. The API is used to query statistics on the video content duration for intelligent recognition in the last 365 days.
2. The query period is up to 90 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSampleSnapshotTemplates ¶
func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSampleSnapshotTemplatesWithContext ¶
func (c *Client) DescribeSampleSnapshotTemplatesWithContext(ctx context.Context, request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSnapshotByTimeOffsetTemplates ¶
func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSnapshotByTimeOffsetTemplatesWithContext ¶
func (c *Client) DescribeSnapshotByTimeOffsetTemplatesWithContext(ctx context.Context, request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageData ¶
func (c *Client) DescribeStorageData(request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)
DescribeStorageData This API is used to query the storage capacity usage and number of files.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageDataWithContext ¶
func (c *Client) DescribeStorageDataWithContext(ctx context.Context, request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)
DescribeStorageData This API is used to query the storage capacity usage and number of files.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageDetails ¶
func (c *Client) DescribeStorageDetails(request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)
DescribeStorageDetails This API is used to query VOD storage usage in bytes within the query period.
You can only query storage usage for the last 365 days.
The query period is up to 90 days.
The query period at minute-level granularity is up to 7 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType" INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageDetailsWithContext ¶
func (c *Client) DescribeStorageDetailsWithContext(ctx context.Context, request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)
DescribeStorageDetails This API is used to query VOD storage usage in bytes within the query period.
You can only query storage usage for the last 365 days.
The query period is up to 90 days.
The query period at minute-level granularity is up to 7 days.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType" INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageRegions ¶
func (c *Client) DescribeStorageRegions(request *DescribeStorageRegionsRequest) (response *DescribeStorageRegionsResponse, err error)
DescribeStorageRegions This API is used to query the following information:
All supported storage regions.
The regions you have storage access to currently.
The default storage region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeStorageRegionsWithContext ¶
func (c *Client) DescribeStorageRegionsWithContext(ctx context.Context, request *DescribeStorageRegionsRequest) (response *DescribeStorageRegionsResponse, err error)
DescribeStorageRegions This API is used to query the following information:
All supported storage regions.
The regions you have storage access to currently.
The default storage region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSubAppIds ¶
func (c *Client) DescribeSubAppIds(request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)
DescribeSubAppIds This API is used to query the list of the primary application and subapplications of the current account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSubAppIdsWithContext ¶
func (c *Client) DescribeSubAppIdsWithContext(ctx context.Context, request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)
DescribeSubAppIds This API is used to query the list of the primary application and subapplications of the current account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSuperPlayerConfigs ¶
func (c *Client) DescribeSuperPlayerConfigs(request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)
DescribeSuperPlayerConfigs We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to query player configurations. It supports pagination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSuperPlayerConfigsWithContext ¶
func (c *Client) DescribeSuperPlayerConfigsWithContext(ctx context.Context, request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)
DescribeSuperPlayerConfigs We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to query player configurations. It supports pagination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTaskDetail ¶
func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTaskDetailWithContext ¶
func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks * This API is used to query the task list;
* If there are many data entries in the list, one single call of the API may not be able to pull the entire list. The `ScrollToken` parameter can be used to pull the list in batches;
* Only tasks in the last three days (72 hours) can be queried.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTasksWithContext ¶
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks * This API is used to query the task list;
* If there are many data entries in the list, one single call of the API may not be able to pull the entire list. The `ScrollToken` parameter can be used to pull the list in batches;
* Only tasks in the last three days (72 hours) can be queried.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTranscodeTemplates ¶
func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTranscodeTemplatesWithContext ¶
func (c *Client) DescribeTranscodeTemplatesWithContext(ctx context.Context, request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeVodDomains ¶
func (c *Client) DescribeVodDomains(request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)
DescribeVodDomains This API is used to query the list of VOD domain names.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge"
func (*Client) DescribeVodDomainsWithContext ¶
func (c *Client) DescribeVodDomainsWithContext(ctx context.Context, request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)
DescribeVodDomains This API is used to query the list of VOD domain names.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge"
func (*Client) DescribeWatermarkTemplates ¶
func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeWatermarkTemplatesWithContext ¶
func (c *Client) DescribeWatermarkTemplatesWithContext(ctx context.Context, request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeWordSamples ¶
func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
DescribeWordSamples This API is used to perform paginated queries of keyword sample information by use case, keyword, and tag.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeWordSamplesWithContext ¶
func (c *Client) DescribeWordSamplesWithContext(ctx context.Context, request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
DescribeWordSamples This API is used to perform paginated queries of keyword sample information by use case, keyword, and tag.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExecuteFunction ¶
func (c *Client) ExecuteFunction(request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
ExecuteFunction This API is only used in special scenarios of custom development. Unless requested by VOD customer service, please do not call it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExecuteFunctionWithContext ¶
func (c *Client) ExecuteFunctionWithContext(ctx context.Context, request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
ExecuteFunction This API is only used in special scenarios of custom development. Unless requested by VOD customer service, please do not call it.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExtractTraceWatermark ¶
func (c *Client) ExtractTraceWatermark(request *ExtractTraceWatermarkRequest) (response *ExtractTraceWatermarkResponse, err error)
ExtractTraceWatermark This API is used to extract the user ID of a user that distributed a video containing a digital watermark.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExtractTraceWatermarkWithContext ¶
func (c *Client) ExtractTraceWatermarkWithContext(ctx context.Context, request *ExtractTraceWatermarkRequest) (response *ExtractTraceWatermarkResponse, err error)
ExtractTraceWatermark This API is used to extract the user ID of a user that distributed a video containing a digital watermark.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ForbidMediaDistribution ¶
func (c *Client) ForbidMediaDistribution(request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)
ForbidMediaDistribution * After a media file is forbidden, except previewing it in the VOD Console, accessing the URLs of its various resources (such as source file, output files, and screenshots) in other scenarios will return error 403.
It takes about 5-10 minutes for a forbidding/unblocking operation to take effect across the entire network.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany" INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ForbidMediaDistributionWithContext ¶
func (c *Client) ForbidMediaDistributionWithContext(ctx context.Context, request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)
ForbidMediaDistribution * After a media file is forbidden, except previewing it in the VOD Console, accessing the URLs of its various resources (such as source file, output files, and screenshots) in other scenarios will return error 403.
It takes about 5-10 minutes for a forbidding/unblocking operation to take effect across the entire network.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany" INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) LiveRealTimeClip ¶
func (c *Client) LiveRealTimeClip(request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)
LiveRealTimeClip Live clipping means that during a live broadcast (before it ends), you can select a segment of previous live broadcast content to generate a new video (in HLS format) in real time and share it immediately or store it persistently.
VOD supports two live clipping modes:
- Persistent clipping: in this mode, the clipped video is saved as an independent video file with a `FileId`, which is suitable for **persistently storing** highlights;
- Temporary clipping: in this mode, the clipped video is part of the LVB recording file with no `FileId`, which is suitable for **temporarily sharing** highlights;
Note:
- The live clipping feature can be used only when [time shifting](https://intl.cloud.tencent.com/document/product/267/32742?from_cn_redirect=1) has been enabled for the target live stream.
- Live clipping is performed based on the m3u8 file generated by LVB recording, so its minimum clipping granularity is one ts segment rather than at or below the second level.
### Persistent clipping
In persistent clipping mode, the clipped video is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the source LVB recording video (even if the source video is deleted, the clipped video will not be affected in any way). It can be further processed (transcoded, published on WeChat, etc.).
An example is as follows: for a complete football match, the source LVB recording video may be up to 2 hours in length. You want to store this video for only 2 months for the purpose of cost savings. However, you want to specify a longer retention period for the "highlights" video created by live clipping and perform additional VOD operations on it such as transcoding and release on WeChat. In this case, you need to choose the persistent clipping mode of live clipping.
The advantage of persistent clipping is that the clipped video has a lifecycle independent of the source recording video and can be managed independently and stored persistently.
### Temporary clipping
In temporary clipping mode, the clipped video (m3u8 file) shares the same ts segments with the LVB recording video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the LVB recording video; therefore, if the LVB recording video is deleted, it cannot be played back.
For temporary clipping, as the clipping result is not an independent video, it will not be included in VOD's media asset management (for example, it will not be counted in the total videos in the console), and no video processing operations can be separately performed on it, such as transcoding and release on WeChat.
The advantage of temporary clipping is that the clipping operation is very "lightweight" and does not incur additional storage fees. However, the clipped video has the same lifecycle as the source recording video and cannot be further transcoded or processed.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) LiveRealTimeClipWithContext ¶
func (c *Client) LiveRealTimeClipWithContext(ctx context.Context, request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)
LiveRealTimeClip Live clipping means that during a live broadcast (before it ends), you can select a segment of previous live broadcast content to generate a new video (in HLS format) in real time and share it immediately or store it persistently.
VOD supports two live clipping modes:
- Persistent clipping: in this mode, the clipped video is saved as an independent video file with a `FileId`, which is suitable for **persistently storing** highlights;
- Temporary clipping: in this mode, the clipped video is part of the LVB recording file with no `FileId`, which is suitable for **temporarily sharing** highlights;
Note:
- The live clipping feature can be used only when [time shifting](https://intl.cloud.tencent.com/document/product/267/32742?from_cn_redirect=1) has been enabled for the target live stream.
- Live clipping is performed based on the m3u8 file generated by LVB recording, so its minimum clipping granularity is one ts segment rather than at or below the second level.
### Persistent clipping
In persistent clipping mode, the clipped video is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the source LVB recording video (even if the source video is deleted, the clipped video will not be affected in any way). It can be further processed (transcoded, published on WeChat, etc.).
An example is as follows: for a complete football match, the source LVB recording video may be up to 2 hours in length. You want to store this video for only 2 months for the purpose of cost savings. However, you want to specify a longer retention period for the "highlights" video created by live clipping and perform additional VOD operations on it such as transcoding and release on WeChat. In this case, you need to choose the persistent clipping mode of live clipping.
The advantage of persistent clipping is that the clipped video has a lifecycle independent of the source recording video and can be managed independently and stored persistently.
### Temporary clipping
In temporary clipping mode, the clipped video (m3u8 file) shares the same ts segments with the LVB recording video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the LVB recording video; therefore, if the LVB recording video is deleted, it cannot be played back.
For temporary clipping, as the clipping result is not an independent video, it will not be included in VOD's media asset management (for example, it will not be counted in the total videos in the console), and no video processing operations can be separately performed on it, such as transcoding and release on WeChat.
The advantage of temporary clipping is that the clipping operation is very "lightweight" and does not incur additional storage fees. However, the clipped video has the same lifecycle as the source recording video and cannot be further transcoded or processed.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ManageTask ¶
func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)
ManageTask This API is used to manage initiated tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ManageTaskWithContext ¶
func (c *Client) ManageTaskWithContext(ctx context.Context, request *ManageTaskRequest) (response *ManageTaskResponse, err error)
ManageTask This API is used to manage initiated tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAIAnalysisTemplate ¶
func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
ModifyAIAnalysisTemplate This API is used to modify a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAIAnalysisTemplateWithContext ¶
func (c *Client) ModifyAIAnalysisTemplateWithContext(ctx context.Context, request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
ModifyAIAnalysisTemplate This API is used to modify a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAIRecognitionTemplate ¶
func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
ModifyAIRecognitionTemplate This API is used to modify a custom video content recognition template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAIRecognitionTemplateWithContext ¶
func (c *Client) ModifyAIRecognitionTemplateWithContext(ctx context.Context, request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
ModifyAIRecognitionTemplate This API is used to modify a custom video content recognition template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAdaptiveDynamicStreamingTemplate ¶
func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) ModifyAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAnimatedGraphicsTemplate ¶
func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAnimatedGraphicsTemplateWithContext ¶
func (c *Client) ModifyAnimatedGraphicsTemplateWithContext(ctx context.Context, request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyClass ¶
func (c *Client) ModifyClass(request *ModifyClassRequest) (response *ModifyClassResponse, err error)
ModifyClass This API is used to modify the category of a media file.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate" FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId" INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyClassWithContext ¶
func (c *Client) ModifyClassWithContext(ctx context.Context, request *ModifyClassRequest) (response *ModifyClassResponse, err error)
ModifyClass This API is used to modify the category of a media file.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate" FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId" INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyContentReviewTemplate ¶
func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
ModifyContentReviewTemplate This API is used to modify custom intelligent video content recognition templates.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyContentReviewTemplateWithContext ¶
func (c *Client) ModifyContentReviewTemplateWithContext(ctx context.Context, request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
ModifyContentReviewTemplate This API is used to modify custom intelligent video content recognition templates.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch" INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDefaultStorageRegion ¶
func (c *Client) ModifyDefaultStorageRegion(request *ModifyDefaultStorageRegionRequest) (response *ModifyDefaultStorageRegionResponse, err error)
ModifyDefaultStorageRegion This API is used to set the default storage region. A file will be stored in the default region if no region is specified for file upload.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDefaultStorageRegionWithContext ¶
func (c *Client) ModifyDefaultStorageRegionWithContext(ctx context.Context, request *ModifyDefaultStorageRegionRequest) (response *ModifyDefaultStorageRegionResponse, err error)
ModifyDefaultStorageRegion This API is used to set the default storage region. A file will be stored in the default region if no region is specified for file upload.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyImageSpriteTemplate ¶
func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyImageSpriteTemplateWithContext ¶
func (c *Client) ModifyImageSpriteTemplateWithContext(ctx context.Context, request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMediaInfo ¶
func (c *Client) ModifyMediaInfo(request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)
ModifyMediaInfo This API is used to modify the attributes of a media file, including category, name, description, tag, expiration time, timestamp information, video thumbnail, and subtitle information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError" INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError" INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict" INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict" INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict" INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict" INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError" INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong" LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax" LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMediaInfoWithContext ¶
func (c *Client) ModifyMediaInfoWithContext(ctx context.Context, request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)
ModifyMediaInfo This API is used to modify the attributes of a media file, including category, name, description, tag, expiration time, timestamp information, video thumbnail, and subtitle information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError" INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError" INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict" INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict" INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict" INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict" INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError" INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong" LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax" LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMediaStorageClass ¶
func (c *Client) ModifyMediaStorageClass(request *ModifyMediaStorageClassRequest) (response *ModifyMediaStorageClassResponse, err error)
ModifyMediaStorageClass This API is used to modify the storage class of media files.
If the current storage class is STANDARD, it can be changed to one of the following classes:
<li>STANDARD_IA</li>
<li>ARCHIVE</li>
<li>DEEP ARCHIVE</li>
If the current storage class is STANDARD_IA, it can be changed to one of the following classes:
<li>STANDARD</li>
<li>ARCHIVE</li>
<li>DEEP ARCHIVE</li>
If the current storage class is ARCHIVE, it can be changed to the following class:
<li>STANDARD</li>
If the current storage class is DEEP ARCHIVE, it can be changed to the following class:
<li>STANDARD</li>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = "InvalidParameterValue.OriginalStorageClass" INVALIDPARAMETERVALUE_STORAGECLASS = "InvalidParameterValue.StorageClass" INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = "InvalidParameterValue.UnsupportedRestoreTier" INVALIDPARAMETERVALUE_UNSUPPORTEDSTORAGECLASS = "InvalidParameterValue.UnsupportedStorageClass" INVALIDPARAMETERVALUE_UNSUPPORTEDTRANSITION = "InvalidParameterValue.UnsupportedTransition" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyMediaStorageClassWithContext ¶
func (c *Client) ModifyMediaStorageClassWithContext(ctx context.Context, request *ModifyMediaStorageClassRequest) (response *ModifyMediaStorageClassResponse, err error)
ModifyMediaStorageClass This API is used to modify the storage class of media files.
If the current storage class is STANDARD, it can be changed to one of the following classes:
<li>STANDARD_IA</li>
<li>ARCHIVE</li>
<li>DEEP ARCHIVE</li>
If the current storage class is STANDARD_IA, it can be changed to one of the following classes:
<li>STANDARD</li>
<li>ARCHIVE</li>
<li>DEEP ARCHIVE</li>
If the current storage class is ARCHIVE, it can be changed to the following class:
<li>STANDARD</li>
If the current storage class is DEEP ARCHIVE, it can be changed to the following class:
<li>STANDARD</li>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = "InvalidParameterValue.OriginalStorageClass" INVALIDPARAMETERVALUE_STORAGECLASS = "InvalidParameterValue.StorageClass" INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = "InvalidParameterValue.UnsupportedRestoreTier" INVALIDPARAMETERVALUE_UNSUPPORTEDSTORAGECLASS = "InvalidParameterValue.UnsupportedStorageClass" INVALIDPARAMETERVALUE_UNSUPPORTEDTRANSITION = "InvalidParameterValue.UnsupportedTransition" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPersonSample ¶
func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
ModifyPersonSample This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyPersonSampleWithContext ¶
func (c *Client) ModifyPersonSampleWithContext(ctx context.Context, request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
ModifyPersonSample This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySampleSnapshotTemplate ¶
func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySampleSnapshotTemplateWithContext ¶
func (c *Client) ModifySampleSnapshotTemplateWithContext(ctx context.Context, request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySnapshotByTimeOffsetTemplate ¶
func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) ModifySnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySubAppIdInfo ¶
func (c *Client) ModifySubAppIdInfo(request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)
ModifySubAppIdInfo This API is used to modify subapplication information, but it is not allowed to modify primary application information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySubAppIdInfoWithContext ¶
func (c *Client) ModifySubAppIdInfoWithContext(ctx context.Context, request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)
ModifySubAppIdInfo This API is used to modify subapplication information, but it is not allowed to modify primary application information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySubAppIdStatus ¶
func (c *Client) ModifySubAppIdStatus(request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)
ModifySubAppIdStatus This API is used to enable/disable a subapplication. After a subapplication is disabled, its corresponding domain name will be blocked and its access to the console will be restricted.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySubAppIdStatusWithContext ¶
func (c *Client) ModifySubAppIdStatusWithContext(ctx context.Context, request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)
ModifySubAppIdStatus This API is used to enable/disable a subapplication. After a subapplication is disabled, its corresponding domain name will be blocked and its access to the console will be restricted.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySuperPlayerConfig ¶
func (c *Client) ModifySuperPlayerConfig(request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)
ModifySuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to modify a player configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySuperPlayerConfigWithContext ¶
func (c *Client) ModifySuperPlayerConfigWithContext(ctx context.Context, request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)
ModifySuperPlayerConfig We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to modify a player configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTranscodeTemplate ¶
func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
ModifyTranscodeTemplate This API is used to modify a custom transcoding template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio" INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTranscodeTemplateWithContext ¶
func (c *Client) ModifyTranscodeTemplateWithContext(ctx context.Context, request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
ModifyTranscodeTemplate This API is used to modify a custom transcoding template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio" INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyVodDomainAccelerateConfig ¶
func (c *Client) ModifyVodDomainAccelerateConfig(request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)
ModifyVodDomainAccelerateConfig This API is used to modify the acceleration region of a domain name on VOD.
1. You can modify acceleration regions of only domain names whose status is `Online`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyVodDomainAccelerateConfigWithContext ¶
func (c *Client) ModifyVodDomainAccelerateConfigWithContext(ctx context.Context, request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)
ModifyVodDomainAccelerateConfig This API is used to modify the acceleration region of a domain name on VOD.
1. You can modify acceleration regions of only domain names whose status is `Online`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyVodDomainConfig ¶
func (c *Client) ModifyVodDomainConfig(request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)
ModifyVodDomainConfig This API is used to modify domain name settings, such as the hotlink protection configuration.
1. You can modify settings of only domain names whose status is `Online`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyVodDomainConfigWithContext ¶
func (c *Client) ModifyVodDomainConfigWithContext(ctx context.Context, request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)
ModifyVodDomainConfig This API is used to modify domain name settings, such as the hotlink protection configuration.
1. You can modify settings of only domain names whose status is `Online`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyWatermarkTemplate ¶
func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyWatermarkTemplateWithContext ¶
func (c *Client) ModifyWatermarkTemplateWithContext(ctx context.Context, request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyWordSample ¶
func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_WORD = "ResourceNotFound.Word" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyWordSampleWithContext ¶
func (c *Client) ModifyWordSampleWithContext(ctx context.Context, request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_WORD = "ResourceNotFound.Word" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ParseStreamingManifest ¶
func (c *Client) ParseStreamingManifest(request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)
ParseStreamingManifest This API is used to parse the index file content and return the list of segment files to be uploaded when an HLS video is uploaded. A segment file path must be a relative path of the current directory or subdirectory instead of a URL or absolute path.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ParseStreamingManifestWithContext ¶
func (c *Client) ParseStreamingManifestWithContext(ctx context.Context, request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)
ParseStreamingManifest This API is used to parse the index file content and return the list of segment files to be uploaded when an HLS video is uploaded. A segment file path must be a relative path of the current directory or subdirectory instead of a URL or absolute path.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMedia ¶
func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
ProcessMedia This API is used to initiate a media processing task on a VOD file. The task may include:
1. Video transcoding (with watermark)
2. Animated image generating
3. Time point screenshot
4. Sampled screenshot
5. Image sprite generating
6. Taking a screenshot to use as the thumbnail
7. Adaptive bitrate streaming and encryption
8. Detecting pornographic, terrorist, and politically sensitive content
9. Content analysis for labeling, categorization, thumbnail generation, or frame-specific labeling
10. Recognition of opening and closing segments, faces, full text, text keywords, full speech, speech keywords, and objects
If event notifications are used, the event type is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_NONEEDTOREDUCEMEDIABITRATE = "FailedOperation.NoNeedToReduceMediaBitrate" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition" INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition" INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMediaByProcedure ¶
func (c *Client) ProcessMediaByProcedure(request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)
ProcessMediaByProcedure This API is used to initiate a processing task for a VOD video with a task flow template.
There are two ways to create a task flow template:
1. Create and modify a task flow template in the console;
2. Create a task flow template through the task flow template API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMediaByProcedureWithContext ¶
func (c *Client) ProcessMediaByProcedureWithContext(ctx context.Context, request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)
ProcessMediaByProcedure This API is used to initiate a processing task for a VOD video with a task flow template.
There are two ways to create a task flow template:
1. Create and modify a task flow template in the console;
2. Create a task flow template through the task flow template API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMediaByUrl ¶
func (c *Client) ProcessMediaByUrl(request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)
ProcessMediaByUrl This API is <font color='red'>disused</font>, please use [ProcessMedia](https://intl.cloud.tencent.com/document/product/862/37578?from_cn_redirect=1) API of MPS, with the input parameter `InputInfo.UrlInputInfo.Url` set to a video URL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition" INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition" INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMediaByUrlWithContext ¶
func (c *Client) ProcessMediaByUrlWithContext(ctx context.Context, request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)
ProcessMediaByUrl This API is <font color='red'>disused</font>, please use [ProcessMedia](https://intl.cloud.tencent.com/document/product/862/37578?from_cn_redirect=1) API of MPS, with the input parameter `InputInfo.UrlInputInfo.Url` set to a video URL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition" INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition" INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ProcessMediaWithContext ¶
func (c *Client) ProcessMediaWithContext(ctx context.Context, request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
ProcessMedia This API is used to initiate a media processing task on a VOD file. The task may include:
1. Video transcoding (with watermark)
2. Animated image generating
3. Time point screenshot
4. Sampled screenshot
5. Image sprite generating
6. Taking a screenshot to use as the thumbnail
7. Adaptive bitrate streaming and encryption
8. Detecting pornographic, terrorist, and politically sensitive content
9. Content analysis for labeling, categorization, thumbnail generation, or frame-specific labeling
10. Recognition of opening and closing segments, faces, full text, text keywords, full speech, speech keywords, and objects
If event notifications are used, the event type is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_NONEEDTOREDUCEMEDIABITRATE = "FailedOperation.NoNeedToReduceMediaBitrate" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition" INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition" INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PullEvents ¶
func (c *Client) PullEvents(request *PullEventsRequest) (response *PullEventsResponse, err error)
PullEvents * This API is used to get event notifications from the business server through [reliable callback](https://intl.cloud.tencent.com/document/product/266/33948).
* The API gets event data through long polling. That is, if there is any unconsumed event on the server, the event notification will be returned to the requester immediately. If there is no unconsumed event on the server, the request will be suspended in the backend until a new event is generated.
* The request can be suspended for up to 5 seconds. It’s recommended to set the request timeout period to 10 seconds.
* Event notifications not pulled will be retained for up to 4 days and may be cleared after this period.
* After the API returns an event, the caller must call the [ConfirmEvents](https://intl.cloud.tencent.com/document/product/266/34184) API within <font color="red">30 seconds</font> to confirm that the event notification has been processed. Otherwise, the event notification will be pulled again after <font color="red">30 seconds</font>.
* This API can get up to 16 event notifications at a time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PullEventsWithContext ¶
func (c *Client) PullEventsWithContext(ctx context.Context, request *PullEventsRequest) (response *PullEventsResponse, err error)
PullEvents * This API is used to get event notifications from the business server through [reliable callback](https://intl.cloud.tencent.com/document/product/266/33948).
* The API gets event data through long polling. That is, if there is any unconsumed event on the server, the event notification will be returned to the requester immediately. If there is no unconsumed event on the server, the request will be suspended in the backend until a new event is generated.
* The request can be suspended for up to 5 seconds. It’s recommended to set the request timeout period to 10 seconds.
* Event notifications not pulled will be retained for up to 4 days and may be cleared after this period.
* After the API returns an event, the caller must call the [ConfirmEvents](https://intl.cloud.tencent.com/document/product/266/34184) API within <font color="red">30 seconds</font> to confirm that the event notification has been processed. Otherwise, the event notification will be pulled again after <font color="red">30 seconds</font>.
* This API can get up to 16 event notifications at a time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PullUpload ¶
func (c *Client) PullUpload(request *PullUploadRequest) (response *PullUploadResponse, err error)
PullUpload This API is used to pull a video on the internet to the VOD platform.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType" INTERNALERROR = "InternalError" INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime" INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PullUploadWithContext ¶
func (c *Client) PullUploadWithContext(ctx context.Context, request *PullUploadRequest) (response *PullUploadResponse, err error)
PullUpload This API is used to pull a video on the internet to the VOD platform.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType" INTERNALERROR = "InternalError" INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime" INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion" RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PushUrlCache ¶
func (c *Client) PushUrlCache(request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)
PushUrlCache 1. This API is used to prefetch a list of specified URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs that can be refreshed per day is 10,000.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PushUrlCacheWithContext ¶
func (c *Client) PushUrlCacheWithContext(ctx context.Context, request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)
PushUrlCache 1. This API is used to prefetch a list of specified URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs that can be refreshed per day is 10,000.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RefreshUrlCache ¶
func (c *Client) RefreshUrlCache(request *RefreshUrlCacheRequest) (response *RefreshUrlCacheResponse, err error)
RefreshUrlCache 1. This API is used to purge URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs allowed for purge per day is 100,000.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RefreshUrlCacheWithContext ¶
func (c *Client) RefreshUrlCacheWithContext(ctx context.Context, request *RefreshUrlCacheRequest) (response *RefreshUrlCacheResponse, err error)
RefreshUrlCache 1. This API is used to purge URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs allowed for purge per day is 100,000.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RemoveWatermark ¶
func (c *Client) RemoveWatermark(request *RemoveWatermarkRequest) (response *RemoveWatermarkResponse, err error)
RemoveWatermark This API is used to remove watermarks from a video.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RemoveWatermarkWithContext ¶
func (c *Client) RemoveWatermarkWithContext(ctx context.Context, request *RemoveWatermarkRequest) (response *RemoveWatermarkResponse, err error)
RemoveWatermark This API is used to remove watermarks from a video.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ResetProcedureTemplate ¶
func (c *Client) ResetProcedureTemplate(request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)
ResetProcedureTemplate This API is used to reset a custom task flow template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ResetProcedureTemplateWithContext ¶
func (c *Client) ResetProcedureTemplateWithContext(ctx context.Context, request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)
ResetProcedureTemplate This API is used to reset a custom task flow template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RestoreMedia ¶
func (c *Client) RestoreMedia(request *RestoreMediaRequest) (response *RestoreMediaResponse, err error)
RestoreMedia This API is used to restore files from ARCHIVE or DEEP ARCHIVE. Files stored in ARCHIVE or DEEP ARCHIVE must be restored before they can be accessed. Restored files are available for a limited period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_NOTRESTORABLE = "InvalidParameterValue.NotRestorable" INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = "InvalidParameterValue.OriginalStorageClass" INVALIDPARAMETERVALUE_RESTOREDAY = "InvalidParameterValue.RestoreDay" INVALIDPARAMETERVALUE_RESTORETIER = "InvalidParameterValue.RestoreTier" INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = "InvalidParameterValue.UnsupportedRestoreTier" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RestoreMediaWithContext ¶
func (c *Client) RestoreMediaWithContext(ctx context.Context, request *RestoreMediaRequest) (response *RestoreMediaResponse, err error)
RestoreMedia This API is used to restore files from ARCHIVE or DEEP ARCHIVE. Files stored in ARCHIVE or DEEP ARCHIVE must be restored before they can be accessed. Restored files are available for a limited period of time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_NOTRESTORABLE = "InvalidParameterValue.NotRestorable" INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = "InvalidParameterValue.OriginalStorageClass" INVALIDPARAMETERVALUE_RESTOREDAY = "InvalidParameterValue.RestoreDay" INVALIDPARAMETERVALUE_RESTORETIER = "InvalidParameterValue.RestoreTier" INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = "InvalidParameterValue.UnsupportedRestoreTier" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ReviewAudioVideo ¶
func (c *Client) ReviewAudioVideo(request *ReviewAudioVideoRequest) (response *ReviewAudioVideoResponse, err error)
ReviewAudioVideo This API is used to start a moderation task on a file stored in VOD to detect non-compliant content in images, text, speech, and voice.
If event notifications are used, the event type is [ReviewAudioVideoComplete](https://intl.cloud.tencent.com/document/product/266/81258?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReviewAudioVideoWithContext ¶
func (c *Client) ReviewAudioVideoWithContext(ctx context.Context, request *ReviewAudioVideoRequest) (response *ReviewAudioVideoResponse, err error)
ReviewAudioVideo This API is used to start a moderation task on a file stored in VOD to detect non-compliant content in images, text, speech, and voice.
If event notifications are used, the event type is [ReviewAudioVideoComplete](https://intl.cloud.tencent.com/document/product/266/81258?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SearchMedia ¶
func (c *Client) SearchMedia(request *SearchMediaRequest) (response *SearchMediaResponse, err error)
SearchMedia This API is used to search for media files by specific criteria. You can sort the results and specify the information to return.
- Specify a list of file IDs (`FileIds`). Any file that matches one of the IDs will be returned.
- Specify one or multiple keywords for `Names` or `Descriptions` for fuzzy search by filename or description.
- Specify multiple filename prefixes (`NamePrefixes`).
- Specify a list of categories (`ClassIds`). Any file that matches one of the categories will be returned. For example, assume that there are categories `Movies`, `TV Series`, and `Variety Shows`, and `Movies` has subcategories including `History`, `Action`, and `Romance`. If `ClassIds` is set to `Movies` and `TV Series`, all media files in `Movies` (including its subcategories) and `TV Series` will be returned. If `ClassIds` is set to `History` and `Action`, only the files in those two subcategories will be returned.
- Specify a list of tags (`Tags`). Any file that matches one or more of the tags will be returned. For example, assume that there are tags `ACG`, `Drama`, and `YTPMV`. If `Tags` is set to `ACG` and `YTPMV`, any media file with either tag will be returned.
- Specify the types (`Categories`) of media files. Any file that matches one of the types will be returned. There are three file types: `Video`, `Audio`, and `Image`. If `Categories` is set to `Video` and `Audio`, all audio and video files will be returned.
- Specify the source types (`SourceTypes`). Any file that matches one of the source types specified will be returned. For example, if you set `SourceTypes` to `Record` (live recording) and `Upload` (upload), all recording files and uploaded files will be returned.
- Specify the stream IDs (`StreamIds`) of live recording files.
- Specify a time range for search by file creation time.
- Specify the TRTC application IDs.
- Specify the TRTC room IDs.
- Specify one keyword for `Text` for fuzzy search by filename or description. (This is not recommended. Please use `Names`, `NamePrefixes` or `Descriptions` instead.)
- Specify one source (`SourceType`). (This is not recommended. Please use `SourceTypes` instead.)
- Specify one stream ID (`StreamId`). (This is not recommended. Please use `StreamIds` instead.)
- Specify the start (`StartTime`) of the time range to search by creation time. (This is not recommended. Please use `CreateTime` instead.)
- Specify the end (`EndTime`) of the time range to search by creation time. (This is not recommended. Please use `CreateTime` instead.)
- You can search by any combination of the parameters above. For example, you can search for media files with the tag "Drama" or "Suspense" in the category of "Movies" and "TV Series" created between 12:00:00, December 1, 2018 and 12:00:00, December 8, 2018. Note that for parameters whose data type is array, the search logic between their elements is "OR". The search logic between parameters is "AND".
- You can sort the results by creation time and return them in multiple pages by specifying `Offset` and `Limit`.
- You can use `Filters` to specify the types of file information to return (all types are returned by default). Valid values:
`basicInfo`: The file name, category, playback URL, thumbnail, etc.
`metaData`: The file size, duration, video stream information, audio stream information, etc.
`transcodeInfo`: The URLs, video stream parameters, and audio stream parameters of transcoding outputs.
`animatedGraphicsInfo`: The information of the animated images (such as GIF images) generated.
`sampleSnapshotInfo`: The information of the sampled screenshots generated.
`imageSpriteInfo`: The information of the image sprites generated.
`snapshotByTimeOffsetInfo`: The information of the time point screenshots generated.
`keyFrameDescInfo`: The video timestamp information.
`adaptiveDynamicStreamingInfo`: The specification, encryption type, format, etc.
<div id="maxResultsDesc">Limits for returned records:</div>
- The <b><a href="#p_offset">Offset</a> and <a href="#p_limit">Limit</a> parameters determine the number of records per page. If neither parameter is passed, this API will return up to 10 records.</b>
- <b>Up to 5,000 records can be returned. If a request returns too many records, we recommend you use more specific search criteria to narrow down the results.</b>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories" INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes" INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort" INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType" INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions" INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags" INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text" INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types" INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SearchMediaWithContext ¶
func (c *Client) SearchMediaWithContext(ctx context.Context, request *SearchMediaRequest) (response *SearchMediaResponse, err error)
SearchMedia This API is used to search for media files by specific criteria. You can sort the results and specify the information to return.
- Specify a list of file IDs (`FileIds`). Any file that matches one of the IDs will be returned.
- Specify one or multiple keywords for `Names` or `Descriptions` for fuzzy search by filename or description.
- Specify multiple filename prefixes (`NamePrefixes`).
- Specify a list of categories (`ClassIds`). Any file that matches one of the categories will be returned. For example, assume that there are categories `Movies`, `TV Series`, and `Variety Shows`, and `Movies` has subcategories including `History`, `Action`, and `Romance`. If `ClassIds` is set to `Movies` and `TV Series`, all media files in `Movies` (including its subcategories) and `TV Series` will be returned. If `ClassIds` is set to `History` and `Action`, only the files in those two subcategories will be returned.
- Specify a list of tags (`Tags`). Any file that matches one or more of the tags will be returned. For example, assume that there are tags `ACG`, `Drama`, and `YTPMV`. If `Tags` is set to `ACG` and `YTPMV`, any media file with either tag will be returned.
- Specify the types (`Categories`) of media files. Any file that matches one of the types will be returned. There are three file types: `Video`, `Audio`, and `Image`. If `Categories` is set to `Video` and `Audio`, all audio and video files will be returned.
- Specify the source types (`SourceTypes`). Any file that matches one of the source types specified will be returned. For example, if you set `SourceTypes` to `Record` (live recording) and `Upload` (upload), all recording files and uploaded files will be returned.
- Specify the stream IDs (`StreamIds`) of live recording files.
- Specify a time range for search by file creation time.
- Specify the TRTC application IDs.
- Specify the TRTC room IDs.
- Specify one keyword for `Text` for fuzzy search by filename or description. (This is not recommended. Please use `Names`, `NamePrefixes` or `Descriptions` instead.)
- Specify one source (`SourceType`). (This is not recommended. Please use `SourceTypes` instead.)
- Specify one stream ID (`StreamId`). (This is not recommended. Please use `StreamIds` instead.)
- Specify the start (`StartTime`) of the time range to search by creation time. (This is not recommended. Please use `CreateTime` instead.)
- Specify the end (`EndTime`) of the time range to search by creation time. (This is not recommended. Please use `CreateTime` instead.)
- You can search by any combination of the parameters above. For example, you can search for media files with the tag "Drama" or "Suspense" in the category of "Movies" and "TV Series" created between 12:00:00, December 1, 2018 and 12:00:00, December 8, 2018. Note that for parameters whose data type is array, the search logic between their elements is "OR". The search logic between parameters is "AND".
- You can sort the results by creation time and return them in multiple pages by specifying `Offset` and `Limit`.
- You can use `Filters` to specify the types of file information to return (all types are returned by default). Valid values:
`basicInfo`: The file name, category, playback URL, thumbnail, etc.
`metaData`: The file size, duration, video stream information, audio stream information, etc.
`transcodeInfo`: The URLs, video stream parameters, and audio stream parameters of transcoding outputs.
`animatedGraphicsInfo`: The information of the animated images (such as GIF images) generated.
`sampleSnapshotInfo`: The information of the sampled screenshots generated.
`imageSpriteInfo`: The information of the image sprites generated.
`snapshotByTimeOffsetInfo`: The information of the time point screenshots generated.
`keyFrameDescInfo`: The video timestamp information.
`adaptiveDynamicStreamingInfo`: The specification, encryption type, format, etc.
<div id="maxResultsDesc">Limits for returned records:</div>
- The <b><a href="#p_offset">Offset</a> and <a href="#p_limit">Limit</a> parameters determine the number of records per page. If neither parameter is passed, this API will return up to 10 records.</b>
- <b>Up to 5,000 records can be returned. If a request returns too many records, we recommend you use more specific search criteria to narrow down the results.</b>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError" INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories" INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds" INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime" INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds" INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes" INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort" INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType" INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes" INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime" INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions" INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds" INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId" INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags" INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text" INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types" INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetDrmKeyProviderInfo ¶
func (c *Client) SetDrmKeyProviderInfo(request *SetDrmKeyProviderInfoRequest) (response *SetDrmKeyProviderInfoResponse, err error)
SetDrmKeyProviderInfo This API is used to configure DRM key information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) SetDrmKeyProviderInfoWithContext ¶
func (c *Client) SetDrmKeyProviderInfoWithContext(ctx context.Context, request *SetDrmKeyProviderInfoRequest) (response *SetDrmKeyProviderInfoResponse, err error)
SetDrmKeyProviderInfo This API is used to configure DRM key information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) SimpleHlsClip ¶
func (c *Client) SimpleHlsClip(request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)
SimpleHlsClip This API is used to cut a clip from an HLS video to generate a new video (in HLS format). You can either share the new video or save it.
VOD supports two types of clipping:
- Clipping for persistent storage: The video clip is saved as an independent video file with its own `FileId`.
- Clipping for temporary sharing: The video clip shares `FileId` with the input file.
Notes:
- Clipping is based on the M3U8 file that contains a list of TS segments, so the smallest clipping unit is one TS segment instead of a second or less.
### Clipping for persistent storage
In this mode, a video clip is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the input video. Even if the source video is deleted, the video clip still exists. Moreover, the video clip can be transcoded, published on WeChat, and processed in other ways.
Suppose you recorded a two-hour football match. You want to save the full video for only two months to save costs, but want to save the highlights for a longer time and perhaps transcode and publish the highlight clip to WeChat. In this case, you can choose clipping for persistent storage.
The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.
### Clipping for temporary sharing
The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.
Because the video clip is not an independent video, it’s not displayed as a media asset in the VOD console, and cannot be transcoded or published to WeChat.
Clipping for temporary sharing is lightweight and incurs no additional storage fees. However, the video clip has the same lifecycle as the source recording video and cannot be transcoded or processed in other ways.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset" INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url" RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SimpleHlsClipWithContext ¶
func (c *Client) SimpleHlsClipWithContext(ctx context.Context, request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)
SimpleHlsClip This API is used to cut a clip from an HLS video to generate a new video (in HLS format). You can either share the new video or save it.
VOD supports two types of clipping:
- Clipping for persistent storage: The video clip is saved as an independent video file with its own `FileId`.
- Clipping for temporary sharing: The video clip shares `FileId` with the input file.
Notes:
- Clipping is based on the M3U8 file that contains a list of TS segments, so the smallest clipping unit is one TS segment instead of a second or less.
### Clipping for persistent storage
In this mode, a video clip is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the input video. Even if the source video is deleted, the video clip still exists. Moreover, the video clip can be transcoded, published on WeChat, and processed in other ways.
Suppose you recorded a two-hour football match. You want to save the full video for only two months to save costs, but want to save the highlights for a longer time and perhaps transcode and publish the highlight clip to WeChat. In this case, you can choose clipping for persistent storage.
The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.
### Clipping for temporary sharing
The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.
Because the video clip is not an independent video, it’s not displayed as a media asset in the VOD console, and cannot be transcoded or published to WeChat.
Clipping for temporary sharing is lightweight and incurs no additional storage fees. However, the video clip has the same lifecycle as the source recording video and cannot be transcoded or processed in other ways.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset" INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset" INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url" RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
type ClipFileInfo2017 ¶
type ClipFileInfo2017 struct { // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error description. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Output target file ID. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Output target file address. // Note: this field may return null, indicating that no valid values can be obtained. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // Output target file type. // Note: this field may return null, indicating that no valid values can be obtained. FileType *string `json:"FileType,omitempty" name:"FileType"` }
type ClipTask2017 ¶
type ClipTask2017 struct { // Video clipping task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // ID of source file for video clipping task. SrcFileId *string `json:"SrcFileId,omitempty" name:"SrcFileId"` // Information of file output by video clipping. FileInfo *ClipFileInfo2017 `json:"FileInfo,omitempty" name:"FileInfo"` }
type CommitUploadRequest ¶
type CommitUploadRequest struct { *tchttp.BaseRequest // VOD session, which takes the returned value (VodSessionKey) of the `ApplyUpload` API. VodSessionKey *string `json:"VodSessionKey,omitempty" name:"VodSessionKey"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewCommitUploadRequest ¶
func NewCommitUploadRequest() (request *CommitUploadRequest)
func (*CommitUploadRequest) FromJsonString ¶
func (r *CommitUploadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CommitUploadRequest) ToJsonString ¶
func (r *CommitUploadRequest) ToJsonString() string
type CommitUploadRequestParams ¶
type CommitUploadRequestParams struct { // VOD session, which takes the returned value (VodSessionKey) of the `ApplyUpload` API. VodSessionKey *string `json:"VodSessionKey,omitempty" name:"VodSessionKey"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type CommitUploadResponse ¶
type CommitUploadResponse struct { *tchttp.BaseResponse Response *CommitUploadResponseParams `json:"Response"` }
func NewCommitUploadResponse ¶
func NewCommitUploadResponse() (response *CommitUploadResponse)
func (*CommitUploadResponse) FromJsonString ¶
func (r *CommitUploadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CommitUploadResponse) ToJsonString ¶
func (r *CommitUploadResponse) ToJsonString() string
type CommitUploadResponseParams ¶
type CommitUploadResponseParams struct { // Unique ID of media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // The media playback URL. MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"` // The thumbnail URL. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ComposeMediaOutput ¶
type ComposeMediaOutput struct { // Filename of up to 64 characters. FileName *string `json:"FileName,omitempty" name:"FileName"` // Description, which can contain up to 128 characters. Description *string `json:"Description,omitempty" name:"Description"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. // <li>Default value: 0, which means "Other".</li> ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Container. Valid values: mp4, mp3. mp3 is for audio files. Container *string `json:"Container,omitempty" name:"Container"` // Information of output video. // Note: this field may return null, indicating that no valid values can be obtained. VideoStream *OutputVideoStream `json:"VideoStream,omitempty" name:"VideoStream"` // Information of output audio. // Note: this field may return null, indicating that no valid values can be obtained. AudioStream *OutputAudioStream `json:"AudioStream,omitempty" name:"AudioStream"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` }
type ComposeMediaRequest ¶
type ComposeMediaRequest struct { *tchttp.BaseRequest // List of input media tracks, including video, audio, and image tracks. <li>Input tracks are synced to the output media file.</li><li>Input tracks are synced to each other. Videos and images in higher tracks are superimposed over those in lower tracks. Audio tracks are mixed.</li><li>There can be up to 10 tracks for video, audio, and images each.</li><li>The total number of clips in all tracks cannot exceed 500.</li> Tracks []*MediaTrack `json:"Tracks,omitempty" name:"Tracks"` // Information of output media file. Output *ComposeMediaOutput `json:"Output,omitempty" name:"Output"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Canvas used for composing video file. Canvas *Canvas `json:"Canvas,omitempty" name:"Canvas"` // Used to pass through user request information. `ComposeMediaComplete` callback will return the value of this parameter. It contains up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` }
func NewComposeMediaRequest ¶
func NewComposeMediaRequest() (request *ComposeMediaRequest)
func (*ComposeMediaRequest) FromJsonString ¶
func (r *ComposeMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ComposeMediaRequest) ToJsonString ¶
func (r *ComposeMediaRequest) ToJsonString() string
type ComposeMediaRequestParams ¶
type ComposeMediaRequestParams struct { // List of input media tracks, including video, audio, and image tracks. <li>Input tracks are synced to the output media file.</li><li>Input tracks are synced to each other. Videos and images in higher tracks are superimposed over those in lower tracks. Audio tracks are mixed.</li><li>There can be up to 10 tracks for video, audio, and images each.</li><li>The total number of clips in all tracks cannot exceed 500.</li> Tracks []*MediaTrack `json:"Tracks,omitempty" name:"Tracks"` // Information of output media file. Output *ComposeMediaOutput `json:"Output,omitempty" name:"Output"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Canvas used for composing video file. Canvas *Canvas `json:"Canvas,omitempty" name:"Canvas"` // Used to pass through user request information. `ComposeMediaComplete` callback will return the value of this parameter. It contains up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` }
Predefined struct for user
type ComposeMediaResponse ¶
type ComposeMediaResponse struct { *tchttp.BaseResponse Response *ComposeMediaResponseParams `json:"Response"` }
func NewComposeMediaResponse ¶
func NewComposeMediaResponse() (response *ComposeMediaResponse)
func (*ComposeMediaResponse) FromJsonString ¶
func (r *ComposeMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ComposeMediaResponse) ToJsonString ¶
func (r *ComposeMediaResponse) ToJsonString() string
type ComposeMediaResponseParams ¶
type ComposeMediaResponseParams struct { // Media file composing task ID, which can be used to query the status of composing task (with task type being `MakeMedia`). TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ComposeMediaTask ¶
type ComposeMediaTask struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> // Note: this field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Progress of a media file composing task. Value range: [0, 100] Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Input of media file composing task. // Note: this field may return null, indicating that no valid values can be obtained. Input *ComposeMediaTaskInput `json:"Input,omitempty" name:"Input"` // Output of media file composing task. // Note: this field may return null, indicating that no valid values can be obtained. Output *ComposeMediaTaskOutput `json:"Output,omitempty" name:"Output"` // The metadata of the output video. // Note: This field may return `null`, indicating that no valid value was found. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is not carried or is left empty, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this parameter. It can contain up to 1000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type ComposeMediaTaskInput ¶
type ComposeMediaTaskInput struct { // List of input media tracks, i.e., information of multiple tracks composed of video, audio, image, and other materials. Tracks []*MediaTrack `json:"Tracks,omitempty" name:"Tracks"` // Canvas used for composing video file. // Note: this field may return null, indicating that no valid values can be obtained. Canvas *Canvas `json:"Canvas,omitempty" name:"Canvas"` // Information of output media file. Output *ComposeMediaOutput `json:"Output,omitempty" name:"Output"` }
type ComposeMediaTaskOutput ¶
type ComposeMediaTaskOutput struct { // File type, such as mp4 and mp3. FileType *string `json:"FileType,omitempty" name:"FileType"` // Media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Media file playback address. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // Filename of up to 64 characters. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. // <li>Default value: 0, which means "Other".</li> ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
type ConcatFileInfo2017 ¶
type ConcatFileInfo2017 struct { // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // ID of source file for video splicing. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Address of source file for video splicing. // Note: this field may return null, indicating that no valid values can be obtained. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // Format of source file for video splicing. // Note: this field may return null, indicating that no valid values can be obtained. FileType *string `json:"FileType,omitempty" name:"FileType"` }
type ConcatTask2017 ¶
type ConcatTask2017 struct { // Video splicing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Information of source file for video splicing. FileInfoSet []*ConcatFileInfo2017 `json:"FileInfoSet,omitempty" name:"FileInfoSet"` }
type ConfirmEventsRequest ¶
type ConfirmEventsRequest struct { *tchttp.BaseRequest // Event handler, i.e., the `EventSet. EventHandle` field in the output parameters of the [event notification pulling](https://intl.cloud.tencent.com/document/product/266/33433?from_cn_redirect=1) API. // Array length limit: 16. EventHandles []*string `json:"EventHandles,omitempty" name:"EventHandles"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewConfirmEventsRequest ¶
func NewConfirmEventsRequest() (request *ConfirmEventsRequest)
func (*ConfirmEventsRequest) FromJsonString ¶
func (r *ConfirmEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfirmEventsRequest) ToJsonString ¶
func (r *ConfirmEventsRequest) ToJsonString() string
type ConfirmEventsRequestParams ¶
type ConfirmEventsRequestParams struct { // Event handler, i.e., the `EventSet. EventHandle` field in the output parameters of the [event notification pulling](https://intl.cloud.tencent.com/document/product/266/33433?from_cn_redirect=1) API. // Array length limit: 16. EventHandles []*string `json:"EventHandles,omitempty" name:"EventHandles"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ConfirmEventsResponse ¶
type ConfirmEventsResponse struct { *tchttp.BaseResponse Response *ConfirmEventsResponseParams `json:"Response"` }
func NewConfirmEventsResponse ¶
func NewConfirmEventsResponse() (response *ConfirmEventsResponse)
func (*ConfirmEventsResponse) FromJsonString ¶
func (r *ConfirmEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfirmEventsResponse) ToJsonString ¶
func (r *ConfirmEventsResponse) ToJsonString() string
type ConfirmEventsResponseParams ¶
type ConfirmEventsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ContentReviewTemplateItem ¶
type ContentReviewTemplateItem struct { // Unique ID of an intelligent recognition template Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Name of an intelligent recognition template. Max 64 characters Name *string `json:"Name,omitempty" name:"Name"` // Description of an intelligent recognition template. Max 256 characters Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameters for recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"` // Parameters for recognition of terrorism content // Note: This field may return `null`, indicating that no valid value can be found. TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"` // Parameters for recognition of politically sensitive content // Note: This field may return `null`, indicating that no valid value can be found. PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this field may return null, indicating that no valid values can be obtained. ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"` // Custom recognition parameters // Note: This field may return `null`, indicating that no valid value can be found. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"` // Whether to subject the recognition result to human review // <li>ON</li> // <li>OFF</li> ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type CoverBySnapshotTaskInput ¶
type CoverBySnapshotTaskInput struct { // Time point screencapturing template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Screencapturing mode. Valid values: // <li>Time: screencaptures by time point</li> // <li>Percent: screencaptures by percentage</li> PositionType *string `json:"PositionType,omitempty" name:"PositionType"` // Screenshot position: // <li>For time point screencapturing, this means to take a screenshot at a specified time point (in seconds) and use it as the cover</li> // <li>For percentage screencapturing, this value means to take a screenshot at a specified percentage of the video duration and use it as the cover</li> PositionValue *float64 `json:"PositionValue,omitempty" name:"PositionValue"` // List of up to 10 image or text watermarks. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"` }
type CoverBySnapshotTaskOutput ¶
type CoverBySnapshotTaskOutput struct { // Cover URL. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` }
type CoverConfigureInfo ¶
type CoverConfigureInfo struct { // Switch of intelligent cover generating task. Valid values: // <li>ON: enables intelligent cover generating task;</li> // <li>OFF: disables intelligent cover generating task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CoverConfigureInfoForUpdate ¶
type CoverConfigureInfoForUpdate struct { // Switch of intelligent cover generating task. Valid values: // <li>ON: enables intelligent cover generating task;</li> // <li>OFF: disables intelligent cover generating task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CreateAIAnalysisTemplateRequest ¶
type CreateAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"` // Control parameter of an intelligent highlight generating task. HighlightConfigure *HighlightsConfigureInfo `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"` }
func NewCreateAIAnalysisTemplateRequest ¶
func NewCreateAIAnalysisTemplateRequest() (request *CreateAIAnalysisTemplateRequest)
func (*CreateAIAnalysisTemplateRequest) FromJsonString ¶
func (r *CreateAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIAnalysisTemplateRequest) ToJsonString ¶
func (r *CreateAIAnalysisTemplateRequest) ToJsonString() string
type CreateAIAnalysisTemplateRequestParams ¶
type CreateAIAnalysisTemplateRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"` // Control parameter of an intelligent highlight generating task. HighlightConfigure *HighlightsConfigureInfo `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"` }
Predefined struct for user
type CreateAIAnalysisTemplateResponse ¶
type CreateAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *CreateAIAnalysisTemplateResponseParams `json:"Response"` }
func NewCreateAIAnalysisTemplateResponse ¶
func NewCreateAIAnalysisTemplateResponse() (response *CreateAIAnalysisTemplateResponse)
func (*CreateAIAnalysisTemplateResponse) FromJsonString ¶
func (r *CreateAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIAnalysisTemplateResponse) ToJsonString ¶
func (r *CreateAIAnalysisTemplateResponse) ToJsonString() string
type CreateAIAnalysisTemplateResponseParams ¶
type CreateAIAnalysisTemplateResponseParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAIRecognitionTemplateRequest ¶
type CreateAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content recognition template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of video opening and ending credits recognition. HeadTailConfigure *HeadTailConfigureInfo `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"` // Control parameter of video splitting recognition. SegmentConfigure *SegmentConfigureInfo `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"` // Control parameter of face recognition. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"` // Control parameter of full text recognition. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"` // Control parameter of text keyword recognition. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"` // Control parameter of full speech recognition. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"` // Control parameter of speech keyword recognition. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"` // Control parameter of object recognition. ObjectConfigure *ObjectConfigureInfo `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
func NewCreateAIRecognitionTemplateRequest ¶
func NewCreateAIRecognitionTemplateRequest() (request *CreateAIRecognitionTemplateRequest)
func (*CreateAIRecognitionTemplateRequest) FromJsonString ¶
func (r *CreateAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIRecognitionTemplateRequest) ToJsonString ¶
func (r *CreateAIRecognitionTemplateRequest) ToJsonString() string
type CreateAIRecognitionTemplateRequestParams ¶
type CreateAIRecognitionTemplateRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content recognition template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of video opening and ending credits recognition. HeadTailConfigure *HeadTailConfigureInfo `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"` // Control parameter of video splitting recognition. SegmentConfigure *SegmentConfigureInfo `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"` // Control parameter of face recognition. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"` // Control parameter of full text recognition. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"` // Control parameter of text keyword recognition. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"` // Control parameter of full speech recognition. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"` // Control parameter of speech keyword recognition. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"` // Control parameter of object recognition. ObjectConfigure *ObjectConfigureInfo `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
Predefined struct for user
type CreateAIRecognitionTemplateResponse ¶
type CreateAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *CreateAIRecognitionTemplateResponseParams `json:"Response"` }
func NewCreateAIRecognitionTemplateResponse ¶
func NewCreateAIRecognitionTemplateResponse() (response *CreateAIRecognitionTemplateResponse)
func (*CreateAIRecognitionTemplateResponse) FromJsonString ¶
func (r *CreateAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIRecognitionTemplateResponse) ToJsonString ¶
func (r *CreateAIRecognitionTemplateResponse) ToJsonString() string
type CreateAIRecognitionTemplateResponseParams ¶
type CreateAIRecognitionTemplateResponseParams struct { // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAdaptiveDynamicStreamingTemplateRequest ¶
type CreateAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // The adaptive bitrate streaming format. Valid values: // <li>HLS</li> // <li>MPEG-DASH</li> Format *string `json:"Format,omitempty" name:"Format"` // Parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. // Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The DRM type. Valid values: // <li>SimpleAES</li> // <li>Widevine</li> // <li>FairPlay</li> // If this parameter is an empty string, it indicates that the video is not protected by DRM. DrmType *string `json:"DrmType,omitempty" name:"DrmType"` // The provider of the DRM key. Valid values: // <li>SDMC</li> // <li>VOD</li> // The default is `VOD`. DrmKeyProvider *string `json:"DrmKeyProvider,omitempty" name:"DrmKeyProvider"` // Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: no. DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: no. DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The segment type. This parameter is valid only if `Format` is `HLS`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> // Default: ts SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
func NewCreateAdaptiveDynamicStreamingTemplateRequest ¶
func NewCreateAdaptiveDynamicStreamingTemplateRequest() (request *CreateAdaptiveDynamicStreamingTemplateRequest)
func (*CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type CreateAdaptiveDynamicStreamingTemplateRequestParams ¶
type CreateAdaptiveDynamicStreamingTemplateRequestParams struct { // The adaptive bitrate streaming format. Valid values: // <li>HLS</li> // <li>MPEG-DASH</li> Format *string `json:"Format,omitempty" name:"Format"` // Parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. // Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The DRM type. Valid values: // <li>SimpleAES</li> // <li>Widevine</li> // <li>FairPlay</li> // If this parameter is an empty string, it indicates that the video is not protected by DRM. DrmType *string `json:"DrmType,omitempty" name:"DrmType"` // The provider of the DRM key. Valid values: // <li>SDMC</li> // <li>VOD</li> // The default is `VOD`. DrmKeyProvider *string `json:"DrmKeyProvider,omitempty" name:"DrmKeyProvider"` // Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: no. DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: no. DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The segment type. This parameter is valid only if `Format` is `HLS`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> // Default: ts SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
Predefined struct for user
type CreateAdaptiveDynamicStreamingTemplateResponse ¶
type CreateAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *CreateAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewCreateAdaptiveDynamicStreamingTemplateResponse ¶
func NewCreateAdaptiveDynamicStreamingTemplateResponse() (response *CreateAdaptiveDynamicStreamingTemplateResponse)
func (*CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type CreateAdaptiveDynamicStreamingTemplateResponseParams ¶
type CreateAdaptiveDynamicStreamingTemplateResponseParams struct { // Unique ID of adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAnimatedGraphicsTemplateRequest ¶
type CreateAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitempty" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitempty" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
func NewCreateAnimatedGraphicsTemplateRequest ¶
func NewCreateAnimatedGraphicsTemplateRequest() (request *CreateAnimatedGraphicsTemplateRequest)
func (*CreateAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *CreateAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *CreateAnimatedGraphicsTemplateRequest) ToJsonString() string
type CreateAnimatedGraphicsTemplateRequestParams ¶
type CreateAnimatedGraphicsTemplateRequestParams struct { // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitempty" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitempty" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
Predefined struct for user
type CreateAnimatedGraphicsTemplateResponse ¶
type CreateAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *CreateAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewCreateAnimatedGraphicsTemplateResponse ¶
func NewCreateAnimatedGraphicsTemplateResponse() (response *CreateAnimatedGraphicsTemplateResponse)
func (*CreateAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *CreateAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *CreateAnimatedGraphicsTemplateResponse) ToJsonString() string
type CreateAnimatedGraphicsTemplateResponseParams ¶
type CreateAnimatedGraphicsTemplateResponseParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClassRequest ¶
type CreateClassRequest struct { *tchttp.BaseRequest // Parent category ID. For a first-level category, enter `-1`. ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"` // Category name. Length limit: 1-64 characters. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewCreateClassRequest ¶
func NewCreateClassRequest() (request *CreateClassRequest)
func (*CreateClassRequest) FromJsonString ¶
func (r *CreateClassRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClassRequest) ToJsonString ¶
func (r *CreateClassRequest) ToJsonString() string
type CreateClassRequestParams ¶
type CreateClassRequestParams struct { // Parent category ID. For a first-level category, enter `-1`. ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"` // Category name. Length limit: 1-64 characters. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type CreateClassResponse ¶
type CreateClassResponse struct { *tchttp.BaseResponse Response *CreateClassResponseParams `json:"Response"` }
func NewCreateClassResponse ¶
func NewCreateClassResponse() (response *CreateClassResponse)
func (*CreateClassResponse) FromJsonString ¶
func (r *CreateClassResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClassResponse) ToJsonString ¶
func (r *CreateClassResponse) ToJsonString() string
type CreateClassResponseParams ¶
type CreateClassResponseParams struct { // Category ID ClassId *uint64 `json:"ClassId,omitempty" name:"ClassId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateContentReviewTemplateRequest ¶
type CreateContentReviewTemplateRequest struct { *tchttp.BaseRequest // Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition). // <li>ON: yes</li> // <li>OFF: no</li> ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an intelligent content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of an intelligent content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter for porn information. PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"` // Control parameter for terrorism information. TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information. PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"` // Control parameter for custom intelligent content recognition. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
func NewCreateContentReviewTemplateRequest ¶
func NewCreateContentReviewTemplateRequest() (request *CreateContentReviewTemplateRequest)
func (*CreateContentReviewTemplateRequest) FromJsonString ¶
func (r *CreateContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateContentReviewTemplateRequest) ToJsonString ¶
func (r *CreateContentReviewTemplateRequest) ToJsonString() string
type CreateContentReviewTemplateRequestParams ¶
type CreateContentReviewTemplateRequestParams struct { // Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition). // <li>ON: yes</li> // <li>OFF: no</li> ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an intelligent content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of an intelligent content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter for porn information. PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"` // Control parameter for terrorism information. TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information. PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"` // Control parameter for custom intelligent content recognition. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
Predefined struct for user
type CreateContentReviewTemplateResponse ¶
type CreateContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *CreateContentReviewTemplateResponseParams `json:"Response"` }
func NewCreateContentReviewTemplateResponse ¶
func NewCreateContentReviewTemplateResponse() (response *CreateContentReviewTemplateResponse)
func (*CreateContentReviewTemplateResponse) FromJsonString ¶
func (r *CreateContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateContentReviewTemplateResponse) ToJsonString ¶
func (r *CreateContentReviewTemplateResponse) ToJsonString() string
type CreateContentReviewTemplateResponseParams ¶
type CreateContentReviewTemplateResponseParams struct { // Unique ID of an intelligent recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateImageProcessingTemplateRequest ¶
type CreateImageProcessingTemplateRequest struct { *tchttp.BaseRequest // An array of image processing operations. The operations will be performed in the specified order. // <li>Length limit: 3.</li> Operations []*ImageOperation `json:"Operations,omitempty" name:"Operations"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The name of the image processing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
func NewCreateImageProcessingTemplateRequest ¶
func NewCreateImageProcessingTemplateRequest() (request *CreateImageProcessingTemplateRequest)
func (*CreateImageProcessingTemplateRequest) FromJsonString ¶
func (r *CreateImageProcessingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageProcessingTemplateRequest) ToJsonString ¶
func (r *CreateImageProcessingTemplateRequest) ToJsonString() string
type CreateImageProcessingTemplateRequestParams ¶
type CreateImageProcessingTemplateRequestParams struct { // An array of image processing operations. The operations will be performed in the specified order. // <li>Length limit: 3.</li> Operations []*ImageOperation `json:"Operations,omitempty" name:"Operations"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The name of the image processing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
Predefined struct for user
type CreateImageProcessingTemplateResponse ¶
type CreateImageProcessingTemplateResponse struct { *tchttp.BaseResponse Response *CreateImageProcessingTemplateResponseParams `json:"Response"` }
func NewCreateImageProcessingTemplateResponse ¶
func NewCreateImageProcessingTemplateResponse() (response *CreateImageProcessingTemplateResponse)
func (*CreateImageProcessingTemplateResponse) FromJsonString ¶
func (r *CreateImageProcessingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageProcessingTemplateResponse) ToJsonString ¶
func (r *CreateImageProcessingTemplateResponse) ToJsonString() string
type CreateImageProcessingTemplateResponseParams ¶
type CreateImageProcessingTemplateResponseParams struct { // The template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateImageSpriteTask2017 ¶
type CreateImageSpriteTask2017 struct { // Image sprite generating task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // ID of generated image sprite file. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Image sprite specification. For more information, please see [Image Sprite Generating Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Total number of subimages in image sprite. // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Address of output image sprite. // Note: this field may return null, indicating that no valid values can be obtained. ImageSpriteUrlSet []*string `json:"ImageSpriteUrlSet,omitempty" name:"ImageSpriteUrlSet"` // Address of WebVtt file for the position-time relationship among subimages in an image sprite. // Note: this field may return null, indicating that no valid values can be obtained. WebVttUrl *string `json:"WebVttUrl,omitempty" name:"WebVttUrl"` }
type CreateImageSpriteTemplateRequest ¶
type CreateImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Sampling type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` // Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: // <li> jpg</li> // <li> png</li> // <li> webp</li> // Default: jpg Format *string `json:"Format,omitempty" name:"Format"` }
func NewCreateImageSpriteTemplateRequest ¶
func NewCreateImageSpriteTemplateRequest() (request *CreateImageSpriteTemplateRequest)
func (*CreateImageSpriteTemplateRequest) FromJsonString ¶
func (r *CreateImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageSpriteTemplateRequest) ToJsonString ¶
func (r *CreateImageSpriteTemplateRequest) ToJsonString() string
type CreateImageSpriteTemplateRequestParams ¶
type CreateImageSpriteTemplateRequestParams struct { // Sampling type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` // Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: // <li> jpg</li> // <li> png</li> // <li> webp</li> // Default: jpg Format *string `json:"Format,omitempty" name:"Format"` }
Predefined struct for user
type CreateImageSpriteTemplateResponse ¶
type CreateImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *CreateImageSpriteTemplateResponseParams `json:"Response"` }
func NewCreateImageSpriteTemplateResponse ¶
func NewCreateImageSpriteTemplateResponse() (response *CreateImageSpriteTemplateResponse)
func (*CreateImageSpriteTemplateResponse) FromJsonString ¶
func (r *CreateImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageSpriteTemplateResponse) ToJsonString ¶
func (r *CreateImageSpriteTemplateResponse) ToJsonString() string
type CreateImageSpriteTemplateResponseParams ¶
type CreateImageSpriteTemplateResponseParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePersonSampleRequest ¶
type CreatePersonSampleRequest struct { *tchttp.BaseRequest // Name of a sample. Length limit: 20 characters. Name *string `json:"Name,omitempty" name:"Name"` // Usage of a sample. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: equivalent to 1+2. Usages []*string `json:"Usages,omitempty" name:"Usages"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Description of a sample. Length limit: 1024 characters. Description *string `json:"Description,omitempty" name:"Description"` // String generated after the sample image is encoded by [Base64](https://tools.ietf.org/html/rfc4648). Only JPEG and PNG images are supported. Array length limit: 5 images. // Note: the image must be a relatively clear full-face photo of a person and has a resolution of no less than 200 x 200. FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents"` // Tags of a sample // <li>Array length limit: 20 tags</li> // <li>Length limit of a tag: 128 characters</li> Tags []*string `json:"Tags,omitempty" name:"Tags"` }
func NewCreatePersonSampleRequest ¶
func NewCreatePersonSampleRequest() (request *CreatePersonSampleRequest)
func (*CreatePersonSampleRequest) FromJsonString ¶
func (r *CreatePersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePersonSampleRequest) ToJsonString ¶
func (r *CreatePersonSampleRequest) ToJsonString() string
type CreatePersonSampleRequestParams ¶
type CreatePersonSampleRequestParams struct { // Name of a sample. Length limit: 20 characters. Name *string `json:"Name,omitempty" name:"Name"` // Usage of a sample. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: equivalent to 1+2. Usages []*string `json:"Usages,omitempty" name:"Usages"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Description of a sample. Length limit: 1024 characters. Description *string `json:"Description,omitempty" name:"Description"` // String generated after the sample image is encoded by [Base64](https://tools.ietf.org/html/rfc4648). Only JPEG and PNG images are supported. Array length limit: 5 images. // Note: the image must be a relatively clear full-face photo of a person and has a resolution of no less than 200 x 200. FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents"` // Tags of a sample // <li>Array length limit: 20 tags</li> // <li>Length limit of a tag: 128 characters</li> Tags []*string `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreatePersonSampleResponse ¶
type CreatePersonSampleResponse struct { *tchttp.BaseResponse Response *CreatePersonSampleResponseParams `json:"Response"` }
func NewCreatePersonSampleResponse ¶
func NewCreatePersonSampleResponse() (response *CreatePersonSampleResponse)
func (*CreatePersonSampleResponse) FromJsonString ¶
func (r *CreatePersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePersonSampleResponse) ToJsonString ¶
func (r *CreatePersonSampleResponse) ToJsonString() string
type CreatePersonSampleResponseParams ¶
type CreatePersonSampleResponseParams struct { // Information of a sample. Person *AiSamplePerson `json:"Person,omitempty" name:"Person"` // Information of samples that failed the verification by facial feature positioning. FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProcedureTemplateRequest ¶
type CreateProcedureTemplateRequest struct { *tchttp.BaseRequest // Task flow name (up to 20 characters). Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Intelligent recognition task AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Parameter of AI-based content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of AI-based content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewCreateProcedureTemplateRequest ¶
func NewCreateProcedureTemplateRequest() (request *CreateProcedureTemplateRequest)
func (*CreateProcedureTemplateRequest) FromJsonString ¶
func (r *CreateProcedureTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProcedureTemplateRequest) ToJsonString ¶
func (r *CreateProcedureTemplateRequest) ToJsonString() string
type CreateProcedureTemplateRequestParams ¶
type CreateProcedureTemplateRequestParams struct { // Task flow name (up to 20 characters). Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Intelligent recognition task AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Parameter of AI-based content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of AI-based content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type CreateProcedureTemplateResponse ¶
type CreateProcedureTemplateResponse struct { *tchttp.BaseResponse Response *CreateProcedureTemplateResponseParams `json:"Response"` }
func NewCreateProcedureTemplateResponse ¶
func NewCreateProcedureTemplateResponse() (response *CreateProcedureTemplateResponse)
func (*CreateProcedureTemplateResponse) FromJsonString ¶
func (r *CreateProcedureTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProcedureTemplateResponse) ToJsonString ¶
func (r *CreateProcedureTemplateResponse) ToJsonString() string
type CreateProcedureTemplateResponseParams ¶
type CreateProcedureTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSampleSnapshotTemplateRequest ¶
type CreateSampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Sampled screencapturing type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Default value: jpg. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
func NewCreateSampleSnapshotTemplateRequest ¶
func NewCreateSampleSnapshotTemplateRequest() (request *CreateSampleSnapshotTemplateRequest)
func (*CreateSampleSnapshotTemplateRequest) FromJsonString ¶
func (r *CreateSampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSampleSnapshotTemplateRequest) ToJsonString ¶
func (r *CreateSampleSnapshotTemplateRequest) ToJsonString() string
type CreateSampleSnapshotTemplateRequestParams ¶
type CreateSampleSnapshotTemplateRequestParams struct { // Sampled screencapturing type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Default value: jpg. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
Predefined struct for user
type CreateSampleSnapshotTemplateResponse ¶
type CreateSampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *CreateSampleSnapshotTemplateResponseParams `json:"Response"` }
func NewCreateSampleSnapshotTemplateResponse ¶
func NewCreateSampleSnapshotTemplateResponse() (response *CreateSampleSnapshotTemplateResponse)
func (*CreateSampleSnapshotTemplateResponse) FromJsonString ¶
func (r *CreateSampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSampleSnapshotTemplateResponse) ToJsonString ¶
func (r *CreateSampleSnapshotTemplateResponse) ToJsonString() string
type CreateSampleSnapshotTemplateResponseParams ¶
type CreateSampleSnapshotTemplateResponseParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSnapshotByTimeOffsetTemplateRequest ¶
type CreateSnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Default value: jpg. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
func NewCreateSnapshotByTimeOffsetTemplateRequest ¶
func NewCreateSnapshotByTimeOffsetTemplateRequest() (request *CreateSnapshotByTimeOffsetTemplateRequest)
func (*CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type CreateSnapshotByTimeOffsetTemplateRequestParams ¶
type CreateSnapshotByTimeOffsetTemplateRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Default value: jpg. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
Predefined struct for user
type CreateSnapshotByTimeOffsetTemplateResponse ¶
type CreateSnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *CreateSnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewCreateSnapshotByTimeOffsetTemplateResponse ¶
func NewCreateSnapshotByTimeOffsetTemplateResponse() (response *CreateSnapshotByTimeOffsetTemplateResponse)
func (*CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type CreateSnapshotByTimeOffsetTemplateResponseParams ¶
type CreateSnapshotByTimeOffsetTemplateResponseParams struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateStorageRegionRequest ¶
type CreateStorageRegionRequest struct { *tchttp.BaseRequest // The region to enable storage in, which must be a storage region supported by VOD. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewCreateStorageRegionRequest ¶
func NewCreateStorageRegionRequest() (request *CreateStorageRegionRequest)
func (*CreateStorageRegionRequest) FromJsonString ¶
func (r *CreateStorageRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageRegionRequest) ToJsonString ¶
func (r *CreateStorageRegionRequest) ToJsonString() string
type CreateStorageRegionRequestParams ¶
type CreateStorageRegionRequestParams struct { // The region to enable storage in, which must be a storage region supported by VOD. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type CreateStorageRegionResponse ¶
type CreateStorageRegionResponse struct { *tchttp.BaseResponse Response *CreateStorageRegionResponseParams `json:"Response"` }
func NewCreateStorageRegionResponse ¶
func NewCreateStorageRegionResponse() (response *CreateStorageRegionResponse)
func (*CreateStorageRegionResponse) FromJsonString ¶
func (r *CreateStorageRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStorageRegionResponse) ToJsonString ¶
func (r *CreateStorageRegionResponse) ToJsonString() string
type CreateStorageRegionResponseParams ¶
type CreateStorageRegionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSubAppIdRequest ¶
type CreateSubAppIdRequest struct { *tchttp.BaseRequest // Subapplication name. Length limit: 40 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subapplication overview. Length limit: 300 characters. Description *string `json:"Description,omitempty" name:"Description"` }
func NewCreateSubAppIdRequest ¶
func NewCreateSubAppIdRequest() (request *CreateSubAppIdRequest)
func (*CreateSubAppIdRequest) FromJsonString ¶
func (r *CreateSubAppIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubAppIdRequest) ToJsonString ¶
func (r *CreateSubAppIdRequest) ToJsonString() string
type CreateSubAppIdRequestParams ¶
type CreateSubAppIdRequestParams struct { // Subapplication name. Length limit: 40 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subapplication overview. Length limit: 300 characters. Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type CreateSubAppIdResponse ¶
type CreateSubAppIdResponse struct { *tchttp.BaseResponse Response *CreateSubAppIdResponseParams `json:"Response"` }
func NewCreateSubAppIdResponse ¶
func NewCreateSubAppIdResponse() (response *CreateSubAppIdResponse)
func (*CreateSubAppIdResponse) FromJsonString ¶
func (r *CreateSubAppIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubAppIdResponse) ToJsonString ¶
func (r *CreateSubAppIdResponse) ToJsonString() string
type CreateSubAppIdResponseParams ¶
type CreateSubAppIdResponseParams struct { // ID of created subapplication. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSuperPlayerConfigRequest ¶
type CreateSuperPlayerConfigRequest struct { *tchttp.BaseRequest // Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of audio/video played. Valid values: // <li>AdaptiveDynamicStreaming</li> // <li>Transcode</li> // <li>Original</li> // Default value: `AdaptiveDynamicStream` AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"` // Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values: // <li>`ON`: allow only adaptive bitrate streaming playback protected by DRM</li> // <li>`OFF`: allow adaptive bitrate streaming playback not protected by DRM</li> // Default value: `OFF` // This parameter is valid when `AudioVideoType` is `AdaptiveDynamicStream`. DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"` // ID of the adaptive bitrate streaming template allowed for playback not protected by DRM. // // This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`. AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Content of the adaptive bitrate streaming template allowed for playback protected by DRM. // // This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`. DrmStreamingsInfo *DrmStreamingsInfo `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"` // ID of the transcoding template allowed for playback // // This parameter is required if `AudioVideoType` is `Transcode`. TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"` // ID of the image sprite generating template that allows output. ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"` // Display name of player for substreams with different resolutions. If this parameter is left empty or an empty array, the default configuration will be used: // <li>MinEdgeLength: 240, Name: LD;</li> // <li>MinEdgeLength: 480, Name: SD;</li> // <li>MinEdgeLength: 720, Name: HD;</li> // <li>MinEdgeLength: 1080, Name: FHD;</li> // <li>MinEdgeLength: 1440, Name: 2K;</li> // <li>MinEdgeLength: 2160, Name: 4K;</li> // <li>MinEdgeLength: 4320, Name: 8K.</li> ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"` // Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Domain *string `json:"Domain,omitempty" name:"Domain"` // Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Other valid values: // <li>HTTP;</li> // <li>HTTPS.</li> Scheme *string `json:"Scheme,omitempty" name:"Scheme"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
func NewCreateSuperPlayerConfigRequest ¶
func NewCreateSuperPlayerConfigRequest() (request *CreateSuperPlayerConfigRequest)
func (*CreateSuperPlayerConfigRequest) FromJsonString ¶
func (r *CreateSuperPlayerConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSuperPlayerConfigRequest) ToJsonString ¶
func (r *CreateSuperPlayerConfigRequest) ToJsonString() string
type CreateSuperPlayerConfigRequestParams ¶
type CreateSuperPlayerConfigRequestParams struct { // Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of audio/video played. Valid values: // <li>AdaptiveDynamicStreaming</li> // <li>Transcode</li> // <li>Original</li> // Default value: `AdaptiveDynamicStream` AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"` // Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values: // <li>`ON`: allow only adaptive bitrate streaming playback protected by DRM</li> // <li>`OFF`: allow adaptive bitrate streaming playback not protected by DRM</li> // Default value: `OFF` // This parameter is valid when `AudioVideoType` is `AdaptiveDynamicStream`. DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"` // ID of the adaptive bitrate streaming template allowed for playback not protected by DRM. // // This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`. AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Content of the adaptive bitrate streaming template allowed for playback protected by DRM. // // This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`. DrmStreamingsInfo *DrmStreamingsInfo `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"` // ID of the transcoding template allowed for playback // // This parameter is required if `AudioVideoType` is `Transcode`. TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"` // ID of the image sprite generating template that allows output. ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"` // Display name of player for substreams with different resolutions. If this parameter is left empty or an empty array, the default configuration will be used: // <li>MinEdgeLength: 240, Name: LD;</li> // <li>MinEdgeLength: 480, Name: SD;</li> // <li>MinEdgeLength: 720, Name: HD;</li> // <li>MinEdgeLength: 1080, Name: FHD;</li> // <li>MinEdgeLength: 1440, Name: 2K;</li> // <li>MinEdgeLength: 2160, Name: 4K;</li> // <li>MinEdgeLength: 4320, Name: 8K.</li> ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"` // Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Domain *string `json:"Domain,omitempty" name:"Domain"` // Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Other valid values: // <li>HTTP;</li> // <li>HTTPS.</li> Scheme *string `json:"Scheme,omitempty" name:"Scheme"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
Predefined struct for user
type CreateSuperPlayerConfigResponse ¶
type CreateSuperPlayerConfigResponse struct { *tchttp.BaseResponse Response *CreateSuperPlayerConfigResponseParams `json:"Response"` }
func NewCreateSuperPlayerConfigResponse ¶
func NewCreateSuperPlayerConfigResponse() (response *CreateSuperPlayerConfigResponse)
func (*CreateSuperPlayerConfigResponse) FromJsonString ¶
func (r *CreateSuperPlayerConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSuperPlayerConfigResponse) ToJsonString ¶
func (r *CreateSuperPlayerConfigResponse) ToJsonString() string
type CreateSuperPlayerConfigResponseParams ¶
type CreateSuperPlayerConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTranscodeTemplateRequest ¶
type CreateTranscodeTemplateRequest struct { *tchttp.BaseRequest // Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitempty" name:"Container"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Transcoding template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"` // The segment type. This parameter is valid only if `Container` is `hls`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> // Default: ts SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
func NewCreateTranscodeTemplateRequest ¶
func NewCreateTranscodeTemplateRequest() (request *CreateTranscodeTemplateRequest)
func (*CreateTranscodeTemplateRequest) FromJsonString ¶
func (r *CreateTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTranscodeTemplateRequest) ToJsonString ¶
func (r *CreateTranscodeTemplateRequest) ToJsonString() string
type CreateTranscodeTemplateRequestParams ¶
type CreateTranscodeTemplateRequestParams struct { // Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitempty" name:"Container"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Transcoding template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"` // The segment type. This parameter is valid only if `Container` is `hls`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> // Default: ts SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
Predefined struct for user
type CreateTranscodeTemplateResponse ¶
type CreateTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *CreateTranscodeTemplateResponseParams `json:"Response"` }
func NewCreateTranscodeTemplateResponse ¶
func NewCreateTranscodeTemplateResponse() (response *CreateTranscodeTemplateResponse)
func (*CreateTranscodeTemplateResponse) FromJsonString ¶
func (r *CreateTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTranscodeTemplateResponse) ToJsonString ¶
func (r *CreateTranscodeTemplateResponse) ToJsonString() string
type CreateTranscodeTemplateResponseParams ¶
type CreateTranscodeTemplateResponseParams struct { // Unique ID of transcoding template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateVodDomainRequest ¶
type CreateVodDomainRequest struct { *tchttp.BaseRequest // Domain name to add to VOD. Note: a wildcard domain name is not supported. Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Region to enable acceleration. Valid values: // <li>`Chinese Mainland`</li> // <li>`Outside Chinese Mainland`</li> // <li>`Global`</li> // If `AccelerateArea` is not specified, VOD will enable acceleration in or outside Chinese mainland based on the regional information a user has configured with Tencent Cloud. AccelerateArea *string `json:"AccelerateArea,omitempty" name:"AccelerateArea"` }
func NewCreateVodDomainRequest ¶
func NewCreateVodDomainRequest() (request *CreateVodDomainRequest)
func (*CreateVodDomainRequest) FromJsonString ¶
func (r *CreateVodDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVodDomainRequest) ToJsonString ¶
func (r *CreateVodDomainRequest) ToJsonString() string
type CreateVodDomainRequestParams ¶
type CreateVodDomainRequestParams struct { // Domain name to add to VOD. Note: a wildcard domain name is not supported. Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Region to enable acceleration. Valid values: // <li>`Chinese Mainland`</li> // <li>`Outside Chinese Mainland`</li> // <li>`Global`</li> // If `AccelerateArea` is not specified, VOD will enable acceleration in or outside Chinese mainland based on the regional information a user has configured with Tencent Cloud. AccelerateArea *string `json:"AccelerateArea,omitempty" name:"AccelerateArea"` }
Predefined struct for user
type CreateVodDomainResponse ¶
type CreateVodDomainResponse struct { *tchttp.BaseResponse Response *CreateVodDomainResponseParams `json:"Response"` }
func NewCreateVodDomainResponse ¶
func NewCreateVodDomainResponse() (response *CreateVodDomainResponse)
func (*CreateVodDomainResponse) FromJsonString ¶
func (r *CreateVodDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVodDomainResponse) ToJsonString ¶
func (r *CreateVodDomainResponse) ToJsonString() string
type CreateVodDomainResponseParams ¶
type CreateVodDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateWatermarkTemplateRequest ¶
type CreateWatermarkTemplateRequest struct { *tchttp.BaseRequest // Watermarking type. Valid values: // <li>image: image watermark;</li> // <li>text: text watermark;</li> // <li>svg: SVG watermark.</li> Type *string `json:"Type,omitempty" name:"Type"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitempty" name:"YPos"` // Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"` }
func NewCreateWatermarkTemplateRequest ¶
func NewCreateWatermarkTemplateRequest() (request *CreateWatermarkTemplateRequest)
func (*CreateWatermarkTemplateRequest) FromJsonString ¶
func (r *CreateWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWatermarkTemplateRequest) ToJsonString ¶
func (r *CreateWatermarkTemplateRequest) ToJsonString() string
type CreateWatermarkTemplateRequestParams ¶
type CreateWatermarkTemplateRequestParams struct { // Watermarking type. Valid values: // <li>image: image watermark;</li> // <li>text: text watermark;</li> // <li>svg: SVG watermark.</li> Type *string `json:"Type,omitempty" name:"Type"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitempty" name:"YPos"` // Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"` }
Predefined struct for user
type CreateWatermarkTemplateResponse ¶
type CreateWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *CreateWatermarkTemplateResponseParams `json:"Response"` }
func NewCreateWatermarkTemplateResponse ¶
func NewCreateWatermarkTemplateResponse() (response *CreateWatermarkTemplateResponse)
func (*CreateWatermarkTemplateResponse) FromJsonString ¶
func (r *CreateWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWatermarkTemplateResponse) ToJsonString ¶
func (r *CreateWatermarkTemplateResponse) ToJsonString() string
type CreateWatermarkTemplateResponseParams ¶
type CreateWatermarkTemplateResponseParams struct { // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Watermark image address. This field is valid only when `Type` is `image`. ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateWordSamplesRequest ¶
type CreateWordSamplesRequest struct { *tchttp.BaseRequest // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: ASR- and OCR-based content recognition and inappropriate information recognition; equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitempty" name:"Words"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewCreateWordSamplesRequest ¶
func NewCreateWordSamplesRequest() (request *CreateWordSamplesRequest)
func (*CreateWordSamplesRequest) FromJsonString ¶
func (r *CreateWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWordSamplesRequest) ToJsonString ¶
func (r *CreateWordSamplesRequest) ToJsonString() string
type CreateWordSamplesRequestParams ¶
type CreateWordSamplesRequestParams struct { // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: ASR- and OCR-based content recognition and inappropriate information recognition; equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitempty" name:"Words"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type CreateWordSamplesResponse ¶
type CreateWordSamplesResponse struct { *tchttp.BaseResponse Response *CreateWordSamplesResponseParams `json:"Response"` }
func NewCreateWordSamplesResponse ¶
func NewCreateWordSamplesResponse() (response *CreateWordSamplesResponse)
func (*CreateWordSamplesResponse) FromJsonString ¶
func (r *CreateWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWordSamplesResponse) ToJsonString ¶
func (r *CreateWordSamplesResponse) ToJsonString() string
type CreateWordSamplesResponseParams ¶
type CreateWordSamplesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAIAnalysisTemplateRequest ¶
type DeleteAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteAIAnalysisTemplateRequest ¶
func NewDeleteAIAnalysisTemplateRequest() (request *DeleteAIAnalysisTemplateRequest)
func (*DeleteAIAnalysisTemplateRequest) FromJsonString ¶
func (r *DeleteAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIAnalysisTemplateRequest) ToJsonString ¶
func (r *DeleteAIAnalysisTemplateRequest) ToJsonString() string
type DeleteAIAnalysisTemplateRequestParams ¶
type DeleteAIAnalysisTemplateRequestParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteAIAnalysisTemplateResponse ¶
type DeleteAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAIAnalysisTemplateResponseParams `json:"Response"` }
func NewDeleteAIAnalysisTemplateResponse ¶
func NewDeleteAIAnalysisTemplateResponse() (response *DeleteAIAnalysisTemplateResponse)
func (*DeleteAIAnalysisTemplateResponse) FromJsonString ¶
func (r *DeleteAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIAnalysisTemplateResponse) ToJsonString ¶
func (r *DeleteAIAnalysisTemplateResponse) ToJsonString() string
type DeleteAIAnalysisTemplateResponseParams ¶
type DeleteAIAnalysisTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAIRecognitionTemplateRequest ¶
type DeleteAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteAIRecognitionTemplateRequest ¶
func NewDeleteAIRecognitionTemplateRequest() (request *DeleteAIRecognitionTemplateRequest)
func (*DeleteAIRecognitionTemplateRequest) FromJsonString ¶
func (r *DeleteAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIRecognitionTemplateRequest) ToJsonString ¶
func (r *DeleteAIRecognitionTemplateRequest) ToJsonString() string
type DeleteAIRecognitionTemplateRequestParams ¶
type DeleteAIRecognitionTemplateRequestParams struct { // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteAIRecognitionTemplateResponse ¶
type DeleteAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAIRecognitionTemplateResponseParams `json:"Response"` }
func NewDeleteAIRecognitionTemplateResponse ¶
func NewDeleteAIRecognitionTemplateResponse() (response *DeleteAIRecognitionTemplateResponse)
func (*DeleteAIRecognitionTemplateResponse) FromJsonString ¶
func (r *DeleteAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIRecognitionTemplateResponse) ToJsonString ¶
func (r *DeleteAIRecognitionTemplateResponse) ToJsonString() string
type DeleteAIRecognitionTemplateResponseParams ¶
type DeleteAIRecognitionTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAdaptiveDynamicStreamingTemplateRequest ¶
type DeleteAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // Unique ID of adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteAdaptiveDynamicStreamingTemplateRequest ¶
func NewDeleteAdaptiveDynamicStreamingTemplateRequest() (request *DeleteAdaptiveDynamicStreamingTemplateRequest)
func (*DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type DeleteAdaptiveDynamicStreamingTemplateRequestParams ¶
type DeleteAdaptiveDynamicStreamingTemplateRequestParams struct { // Unique ID of adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteAdaptiveDynamicStreamingTemplateResponse ¶
type DeleteAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewDeleteAdaptiveDynamicStreamingTemplateResponse ¶
func NewDeleteAdaptiveDynamicStreamingTemplateResponse() (response *DeleteAdaptiveDynamicStreamingTemplateResponse)
func (*DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type DeleteAdaptiveDynamicStreamingTemplateResponseParams ¶
type DeleteAdaptiveDynamicStreamingTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAnimatedGraphicsTemplateRequest ¶
type DeleteAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteAnimatedGraphicsTemplateRequest ¶
func NewDeleteAnimatedGraphicsTemplateRequest() (request *DeleteAnimatedGraphicsTemplateRequest)
func (*DeleteAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateRequest) ToJsonString() string
type DeleteAnimatedGraphicsTemplateRequestParams ¶
type DeleteAnimatedGraphicsTemplateRequestParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteAnimatedGraphicsTemplateResponse ¶
type DeleteAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewDeleteAnimatedGraphicsTemplateResponse ¶
func NewDeleteAnimatedGraphicsTemplateResponse() (response *DeleteAnimatedGraphicsTemplateResponse)
func (*DeleteAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateResponse) ToJsonString() string
type DeleteAnimatedGraphicsTemplateResponseParams ¶
type DeleteAnimatedGraphicsTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClassRequest ¶
type DeleteClassRequest struct { *tchttp.BaseRequest // Category ID ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteClassRequest ¶
func NewDeleteClassRequest() (request *DeleteClassRequest)
func (*DeleteClassRequest) FromJsonString ¶
func (r *DeleteClassRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClassRequest) ToJsonString ¶
func (r *DeleteClassRequest) ToJsonString() string
type DeleteClassRequestParams ¶
type DeleteClassRequestParams struct { // Category ID ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteClassResponse ¶
type DeleteClassResponse struct { *tchttp.BaseResponse Response *DeleteClassResponseParams `json:"Response"` }
func NewDeleteClassResponse ¶
func NewDeleteClassResponse() (response *DeleteClassResponse)
func (*DeleteClassResponse) FromJsonString ¶
func (r *DeleteClassResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClassResponse) ToJsonString ¶
func (r *DeleteClassResponse) ToJsonString() string
type DeleteClassResponseParams ¶
type DeleteClassResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteContentReviewTemplateRequest ¶
type DeleteContentReviewTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an intelligent content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteContentReviewTemplateRequest ¶
func NewDeleteContentReviewTemplateRequest() (request *DeleteContentReviewTemplateRequest)
func (*DeleteContentReviewTemplateRequest) FromJsonString ¶
func (r *DeleteContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteContentReviewTemplateRequest) ToJsonString ¶
func (r *DeleteContentReviewTemplateRequest) ToJsonString() string
type DeleteContentReviewTemplateRequestParams ¶
type DeleteContentReviewTemplateRequestParams struct { // Unique ID of an intelligent content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteContentReviewTemplateResponse ¶
type DeleteContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *DeleteContentReviewTemplateResponseParams `json:"Response"` }
func NewDeleteContentReviewTemplateResponse ¶
func NewDeleteContentReviewTemplateResponse() (response *DeleteContentReviewTemplateResponse)
func (*DeleteContentReviewTemplateResponse) FromJsonString ¶
func (r *DeleteContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteContentReviewTemplateResponse) ToJsonString ¶
func (r *DeleteContentReviewTemplateResponse) ToJsonString() string
type DeleteContentReviewTemplateResponseParams ¶
type DeleteContentReviewTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteImageProcessingTemplateRequest ¶
type DeleteImageProcessingTemplateRequest struct { *tchttp.BaseRequest // The template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteImageProcessingTemplateRequest ¶
func NewDeleteImageProcessingTemplateRequest() (request *DeleteImageProcessingTemplateRequest)
func (*DeleteImageProcessingTemplateRequest) FromJsonString ¶
func (r *DeleteImageProcessingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageProcessingTemplateRequest) ToJsonString ¶
func (r *DeleteImageProcessingTemplateRequest) ToJsonString() string
type DeleteImageProcessingTemplateRequestParams ¶
type DeleteImageProcessingTemplateRequestParams struct { // The template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteImageProcessingTemplateResponse ¶
type DeleteImageProcessingTemplateResponse struct { *tchttp.BaseResponse Response *DeleteImageProcessingTemplateResponseParams `json:"Response"` }
func NewDeleteImageProcessingTemplateResponse ¶
func NewDeleteImageProcessingTemplateResponse() (response *DeleteImageProcessingTemplateResponse)
func (*DeleteImageProcessingTemplateResponse) FromJsonString ¶
func (r *DeleteImageProcessingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageProcessingTemplateResponse) ToJsonString ¶
func (r *DeleteImageProcessingTemplateResponse) ToJsonString() string
type DeleteImageProcessingTemplateResponseParams ¶
type DeleteImageProcessingTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteImageSpriteTemplateRequest ¶
type DeleteImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteImageSpriteTemplateRequest ¶
func NewDeleteImageSpriteTemplateRequest() (request *DeleteImageSpriteTemplateRequest)
func (*DeleteImageSpriteTemplateRequest) FromJsonString ¶
func (r *DeleteImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageSpriteTemplateRequest) ToJsonString ¶
func (r *DeleteImageSpriteTemplateRequest) ToJsonString() string
type DeleteImageSpriteTemplateRequestParams ¶
type DeleteImageSpriteTemplateRequestParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteImageSpriteTemplateResponse ¶
type DeleteImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *DeleteImageSpriteTemplateResponseParams `json:"Response"` }
func NewDeleteImageSpriteTemplateResponse ¶
func NewDeleteImageSpriteTemplateResponse() (response *DeleteImageSpriteTemplateResponse)
func (*DeleteImageSpriteTemplateResponse) FromJsonString ¶
func (r *DeleteImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageSpriteTemplateResponse) ToJsonString ¶
func (r *DeleteImageSpriteTemplateResponse) ToJsonString() string
type DeleteImageSpriteTemplateResponseParams ¶
type DeleteImageSpriteTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMediaRequest ¶
type DeleteMediaRequest struct { *tchttp.BaseRequest // Unique media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Content to be deleted. The default value is "[]", which indicates to delete the media file and all its corresponding files generated by video processing. DeleteParts []*MediaDeleteItem `json:"DeleteParts,omitempty" name:"DeleteParts"` }
func NewDeleteMediaRequest ¶
func NewDeleteMediaRequest() (request *DeleteMediaRequest)
func (*DeleteMediaRequest) FromJsonString ¶
func (r *DeleteMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMediaRequest) ToJsonString ¶
func (r *DeleteMediaRequest) ToJsonString() string
type DeleteMediaRequestParams ¶
type DeleteMediaRequestParams struct { // Unique media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Content to be deleted. The default value is "[]", which indicates to delete the media file and all its corresponding files generated by video processing. DeleteParts []*MediaDeleteItem `json:"DeleteParts,omitempty" name:"DeleteParts"` }
Predefined struct for user
type DeleteMediaResponse ¶
type DeleteMediaResponse struct { *tchttp.BaseResponse Response *DeleteMediaResponseParams `json:"Response"` }
func NewDeleteMediaResponse ¶
func NewDeleteMediaResponse() (response *DeleteMediaResponse)
func (*DeleteMediaResponse) FromJsonString ¶
func (r *DeleteMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMediaResponse) ToJsonString ¶
func (r *DeleteMediaResponse) ToJsonString() string
type DeleteMediaResponseParams ¶
type DeleteMediaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePersonSampleRequest ¶
type DeletePersonSampleRequest struct { *tchttp.BaseRequest // ID of a sample. PersonId *string `json:"PersonId,omitempty" name:"PersonId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeletePersonSampleRequest ¶
func NewDeletePersonSampleRequest() (request *DeletePersonSampleRequest)
func (*DeletePersonSampleRequest) FromJsonString ¶
func (r *DeletePersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePersonSampleRequest) ToJsonString ¶
func (r *DeletePersonSampleRequest) ToJsonString() string
type DeletePersonSampleRequestParams ¶
type DeletePersonSampleRequestParams struct { // ID of a sample. PersonId *string `json:"PersonId,omitempty" name:"PersonId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeletePersonSampleResponse ¶
type DeletePersonSampleResponse struct { *tchttp.BaseResponse Response *DeletePersonSampleResponseParams `json:"Response"` }
func NewDeletePersonSampleResponse ¶
func NewDeletePersonSampleResponse() (response *DeletePersonSampleResponse)
func (*DeletePersonSampleResponse) FromJsonString ¶
func (r *DeletePersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePersonSampleResponse) ToJsonString ¶
func (r *DeletePersonSampleResponse) ToJsonString() string
type DeletePersonSampleResponseParams ¶
type DeletePersonSampleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProcedureTemplateRequest ¶
type DeleteProcedureTemplateRequest struct { *tchttp.BaseRequest // Task flow name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteProcedureTemplateRequest ¶
func NewDeleteProcedureTemplateRequest() (request *DeleteProcedureTemplateRequest)
func (*DeleteProcedureTemplateRequest) FromJsonString ¶
func (r *DeleteProcedureTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProcedureTemplateRequest) ToJsonString ¶
func (r *DeleteProcedureTemplateRequest) ToJsonString() string
type DeleteProcedureTemplateRequestParams ¶
type DeleteProcedureTemplateRequestParams struct { // Task flow name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteProcedureTemplateResponse ¶
type DeleteProcedureTemplateResponse struct { *tchttp.BaseResponse Response *DeleteProcedureTemplateResponseParams `json:"Response"` }
func NewDeleteProcedureTemplateResponse ¶
func NewDeleteProcedureTemplateResponse() (response *DeleteProcedureTemplateResponse)
func (*DeleteProcedureTemplateResponse) FromJsonString ¶
func (r *DeleteProcedureTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProcedureTemplateResponse) ToJsonString ¶
func (r *DeleteProcedureTemplateResponse) ToJsonString() string
type DeleteProcedureTemplateResponseParams ¶
type DeleteProcedureTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSampleSnapshotTemplateRequest ¶
type DeleteSampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteSampleSnapshotTemplateRequest ¶
func NewDeleteSampleSnapshotTemplateRequest() (request *DeleteSampleSnapshotTemplateRequest)
func (*DeleteSampleSnapshotTemplateRequest) FromJsonString ¶
func (r *DeleteSampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSampleSnapshotTemplateRequest) ToJsonString ¶
func (r *DeleteSampleSnapshotTemplateRequest) ToJsonString() string
type DeleteSampleSnapshotTemplateRequestParams ¶
type DeleteSampleSnapshotTemplateRequestParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteSampleSnapshotTemplateResponse ¶
type DeleteSampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *DeleteSampleSnapshotTemplateResponseParams `json:"Response"` }
func NewDeleteSampleSnapshotTemplateResponse ¶
func NewDeleteSampleSnapshotTemplateResponse() (response *DeleteSampleSnapshotTemplateResponse)
func (*DeleteSampleSnapshotTemplateResponse) FromJsonString ¶
func (r *DeleteSampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSampleSnapshotTemplateResponse) ToJsonString ¶
func (r *DeleteSampleSnapshotTemplateResponse) ToJsonString() string
type DeleteSampleSnapshotTemplateResponseParams ¶
type DeleteSampleSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSnapshotByTimeOffsetTemplateRequest ¶
type DeleteSnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a specified time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteSnapshotByTimeOffsetTemplateRequest ¶
func NewDeleteSnapshotByTimeOffsetTemplateRequest() (request *DeleteSnapshotByTimeOffsetTemplateRequest)
func (*DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type DeleteSnapshotByTimeOffsetTemplateRequestParams ¶
type DeleteSnapshotByTimeOffsetTemplateRequestParams struct { // Unique ID of a specified time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteSnapshotByTimeOffsetTemplateResponse ¶
type DeleteSnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *DeleteSnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewDeleteSnapshotByTimeOffsetTemplateResponse ¶
func NewDeleteSnapshotByTimeOffsetTemplateResponse() (response *DeleteSnapshotByTimeOffsetTemplateResponse)
func (*DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type DeleteSnapshotByTimeOffsetTemplateResponseParams ¶
type DeleteSnapshotByTimeOffsetTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSuperPlayerConfigRequest ¶
type DeleteSuperPlayerConfigRequest struct { *tchttp.BaseRequest // Player configuration name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteSuperPlayerConfigRequest ¶
func NewDeleteSuperPlayerConfigRequest() (request *DeleteSuperPlayerConfigRequest)
func (*DeleteSuperPlayerConfigRequest) FromJsonString ¶
func (r *DeleteSuperPlayerConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSuperPlayerConfigRequest) ToJsonString ¶
func (r *DeleteSuperPlayerConfigRequest) ToJsonString() string
type DeleteSuperPlayerConfigRequestParams ¶
type DeleteSuperPlayerConfigRequestParams struct { // Player configuration name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteSuperPlayerConfigResponse ¶
type DeleteSuperPlayerConfigResponse struct { *tchttp.BaseResponse Response *DeleteSuperPlayerConfigResponseParams `json:"Response"` }
func NewDeleteSuperPlayerConfigResponse ¶
func NewDeleteSuperPlayerConfigResponse() (response *DeleteSuperPlayerConfigResponse)
func (*DeleteSuperPlayerConfigResponse) FromJsonString ¶
func (r *DeleteSuperPlayerConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSuperPlayerConfigResponse) ToJsonString ¶
func (r *DeleteSuperPlayerConfigResponse) ToJsonString() string
type DeleteSuperPlayerConfigResponseParams ¶
type DeleteSuperPlayerConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTranscodeTemplateRequest ¶
type DeleteTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of transcoding template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteTranscodeTemplateRequest ¶
func NewDeleteTranscodeTemplateRequest() (request *DeleteTranscodeTemplateRequest)
func (*DeleteTranscodeTemplateRequest) FromJsonString ¶
func (r *DeleteTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTranscodeTemplateRequest) ToJsonString ¶
func (r *DeleteTranscodeTemplateRequest) ToJsonString() string
type DeleteTranscodeTemplateRequestParams ¶
type DeleteTranscodeTemplateRequestParams struct { // Unique ID of transcoding template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteTranscodeTemplateResponse ¶
type DeleteTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *DeleteTranscodeTemplateResponseParams `json:"Response"` }
func NewDeleteTranscodeTemplateResponse ¶
func NewDeleteTranscodeTemplateResponse() (response *DeleteTranscodeTemplateResponse)
func (*DeleteTranscodeTemplateResponse) FromJsonString ¶
func (r *DeleteTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTranscodeTemplateResponse) ToJsonString ¶
func (r *DeleteTranscodeTemplateResponse) ToJsonString() string
type DeleteTranscodeTemplateResponseParams ¶
type DeleteTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteVodDomainRequest ¶
type DeleteVodDomainRequest struct { *tchttp.BaseRequest // Domain name to delete from VOD Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteVodDomainRequest ¶
func NewDeleteVodDomainRequest() (request *DeleteVodDomainRequest)
func (*DeleteVodDomainRequest) FromJsonString ¶
func (r *DeleteVodDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVodDomainRequest) ToJsonString ¶
func (r *DeleteVodDomainRequest) ToJsonString() string
type DeleteVodDomainRequestParams ¶
type DeleteVodDomainRequestParams struct { // Domain name to delete from VOD Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteVodDomainResponse ¶
type DeleteVodDomainResponse struct { *tchttp.BaseResponse Response *DeleteVodDomainResponseParams `json:"Response"` }
func NewDeleteVodDomainResponse ¶
func NewDeleteVodDomainResponse() (response *DeleteVodDomainResponse)
func (*DeleteVodDomainResponse) FromJsonString ¶
func (r *DeleteVodDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVodDomainResponse) ToJsonString ¶
func (r *DeleteVodDomainResponse) ToJsonString() string
type DeleteVodDomainResponseParams ¶
type DeleteVodDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWatermarkTemplateRequest ¶
type DeleteWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteWatermarkTemplateRequest ¶
func NewDeleteWatermarkTemplateRequest() (request *DeleteWatermarkTemplateRequest)
func (*DeleteWatermarkTemplateRequest) FromJsonString ¶
func (r *DeleteWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWatermarkTemplateRequest) ToJsonString ¶
func (r *DeleteWatermarkTemplateRequest) ToJsonString() string
type DeleteWatermarkTemplateRequestParams ¶
type DeleteWatermarkTemplateRequestParams struct { // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteWatermarkTemplateResponse ¶
type DeleteWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *DeleteWatermarkTemplateResponseParams `json:"Response"` }
func NewDeleteWatermarkTemplateResponse ¶
func NewDeleteWatermarkTemplateResponse() (response *DeleteWatermarkTemplateResponse)
func (*DeleteWatermarkTemplateResponse) FromJsonString ¶
func (r *DeleteWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWatermarkTemplateResponse) ToJsonString ¶
func (r *DeleteWatermarkTemplateResponse) ToJsonString() string
type DeleteWatermarkTemplateResponseParams ¶
type DeleteWatermarkTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWordSamplesRequest ¶
type DeleteWordSamplesRequest struct { *tchttp.BaseRequest // Keyword. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitempty" name:"Keywords"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDeleteWordSamplesRequest ¶
func NewDeleteWordSamplesRequest() (request *DeleteWordSamplesRequest)
func (*DeleteWordSamplesRequest) FromJsonString ¶
func (r *DeleteWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWordSamplesRequest) ToJsonString ¶
func (r *DeleteWordSamplesRequest) ToJsonString() string
type DeleteWordSamplesRequestParams ¶
type DeleteWordSamplesRequestParams struct { // Keyword. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitempty" name:"Keywords"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DeleteWordSamplesResponse ¶
type DeleteWordSamplesResponse struct { *tchttp.BaseResponse Response *DeleteWordSamplesResponseParams `json:"Response"` }
func NewDeleteWordSamplesResponse ¶
func NewDeleteWordSamplesResponse() (response *DeleteWordSamplesResponse)
func (*DeleteWordSamplesResponse) FromJsonString ¶
func (r *DeleteWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWordSamplesResponse) ToJsonString ¶
func (r *DeleteWordSamplesResponse) ToJsonString() string
type DeleteWordSamplesResponseParams ¶
type DeleteWordSamplesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAIAnalysisTemplatesRequest ¶
type DescribeAIAnalysisTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of video content analysis templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAIAnalysisTemplatesRequest ¶
func NewDescribeAIAnalysisTemplatesRequest() (request *DescribeAIAnalysisTemplatesRequest)
func (*DescribeAIAnalysisTemplatesRequest) FromJsonString ¶
func (r *DescribeAIAnalysisTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIAnalysisTemplatesRequest) ToJsonString ¶
func (r *DescribeAIAnalysisTemplatesRequest) ToJsonString() string
type DescribeAIAnalysisTemplatesRequestParams ¶
type DescribeAIAnalysisTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of video content analysis templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAIAnalysisTemplatesResponse ¶
type DescribeAIAnalysisTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAIAnalysisTemplatesResponseParams `json:"Response"` }
func NewDescribeAIAnalysisTemplatesResponse ¶
func NewDescribeAIAnalysisTemplatesResponse() (response *DescribeAIAnalysisTemplatesResponse)
func (*DescribeAIAnalysisTemplatesResponse) FromJsonString ¶
func (r *DescribeAIAnalysisTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIAnalysisTemplatesResponse) ToJsonString ¶
func (r *DescribeAIAnalysisTemplatesResponse) ToJsonString() string
type DescribeAIAnalysisTemplatesResponseParams ¶
type DescribeAIAnalysisTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of video content analysis template details. AIAnalysisTemplateSet []*AIAnalysisTemplateItem `json:"AIAnalysisTemplateSet,omitempty" name:"AIAnalysisTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAIRecognitionTemplatesRequest ¶
type DescribeAIRecognitionTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of video content recognition templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAIRecognitionTemplatesRequest ¶
func NewDescribeAIRecognitionTemplatesRequest() (request *DescribeAIRecognitionTemplatesRequest)
func (*DescribeAIRecognitionTemplatesRequest) FromJsonString ¶
func (r *DescribeAIRecognitionTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIRecognitionTemplatesRequest) ToJsonString ¶
func (r *DescribeAIRecognitionTemplatesRequest) ToJsonString() string
type DescribeAIRecognitionTemplatesRequestParams ¶
type DescribeAIRecognitionTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of video content recognition templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAIRecognitionTemplatesResponse ¶
type DescribeAIRecognitionTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAIRecognitionTemplatesResponseParams `json:"Response"` }
func NewDescribeAIRecognitionTemplatesResponse ¶
func NewDescribeAIRecognitionTemplatesResponse() (response *DescribeAIRecognitionTemplatesResponse)
func (*DescribeAIRecognitionTemplatesResponse) FromJsonString ¶
func (r *DescribeAIRecognitionTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIRecognitionTemplatesResponse) ToJsonString ¶
func (r *DescribeAIRecognitionTemplatesResponse) ToJsonString() string
type DescribeAIRecognitionTemplatesResponseParams ¶
type DescribeAIRecognitionTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of video content recognition template details. AIRecognitionTemplateSet []*AIRecognitionTemplateItem `json:"AIRecognitionTemplateSet,omitempty" name:"AIRecognitionTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAdaptiveDynamicStreamingTemplatesRequest ¶
type DescribeAdaptiveDynamicStreamingTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of transcoding to adaptive bitrate streaming templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeAdaptiveDynamicStreamingTemplatesRequest ¶
func NewDescribeAdaptiveDynamicStreamingTemplatesRequest() (request *DescribeAdaptiveDynamicStreamingTemplatesRequest)
func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString() string
type DescribeAdaptiveDynamicStreamingTemplatesRequestParams ¶
type DescribeAdaptiveDynamicStreamingTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of transcoding to adaptive bitrate streaming templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeAdaptiveDynamicStreamingTemplatesResponse ¶
type DescribeAdaptiveDynamicStreamingTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAdaptiveDynamicStreamingTemplatesResponseParams `json:"Response"` }
func NewDescribeAdaptiveDynamicStreamingTemplatesResponse ¶
func NewDescribeAdaptiveDynamicStreamingTemplatesResponse() (response *DescribeAdaptiveDynamicStreamingTemplatesResponse)
func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString() string
type DescribeAdaptiveDynamicStreamingTemplatesResponseParams ¶
type DescribeAdaptiveDynamicStreamingTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of transcoding to adaptive bitrate streaming template details. AdaptiveDynamicStreamingTemplateSet []*AdaptiveDynamicStreamingTemplate `json:"AdaptiveDynamicStreamingTemplateSet,omitempty" name:"AdaptiveDynamicStreamingTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAllClassRequest ¶
type DescribeAllClassRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeAllClassRequest ¶
func NewDescribeAllClassRequest() (request *DescribeAllClassRequest)
func (*DescribeAllClassRequest) FromJsonString ¶
func (r *DescribeAllClassRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllClassRequest) ToJsonString ¶
func (r *DescribeAllClassRequest) ToJsonString() string
type DescribeAllClassRequestParams ¶
type DescribeAllClassRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeAllClassResponse ¶
type DescribeAllClassResponse struct { *tchttp.BaseResponse Response *DescribeAllClassResponseParams `json:"Response"` }
func NewDescribeAllClassResponse ¶
func NewDescribeAllClassResponse() (response *DescribeAllClassResponse)
func (*DescribeAllClassResponse) FromJsonString ¶
func (r *DescribeAllClassResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllClassResponse) ToJsonString ¶
func (r *DescribeAllClassResponse) ToJsonString() string
type DescribeAllClassResponseParams ¶
type DescribeAllClassResponseParams struct { // Category information set // Note: this field may return null, indicating that no valid values can be obtained. ClassInfoSet []*MediaClassInfo `json:"ClassInfoSet,omitempty" name:"ClassInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAnimatedGraphicsTemplatesRequest ¶
type DescribeAnimatedGraphicsTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of animated image generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeAnimatedGraphicsTemplatesRequest ¶
func NewDescribeAnimatedGraphicsTemplatesRequest() (request *DescribeAnimatedGraphicsTemplatesRequest)
func (*DescribeAnimatedGraphicsTemplatesRequest) FromJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAnimatedGraphicsTemplatesRequest) ToJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesRequest) ToJsonString() string
type DescribeAnimatedGraphicsTemplatesRequestParams ¶
type DescribeAnimatedGraphicsTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of animated image generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeAnimatedGraphicsTemplatesResponse ¶
type DescribeAnimatedGraphicsTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAnimatedGraphicsTemplatesResponseParams `json:"Response"` }
func NewDescribeAnimatedGraphicsTemplatesResponse ¶
func NewDescribeAnimatedGraphicsTemplatesResponse() (response *DescribeAnimatedGraphicsTemplatesResponse)
func (*DescribeAnimatedGraphicsTemplatesResponse) FromJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAnimatedGraphicsTemplatesResponse) ToJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesResponse) ToJsonString() string
type DescribeAnimatedGraphicsTemplatesResponseParams ¶
type DescribeAnimatedGraphicsTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of animated image generating template details. AnimatedGraphicsTemplateSet []*AnimatedGraphicsTemplate `json:"AnimatedGraphicsTemplateSet,omitempty" name:"AnimatedGraphicsTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCDNStatDetailsRequest ¶
type DescribeCDNStatDetailsRequest struct { *tchttp.BaseRequest // Metrics to query. Valid values: // <li>`Traffic`: traffic in bytes</li> // <li>`Bandwidth`: bandwidth in bps</li> // <li>`Requests`: the number of requests</li> Metric *string `json:"Metric,omitempty" name:"Metric"` // Start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // List of domain names. The usage data of up to 20 domain names can be queried at a time. The usage data of all domain names is returned by default. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` // Service region. Valid values: // <li>Chinese Mainland</li> // <li>Asia Pacific Region 1: Hong Kong (China), Macao (China), Singapore, Vietnam, and Thailand</li> // <li>Asia Pacific Region 2: Taiwan (China), Japan, Malaysia, Indonesia, and South Korea</li> // <li>Asia Pacific Region 3: Philippines, India, Australia, and other Asia Pacific countries and regions</li> // <li>Middle East</li> // <li>Europe</li> // <li>North America</li> // <li>South America</li> // <li>Africa</li> // Default value: Chinese Mainland Area *string `json:"Area,omitempty" name:"Area"` // District where users are located. When `Area` is `Chinese Mainland`, valid values for `Districts` are as follows. Otherwise, `Districts` can be ignored. // <li>Beijing</li> // <li>Inner Mongolia</li> // <li>Shanxi</li> // <li>Hebei</li> // <li>Tianjin</li> // <li>Ningxia</li> // <li>Shaanxi</li> // <li>Gansu</li> // <li>Qinghai</li> // <li>Xinjiang</li> // <li>Heilongjiang</li> // <li>Jilin</li> // <li>Liaoning</li> // <li>Fujian</li> // <li>Jiangsu</li> // <li>Anhui</li> // <li>Shandong</li> // <li>Shanghai</li> // <li>Zhejiang</li> // <li>Henan</li> // <li>Hubei</li> // <li>Jiangxi</li> // <li>Hunan</li> // <li>Guizhou</li> // <li>Yunnan</li> // <li>Chongqing</li> // <li>Sichuan</li> // <li>Tibet</li> // <li>Guangdong</li> // <li>Guangxi</li> // <li>Hainan</li> // <li>Hong Kong, Macao and Taiwan</li> // <li>Outside Chinese Mainland</li> // <li>Other</li> Districts []*string `json:"Districts,omitempty" name:"Districts"` // ISP of users. When `Area` is `Chinese Mainland`, valid values for `Isps` are as follows. Otherwise, `Isps` can be ignored. // <li>China Telecom</li> // <li>China Unicom</li> // <li>CERNET</li> // <li>Great Wall Broadband Network</li> // <li>China Mobile</li> // <li>China Mobile Tietong</li> // <li>ISPs outside Chinese Mainland</li> // <li>Other ISPs</li> Isps []*string `json:"Isps,omitempty" name:"Isps"` // Time granularity of every piece of data in minutes. Valid values: // <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li> // <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned. If the query period is larger than 24 hours, only data at 1-day granularity can be queried.</li> // If the difference between `StartTime` and `EndTime` is larger than 24 hours, the default value of `DataInterval` is 1440. DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"` }
func NewDescribeCDNStatDetailsRequest ¶
func NewDescribeCDNStatDetailsRequest() (request *DescribeCDNStatDetailsRequest)
func (*DescribeCDNStatDetailsRequest) FromJsonString ¶
func (r *DescribeCDNStatDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCDNStatDetailsRequest) ToJsonString ¶
func (r *DescribeCDNStatDetailsRequest) ToJsonString() string
type DescribeCDNStatDetailsRequestParams ¶
type DescribeCDNStatDetailsRequestParams struct { // Metrics to query. Valid values: // <li>`Traffic`: traffic in bytes</li> // <li>`Bandwidth`: bandwidth in bps</li> // <li>`Requests`: the number of requests</li> Metric *string `json:"Metric,omitempty" name:"Metric"` // Start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // List of domain names. The usage data of up to 20 domain names can be queried at a time. The usage data of all domain names is returned by default. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` // Service region. Valid values: // <li>Chinese Mainland</li> // <li>Asia Pacific Region 1: Hong Kong (China), Macao (China), Singapore, Vietnam, and Thailand</li> // <li>Asia Pacific Region 2: Taiwan (China), Japan, Malaysia, Indonesia, and South Korea</li> // <li>Asia Pacific Region 3: Philippines, India, Australia, and other Asia Pacific countries and regions</li> // <li>Middle East</li> // <li>Europe</li> // <li>North America</li> // <li>South America</li> // <li>Africa</li> // Default value: Chinese Mainland Area *string `json:"Area,omitempty" name:"Area"` // District where users are located. When `Area` is `Chinese Mainland`, valid values for `Districts` are as follows. Otherwise, `Districts` can be ignored. // <li>Beijing</li> // <li>Inner Mongolia</li> // <li>Shanxi</li> // <li>Hebei</li> // <li>Tianjin</li> // <li>Ningxia</li> // <li>Shaanxi</li> // <li>Gansu</li> // <li>Qinghai</li> // <li>Xinjiang</li> // <li>Heilongjiang</li> // <li>Jilin</li> // <li>Liaoning</li> // <li>Fujian</li> // <li>Jiangsu</li> // <li>Anhui</li> // <li>Shandong</li> // <li>Shanghai</li> // <li>Zhejiang</li> // <li>Henan</li> // <li>Hubei</li> // <li>Jiangxi</li> // <li>Hunan</li> // <li>Guizhou</li> // <li>Yunnan</li> // <li>Chongqing</li> // <li>Sichuan</li> // <li>Tibet</li> // <li>Guangdong</li> // <li>Guangxi</li> // <li>Hainan</li> // <li>Hong Kong, Macao and Taiwan</li> // <li>Outside Chinese Mainland</li> // <li>Other</li> Districts []*string `json:"Districts,omitempty" name:"Districts"` // ISP of users. When `Area` is `Chinese Mainland`, valid values for `Isps` are as follows. Otherwise, `Isps` can be ignored. // <li>China Telecom</li> // <li>China Unicom</li> // <li>CERNET</li> // <li>Great Wall Broadband Network</li> // <li>China Mobile</li> // <li>China Mobile Tietong</li> // <li>ISPs outside Chinese Mainland</li> // <li>Other ISPs</li> Isps []*string `json:"Isps,omitempty" name:"Isps"` // Time granularity of every piece of data in minutes. Valid values: // <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li> // <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned. If the query period is larger than 24 hours, only data at 1-day granularity can be queried.</li> // If the difference between `StartTime` and `EndTime` is larger than 24 hours, the default value of `DataInterval` is 1440. DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"` }
Predefined struct for user
type DescribeCDNStatDetailsResponse ¶
type DescribeCDNStatDetailsResponse struct { *tchttp.BaseResponse Response *DescribeCDNStatDetailsResponseParams `json:"Response"` }
func NewDescribeCDNStatDetailsResponse ¶
func NewDescribeCDNStatDetailsResponse() (response *DescribeCDNStatDetailsResponse)
func (*DescribeCDNStatDetailsResponse) FromJsonString ¶
func (r *DescribeCDNStatDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCDNStatDetailsResponse) ToJsonString ¶
func (r *DescribeCDNStatDetailsResponse) ToJsonString() string
type DescribeCDNStatDetailsResponseParams ¶
type DescribeCDNStatDetailsResponseParams struct { // Time granularity of every piece of data in minutes. DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"` // CDN usage statistics. Data []*StatDataItem `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCDNUsageDataRequest ¶
type DescribeCDNUsageDataRequest struct { *tchttp.BaseRequest // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // CDN statistics type. Valid values: // <li>Flux: traffic in bytes.</li> // <li>Bandwidth: bandwidth in bps.</li> DataType *string `json:"DataType,omitempty" name:"DataType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. // You can set this parameter to 1 to query the total usage of all applications (including the primary application) as an admin (only 1-day granularity is supported).</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Time granularity of usage data in minutes. Valid values: // <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li> // <li>60: 1-hour granularity. The data at 1-hour granularity in the query period will be returned.</li> // <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned.</li> // Default value: 1440. Data at 1-day granularity will be returned. DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"` // List of domain names. The usage data of up to 20 domain names can be queried at a time. You can specify multiple domain names and query their combined usage data. The usage data of all domain names will be returned by default. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` }
func NewDescribeCDNUsageDataRequest ¶
func NewDescribeCDNUsageDataRequest() (request *DescribeCDNUsageDataRequest)
func (*DescribeCDNUsageDataRequest) FromJsonString ¶
func (r *DescribeCDNUsageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCDNUsageDataRequest) ToJsonString ¶
func (r *DescribeCDNUsageDataRequest) ToJsonString() string
type DescribeCDNUsageDataRequestParams ¶
type DescribeCDNUsageDataRequestParams struct { // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // CDN statistics type. Valid values: // <li>Flux: traffic in bytes.</li> // <li>Bandwidth: bandwidth in bps.</li> DataType *string `json:"DataType,omitempty" name:"DataType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. // You can set this parameter to 1 to query the total usage of all applications (including the primary application) as an admin (only 1-day granularity is supported).</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Time granularity of usage data in minutes. Valid values: // <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li> // <li>60: 1-hour granularity. The data at 1-hour granularity in the query period will be returned.</li> // <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned.</li> // Default value: 1440. Data at 1-day granularity will be returned. DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"` // List of domain names. The usage data of up to 20 domain names can be queried at a time. You can specify multiple domain names and query their combined usage data. The usage data of all domain names will be returned by default. DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"` }
Predefined struct for user
type DescribeCDNUsageDataResponse ¶
type DescribeCDNUsageDataResponse struct { *tchttp.BaseResponse Response *DescribeCDNUsageDataResponseParams `json:"Response"` }
func NewDescribeCDNUsageDataResponse ¶
func NewDescribeCDNUsageDataResponse() (response *DescribeCDNUsageDataResponse)
func (*DescribeCDNUsageDataResponse) FromJsonString ¶
func (r *DescribeCDNUsageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCDNUsageDataResponse) ToJsonString ¶
func (r *DescribeCDNUsageDataResponse) ToJsonString() string
type DescribeCDNUsageDataResponseParams ¶
type DescribeCDNUsageDataResponseParams struct { // Time granularity in minutes. DataInterval *int64 `json:"DataInterval,omitempty" name:"DataInterval"` // CDN statistics. Data []*StatDataItem `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCdnLogsRequest ¶
type DescribeCdnLogsRequest struct { *tchttp.BaseRequest // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Start time for log acquisition in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F), which must be after the start time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Maximum return results of pulling paginated queries. Default value: 100; maximum value: 1000 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number offset from the beginning of paginated queries. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeCdnLogsRequest ¶
func NewDescribeCdnLogsRequest() (request *DescribeCdnLogsRequest)
func (*DescribeCdnLogsRequest) FromJsonString ¶
func (r *DescribeCdnLogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCdnLogsRequest) ToJsonString ¶
func (r *DescribeCdnLogsRequest) ToJsonString() string
type DescribeCdnLogsRequestParams ¶
type DescribeCdnLogsRequestParams struct { // Domain name. DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // Start time for log acquisition in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F), which must be after the start time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Maximum return results of pulling paginated queries. Default value: 100; maximum value: 1000 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number offset from the beginning of paginated queries. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeCdnLogsResponse ¶
type DescribeCdnLogsResponse struct { *tchttp.BaseResponse Response *DescribeCdnLogsResponseParams `json:"Response"` }
func NewDescribeCdnLogsResponse ¶
func NewDescribeCdnLogsResponse() (response *DescribeCdnLogsResponse)
func (*DescribeCdnLogsResponse) FromJsonString ¶
func (r *DescribeCdnLogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCdnLogsResponse) ToJsonString ¶
func (r *DescribeCdnLogsResponse) ToJsonString() string
type DescribeCdnLogsResponseParams ¶
type DescribeCdnLogsResponseParams struct { // Total number of log download links // Note: this field may return `null`, indicating that no valid value is obtained. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Log download list for CDN nodes outside Mainland China. If global acceleration is not enabled for the domain name, ignore this parameter. // Note: this field may return null, indicating that no valid values can be obtained. OverseaCdnLogs []*CdnLogInfo `json:"OverseaCdnLogs,omitempty" name:"OverseaCdnLogs"` // Log download list for CDN nodes in Mainland China. // Note: this field may return null, indicating that no valid values can be obtained. DomesticCdnLogs []*CdnLogInfo `json:"DomesticCdnLogs,omitempty" name:"DomesticCdnLogs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClientUploadAccelerationUsageDataRequest ¶
type DescribeClientUploadAccelerationUsageDataRequest struct { *tchttp.BaseRequest // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The client upload acceleration type. Valid values: // <li> AccelerationWithHTTP: Acceleration of HTTP transmission</li> // <li> AccelerationWithQUIC: Acceleration of QUIC transmission</li> // If you do not specify this parameter, the usage of both types will be queried. Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeClientUploadAccelerationUsageDataRequest ¶
func NewDescribeClientUploadAccelerationUsageDataRequest() (request *DescribeClientUploadAccelerationUsageDataRequest)
func (*DescribeClientUploadAccelerationUsageDataRequest) FromJsonString ¶
func (r *DescribeClientUploadAccelerationUsageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClientUploadAccelerationUsageDataRequest) ToJsonString ¶
func (r *DescribeClientUploadAccelerationUsageDataRequest) ToJsonString() string
type DescribeClientUploadAccelerationUsageDataRequestParams ¶
type DescribeClientUploadAccelerationUsageDataRequestParams struct { // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The client upload acceleration type. Valid values: // <li> AccelerationWithHTTP: Acceleration of HTTP transmission</li> // <li> AccelerationWithQUIC: Acceleration of QUIC transmission</li> // If you do not specify this parameter, the usage of both types will be queried. Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeClientUploadAccelerationUsageDataResponse ¶
type DescribeClientUploadAccelerationUsageDataResponse struct { *tchttp.BaseResponse Response *DescribeClientUploadAccelerationUsageDataResponseParams `json:"Response"` }
func NewDescribeClientUploadAccelerationUsageDataResponse ¶
func NewDescribeClientUploadAccelerationUsageDataResponse() (response *DescribeClientUploadAccelerationUsageDataResponse)
func (*DescribeClientUploadAccelerationUsageDataResponse) FromJsonString ¶
func (r *DescribeClientUploadAccelerationUsageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClientUploadAccelerationUsageDataResponse) ToJsonString ¶
func (r *DescribeClientUploadAccelerationUsageDataResponse) ToJsonString() string
type DescribeClientUploadAccelerationUsageDataResponseParams ¶
type DescribeClientUploadAccelerationUsageDataResponseParams struct { // The usage of client upload acceleration. ClientUploadAccelerationUsageDataSet []*StatDataItem `json:"ClientUploadAccelerationUsageDataSet,omitempty" name:"ClientUploadAccelerationUsageDataSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeContentReviewTemplatesRequest ¶
type DescribeContentReviewTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique IDs for filters of an intelligent content recognition template. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeContentReviewTemplatesRequest ¶
func NewDescribeContentReviewTemplatesRequest() (request *DescribeContentReviewTemplatesRequest)
func (*DescribeContentReviewTemplatesRequest) FromJsonString ¶
func (r *DescribeContentReviewTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentReviewTemplatesRequest) ToJsonString ¶
func (r *DescribeContentReviewTemplatesRequest) ToJsonString() string
type DescribeContentReviewTemplatesRequestParams ¶
type DescribeContentReviewTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique IDs for filters of an intelligent content recognition template. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeContentReviewTemplatesResponse ¶
type DescribeContentReviewTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeContentReviewTemplatesResponseParams `json:"Response"` }
func NewDescribeContentReviewTemplatesResponse ¶
func NewDescribeContentReviewTemplatesResponse() (response *DescribeContentReviewTemplatesResponse)
func (*DescribeContentReviewTemplatesResponse) FromJsonString ¶
func (r *DescribeContentReviewTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentReviewTemplatesResponse) ToJsonString ¶
func (r *DescribeContentReviewTemplatesResponse) ToJsonString() string
type DescribeContentReviewTemplatesResponseParams ¶
type DescribeContentReviewTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of intelligent content recognition template details. ContentReviewTemplateSet []*ContentReviewTemplateItem `json:"ContentReviewTemplateSet,omitempty" name:"ContentReviewTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDailyPlayStatFileListRequest ¶
type DescribeDailyPlayStatFileListRequest struct { *tchttp.BaseRequest // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeDailyPlayStatFileListRequest ¶
func NewDescribeDailyPlayStatFileListRequest() (request *DescribeDailyPlayStatFileListRequest)
func (*DescribeDailyPlayStatFileListRequest) FromJsonString ¶
func (r *DescribeDailyPlayStatFileListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDailyPlayStatFileListRequest) ToJsonString ¶
func (r *DescribeDailyPlayStatFileListRequest) ToJsonString() string
type DescribeDailyPlayStatFileListRequestParams ¶
type DescribeDailyPlayStatFileListRequestParams struct { // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeDailyPlayStatFileListResponse ¶
type DescribeDailyPlayStatFileListResponse struct { *tchttp.BaseResponse Response *DescribeDailyPlayStatFileListResponseParams `json:"Response"` }
func NewDescribeDailyPlayStatFileListResponse ¶
func NewDescribeDailyPlayStatFileListResponse() (response *DescribeDailyPlayStatFileListResponse)
func (*DescribeDailyPlayStatFileListResponse) FromJsonString ¶
func (r *DescribeDailyPlayStatFileListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDailyPlayStatFileListResponse) ToJsonString ¶
func (r *DescribeDailyPlayStatFileListResponse) ToJsonString() string
type DescribeDailyPlayStatFileListResponseParams ¶
type DescribeDailyPlayStatFileListResponseParams struct { // List of playback statistics files. PlayStatFileSet []*PlayStatFileInfo `json:"PlayStatFileSet,omitempty" name:"PlayStatFileSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDrmKeyProviderInfoRequest ¶
type DescribeDrmKeyProviderInfoRequest struct { *tchttp.BaseRequest // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeDrmKeyProviderInfoRequest ¶
func NewDescribeDrmKeyProviderInfoRequest() (request *DescribeDrmKeyProviderInfoRequest)
func (*DescribeDrmKeyProviderInfoRequest) FromJsonString ¶
func (r *DescribeDrmKeyProviderInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDrmKeyProviderInfoRequest) ToJsonString ¶
func (r *DescribeDrmKeyProviderInfoRequest) ToJsonString() string
type DescribeDrmKeyProviderInfoRequestParams ¶
type DescribeDrmKeyProviderInfoRequestParams struct { // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeDrmKeyProviderInfoResponse ¶
type DescribeDrmKeyProviderInfoResponse struct { *tchttp.BaseResponse Response *DescribeDrmKeyProviderInfoResponseParams `json:"Response"` }
func NewDescribeDrmKeyProviderInfoResponse ¶
func NewDescribeDrmKeyProviderInfoResponse() (response *DescribeDrmKeyProviderInfoResponse)
func (*DescribeDrmKeyProviderInfoResponse) FromJsonString ¶
func (r *DescribeDrmKeyProviderInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDrmKeyProviderInfoResponse) ToJsonString ¶
func (r *DescribeDrmKeyProviderInfoResponse) ToJsonString() string
type DescribeDrmKeyProviderInfoResponseParams ¶
type DescribeDrmKeyProviderInfoResponseParams struct { // The DRM key information provided by SDMC. // Note: This field may return null, indicating that no valid values can be obtained. SDMCInfo *SDMCDrmKeyProviderInfo `json:"SDMCInfo,omitempty" name:"SDMCInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFileAttributesRequest ¶
type DescribeFileAttributesRequest struct { *tchttp.BaseRequest // The file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The task priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewDescribeFileAttributesRequest ¶
func NewDescribeFileAttributesRequest() (request *DescribeFileAttributesRequest)
func (*DescribeFileAttributesRequest) FromJsonString ¶
func (r *DescribeFileAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileAttributesRequest) ToJsonString ¶
func (r *DescribeFileAttributesRequest) ToJsonString() string
type DescribeFileAttributesRequestParams ¶
type DescribeFileAttributesRequestParams struct { // The file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The task priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type DescribeFileAttributesResponse ¶
type DescribeFileAttributesResponse struct { *tchttp.BaseResponse Response *DescribeFileAttributesResponseParams `json:"Response"` }
func NewDescribeFileAttributesResponse ¶
func NewDescribeFileAttributesResponse() (response *DescribeFileAttributesResponse)
func (*DescribeFileAttributesResponse) FromJsonString ¶
func (r *DescribeFileAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileAttributesResponse) ToJsonString ¶
func (r *DescribeFileAttributesResponse) ToJsonString() string
type DescribeFileAttributesResponseParams ¶
type DescribeFileAttributesResponseParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFileAttributesTask ¶
type DescribeFileAttributesTask struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // The error code. `0` indicates the task is successful. Other values indicate that the task failed. // <li>`40000`: Invalid input parameter.</li> // <li>`60000`: Source file error (e.g., video data is corrupted).</li> // <li>`70000`: Internal server error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The task progress. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // The file ID FileId *string `json:"FileId,omitempty" name:"FileId"` // The output of the task to get file attributes. // Note: This field may return null, indicating that no valid values can be obtained. Output *DescribeFileAttributesTaskOutput `json:"Output,omitempty" name:"Output"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type DescribeFileAttributesTaskOutput ¶
type DescribeFileAttributesTaskOutput struct { // The MD5 hash of the file. Md5 *string `json:"Md5,omitempty" name:"Md5"` }
type DescribeImageProcessingTemplatesRequest ¶
type DescribeImageProcessingTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The IDs of the templates to query. Length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // The template type. Valid values: // <li>Preset</li> // <li>Custom</li> Type *string `json:"Type,omitempty" name:"Type"` // The offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeImageProcessingTemplatesRequest ¶
func NewDescribeImageProcessingTemplatesRequest() (request *DescribeImageProcessingTemplatesRequest)
func (*DescribeImageProcessingTemplatesRequest) FromJsonString ¶
func (r *DescribeImageProcessingTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageProcessingTemplatesRequest) ToJsonString ¶
func (r *DescribeImageProcessingTemplatesRequest) ToJsonString() string
type DescribeImageProcessingTemplatesRequestParams ¶
type DescribeImageProcessingTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The IDs of the templates to query. Length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // The template type. Valid values: // <li>Preset</li> // <li>Custom</li> Type *string `json:"Type,omitempty" name:"Type"` // The offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeImageProcessingTemplatesResponse ¶
type DescribeImageProcessingTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeImageProcessingTemplatesResponseParams `json:"Response"` }
func NewDescribeImageProcessingTemplatesResponse ¶
func NewDescribeImageProcessingTemplatesResponse() (response *DescribeImageProcessingTemplatesResponse)
func (*DescribeImageProcessingTemplatesResponse) FromJsonString ¶
func (r *DescribeImageProcessingTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageProcessingTemplatesResponse) ToJsonString ¶
func (r *DescribeImageProcessingTemplatesResponse) ToJsonString() string
type DescribeImageProcessingTemplatesResponseParams ¶
type DescribeImageProcessingTemplatesResponseParams struct { // The total number of records that meet the conditions. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The information of the queried image processing templates. ImageProcessingTemplateSet []*ImageProcessingTemplate `json:"ImageProcessingTemplateSet,omitempty" name:"ImageProcessingTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeImageReviewUsageDataRequest ¶
type DescribeImageReviewUsageDataRequest struct { *tchttp.BaseRequest // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeImageReviewUsageDataRequest ¶
func NewDescribeImageReviewUsageDataRequest() (request *DescribeImageReviewUsageDataRequest)
func (*DescribeImageReviewUsageDataRequest) FromJsonString ¶
func (r *DescribeImageReviewUsageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageReviewUsageDataRequest) ToJsonString ¶
func (r *DescribeImageReviewUsageDataRequest) ToJsonString() string
type DescribeImageReviewUsageDataRequestParams ¶
type DescribeImageReviewUsageDataRequestParams struct { // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeImageReviewUsageDataResponse ¶
type DescribeImageReviewUsageDataResponse struct { *tchttp.BaseResponse Response *DescribeImageReviewUsageDataResponseParams `json:"Response"` }
func NewDescribeImageReviewUsageDataResponse ¶
func NewDescribeImageReviewUsageDataResponse() (response *DescribeImageReviewUsageDataResponse)
func (*DescribeImageReviewUsageDataResponse) FromJsonString ¶
func (r *DescribeImageReviewUsageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageReviewUsageDataResponse) ToJsonString ¶
func (r *DescribeImageReviewUsageDataResponse) ToJsonString() string
type DescribeImageReviewUsageDataResponseParams ¶
type DescribeImageReviewUsageDataResponseParams struct { // The image recognition usage statistics (the number of times the image recognition feature is used in the time period specified). ImageReviewUsageDataSet []*ImageReviewUsageDataItem `json:"ImageReviewUsageDataSet,omitempty" name:"ImageReviewUsageDataSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeImageSpriteTemplatesRequest ¶
type DescribeImageSpriteTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of image sprite generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeImageSpriteTemplatesRequest ¶
func NewDescribeImageSpriteTemplatesRequest() (request *DescribeImageSpriteTemplatesRequest)
func (*DescribeImageSpriteTemplatesRequest) FromJsonString ¶
func (r *DescribeImageSpriteTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageSpriteTemplatesRequest) ToJsonString ¶
func (r *DescribeImageSpriteTemplatesRequest) ToJsonString() string
type DescribeImageSpriteTemplatesRequestParams ¶
type DescribeImageSpriteTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of image sprite generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeImageSpriteTemplatesResponse ¶
type DescribeImageSpriteTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeImageSpriteTemplatesResponseParams `json:"Response"` }
func NewDescribeImageSpriteTemplatesResponse ¶
func NewDescribeImageSpriteTemplatesResponse() (response *DescribeImageSpriteTemplatesResponse)
func (*DescribeImageSpriteTemplatesResponse) FromJsonString ¶
func (r *DescribeImageSpriteTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageSpriteTemplatesResponse) ToJsonString ¶
func (r *DescribeImageSpriteTemplatesResponse) ToJsonString() string
type DescribeImageSpriteTemplatesResponseParams ¶
type DescribeImageSpriteTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of image sprite generating template details. ImageSpriteTemplateSet []*ImageSpriteTemplate `json:"ImageSpriteTemplateSet,omitempty" name:"ImageSpriteTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLicenseUsageDataRequest ¶
type DescribeLicenseUsageDataRequest struct { *tchttp.BaseRequest // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The license type, which is DRM by default. Valid values: // <li> DRM</li> LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeLicenseUsageDataRequest ¶
func NewDescribeLicenseUsageDataRequest() (request *DescribeLicenseUsageDataRequest)
func (*DescribeLicenseUsageDataRequest) FromJsonString ¶
func (r *DescribeLicenseUsageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLicenseUsageDataRequest) ToJsonString ¶
func (r *DescribeLicenseUsageDataRequest) ToJsonString() string
type DescribeLicenseUsageDataRequestParams ¶
type DescribeLicenseUsageDataRequestParams struct { // The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The license type, which is DRM by default. Valid values: // <li> DRM</li> LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeLicenseUsageDataResponse ¶
type DescribeLicenseUsageDataResponse struct { *tchttp.BaseResponse Response *DescribeLicenseUsageDataResponseParams `json:"Response"` }
func NewDescribeLicenseUsageDataResponse ¶
func NewDescribeLicenseUsageDataResponse() (response *DescribeLicenseUsageDataResponse)
func (*DescribeLicenseUsageDataResponse) FromJsonString ¶
func (r *DescribeLicenseUsageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLicenseUsageDataResponse) ToJsonString ¶
func (r *DescribeLicenseUsageDataResponse) ToJsonString() string
type DescribeLicenseUsageDataResponseParams ¶
type DescribeLicenseUsageDataResponseParams struct { // The license request statistics (the number of license requests in the time period specified) LicenseUsageDataSet []*LicenseUsageDataItem `json:"LicenseUsageDataSet,omitempty" name:"LicenseUsageDataSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMediaInfosRequest ¶
type DescribeMediaInfosRequest struct { *tchttp.BaseRequest // List of media file IDs. N starts from 0 and can be up to 19. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // Specifies information entry that needs to be returned by all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values: // <li>basicInfo (basic video information).</li> // <li>metaData (video metadata).</li> // <li>transcodeInfo (result information of video transcoding).</li> // <li>animatedGraphicsInfo (result information of animated image generating task).</li> // <li>imageSpriteInfo (image sprite information).</li> // <li>snapshotByTimeOffsetInfo (time point screenshot information).</li> // <li>sampleSnapshotInfo (sampled screenshot information).</li> // <li>keyFrameDescInfo (timestamp information).</li> // <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li> // <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li> Filters []*string `json:"Filters,omitempty" name:"Filters"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeMediaInfosRequest ¶
func NewDescribeMediaInfosRequest() (request *DescribeMediaInfosRequest)
func (*DescribeMediaInfosRequest) FromJsonString ¶
func (r *DescribeMediaInfosRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaInfosRequest) ToJsonString ¶
func (r *DescribeMediaInfosRequest) ToJsonString() string
type DescribeMediaInfosRequestParams ¶
type DescribeMediaInfosRequestParams struct { // List of media file IDs. N starts from 0 and can be up to 19. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // Specifies information entry that needs to be returned by all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values: // <li>basicInfo (basic video information).</li> // <li>metaData (video metadata).</li> // <li>transcodeInfo (result information of video transcoding).</li> // <li>animatedGraphicsInfo (result information of animated image generating task).</li> // <li>imageSpriteInfo (image sprite information).</li> // <li>snapshotByTimeOffsetInfo (time point screenshot information).</li> // <li>sampleSnapshotInfo (sampled screenshot information).</li> // <li>keyFrameDescInfo (timestamp information).</li> // <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li> // <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li> Filters []*string `json:"Filters,omitempty" name:"Filters"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeMediaInfosResponse ¶
type DescribeMediaInfosResponse struct { *tchttp.BaseResponse Response *DescribeMediaInfosResponseParams `json:"Response"` }
func NewDescribeMediaInfosResponse ¶
func NewDescribeMediaInfosResponse() (response *DescribeMediaInfosResponse)
func (*DescribeMediaInfosResponse) FromJsonString ¶
func (r *DescribeMediaInfosResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaInfosResponse) ToJsonString ¶
func (r *DescribeMediaInfosResponse) ToJsonString() string
type DescribeMediaInfosResponseParams ¶
type DescribeMediaInfosResponseParams struct { // Media file information list. MediaInfoSet []*MediaInfo `json:"MediaInfoSet,omitempty" name:"MediaInfoSet"` // List of IDs of files that do not exist. NotExistFileIdSet []*string `json:"NotExistFileIdSet,omitempty" name:"NotExistFileIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMediaPlayStatDetailsRequest ¶
type DescribeMediaPlayStatDetailsRequest struct { *tchttp.BaseRequest // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // The start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Granularity. Valid values: // <li>Hour</li> // <li>Day</li> // The default value depends on the time period queried. If the time period is shorter than one day, the default value is `Hour`; if the time period is one day or longer, the default value is `Day`. Interval *string `json:"Interval,omitempty" name:"Interval"` }
func NewDescribeMediaPlayStatDetailsRequest ¶
func NewDescribeMediaPlayStatDetailsRequest() (request *DescribeMediaPlayStatDetailsRequest)
func (*DescribeMediaPlayStatDetailsRequest) FromJsonString ¶
func (r *DescribeMediaPlayStatDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaPlayStatDetailsRequest) ToJsonString ¶
func (r *DescribeMediaPlayStatDetailsRequest) ToJsonString() string
type DescribeMediaPlayStatDetailsRequestParams ¶
type DescribeMediaPlayStatDetailsRequestParams struct { // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // The start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // The end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Granularity. Valid values: // <li>Hour</li> // <li>Day</li> // The default value depends on the time period queried. If the time period is shorter than one day, the default value is `Hour`; if the time period is one day or longer, the default value is `Day`. Interval *string `json:"Interval,omitempty" name:"Interval"` }
Predefined struct for user
type DescribeMediaPlayStatDetailsResponse ¶
type DescribeMediaPlayStatDetailsResponse struct { *tchttp.BaseResponse Response *DescribeMediaPlayStatDetailsResponseParams `json:"Response"` }
func NewDescribeMediaPlayStatDetailsResponse ¶
func NewDescribeMediaPlayStatDetailsResponse() (response *DescribeMediaPlayStatDetailsResponse)
func (*DescribeMediaPlayStatDetailsResponse) FromJsonString ¶
func (r *DescribeMediaPlayStatDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaPlayStatDetailsResponse) ToJsonString ¶
func (r *DescribeMediaPlayStatDetailsResponse) ToJsonString() string
type DescribeMediaPlayStatDetailsResponseParams ¶
type DescribeMediaPlayStatDetailsResponseParams struct { // The playback statistics. PlayStatInfoSet []*PlayStatInfo `json:"PlayStatInfoSet,omitempty" name:"PlayStatInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMediaProcessUsageDataRequest ¶
type DescribeMediaProcessUsageDataRequest struct { *tchttp.BaseRequest // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). The end date must be on or after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The type of media processing task. Valid values: // <li>Transcoding: General transcoding</li> // <li>Transcoding-TESHD: Top Speed Codec transcoding</li> // <li>Editing: Video editing</li> // <li>Editing-TESHD: Top Speed Codec editing</li> // <li>AdaptiveBitrateStreaming: Adaptive bitrate streaming</li> // <li>ContentAudit: Content moderation</li> // <li> ContentRecognition: Content recognition</li> // <li>RemoveWatermark: Watermark removal</li> // <li> ExtractTraceWatermark: Digital watermark extraction</li> // <li> AddTraceWatermark: Digital watermarking</li> // <li>Transcode: Transcoding, including general transcoding, Top Speed Codec transcoding, and video editing. This value is not recommended.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeMediaProcessUsageDataRequest ¶
func NewDescribeMediaProcessUsageDataRequest() (request *DescribeMediaProcessUsageDataRequest)
func (*DescribeMediaProcessUsageDataRequest) FromJsonString ¶
func (r *DescribeMediaProcessUsageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaProcessUsageDataRequest) ToJsonString ¶
func (r *DescribeMediaProcessUsageDataRequest) ToJsonString() string
type DescribeMediaProcessUsageDataRequestParams ¶
type DescribeMediaProcessUsageDataRequestParams struct { // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). The end date must be on or after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The type of media processing task. Valid values: // <li>Transcoding: General transcoding</li> // <li>Transcoding-TESHD: Top Speed Codec transcoding</li> // <li>Editing: Video editing</li> // <li>Editing-TESHD: Top Speed Codec editing</li> // <li>AdaptiveBitrateStreaming: Adaptive bitrate streaming</li> // <li>ContentAudit: Content moderation</li> // <li> ContentRecognition: Content recognition</li> // <li>RemoveWatermark: Watermark removal</li> // <li> ExtractTraceWatermark: Digital watermark extraction</li> // <li> AddTraceWatermark: Digital watermarking</li> // <li>Transcode: Transcoding, including general transcoding, Top Speed Codec transcoding, and video editing. This value is not recommended.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeMediaProcessUsageDataResponse ¶
type DescribeMediaProcessUsageDataResponse struct { *tchttp.BaseResponse Response *DescribeMediaProcessUsageDataResponseParams `json:"Response"` }
func NewDescribeMediaProcessUsageDataResponse ¶
func NewDescribeMediaProcessUsageDataResponse() (response *DescribeMediaProcessUsageDataResponse)
func (*DescribeMediaProcessUsageDataResponse) FromJsonString ¶
func (r *DescribeMediaProcessUsageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaProcessUsageDataResponse) ToJsonString ¶
func (r *DescribeMediaProcessUsageDataResponse) ToJsonString() string
type DescribeMediaProcessUsageDataResponseParams ¶
type DescribeMediaProcessUsageDataResponseParams struct { // Overview of video processing statistics, which displays the overview and details of queried tasks. MediaProcessDataSet []*TaskStatData `json:"MediaProcessDataSet,omitempty" name:"MediaProcessDataSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePersonSamplesRequest ¶
type DescribePersonSamplesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of samples to pull. Valid values: // <li>UserDefine: custom sample library</li> // <li>Default: default sample library</li> // // Default value: UserDefine. Samples in the custom sample library will be pulled. // Note: samples from the default library can only be pulled by providing the name or both the ID and name of a sample. Only one face image will be returned. Type *string `json:"Type,omitempty" name:"Type"` // IDs of samples. Array length limit: 100. PersonIds []*string `json:"PersonIds,omitempty" name:"PersonIds"` // Names of samples. Array length limit: 20. Names []*string `json:"Names,omitempty" name:"Names"` // Tags of a sample. Array length limit: 20. Tags []*string `json:"Tags,omitempty" name:"Tags"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribePersonSamplesRequest ¶
func NewDescribePersonSamplesRequest() (request *DescribePersonSamplesRequest)
func (*DescribePersonSamplesRequest) FromJsonString ¶
func (r *DescribePersonSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePersonSamplesRequest) ToJsonString ¶
func (r *DescribePersonSamplesRequest) ToJsonString() string
type DescribePersonSamplesRequestParams ¶
type DescribePersonSamplesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of samples to pull. Valid values: // <li>UserDefine: custom sample library</li> // <li>Default: default sample library</li> // // Default value: UserDefine. Samples in the custom sample library will be pulled. // Note: samples from the default library can only be pulled by providing the name or both the ID and name of a sample. Only one face image will be returned. Type *string `json:"Type,omitempty" name:"Type"` // IDs of samples. Array length limit: 100. PersonIds []*string `json:"PersonIds,omitempty" name:"PersonIds"` // Names of samples. Array length limit: 20. Names []*string `json:"Names,omitempty" name:"Names"` // Tags of a sample. Array length limit: 20. Tags []*string `json:"Tags,omitempty" name:"Tags"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribePersonSamplesResponse ¶
type DescribePersonSamplesResponse struct { *tchttp.BaseResponse Response *DescribePersonSamplesResponseParams `json:"Response"` }
func NewDescribePersonSamplesResponse ¶
func NewDescribePersonSamplesResponse() (response *DescribePersonSamplesResponse)
func (*DescribePersonSamplesResponse) FromJsonString ¶
func (r *DescribePersonSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePersonSamplesResponse) ToJsonString ¶
func (r *DescribePersonSamplesResponse) ToJsonString() string
type DescribePersonSamplesResponseParams ¶
type DescribePersonSamplesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Figure information. PersonSet []*AiSamplePerson `json:"PersonSet,omitempty" name:"PersonSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProcedureTemplatesRequest ¶
type DescribeProcedureTemplatesRequest struct { *tchttp.BaseRequest // Name filter of task flow template. Array length limit: 100. Names []*string `json:"Names,omitempty" name:"Names"` // Filter of task flow template types. Valid values: // <li>Preset: preset task flow template;</li> // <li>Custom: custom task flow template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeProcedureTemplatesRequest ¶
func NewDescribeProcedureTemplatesRequest() (request *DescribeProcedureTemplatesRequest)
func (*DescribeProcedureTemplatesRequest) FromJsonString ¶
func (r *DescribeProcedureTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProcedureTemplatesRequest) ToJsonString ¶
func (r *DescribeProcedureTemplatesRequest) ToJsonString() string
type DescribeProcedureTemplatesRequestParams ¶
type DescribeProcedureTemplatesRequestParams struct { // Name filter of task flow template. Array length limit: 100. Names []*string `json:"Names,omitempty" name:"Names"` // Filter of task flow template types. Valid values: // <li>Preset: preset task flow template;</li> // <li>Custom: custom task flow template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeProcedureTemplatesResponse ¶
type DescribeProcedureTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeProcedureTemplatesResponseParams `json:"Response"` }
func NewDescribeProcedureTemplatesResponse ¶
func NewDescribeProcedureTemplatesResponse() (response *DescribeProcedureTemplatesResponse)
func (*DescribeProcedureTemplatesResponse) FromJsonString ¶
func (r *DescribeProcedureTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProcedureTemplatesResponse) ToJsonString ¶
func (r *DescribeProcedureTemplatesResponse) ToJsonString() string
type DescribeProcedureTemplatesResponseParams ¶
type DescribeProcedureTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of task flow template details. ProcedureTemplateSet []*ProcedureTemplate `json:"ProcedureTemplateSet,omitempty" name:"ProcedureTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeReviewDetailsRequest ¶
type DescribeReviewDetailsRequest struct { *tchttp.BaseRequest // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeReviewDetailsRequest ¶
func NewDescribeReviewDetailsRequest() (request *DescribeReviewDetailsRequest)
func (*DescribeReviewDetailsRequest) FromJsonString ¶
func (r *DescribeReviewDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReviewDetailsRequest) ToJsonString ¶
func (r *DescribeReviewDetailsRequest) ToJsonString() string
type DescribeReviewDetailsRequestParams ¶
type DescribeReviewDetailsRequestParams struct { // Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeReviewDetailsResponse ¶
type DescribeReviewDetailsResponse struct { *tchttp.BaseResponse Response *DescribeReviewDetailsResponseParams `json:"Response"` }
func NewDescribeReviewDetailsResponse ¶
func NewDescribeReviewDetailsResponse() (response *DescribeReviewDetailsResponse)
func (*DescribeReviewDetailsResponse) FromJsonString ¶
func (r *DescribeReviewDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReviewDetailsResponse) ToJsonString ¶
func (r *DescribeReviewDetailsResponse) ToJsonString() string
type DescribeReviewDetailsResponseParams ¶
type DescribeReviewDetailsResponseParams struct { // Times of initiating intelligent content recognition tasks. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Duration of intelligent recognition content. TotalDuration *int64 `json:"TotalDuration,omitempty" name:"TotalDuration"` // Data of intelligent recognition content duration. One piece of data is collected every day. Data []*StatDataItem `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleSnapshotTemplatesRequest ¶
type DescribeSampleSnapshotTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of sampled screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeSampleSnapshotTemplatesRequest ¶
func NewDescribeSampleSnapshotTemplatesRequest() (request *DescribeSampleSnapshotTemplatesRequest)
func (*DescribeSampleSnapshotTemplatesRequest) FromJsonString ¶
func (r *DescribeSampleSnapshotTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleSnapshotTemplatesRequest) ToJsonString ¶
func (r *DescribeSampleSnapshotTemplatesRequest) ToJsonString() string
type DescribeSampleSnapshotTemplatesRequestParams ¶
type DescribeSampleSnapshotTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of sampled screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeSampleSnapshotTemplatesResponse ¶
type DescribeSampleSnapshotTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeSampleSnapshotTemplatesResponseParams `json:"Response"` }
func NewDescribeSampleSnapshotTemplatesResponse ¶
func NewDescribeSampleSnapshotTemplatesResponse() (response *DescribeSampleSnapshotTemplatesResponse)
func (*DescribeSampleSnapshotTemplatesResponse) FromJsonString ¶
func (r *DescribeSampleSnapshotTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleSnapshotTemplatesResponse) ToJsonString ¶
func (r *DescribeSampleSnapshotTemplatesResponse) ToJsonString() string
type DescribeSampleSnapshotTemplatesResponseParams ¶
type DescribeSampleSnapshotTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of sampled screencapturing template details. SampleSnapshotTemplateSet []*SampleSnapshotTemplate `json:"SampleSnapshotTemplateSet,omitempty" name:"SampleSnapshotTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotByTimeOffsetTemplatesRequest ¶
type DescribeSnapshotByTimeOffsetTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of time point screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeSnapshotByTimeOffsetTemplatesRequest ¶
func NewDescribeSnapshotByTimeOffsetTemplatesRequest() (request *DescribeSnapshotByTimeOffsetTemplatesRequest)
func (*DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString() string
type DescribeSnapshotByTimeOffsetTemplatesRequestParams ¶
type DescribeSnapshotByTimeOffsetTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of time point screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"` // Paged offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeSnapshotByTimeOffsetTemplatesResponse ¶
type DescribeSnapshotByTimeOffsetTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotByTimeOffsetTemplatesResponseParams `json:"Response"` }
func NewDescribeSnapshotByTimeOffsetTemplatesResponse ¶
func NewDescribeSnapshotByTimeOffsetTemplatesResponse() (response *DescribeSnapshotByTimeOffsetTemplatesResponse)
func (*DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString() string
type DescribeSnapshotByTimeOffsetTemplatesResponseParams ¶
type DescribeSnapshotByTimeOffsetTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of time point screencapturing template details. SnapshotByTimeOffsetTemplateSet []*SnapshotByTimeOffsetTemplate `json:"SnapshotByTimeOffsetTemplateSet,omitempty" name:"SnapshotByTimeOffsetTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStorageDataRequest ¶
type DescribeStorageDataRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeStorageDataRequest ¶
func NewDescribeStorageDataRequest() (request *DescribeStorageDataRequest)
func (*DescribeStorageDataRequest) FromJsonString ¶
func (r *DescribeStorageDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageDataRequest) ToJsonString ¶
func (r *DescribeStorageDataRequest) ToJsonString() string
type DescribeStorageDataRequestParams ¶
type DescribeStorageDataRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeStorageDataResponse ¶
type DescribeStorageDataResponse struct { *tchttp.BaseResponse Response *DescribeStorageDataResponseParams `json:"Response"` }
func NewDescribeStorageDataResponse ¶
func NewDescribeStorageDataResponse() (response *DescribeStorageDataResponse)
func (*DescribeStorageDataResponse) FromJsonString ¶
func (r *DescribeStorageDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageDataResponse) ToJsonString ¶
func (r *DescribeStorageDataResponse) ToJsonString() string
type DescribeStorageDataResponseParams ¶
type DescribeStorageDataResponseParams struct { // Total number of current media files. MediaCount *uint64 `json:"MediaCount,omitempty" name:"MediaCount"` // Total current storage capacity in bytes. TotalStorage *uint64 `json:"TotalStorage,omitempty" name:"TotalStorage"` // Current Standard storage capacity in bytes. StandardStorage *uint64 `json:"StandardStorage,omitempty" name:"StandardStorage"` // Current Standard_IA storage capacity in bytes. InfrequentStorage *uint64 `json:"InfrequentStorage,omitempty" name:"InfrequentStorage"` // The current ARCHIVE storage usage in bytes. ArchiveStorage *uint64 `json:"ArchiveStorage,omitempty" name:"ArchiveStorage"` // The current DEEP ARCHIVE storage usage in bytes. DeepArchiveStorage *uint64 `json:"DeepArchiveStorage,omitempty" name:"DeepArchiveStorage"` // Storage usage by billing region. StorageStat []*StorageStatData `json:"StorageStat,omitempty" name:"StorageStat"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStorageDetailsRequest ¶
type DescribeStorageDetailsRequest struct { *tchttp.BaseRequest // Start time in ISO 8601 format. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in ISO 8601 format, which should be larger than the start time. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. // You can set this parameter to 1 to query the total usage of all applications (including the primary application) as an admin.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Time granularity. Valid values: // <li>Minute: 5-minute granularity</li> // <li>Day: 1-day granularity</li> // The value is set according to query period length by default. 5-minute granularity is set for periods no longer than 1 day, and 1-day granularity is set for periods longer than 1 day. Interval *string `json:"Interval,omitempty" name:"Interval"` // Storage class to query. Valid values: // <li>`TotalStorage`: total storage usage in classes of STANDARD, STANDARD_IA, ARCHIVE, and DEEP ARCHIVE, excluding the storage usage for data deleted in advance.</li> // <li>`StandardStorage`: STANDARD</li> // <li>`InfrequentStorage`: STANDARD_IA</li> // <li>`ArchiveStorage`: ARCHIVE</li> // <li>`DeepArchiveStorage`: DEEP ARCHIVE</li> // <li>`DeletedInfrequentStorage`: STANDARD_IA data deleted in advance</li> // <li>`DeletedArchiveStorage`: ARCHIVE data deleted in advance</li> // <li>`DeletedDeepArchiveStorage`: DEEP ARCHIVE data deleted in advance</li> // <li>`ArchiveStandardRetrieval`: ARCHIVE data retrieved using standard retrievals</li> // <li>`ArchiveExpeditedRetrieval`: ARCHIVE data retrieved using expedited retrievals</li> // <li>`ArchiveBulkRetrieval`: ARCHIVE data retrieved using bulk retrievals</li> // <li>`DeepArchiveStandardRetrieval`: DEEP ARCHIVE data retrieved using standard retrievals</li> // <li>`DeepArchiveBulkRetrieval`: DEEP ARCHIVE data retrieved using bulk retrievals</li> // Default value: `TotalStorage` StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // Storage region to query. Valid values: // <li>Chinese Mainland</li> // <li>Outside Chinese Mainland</li> // Default value: Chinese Mainland Area *string `json:"Area,omitempty" name:"Area"` }
func NewDescribeStorageDetailsRequest ¶
func NewDescribeStorageDetailsRequest() (request *DescribeStorageDetailsRequest)
func (*DescribeStorageDetailsRequest) FromJsonString ¶
func (r *DescribeStorageDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageDetailsRequest) ToJsonString ¶
func (r *DescribeStorageDetailsRequest) ToJsonString() string
type DescribeStorageDetailsRequestParams ¶
type DescribeStorageDetailsRequestParams struct { // Start time in ISO 8601 format. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in ISO 8601 format, which should be larger than the start time. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. // You can set this parameter to 1 to query the total usage of all applications (including the primary application) as an admin.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Time granularity. Valid values: // <li>Minute: 5-minute granularity</li> // <li>Day: 1-day granularity</li> // The value is set according to query period length by default. 5-minute granularity is set for periods no longer than 1 day, and 1-day granularity is set for periods longer than 1 day. Interval *string `json:"Interval,omitempty" name:"Interval"` // Storage class to query. Valid values: // <li>`TotalStorage`: total storage usage in classes of STANDARD, STANDARD_IA, ARCHIVE, and DEEP ARCHIVE, excluding the storage usage for data deleted in advance.</li> // <li>`StandardStorage`: STANDARD</li> // <li>`InfrequentStorage`: STANDARD_IA</li> // <li>`ArchiveStorage`: ARCHIVE</li> // <li>`DeepArchiveStorage`: DEEP ARCHIVE</li> // <li>`DeletedInfrequentStorage`: STANDARD_IA data deleted in advance</li> // <li>`DeletedArchiveStorage`: ARCHIVE data deleted in advance</li> // <li>`DeletedDeepArchiveStorage`: DEEP ARCHIVE data deleted in advance</li> // <li>`ArchiveStandardRetrieval`: ARCHIVE data retrieved using standard retrievals</li> // <li>`ArchiveExpeditedRetrieval`: ARCHIVE data retrieved using expedited retrievals</li> // <li>`ArchiveBulkRetrieval`: ARCHIVE data retrieved using bulk retrievals</li> // <li>`DeepArchiveStandardRetrieval`: DEEP ARCHIVE data retrieved using standard retrievals</li> // <li>`DeepArchiveBulkRetrieval`: DEEP ARCHIVE data retrieved using bulk retrievals</li> // Default value: `TotalStorage` StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // Storage region to query. Valid values: // <li>Chinese Mainland</li> // <li>Outside Chinese Mainland</li> // Default value: Chinese Mainland Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type DescribeStorageDetailsResponse ¶
type DescribeStorageDetailsResponse struct { *tchttp.BaseResponse Response *DescribeStorageDetailsResponseParams `json:"Response"` }
func NewDescribeStorageDetailsResponse ¶
func NewDescribeStorageDetailsResponse() (response *DescribeStorageDetailsResponse)
func (*DescribeStorageDetailsResponse) FromJsonString ¶
func (r *DescribeStorageDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageDetailsResponse) ToJsonString ¶
func (r *DescribeStorageDetailsResponse) ToJsonString() string
type DescribeStorageDetailsResponseParams ¶
type DescribeStorageDetailsResponseParams struct { // Storage statistics with one piece of data for every 5 minutes or 1 day. Data []*StatDataItem `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStorageRegionsRequest ¶
type DescribeStorageRegionsRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeStorageRegionsRequest ¶
func NewDescribeStorageRegionsRequest() (request *DescribeStorageRegionsRequest)
func (*DescribeStorageRegionsRequest) FromJsonString ¶
func (r *DescribeStorageRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageRegionsRequest) ToJsonString ¶
func (r *DescribeStorageRegionsRequest) ToJsonString() string
type DescribeStorageRegionsRequestParams ¶
type DescribeStorageRegionsRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeStorageRegionsResponse ¶
type DescribeStorageRegionsResponse struct { *tchttp.BaseResponse Response *DescribeStorageRegionsResponseParams `json:"Response"` }
func NewDescribeStorageRegionsResponse ¶
func NewDescribeStorageRegionsResponse() (response *DescribeStorageRegionsResponse)
func (*DescribeStorageRegionsResponse) FromJsonString ¶
func (r *DescribeStorageRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStorageRegionsResponse) ToJsonString ¶
func (r *DescribeStorageRegionsResponse) ToJsonString() string
type DescribeStorageRegionsResponseParams ¶
type DescribeStorageRegionsResponseParams struct { // The information of the storage regions. StorageRegionInfos []*StorageRegionInfo `json:"StorageRegionInfos,omitempty" name:"StorageRegionInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubAppIdsRequest ¶
type DescribeSubAppIdsRequest struct { *tchttp.BaseRequest // Subapplication name. Name *string `json:"Name,omitempty" name:"Name"` // Tag information. You can query the list of subapplications with specified tags. Tags []*ResourceTag `json:"Tags,omitempty" name:"Tags"` // Page number offset from the beginning of paginated queries. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum return results of pulling paginated queries. Default: 200; maximum: 200. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSubAppIdsRequest ¶
func NewDescribeSubAppIdsRequest() (request *DescribeSubAppIdsRequest)
func (*DescribeSubAppIdsRequest) FromJsonString ¶
func (r *DescribeSubAppIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubAppIdsRequest) ToJsonString ¶
func (r *DescribeSubAppIdsRequest) ToJsonString() string
type DescribeSubAppIdsRequestParams ¶
type DescribeSubAppIdsRequestParams struct { // Subapplication name. Name *string `json:"Name,omitempty" name:"Name"` // Tag information. You can query the list of subapplications with specified tags. Tags []*ResourceTag `json:"Tags,omitempty" name:"Tags"` // Page number offset from the beginning of paginated queries. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum return results of pulling paginated queries. Default: 200; maximum: 200. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeSubAppIdsResponse ¶
type DescribeSubAppIdsResponse struct { *tchttp.BaseResponse Response *DescribeSubAppIdsResponseParams `json:"Response"` }
func NewDescribeSubAppIdsResponse ¶
func NewDescribeSubAppIdsResponse() (response *DescribeSubAppIdsResponse)
func (*DescribeSubAppIdsResponse) FromJsonString ¶
func (r *DescribeSubAppIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubAppIdsResponse) ToJsonString ¶
func (r *DescribeSubAppIdsResponse) ToJsonString() string
type DescribeSubAppIdsResponseParams ¶
type DescribeSubAppIdsResponseParams struct { // Subapplication information set. SubAppIdInfoSet []*SubAppIdInfo `json:"SubAppIdInfoSet,omitempty" name:"SubAppIdInfoSet"` // Total number of subapplications. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSuperPlayerConfigsRequest ¶
type DescribeSuperPlayerConfigsRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Player configuration name filter. Array length limit: 100. Names []*string `json:"Names,omitempty" name:"Names"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Player configuration type filter. Valid values: // <li>Preset: preset configuration;</li> // <li>Custom: custom configuration.</li> Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeSuperPlayerConfigsRequest ¶
func NewDescribeSuperPlayerConfigsRequest() (request *DescribeSuperPlayerConfigsRequest)
func (*DescribeSuperPlayerConfigsRequest) FromJsonString ¶
func (r *DescribeSuperPlayerConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSuperPlayerConfigsRequest) ToJsonString ¶
func (r *DescribeSuperPlayerConfigsRequest) ToJsonString() string
type DescribeSuperPlayerConfigsRequestParams ¶
type DescribeSuperPlayerConfigsRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Player configuration name filter. Array length limit: 100. Names []*string `json:"Names,omitempty" name:"Names"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Player configuration type filter. Valid values: // <li>Preset: preset configuration;</li> // <li>Custom: custom configuration.</li> Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeSuperPlayerConfigsResponse ¶
type DescribeSuperPlayerConfigsResponse struct { *tchttp.BaseResponse Response *DescribeSuperPlayerConfigsResponseParams `json:"Response"` }
func NewDescribeSuperPlayerConfigsResponse ¶
func NewDescribeSuperPlayerConfigsResponse() (response *DescribeSuperPlayerConfigsResponse)
func (*DescribeSuperPlayerConfigsResponse) FromJsonString ¶
func (r *DescribeSuperPlayerConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSuperPlayerConfigsResponse) ToJsonString ¶
func (r *DescribeSuperPlayerConfigsResponse) ToJsonString() string
type DescribeSuperPlayerConfigsResponseParams ¶
type DescribeSuperPlayerConfigsResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Player configuration array. PlayerConfigSet []*PlayerConfig `json:"PlayerConfigSet,omitempty" name:"PlayerConfigSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskDetailRequest ¶
type DescribeTaskDetailRequest struct { *tchttp.BaseRequest // Video processing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeTaskDetailRequest ¶
func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)
func (*DescribeTaskDetailRequest) FromJsonString ¶
func (r *DescribeTaskDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskDetailRequest) ToJsonString ¶
func (r *DescribeTaskDetailRequest) ToJsonString() string
type DescribeTaskDetailRequestParams ¶
type DescribeTaskDetailRequestParams struct { // Video processing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeTaskDetailResponse ¶
type DescribeTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeTaskDetailResponseParams `json:"Response"` }
func NewDescribeTaskDetailResponse ¶
func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)
func (*DescribeTaskDetailResponse) FromJsonString ¶
func (r *DescribeTaskDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskDetailResponse) ToJsonString ¶
func (r *DescribeTaskDetailResponse) ToJsonString() string
type DescribeTaskDetailResponseParams ¶
type DescribeTaskDetailResponseParams struct { // The task type. Valid values: // <li>`Procedure`: Video processing</li> // <li>`EditMedia`: Video editing</li> // <li>`SplitMedia`: Video splitting</li> // <li>`ComposeMedia`: Media file production</li> // <li>`WechatPublish`: WeChat publishing</li> // <li>`WechatMiniProgramPublish`: Publishing videos on WeChat Mini Program</li> // <li>`PullUpload`: Pulling media files for upload</li> // <li>`FastClipMedia`: Quick clipping</li> // <li>`RemoveWatermarkTask`: Watermark removal</li> // <li>`DescribeFileAttributesTask`: Getting file attributes</li> // <li> `ReviewAudioVideo`: Moderation</li> TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Task status. Valid values: // <li>WAITING: waiting;</li> // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> Status *string `json:"Status,omitempty" name:"Status"` // Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"` // End time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // Video processing task information. This field has a value only when `TaskType` is `Procedure`. // Note: this field may return null, indicating that no valid values can be obtained. ProcedureTask *ProcedureTask `json:"ProcedureTask,omitempty" name:"ProcedureTask"` // Video editing task information. This field has a value only when `TaskType` is `EditMedia`. // Note: this field may return null, indicating that no valid values can be obtained. EditMediaTask *EditMediaTask `json:"EditMediaTask,omitempty" name:"EditMediaTask"` // Release on WeChat task information. This field has a value only when `TaskType` is `WechatPublish`. // Note: this field may return null, indicating that no valid values can be obtained. WechatPublishTask *WechatPublishTask `json:"WechatPublishTask,omitempty" name:"WechatPublishTask"` // Media file composing task information. This field has a value only when `TaskType` is `ComposeMedia`. // Note: this field may return null, indicating that no valid values can be obtained. ComposeMediaTask *ComposeMediaTask `json:"ComposeMediaTask,omitempty" name:"ComposeMediaTask"` // Video splitting task information. This field has a value only when `TaskType` is `EditMedia`. // Note: this field may return `null`, indicating that no valid values can be obtained. SplitMediaTask *SplitMediaTask `json:"SplitMediaTask,omitempty" name:"SplitMediaTask"` // Release on WeChat Mini Program task information. This field has a value only when `TaskType` is `WechatMiniProgramPublish`. // Note: this field may return null, indicating that no valid values can be obtained. WechatMiniProgramPublishTask *WechatMiniProgramPublishTask `json:"WechatMiniProgramPublishTask,omitempty" name:"WechatMiniProgramPublishTask"` // Media file pulling for upload task information. This field has a value only when `TaskType` is `PullUpload`. // Note: this field may return null, indicating that no valid values can be obtained. PullUploadTask *PullUploadTask `json:"PullUploadTask,omitempty" name:"PullUploadTask"` // Video transcoding task information. This field has a value only when `TaskType` is `Transcode`. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeTask *TranscodeTask2017 `json:"TranscodeTask,omitempty" name:"TranscodeTask"` // Video splicing task information. This field has a value only when `TaskType` is `Concat`. // Note: this field may return null, indicating that no valid values can be obtained. ConcatTask *ConcatTask2017 `json:"ConcatTask,omitempty" name:"ConcatTask"` // Video clipping task information. This field has a value only when `TaskType` is `Clip`. // Note: this field may return null, indicating that no valid values can be obtained. ClipTask *ClipTask2017 `json:"ClipTask,omitempty" name:"ClipTask"` // Image sprite creating task information. This field has a value only when `TaskType` is `ImageSprite`. // Note: this field may return null, indicating that no valid values can be obtained. CreateImageSpriteTask *CreateImageSpriteTask2017 `json:"CreateImageSpriteTask,omitempty" name:"CreateImageSpriteTask"` // Time point screencapturing task information. This field has a value only when `TaskType` is `SnapshotByTimeOffset`. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetTask *SnapshotByTimeOffsetTask2017 `json:"SnapshotByTimeOffsetTask,omitempty" name:"SnapshotByTimeOffsetTask"` // The information of a watermark removal task. This parameter is valid only if `TaskType` is `RemoveWatermark`. // Note: This field may return null, indicating that no valid values can be obtained. RemoveWatermarkTask *RemoveWatermarkTask `json:"RemoveWatermarkTask,omitempty" name:"RemoveWatermarkTask"` // The information of a digital watermark extraction task. This parameter is valid only if `TaskType` is `ExtractTraceWatermark`. // Note: This field may return null, indicating that no valid values can be obtained. ExtractTraceWatermarkTask *ExtractTraceWatermarkTask `json:"ExtractTraceWatermarkTask,omitempty" name:"ExtractTraceWatermarkTask"` // The information of a moderation task. This parameter is valid only if `TaskType` is `ReviewAudioVideo`. // Note: This field may return null, indicating that no valid values can be obtained. ReviewAudioVideoTask *ReviewAudioVideoTask `json:"ReviewAudioVideoTask,omitempty" name:"ReviewAudioVideoTask"` // This parameter is invalid now. // Note: This field may return null, indicating that no valid values can be obtained. ReduceMediaBitrateTask *ReduceMediaBitrateTask `json:"ReduceMediaBitrateTask,omitempty" name:"ReduceMediaBitrateTask"` // The information of a task to get file attributes. This parameter is valid only if `TaskType` is `DescribeFileAttributes`. // Note: This field may return null, indicating that no valid values can be obtained. DescribeFileAttributesTask *DescribeFileAttributesTask `json:"DescribeFileAttributesTask,omitempty" name:"DescribeFileAttributesTask"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Filter: Task status. Valid values: WAITING (waiting), PROCESSING (processing), FINISH (completed). Status *string `json:"Status,omitempty" name:"Status"` // Filter: file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Filter: task creation time. CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"` // Filter: task end time. FinishTime *TimeRange `json:"FinishTime,omitempty" name:"FinishTime"` // Sort field. Valid values: // <li>`CreateTime`: task creation time</li> // <li>`FinishTime`: task end time</li> Sort *SortBy `json:"Sort,omitempty" name:"Sort"` // Number of entries to be returned. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶
type DescribeTasksRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Filter: Task status. Valid values: WAITING (waiting), PROCESSING (processing), FINISH (completed). Status *string `json:"Status,omitempty" name:"Status"` // Filter: file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Filter: task creation time. CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"` // Filter: task end time. FinishTime *TimeRange `json:"FinishTime,omitempty" name:"FinishTime"` // Sort field. Valid values: // <li>`CreateTime`: task creation time</li> // <li>`FinishTime`: task end time</li> Sort *SortBy `json:"Sort,omitempty" name:"Sort"` // Number of entries to be returned. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` }
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶
type DescribeTasksResponseParams struct { // Task overview list. TaskSet []*TaskSimpleInfo `json:"TaskSet,omitempty" name:"TaskSet"` // Scrolling identifier. If a request does not return all the data entries, this field indicates the ID of the next entry. If this field is empty, there is no more data. ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTranscodeTemplatesRequest ¶
type DescribeTranscodeTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of transcoding templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Container filter. Valid values: // <li>Video: video container that can contain both video stream and audio stream;</li> // <li>PureAudio: audio container that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"` // TESHD filter, which is used to filter common transcoding or ultra-fast HD transcoding templates. Valid values: // <li>Common: Common transcoding template;</li> // <li>TEHD: TESHD template.</li> TEHDType *string `json:"TEHDType,omitempty" name:"TEHDType"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTranscodeTemplatesRequest ¶
func NewDescribeTranscodeTemplatesRequest() (request *DescribeTranscodeTemplatesRequest)
func (*DescribeTranscodeTemplatesRequest) FromJsonString ¶
func (r *DescribeTranscodeTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTemplatesRequest) ToJsonString ¶
func (r *DescribeTranscodeTemplatesRequest) ToJsonString() string
type DescribeTranscodeTemplatesRequestParams ¶
type DescribeTranscodeTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Unique ID filter of transcoding templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Container filter. Valid values: // <li>Video: video container that can contain both video stream and audio stream;</li> // <li>PureAudio: audio container that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"` // TESHD filter, which is used to filter common transcoding or ultra-fast HD transcoding templates. Valid values: // <li>Common: Common transcoding template;</li> // <li>TEHD: TESHD template.</li> TEHDType *string `json:"TEHDType,omitempty" name:"TEHDType"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeTranscodeTemplatesResponse ¶
type DescribeTranscodeTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeTranscodeTemplatesResponseParams `json:"Response"` }
func NewDescribeTranscodeTemplatesResponse ¶
func NewDescribeTranscodeTemplatesResponse() (response *DescribeTranscodeTemplatesResponse)
func (*DescribeTranscodeTemplatesResponse) FromJsonString ¶
func (r *DescribeTranscodeTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTemplatesResponse) ToJsonString ¶
func (r *DescribeTranscodeTemplatesResponse) ToJsonString() string
type DescribeTranscodeTemplatesResponseParams ¶
type DescribeTranscodeTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of transcoding template details. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeTemplateSet []*TranscodeTemplate `json:"TranscodeTemplateSet,omitempty" name:"TranscodeTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVodDomainsRequest ¶
type DescribeVodDomainsRequest struct { *tchttp.BaseRequest // List of domain names. If this parameter is left empty, all domain names will be listed. // <li>Maximum number of domain names listed: 20</li> Domains []*string `json:"Domains,omitempty" name:"Domains"` // Maximum results to return for pulling paginated queries. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number offset from the beginning of paginated queries. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewDescribeVodDomainsRequest ¶
func NewDescribeVodDomainsRequest() (request *DescribeVodDomainsRequest)
func (*DescribeVodDomainsRequest) FromJsonString ¶
func (r *DescribeVodDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVodDomainsRequest) ToJsonString ¶
func (r *DescribeVodDomainsRequest) ToJsonString() string
type DescribeVodDomainsRequestParams ¶
type DescribeVodDomainsRequestParams struct { // List of domain names. If this parameter is left empty, all domain names will be listed. // <li>Maximum number of domain names listed: 20</li> Domains []*string `json:"Domains,omitempty" name:"Domains"` // Maximum results to return for pulling paginated queries. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number offset from the beginning of paginated queries. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type DescribeVodDomainsResponse ¶
type DescribeVodDomainsResponse struct { *tchttp.BaseResponse Response *DescribeVodDomainsResponseParams `json:"Response"` }
func NewDescribeVodDomainsResponse ¶
func NewDescribeVodDomainsResponse() (response *DescribeVodDomainsResponse)
func (*DescribeVodDomainsResponse) FromJsonString ¶
func (r *DescribeVodDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVodDomainsResponse) ToJsonString ¶
func (r *DescribeVodDomainsResponse) ToJsonString() string
type DescribeVodDomainsResponseParams ¶
type DescribeVodDomainsResponseParams struct { // Total number of domain names TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Domain name information list DomainSet []*DomainDetailInfo `json:"DomainSet,omitempty" name:"DomainSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWatermarkTemplatesRequest ¶
type DescribeWatermarkTemplatesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermark type filter. Valid values: // <li>image: image watermark;</li> // <li>text: text watermark.</li> Type *string `json:"Type,omitempty" name:"Type"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Unique ID filter of watermarking templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeWatermarkTemplatesRequest ¶
func NewDescribeWatermarkTemplatesRequest() (request *DescribeWatermarkTemplatesRequest)
func (*DescribeWatermarkTemplatesRequest) FromJsonString ¶
func (r *DescribeWatermarkTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWatermarkTemplatesRequest) ToJsonString ¶
func (r *DescribeWatermarkTemplatesRequest) ToJsonString() string
type DescribeWatermarkTemplatesRequestParams ¶
type DescribeWatermarkTemplatesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermark type filter. Valid values: // <li>image: image watermark;</li> // <li>text: text watermark.</li> Type *string `json:"Type,omitempty" name:"Type"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Unique ID filter of watermarking templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeWatermarkTemplatesResponse ¶
type DescribeWatermarkTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeWatermarkTemplatesResponseParams `json:"Response"` }
func NewDescribeWatermarkTemplatesResponse ¶
func NewDescribeWatermarkTemplatesResponse() (response *DescribeWatermarkTemplatesResponse)
func (*DescribeWatermarkTemplatesResponse) FromJsonString ¶
func (r *DescribeWatermarkTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWatermarkTemplatesResponse) ToJsonString ¶
func (r *DescribeWatermarkTemplatesResponse) ToJsonString() string
type DescribeWatermarkTemplatesResponseParams ¶
type DescribeWatermarkTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of watermarking template details. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkTemplateSet []*WatermarkTemplate `json:"WatermarkTemplateSet,omitempty" name:"WatermarkTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWordSamplesRequest ¶
type DescribeWordSamplesRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // You can select multiple elements, which are connected by OR logic. If a use case contains any element in this parameter, the keyword sample will be used. Usages []*string `json:"Usages,omitempty" name:"Usages"` // Keyword filter. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitempty" name:"Keywords"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitempty" name:"Tags"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeWordSamplesRequest ¶
func NewDescribeWordSamplesRequest() (request *DescribeWordSamplesRequest)
func (*DescribeWordSamplesRequest) FromJsonString ¶
func (r *DescribeWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWordSamplesRequest) ToJsonString ¶
func (r *DescribeWordSamplesRequest) ToJsonString() string
type DescribeWordSamplesRequestParams ¶
type DescribeWordSamplesRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // You can select multiple elements, which are connected by OR logic. If a use case contains any element in this parameter, the keyword sample will be used. Usages []*string `json:"Usages,omitempty" name:"Usages"` // Keyword filter. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitempty" name:"Keywords"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitempty" name:"Tags"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries to be returned. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeWordSamplesResponse ¶
type DescribeWordSamplesResponse struct { *tchttp.BaseResponse Response *DescribeWordSamplesResponseParams `json:"Response"` }
func NewDescribeWordSamplesResponse ¶
func NewDescribeWordSamplesResponse() (response *DescribeWordSamplesResponse)
func (*DescribeWordSamplesResponse) FromJsonString ¶
func (r *DescribeWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWordSamplesResponse) ToJsonString ¶
func (r *DescribeWordSamplesResponse) ToJsonString() string
type DescribeWordSamplesResponseParams ¶
type DescribeWordSamplesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Keyword information. WordSet []*AiSampleWord `json:"WordSet,omitempty" name:"WordSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DomainDetailInfo ¶
type DomainDetailInfo struct { // Domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // Acceleration region information // Note: this field may return `null`, indicating that no valid value is obtained. AccelerateAreaInfos []*AccelerateAreaInfo `json:"AccelerateAreaInfos,omitempty" name:"AccelerateAreaInfos"` // Deployment status. Valid values: // <li>Online</li> // <li>Deploying</li> // <li>Locked: you cannot change the deployment status of locked domain names</li> DeployStatus *string `json:"DeployStatus,omitempty" name:"DeployStatus"` // HTTPS configuration information // Note: this field may return `null`, indicating that no valid value is obtained. HTTPSConfig *DomainHTTPSConfig `json:"HTTPSConfig,omitempty" name:"HTTPSConfig"` // [Key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986) configuration // Note: this field may return `null`, indicating that no valid value is obtained. UrlSignatureAuthPolicy *UrlSignatureAuthPolicy `json:"UrlSignatureAuthPolicy,omitempty" name:"UrlSignatureAuthPolicy"` // [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/33985) configuration // Note: this field may return `null`, indicating that no valid value is obtained. RefererAuthPolicy *RefererAuthPolicy `json:"RefererAuthPolicy,omitempty" name:"RefererAuthPolicy"` // The time when the domain name was added in the VOD system // <li>The time is in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732).</li> CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type DomainHTTPSConfig ¶
type DomainHTTPSConfig struct { // Time when the certificate expires // <li>The time is in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732).</li> CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"` }
type DrmStreamingsInfo ¶
type DrmStreamingsInfo struct { // ID of the adaptive bitrate streaming template whose protection type is SimpleAES. SimpleAesDefinition *uint64 `json:"SimpleAesDefinition,omitempty" name:"SimpleAesDefinition"` // The ID of the adaptive bitrate streaming template that encrypts the streams by Widewine. WidevineDefinition *uint64 `json:"WidevineDefinition,omitempty" name:"WidevineDefinition"` // The ID of the adaptive bitrate streaming template that encrypts the streams by FairPlay. FairPlayDefinition *uint64 `json:"FairPlayDefinition,omitempty" name:"FairPlayDefinition"` }
type DrmStreamingsInfoForUpdate ¶
type DrmStreamingsInfoForUpdate struct { // ID of the adaptive bitrate streaming template whose protection type is SimpleAES. SimpleAesDefinition *uint64 `json:"SimpleAesDefinition,omitempty" name:"SimpleAesDefinition"` // The ID of the adaptive bitrate streaming template that encrypts the streams by Widewine. WidevineDefinition *uint64 `json:"WidevineDefinition,omitempty" name:"WidevineDefinition"` // The ID of the adaptive bitrate streaming template that encrypts the streams by FairPlay. FairPlayDefinition *uint64 `json:"FairPlayDefinition,omitempty" name:"FairPlayDefinition"` }
type EditMediaFileInfo ¶
type EditMediaFileInfo struct { // Video ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Start time offset of video clipping in seconds. // Note: this field may return null, indicating that no valid values can be obtained. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of video clipping in seconds. // Note: this field may return null, indicating that no valid values can be obtained. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type EditMediaStreamInfo ¶
type EditMediaStreamInfo struct { // ID of recorded stream StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). // Note: this field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). // Note: this field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type EditMediaTask ¶
type EditMediaTask struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> // Note: this field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Error code. 0: success; other values: failure. // <li>40000: invalid input parameter. Please check it;</li> // <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li> // <li>70000: internal service error. Please try again.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Progress of a video editing task. Value range: [0, 100] Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Input of video editing task. // Note: this field may return null, indicating that no valid values can be obtained. Input *EditMediaTaskInput `json:"Input,omitempty" name:"Input"` // Output of video editing task. // Note: this field may return null, indicating that no valid values can be obtained. Output *EditMediaTaskOutput `json:"Output,omitempty" name:"Output"` // The metadata of the output video. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // If a video processing flow is specified when a video editing task is initiated, this field will be the ID of the task flow. // Note: this field may return null, indicating that no valid values can be obtained. ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed. // Note: this field may return null, indicating that no valid values can be obtained. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. // Note: this field may return null, indicating that no valid values can be obtained. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type EditMediaTaskInput ¶
type EditMediaTaskInput struct { // Input video source type. Valid values: File, Stream. InputType *string `json:"InputType,omitempty" name:"InputType"` // Information of input video file. This field has a value only when `InputType` is `File`. // Note: this field may return null, indicating that no valid values can be obtained. FileInfoSet []*EditMediaFileInfo `json:"FileInfoSet,omitempty" name:"FileInfoSet"` // Input stream information. This field has a value only when `InputType` is `Stream`. // Note: this field may return null, indicating that no valid values can be obtained. StreamInfoSet []*EditMediaStreamInfo `json:"StreamInfoSet,omitempty" name:"StreamInfoSet"` }
type EditMediaTaskOutput ¶
type EditMediaTaskOutput struct { // File type, such as mp4 and flv. // Note: this field may return null, indicating that no valid values can be obtained. FileType *string `json:"FileType,omitempty" name:"FileType"` // Media file playback address. // Note: this field may return null, indicating that no valid values can be obtained. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // Media file ID. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Output filename of up to 64 characters, which is generated by the system by default. // Note: this field may return null, indicating that no valid values can be obtained. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. // <li>Default value: 0, which means "Other".</li> // Note: this field may return null, indicating that no valid values can be obtained. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). // Note: this field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
type EmptyTrackItem ¶
type EmptyTrackItem struct { // Duration in seconds. Duration *float64 `json:"Duration,omitempty" name:"Duration"` }
type EventContent ¶
type EventContent struct { // Event handler. The caller must call `ConfirmEvents` to confirm that the message has been received, and the confirmation is valid for 30 seconds. After the confirmation expires, the event can be obtained again. EventHandle *string `json:"EventHandle,omitempty" name:"EventHandle"` // <b>Supported event types:</b> // <li>`NewFileUpload`: Video uploaded.</li> // <li>`ProcedureStateChanged`: Task flow status changed.</li> // <li>`FileDeleted`: Video deleted.</li> // <li>`PullComplete`: Finished video pulling.</li> // <li>`EditMediaComplete`: Finished video editing.</li> // <li>`SplitMediaComplete`: Finished video splitting.</li> // <li>`WechatPublishComplete`: Published to WeChat.</li> // <li>`ComposeMediaComplete`: Finished producing the media file.</li> // <li>`WechatMiniProgramPublishComplete`: Finished publishing on WeChat Mini Program.</li> // <li>`FastClipMediaComplete`: Finished quick clipping.</li> // <li>`ReviewAudioVideoComplete`: Finished moderation.</li> // <li>`ExtractTraceWatermarkComplete`: Finished digital watermark extraction.</li> // <li>`DescribeFileAttributesComplete`: Finished getting file attributes.</li> // <b>v2017 task types:</b> // <li>`TranscodeComplete`: Finished video transcoding.</li> // <li>`ConcatComplete`: Finished video splicing.</li> // <li>`ClipComplete`: Finished video clipping.</li> // <li>`CreateImageSpriteComplete`: Finished image sprite generation.</li> // <li>`CreateSnapshotByTimeOffsetComplete`: Finished time point screencapturing.</li> EventType *string `json:"EventType,omitempty" name:"EventType"` // Video upload completion event, which is valid if the event type is `NewFileUpload`. // Note: this field may return null, indicating that no valid values can be obtained. FileUploadEvent *FileUploadTask `json:"FileUploadEvent,omitempty" name:"FileUploadEvent"` // Task flow status change event, which is valid if the event type is `ProcedureStateChanged`. // Note: this field may return null, indicating that no valid values can be obtained. ProcedureStateChangeEvent *ProcedureTask `json:"ProcedureStateChangeEvent,omitempty" name:"ProcedureStateChangeEvent"` // File deletion event, which is valid if the event type is `FileDeleted`. // Note: this field may return null, indicating that no valid values can be obtained. FileDeleteEvent *FileDeleteTask `json:"FileDeleteEvent,omitempty" name:"FileDeleteEvent"` // Video pull for upload completion event, which is valid if the event type is `PullComplete`. // Note: this field may return null, indicating that no valid values can be obtained. PullCompleteEvent *PullUploadTask `json:"PullCompleteEvent,omitempty" name:"PullCompleteEvent"` // Video editing completion event, which is valid if the event type is `EditMediaComplete`. // Note: this field may return null, indicating that no valid values can be obtained. EditMediaCompleteEvent *EditMediaTask `json:"EditMediaCompleteEvent,omitempty" name:"EditMediaCompleteEvent"` // Video splitting completion event, which is valid if the event type is `EditMediaComplete`. // Note: this field may return `null`, indicating that no valid values can be obtained. SplitMediaCompleteEvent *SplitMediaTask `json:"SplitMediaCompleteEvent,omitempty" name:"SplitMediaCompleteEvent"` // Media file composing task completion event, which is valid when the event type is `ComposeMediaComplete`. // Note: this field may return null, indicating that no valid values can be obtained. ComposeMediaCompleteEvent *ComposeMediaTask `json:"ComposeMediaCompleteEvent,omitempty" name:"ComposeMediaCompleteEvent"` // Video clipping completion event, which is valid if the event type is `ClipComplete`. // Note: this field may return null, indicating that no valid values can be obtained. ClipCompleteEvent *ClipTask2017 `json:"ClipCompleteEvent,omitempty" name:"ClipCompleteEvent"` // Video transcoding completion event, which is valid if the event type is `TranscodeComplete`. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeCompleteEvent *TranscodeTask2017 `json:"TranscodeCompleteEvent,omitempty" name:"TranscodeCompleteEvent"` // Image sprite generating completion event, which is valid if the event type is `CreateImageSpriteComplete`. // Note: this field may return null, indicating that no valid values can be obtained. CreateImageSpriteCompleteEvent *CreateImageSpriteTask2017 `json:"CreateImageSpriteCompleteEvent,omitempty" name:"CreateImageSpriteCompleteEvent"` // Video splicing completion event, which is valid if the event type is `ConcatComplete`. // Note: this field may return null, indicating that no valid values can be obtained. ConcatCompleteEvent *ConcatTask2017 `json:"ConcatCompleteEvent,omitempty" name:"ConcatCompleteEvent"` // Time point screencapturing completion event, which is valid when the event type is `CreateSnapshotByTimeOffsetComplete`. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetCompleteEvent *SnapshotByTimeOffsetTask2017 `json:"SnapshotByTimeOffsetCompleteEvent,omitempty" name:"SnapshotByTimeOffsetCompleteEvent"` // Release on WeChat completion event, which is valid if the event type is `WechatPublishComplete`. // Note: this field may return null, indicating that no valid values can be obtained. WechatPublishCompleteEvent *WechatPublishTask `json:"WechatPublishCompleteEvent,omitempty" name:"WechatPublishCompleteEvent"` // Release on WeChat Mini Program task completion event, which is valid if the event type is `WechatMiniProgramPublishComplete`. // Note: this field may return null, indicating that no valid values can be obtained. WechatMiniProgramPublishCompleteEvent *WechatMiniProgramPublishTask `json:"WechatMiniProgramPublishCompleteEvent,omitempty" name:"WechatMiniProgramPublishCompleteEvent"` // Watermark removal completion event. This parameter is valid only if `TaskType` is `RemoveWatermark`. // Note: this field may return `null`, indicating that no valid values can be obtained. RemoveWatermarkCompleteEvent *RemoveWatermarkTask `json:"RemoveWatermarkCompleteEvent,omitempty" name:"RemoveWatermarkCompleteEvent"` // Callback for video retrieval. This parameter is valid when the event type is `RestoreMediaComplete`. // Note: this field may return `null`, indicating that no valid values can be obtained. RestoreMediaCompleteEvent *RestoreMediaTask `json:"RestoreMediaCompleteEvent,omitempty" name:"RestoreMediaCompleteEvent"` // The callback for the completion of digital watermark extraction. This parameter is valid only if `EventType` is `ExtractTraceWatermarkComplete`. // Note: This field may return null, indicating that no valid values can be obtained. ExtractTraceWatermarkCompleteEvent *ExtractTraceWatermarkTask `json:"ExtractTraceWatermarkCompleteEvent,omitempty" name:"ExtractTraceWatermarkCompleteEvent"` // The callback for the completion of the moderation task. This parameter is valid only if `EventType` is `ReviewAudioVideoComplete`. // Note: This field may return null, indicating that no valid values can be obtained. ReviewAudioVideoCompleteEvent *ReviewAudioVideoTask `json:"ReviewAudioVideoCompleteEvent,omitempty" name:"ReviewAudioVideoCompleteEvent"` // This parameter is invalid now. // Note: This field may return null, indicating that no valid values can be obtained. ReduceMediaBitrateCompleteEvent *ReduceMediaBitrateTask `json:"ReduceMediaBitrateCompleteEvent,omitempty" name:"ReduceMediaBitrateCompleteEvent"` // The event of finishing getting file attributes. This parameter is valid only if `EventType` is `DescribeFileAttributesComplete`. // Note: This field may return null, indicating that no valid values can be obtained. DescribeFileAttributesCompleteEvent *DescribeFileAttributesTask `json:"DescribeFileAttributesCompleteEvent,omitempty" name:"DescribeFileAttributesCompleteEvent"` }
type ExecuteFunctionRequest ¶
type ExecuteFunctionRequest struct { *tchttp.BaseRequest // Name of called backend API. FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"` // API parameter. For specific parameter format, negotiate with the backend before calling. FunctionArg *string `json:"FunctionArg,omitempty" name:"FunctionArg"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewExecuteFunctionRequest ¶
func NewExecuteFunctionRequest() (request *ExecuteFunctionRequest)
func (*ExecuteFunctionRequest) FromJsonString ¶
func (r *ExecuteFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteFunctionRequest) ToJsonString ¶
func (r *ExecuteFunctionRequest) ToJsonString() string
type ExecuteFunctionRequestParams ¶
type ExecuteFunctionRequestParams struct { // Name of called backend API. FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"` // API parameter. For specific parameter format, negotiate with the backend before calling. FunctionArg *string `json:"FunctionArg,omitempty" name:"FunctionArg"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ExecuteFunctionResponse ¶
type ExecuteFunctionResponse struct { *tchttp.BaseResponse Response *ExecuteFunctionResponseParams `json:"Response"` }
func NewExecuteFunctionResponse ¶
func NewExecuteFunctionResponse() (response *ExecuteFunctionResponse)
func (*ExecuteFunctionResponse) FromJsonString ¶
func (r *ExecuteFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteFunctionResponse) ToJsonString ¶
func (r *ExecuteFunctionResponse) ToJsonString() string
type ExecuteFunctionResponseParams ¶
type ExecuteFunctionResponseParams struct { // String generated by packaging processing result. For specifications, negotiate with the backend. // Note: this field may return null, indicating that no valid values can be obtained. Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ExtractTraceWatermarkRequest ¶
type ExtractTraceWatermarkRequest struct { *tchttp.BaseRequest // The URL of the media on which digital watermark extraction is to be performed. Url *string `json:"Url,omitempty" name:"Url"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The source context, which is used to pass through user request information. The `ExtractTraceWatermarkComplete` callback and the `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The task priority, which can be a value from -10 to 10. The higher the value, the higher the priority. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewExtractTraceWatermarkRequest ¶
func NewExtractTraceWatermarkRequest() (request *ExtractTraceWatermarkRequest)
func (*ExtractTraceWatermarkRequest) FromJsonString ¶
func (r *ExtractTraceWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExtractTraceWatermarkRequest) ToJsonString ¶
func (r *ExtractTraceWatermarkRequest) ToJsonString() string
type ExtractTraceWatermarkRequestParams ¶
type ExtractTraceWatermarkRequestParams struct { // The URL of the media on which digital watermark extraction is to be performed. Url *string `json:"Url,omitempty" name:"Url"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The source context, which is used to pass through user request information. The `ExtractTraceWatermarkComplete` callback and the `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The task priority, which can be a value from -10 to 10. The higher the value, the higher the priority. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ExtractTraceWatermarkResponse ¶
type ExtractTraceWatermarkResponse struct { *tchttp.BaseResponse Response *ExtractTraceWatermarkResponseParams `json:"Response"` }
func NewExtractTraceWatermarkResponse ¶
func NewExtractTraceWatermarkResponse() (response *ExtractTraceWatermarkResponse)
func (*ExtractTraceWatermarkResponse) FromJsonString ¶
func (r *ExtractTraceWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExtractTraceWatermarkResponse) ToJsonString ¶
func (r *ExtractTraceWatermarkResponse) ToJsonString() string
type ExtractTraceWatermarkResponseParams ¶
type ExtractTraceWatermarkResponseParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ExtractTraceWatermarkTask ¶
type ExtractTraceWatermarkTask struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The task status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitempty" name:"Status"` // The error code. `0` indicates the task is successful. Other values indicate that the task failed. // <li>40000: Invalid input parameter.</li> // <li>60000: Source file error (e.g., video data is corrupted).</li> // <li>70000: Internal server error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // The information of a digital watermark extraction task. Input *ExtractTraceWatermarkTaskInput `json:"Input,omitempty" name:"Input"` // The output of a digital watermark extraction task. Output *ExtractTraceWatermarkTaskOutput `json:"Output,omitempty" name:"Output"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type ExtractTraceWatermarkTaskInput ¶
type ExtractTraceWatermarkTaskInput struct { // The URL of the media on which digital watermark extraction is to be performed. Url *string `json:"Url,omitempty" name:"Url"` }
type ExtractTraceWatermarkTaskOutput ¶
type ExtractTraceWatermarkTaskOutput struct { // The distributor’s user ID, which is a six-digit hex number. This parameter is relevant when [digital watermarks](https://intl.cloud.tencent.com/document/product/266/75789?from_cn_redirect=1) are used. Uv *string `json:"Uv,omitempty" name:"Uv"` // This parameter has been deprecated. Uid *string `json:"Uid,omitempty" name:"Uid"` }
type FaceConfigureInfo ¶
type FaceConfigureInfo struct { // Switch of face recognition task. Valid values: // <li>ON: enables intelligent face recognition task;</li> // <li>OFF: disables intelligent face recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0–100. Default value: 95. Score *float64 `json:"Score,omitempty" name:"Score"` // Default face filter labels, which specify the types of faces to return. If this parameter is left empty, the recognition results for all labels are returned. Valid values: // <li>`entertainment`: people in the entertainment industry</li> // <li>`sport`: sports celebrities</li> // <li>`politician`: politically sensitive people</li> DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet"` // Custom face labels for filtering. After you specify a label, callbacks of face images without this label will be returned. If this parameter is not specified or left empty, callbacks of all face images will be returned. // You can specify up to 100 labels, with each containing up to 16 characters. UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet"` // Figure library. Valid values: // <li>Default: default figure library;</li> // <li>UserDefine: custom figure library.</li> // <li>All: both default and custom figure libraries will be used.</li> // Default value: All (both default and custom figure libraries will be used.) FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"` }
type FaceConfigureInfoForUpdate ¶
type FaceConfigureInfoForUpdate struct { // Switch of face recognition task. Valid values: // <li>ON: enables intelligent face recognition task;</li> // <li>OFF: disables intelligent face recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0–100. Score *float64 `json:"Score,omitempty" name:"Score"` // Default face filter labels, which specify the types of faces to return. If this parameter is left empty or an empty value is entered, the recognition results for all labels are returned. Valid values: // <li>`entertainment`: people in the entertainment industry</li> // <li>`sport`: sports celebrities</li> // <li>`politician`: politically sensitive people</li> DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet"` // Custom face labels for filtering. After you specify a label, callbacks of face images without this label will be returned. If this parameter is not specified or left empty, callbacks of all face images will be returned. // You can specify up to 100 labels, with each containing up to 16 characters. UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet"` // Figure library. Valid values: // <li>Default: default figure library;</li> // <li>UserDefine: custom figure library.</li> // <li>All: both default and custom figure libraries will be used.</li> FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"` }
type FileDeleteResultItem ¶
type FileDeleteResultItem struct { // The ID of the file deleted. FileId *string `json:"FileId,omitempty" name:"FileId"` // The type of the file deleted. // Note: This field may return `null`, indicating that no valid value can be obtained. DeleteParts []*MediaDeleteItem `json:"DeleteParts,omitempty" name:"DeleteParts"` }
type FileDeleteTask ¶
type FileDeleteTask struct { // List of IDs of deleted files. FileIdSet []*string `json:"FileIdSet,omitempty" name:"FileIdSet"` // The information of the files deleted. FileDeleteResultInfo []*FileDeleteResultItem `json:"FileDeleteResultInfo,omitempty" name:"FileDeleteResultInfo"` }
type FileUploadTask ¶
type FileUploadTask struct { // Unique file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Basic information of media file generated after upload is completed. MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"` // If a video processing flow is specified when a video is uploaded, this field will be the ID of the task flow. // Note: this field may return null, indicating that no valid values can be obtained. ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"` // Metadata, such as size, duration, video stream information, audio stream information, etc. // Note: this field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` }
type ForbidMediaDistributionRequest ¶
type ForbidMediaDistributionRequest struct { *tchttp.BaseRequest // List of media files. Up to 20 ones can be submitted at a time. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // forbid: forbids, recover: unblocks. Operation *string `json:"Operation,omitempty" name:"Operation"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewForbidMediaDistributionRequest ¶
func NewForbidMediaDistributionRequest() (request *ForbidMediaDistributionRequest)
func (*ForbidMediaDistributionRequest) FromJsonString ¶
func (r *ForbidMediaDistributionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidMediaDistributionRequest) ToJsonString ¶
func (r *ForbidMediaDistributionRequest) ToJsonString() string
type ForbidMediaDistributionRequestParams ¶
type ForbidMediaDistributionRequestParams struct { // List of media files. Up to 20 ones can be submitted at a time. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // forbid: forbids, recover: unblocks. Operation *string `json:"Operation,omitempty" name:"Operation"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ForbidMediaDistributionResponse ¶
type ForbidMediaDistributionResponse struct { *tchttp.BaseResponse Response *ForbidMediaDistributionResponseParams `json:"Response"` }
func NewForbidMediaDistributionResponse ¶
func NewForbidMediaDistributionResponse() (response *ForbidMediaDistributionResponse)
func (*ForbidMediaDistributionResponse) FromJsonString ¶
func (r *ForbidMediaDistributionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForbidMediaDistributionResponse) ToJsonString ¶
func (r *ForbidMediaDistributionResponse) ToJsonString() string
type ForbidMediaDistributionResponseParams ¶
type ForbidMediaDistributionResponseParams struct { // List of IDs of files that do not exist. NotExistFileIdSet []*string `json:"NotExistFileIdSet,omitempty" name:"NotExistFileIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type FrameTagConfigureInfo ¶
type FrameTagConfigureInfo struct { // Switch of intelligent frame-specific tagging task. Valid values: // <li>ON: enables intelligent frame-specific tagging task;</li> // <li>OFF: disables intelligent frame-specific tagging task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
type FrameTagConfigureInfoForUpdate ¶
type FrameTagConfigureInfoForUpdate struct { // Switch of intelligent frame-specific tagging task. Valid values: // <li>ON: enables intelligent frame-specific tagging task;</li> // <li>OFF: disables intelligent frame-specific tagging task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Frame capturing interval in seconds. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
type HeadTailConfigureInfo ¶
type HeadTailConfigureInfo struct { // Switch of video opening and ending credits recognition task. Valid values: // <li>ON: enables video opening and ending credits recognition task;</li> // <li>OFF: disables video opening and ending credits recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type HeadTailConfigureInfoForUpdate ¶
type HeadTailConfigureInfoForUpdate struct { // Switch of video opening and ending credits recognition task. Valid values: // <li>ON: enables video opening and ending credits recognition task;</li> // <li>OFF: disables video opening and ending credits recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type HeadTailTaskInput ¶
type HeadTailTaskInput struct { // Video opening/closing credits configuration template ID Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type HighlightSegmentItem ¶
type HighlightSegmentItem struct { // Confidence. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Start time offset of a segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of a segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type HighlightsConfigureInfo ¶
type HighlightsConfigureInfo struct { // Switch of an intelligent highlight generating task. Valid values: // <li>ON: enable an intelligent highlight generating task;</li> // <li>OFF: disable an intelligent highlight generating task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type HighlightsConfigureInfoForUpdate ¶
type HighlightsConfigureInfoForUpdate struct { // Switch of an intelligent highlight generating task. Valid values: // <li>ON: enable an intelligent highlight generating task;</li> // <li>OFF: disable an intelligent highlight generating task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type ImageCenterCut ¶
type ImageCenterCut struct { // The cropping type. Valid values: // <li>Circle: Cropping to circle. `Radius` specifies the radius of the output image.</li> // <li>Rectangle: Cropping to rectangle. `Width` and `Height` specify the width and height of the output image.</li> Type *string `json:"Type,omitempty" name:"Type"` // The width (pixels) of the output image. This parameter is valid if `Type` is `Rectangle`. Width *int64 `json:"Width,omitempty" name:"Width"` // The height (pixels) of the output image. This parameter is valid if `Type` is `Rectangle`. Height *int64 `json:"Height,omitempty" name:"Height"` // The radius of the output image. This parameter is valid if `Type` is `Circle`. Radius *int64 `json:"Radius,omitempty" name:"Radius"` }
type ImageOperation ¶
type ImageOperation struct { // The image processing type. Valid values: // <li>`Scale`: Scaling</li> // <li>`CenterCut`: Cropping</li> Type *string `json:"Type,omitempty" name:"Type"` // The scaling details. This parameter is valid only if `Type` is `Scale`. Scale *ImageScale `json:"Scale,omitempty" name:"Scale"` // The cropping details. This parameter is valid only if `Type` is `CenterCut`. CenterCut *ImageCenterCut `json:"CenterCut,omitempty" name:"CenterCut"` }
type ImageProcessingTemplate ¶
type ImageProcessingTemplate struct { // The template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The template type. Valid values: // <li>Preset</li> // <li>Custom</li> Type *string `json:"Type,omitempty" name:"Type"` // The template name. Name *string `json:"Name,omitempty" name:"Name"` // The template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // An array of image processing operations. The operations will be performed in the specified order. // <li>Length limit: 3.</li> Operations []*ImageOperation `json:"Operations,omitempty" name:"Operations"` // The template creation time in [ISO date format](https://www.tencentcloud.com/document/product/266/11732?lang=en&pg=#iso-date-format). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type ImageReviewUsageDataItem ¶
type ImageReviewUsageDataItem struct { // The start time (in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)) of the data returned. For example, if the granularity is a day, `2018-12-01T00:00:00+08:00` indicates that the data is for the whole day of December 1, 2018. Time *string `json:"Time,omitempty" name:"Time"` // The number of times the image recognition feature is used. Count *int64 `json:"Count,omitempty" name:"Count"` }
type ImageScale ¶
type ImageScale struct { // The scaling type. Valid values: // <li>`WidthFirst`: Specify the width and proportionally scale the height.</li> // <li>`HeightFirst`: Specify the height and proportionally scale the width.</li> // <li>`LongEdgeFirst`: Specify the long side (`LongEdge`) and proportionally scale the short side.</li> // <li>`ShortEdgeFirst`: Specify the short side (`ShortEdge`) and proportionally scale the long side.</li> // <li>Force: Specify both the height and width. The output image may be distorted.</li> Type *string `json:"Type,omitempty" name:"Type"` // The image height (pixels). This parameter is valid only if `Type` is `HeightFirst` or `Force`. Height *uint64 `json:"Height,omitempty" name:"Height"` // The image width (pixels). This parameter is valid only if `Type` is `WidthFirst` or `Force`. Width *uint64 `json:"Width,omitempty" name:"Width"` // The long side of the output image (pixels). This parameter is valid only if `Type` is `LongEdgeFirst`. LongEdge *uint64 `json:"LongEdge,omitempty" name:"LongEdge"` // The short side of the output image (pixels). This parameter is valid only if `Type` is `ShortEdgeFirst`. ShortEdge *uint64 `json:"ShortEdge,omitempty" name:"ShortEdge"` }
type ImageSpriteTaskInput ¶
type ImageSpriteTaskInput struct { // Image sprite generating template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type ImageSpriteTemplate ¶
type ImageSpriteTemplate struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Name of an image sprite generating template. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Sampling type. SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` // Template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // The image format. Format *string `json:"Format,omitempty" name:"Format"` }
type ImageTransform ¶
type ImageTransform struct { // Type. Valid values: // <li> Rotate: image rotation.</li> // <li> Flip: image flipping.</li> Type *string `json:"Type,omitempty" name:"Type"` // Rotation angle of image with its center point as origin. Value range: 0-360. This parameter is valid if `Type` is `Rotate`. RotateAngle *float64 `json:"RotateAngle,omitempty" name:"RotateAngle"` // Image flipping action. Valid values: // <li>Horizental: horizontal flipping, i.e., horizontally mirrored.</li> // <li>Vertical: vertical flipping, i.e., vertically mirrored.</li> // This is valid if `Type` is `Flip`. Flip *string `json:"Flip,omitempty" name:"Flip"` }
type ImageWatermarkInput ¶
type ImageWatermarkInput struct { // The [Base64](https://tools.ietf.org/html/rfc4648) encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported. ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li> // Default value: 10%. Width *string `json:"Width,omitempty" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px. Valid values: 0 or [8,4096].</li> // Default value: 0 px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image. Height *string `json:"Height,omitempty" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"` }
type ImageWatermarkInputForUpdate ¶
type ImageWatermarkInputForUpdate struct { // String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a watermark image. JPEG and PNG images are supported. ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li> Width *string `json:"Width,omitempty" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px. Valid values: 0 or [8,4096].</li> Height *string `json:"Height,omitempty" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"` }
type ImageWatermarkTemplate ¶
type ImageWatermarkTemplate struct { // Watermark image address. ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px.</li> Width *string `json:"Width,omitempty" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px;</li> // `0px` means that `Height` will be proportionally scaled according to the video width. Height *string `json:"Height,omitempty" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"` }
type LicenseUsageDataItem ¶
type LicenseUsageDataItem struct { // The start time (in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)) of the data returned. For example, if the granularity is a day, `2018-12-01T00:00:00+08:00` indicates that the data is for the whole day of December 1, 2018. Time *string `json:"Time,omitempty" name:"Time"` // The number of license requests. Count *int64 `json:"Count,omitempty" name:"Count"` }
type LiveRealTimeClipRequest ¶
type LiveRealTimeClipRequest struct { *tchttp.BaseRequest // The live stream code. StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Whether to clip persistently. 0: no, 1: yes. Default: no. IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"` // Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` means `never expire`. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter will be valid only when `IsPersistence` is 1. By default, the video will never expire. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // VOD task flow processing for video generated by persistent clipping. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). This parameter will be valid only when `IsPersistence` is 1. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // The ID of the media file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID. // <li>The default value is `0`, which means the “Other” category.</li> // This parameter is valid only if `IsPersistence` is `1`. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Whether the metadata of clipped video needs to be returned. 0: no, 1: yes. Default value: no. MetaDataRequired *uint64 `json:"MetaDataRequired,omitempty" name:"MetaDataRequired"` // Domain name used for live clipping. Time shifting must be enabled in LVB. Host *string `json:"Host,omitempty" name:"Host"` // The information of the live stream to clip. // <li>The video clip is cut from the original stream by default.</li> // <li>If `Type` of `StreamInfo` is set to `Transcoding`, the video clip will be cut from the output stream of the transcoding template specified by `TemplateId`.</li> StreamInfo *LiveRealTimeClipStreamInfo `json:"StreamInfo,omitempty" name:"StreamInfo"` // Reserved field. Do not enter a value for it. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewLiveRealTimeClipRequest ¶
func NewLiveRealTimeClipRequest() (request *LiveRealTimeClipRequest)
func (*LiveRealTimeClipRequest) FromJsonString ¶
func (r *LiveRealTimeClipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LiveRealTimeClipRequest) ToJsonString ¶
func (r *LiveRealTimeClipRequest) ToJsonString() string
type LiveRealTimeClipRequestParams ¶
type LiveRealTimeClipRequestParams struct { // The live stream code. StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Whether to clip persistently. 0: no, 1: yes. Default: no. IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"` // Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` means `never expire`. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter will be valid only when `IsPersistence` is 1. By default, the video will never expire. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // VOD task flow processing for video generated by persistent clipping. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). This parameter will be valid only when `IsPersistence` is 1. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // The ID of the media file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID. // <li>The default value is `0`, which means the “Other” category.</li> // This parameter is valid only if `IsPersistence` is `1`. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Whether the metadata of clipped video needs to be returned. 0: no, 1: yes. Default value: no. MetaDataRequired *uint64 `json:"MetaDataRequired,omitempty" name:"MetaDataRequired"` // Domain name used for live clipping. Time shifting must be enabled in LVB. Host *string `json:"Host,omitempty" name:"Host"` // The information of the live stream to clip. // <li>The video clip is cut from the original stream by default.</li> // <li>If `Type` of `StreamInfo` is set to `Transcoding`, the video clip will be cut from the output stream of the transcoding template specified by `TemplateId`.</li> StreamInfo *LiveRealTimeClipStreamInfo `json:"StreamInfo,omitempty" name:"StreamInfo"` // Reserved field. Do not enter a value for it. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type LiveRealTimeClipResponse ¶
type LiveRealTimeClipResponse struct { *tchttp.BaseResponse Response *LiveRealTimeClipResponseParams `json:"Response"` }
func NewLiveRealTimeClipResponse ¶
func NewLiveRealTimeClipResponse() (response *LiveRealTimeClipResponse)
func (*LiveRealTimeClipResponse) FromJsonString ¶
func (r *LiveRealTimeClipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LiveRealTimeClipResponse) ToJsonString ¶
func (r *LiveRealTimeClipResponse) ToJsonString() string
type LiveRealTimeClipResponseParams ¶
type LiveRealTimeClipResponseParams struct { // Playback URL of clipped video. Url *string `json:"Url,omitempty" name:"Url"` // Unique media file ID of video generated by persistent clipping. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Task flow ID of video generated by persistent clipping. // Note: this field may return null, indicating that no valid values can be obtained. VodTaskId *string `json:"VodTaskId,omitempty" name:"VodTaskId"` // Metadata of clipped video. // Note: this field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type LiveRealTimeClipStreamInfo ¶
type LiveRealTimeClipStreamInfo struct { // The type of live stream to clip. Valid values: // <li>Original (<b>default</b>)</li> // <li>Transcoding</li> Type *string `json:"Type,omitempty" name:"Type"` // The transcoding template ID. // <b>This is required if `Type` is `Transcoding`.</b> TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"` }
type ManageTaskRequest ¶
type ManageTaskRequest struct { *tchttp.BaseRequest // Video processing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Operation type. Valid value: // <li>Abort: terminate a task. You can only terminate initiated tasks in `WAITING` status.</li> OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewManageTaskRequest ¶
func NewManageTaskRequest() (request *ManageTaskRequest)
func (*ManageTaskRequest) FromJsonString ¶
func (r *ManageTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManageTaskRequest) ToJsonString ¶
func (r *ManageTaskRequest) ToJsonString() string
type ManageTaskRequestParams ¶
type ManageTaskRequestParams struct { // Video processing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Operation type. Valid value: // <li>Abort: terminate a task. You can only terminate initiated tasks in `WAITING` status.</li> OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ManageTaskResponse ¶
type ManageTaskResponse struct { *tchttp.BaseResponse Response *ManageTaskResponseParams `json:"Response"` }
func NewManageTaskResponse ¶
func NewManageTaskResponse() (response *ManageTaskResponse)
func (*ManageTaskResponse) FromJsonString ¶
func (r *ManageTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManageTaskResponse) ToJsonString ¶
func (r *ManageTaskResponse) ToJsonString() string
type ManageTaskResponseParams ¶
type ManageTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MediaAdaptiveDynamicStreamingInfo ¶
type MediaAdaptiveDynamicStreamingInfo struct { // Information array of adaptive bitrate streaming. // Note: this field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingSet []*AdaptiveDynamicStreamingInfoItem `json:"AdaptiveDynamicStreamingSet,omitempty" name:"AdaptiveDynamicStreamingSet"` }
type MediaAiAnalysisClassificationItem ¶
type MediaAiAnalysisClassificationItem struct { // Name of intelligently generated category. Classification *string `json:"Classification,omitempty" name:"Classification"` // Confidence of intelligently generated category between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` }
type MediaAiAnalysisFrameTagItem ¶
type MediaAiAnalysisFrameTagItem struct { // Frame-specific tag name. Tag *string `json:"Tag,omitempty" name:"Tag"` // Category list of frame-specific tag names. `CategorySet.N` indicates the N+1-level category. // For example, if the `Tag` is "tower", and `CategorySet` contains two elements (`CategorySet.0` is "scene", and `CategorySet.1` is "architecture"), then the frame-specific tag is "tower", the first-level category is "scene", and the second-level category is "architecture". CategorySet []*string `json:"CategorySet,omitempty" name:"CategorySet"` // Confidence of intelligently generated frame-specific tag between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` }
type MediaAiAnalysisFrameTagSegmentItem ¶
type MediaAiAnalysisFrameTagSegmentItem struct { // Start time offset of frame-specific tag. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of frame-specific tag. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // List of tags in time period. TagSet []*MediaAiAnalysisFrameTagItem `json:"TagSet,omitempty" name:"TagSet"` }
type MediaAiAnalysisHighlightItem ¶
type MediaAiAnalysisHighlightItem struct { // Address of an intelligently generated highlight. HighlightUrl *string `json:"HighlightUrl,omitempty" name:"HighlightUrl"` // Address of an intelligently generated highlight cover. CovImgUrl *string `json:"CovImgUrl,omitempty" name:"CovImgUrl"` // Confidence of an intelligently generated highlight between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Duration of an intelligently generated highlight. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // List of intelligently generated highlight subsegments, which together form a highlight. SegmentSet []*HighlightSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` }
type MediaAiAnalysisTagItem ¶
type MediaAnimatedGraphicsInfo ¶
type MediaAnimatedGraphicsInfo struct { // Result information of animated image generating task // Note: this field may return null, indicating that no valid values can be obtained. AnimatedGraphicsSet []*MediaAnimatedGraphicsItem `json:"AnimatedGraphicsSet,omitempty" name:"AnimatedGraphicsSet"` }
type MediaAnimatedGraphicsItem ¶
type MediaAnimatedGraphicsItem struct { // Address of generated animated image. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // Animated image generating template ID. For more information, please see [Animated Image Generating Parameter Template](https://intl.cloud.tencent.com/document/product/266/33481?from_cn_redirect=1#.3Cspan-id-.3D-.22zdt.22.3E.3C.2Fspan.3E.E8.BD.AC.E5.8A.A8.E5.9B.BE.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Animated image format, such as gif. // Note: this field may return null, indicating that no valid values can be obtained. Container *string `json:"Container,omitempty" name:"Container"` // Height of animated image in px. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitempty" name:"Height"` // Width of animated image in px. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitempty" name:"Width"` // Bitrate of animated image in bps. // Note: this field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Size of animated image in bytes. // Note: this field may return null, indicating that no valid values can be obtained. Size *int64 `json:"Size,omitempty" name:"Size"` // MD5 value of an animated image. // Note: this field may return null, indicating that no valid values can be obtained. Md5 *string `json:"Md5,omitempty" name:"Md5"` // Start time offset of animated image in video in seconds. // Note: this field may return null, indicating that no valid values can be obtained. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of animated image in video in seconds. // Note: this field may return null, indicating that no valid values can be obtained. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type MediaAudioStreamItem ¶
type MediaAudioStreamItem struct { // Bitrate of audio stream in bps. // Note: this field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Sample rate of audio stream in Hz. // Note: this field may return null, indicating that no valid values can be obtained. SamplingRate *int64 `json:"SamplingRate,omitempty" name:"SamplingRate"` // Audio stream encoder, such as aac. // Note: this field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitempty" name:"Codec"` }
type MediaBasicInfo ¶
type MediaBasicInfo struct { // Media filename. // Note: this field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Media file description. // Note: this field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Creation time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). // Note: this field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last update time of media file (by an operation that triggers updating of media file information such as modifying video attributes or initiating video processing) in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). // Note: this field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Expiration time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. `9999-12-31T23:59:59Z` means "never expire". // Note: this field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Category ID of media file. // Note: this field may return null, indicating that no valid values can be obtained. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Category name of media file. // Note: this field may return null, indicating that no valid values can be obtained. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` // Category path to media file separated by "-", such as "new first-level category - new second-level category". // Note: this field may return null, indicating that no valid values can be obtained. ClassPath *string `json:"ClassPath,omitempty" name:"ClassPath"` // Cover image address of media file. // Note: this field may return null, indicating that no valid values can be obtained. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // Media file container, such as mp4 and flv. // Note: this field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // URL of source media file. // Note: this field may return null, indicating that no valid values can be obtained. MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"` // Source information of media file. // Note: this field may return null, indicating that no valid values can be obtained. SourceInfo *MediaSourceData `json:"SourceInfo,omitempty" name:"SourceInfo"` // Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Region](https://intl.cloud.tencent.com/document/product/266/9760). StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // Tag information of media file. // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*string `json:"TagSet,omitempty" name:"TagSet"` // Unique ID of an LVB recording file. Vid *string `json:"Vid,omitempty" name:"Vid"` // File type: // <li>Video: video file</li> // <li>Audio: audio file</li> // <li>Image: image file</li> Category *string `json:"Category,omitempty" name:"Category"` // File status. Valid values: Normal, Forbidden. // // *Note: this field is not supported yet. Status *string `json:"Status,omitempty" name:"Status"` // Storage class of a media file: // <li>STANDARD</li> // <li>STANDARD_IA</li> // <li>ARCHIVE</li> // <li>DEEP_ARCHIVE</li> StorageClass *string `json:"StorageClass,omitempty" name:"StorageClass"` }
type MediaClassInfo ¶
type MediaClassInfo struct { // The category ID. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Parent category ID, which is -1 for a first-level category. ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"` // The category name. Name *string `json:"Name,omitempty" name:"Name"` // Category level. 0 for first-level category, up to 3, i.e., up to 4 levels of categories are allowed. Level *uint64 `json:"Level,omitempty" name:"Level"` // The IDs of the immediate subcategories of the current category. SubClassIdSet []*int64 `json:"SubClassIdSet,omitempty" name:"SubClassIdSet"` // The category name. This parameter is not recommended. Please use `Name` instead. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` }
type MediaContentReviewAsrTextSegmentItem ¶
type MediaContentReviewAsrTextSegmentItem struct { // Start time offset of suspected segment in seconds. // Note: this field may return null, indicating that no valid values can be obtained. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of suspected segment in seconds. // Note: this field may return null, indicating that no valid values can be obtained. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of suspected segment. // Note: this field may return null, indicating that no valid values can be obtained. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the detected suspicious content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of suspected keywords. // Note: this field may return null, indicating that no valid values can be obtained. KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet"` }
type MediaContentReviewOcrTextSegmentItem ¶
type MediaContentReviewOcrTextSegmentItem struct { // Start time offset of suspected segment in seconds. // Note: this field may return null, indicating that no valid values can be obtained. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of suspected segment in seconds. // Note: this field may return null, indicating that no valid values can be obtained. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence of suspected segment. // Note: this field may return null, indicating that no valid values can be obtained. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the detected suspicious content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // List of suspected keywords. // Note: this field may return null, indicating that no valid values can be obtained. KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet"` // Zone coordinates (at the pixel level) of suspected text: [x1, y1, x2, y2], i.e., the coordinates of the top-left and bottom-right corners. // Note: this field may return null, indicating that no valid values can be obtained. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitempty" name:"Url"` // Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"` }
type MediaContentReviewPoliticalSegmentItem ¶
type MediaContentReviewPoliticalSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence score for the detected politically sensitive content Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Processing suggestion for the detected politically sensitive content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // Name of the politically sensitive content or banned images Name *string `json:"Name,omitempty" name:"Name"` // Labels for the detected politically sensitive content. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows: // violation_photo: // <li>`violation_photo`: banned images</li> // politician: // <li>`nation_politician`: state leader of China</li> // <li>`province_politician`: provincial officials</li> // <li>`bureau_politician`: bureau-level officials</li> // <li>`county_politician`: county-level officials</li> // <li>`rural_politician`: township-level officials</li> // <li>`sensitive_politician`: politically sensitive people</li> // <li>`foreign_politician`: state leaders of other countries</li> // entertainment: // <li>`sensitive_entertainment`: banned people in the entertainment industry</li> // sport: // <li>`sensitive_sport`: banned sports celebrities</li> // entrepreneur: // <li>`sensitive_entrepreneur`: banned businesspeople</li> // scholar: // <li>sensitive_scholar: banned scholars</li> // celebrity: // <li>sensitive_celebrity: banned celebrities</li> // <li>historical_celebrity: banned historical figures</li> // military: // <li>sensitive_military: banned people in military</li> Label *string `json:"Label,omitempty" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitempty" name:"Url"` // Coordinates (pixel) of the detected politically sensitive content or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` // This field has been disused. Please use `PicUrlExpireTime`. PicUrlExpireTimeStamp *int64 `json:"PicUrlExpireTimeStamp,omitempty" name:"PicUrlExpireTimeStamp"` // Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"` }
type MediaContentReviewSegmentItem ¶
type MediaContentReviewSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Confidence score for the detected pornographic content Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // Label for the detected pornographic content Label *string `json:"Label,omitempty" name:"Label"` // Processing suggestion for the detected pornographic content. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitempty" name:"Url"` // This field has been disused. Please use `PicUrlExpireTime`. PicUrlExpireTimeStamp *int64 `json:"PicUrlExpireTimeStamp,omitempty" name:"PicUrlExpireTimeStamp"` // Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"` }
type MediaDeleteItem ¶
type MediaDeleteItem struct { // The type of files to delete. If this parameter is left empty, it will be invalid. Valid values: // <li>`OriginalFiles`: The original file. After deleting an original file, you can no longer perform operations such as transcoding or WeChat publishing on the file ID.</li> // <li>`TranscodeFiles`: Transcoding outputs</li> // <li>`AdaptiveDynamicStreamingFiles`: Adaptive bitrate outputs</li> // <li>`WechatPublishFiles`: The file for WeChat publishing</li> Type *string `json:"Type,omitempty" name:"Type"` // ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). // Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. Definition *int64 `json:"Definition,omitempty" name:"Definition"` }
type MediaImageSpriteInfo ¶
type MediaImageSpriteInfo struct { // Information set of image sprites with specified specifications. Each element represents a set of image sprites with the same specification. // Note: this field may return null, indicating that no valid values can be obtained. ImageSpriteSet []*MediaImageSpriteItem `json:"ImageSpriteSet,omitempty" name:"ImageSpriteSet"` }
type MediaImageSpriteItem ¶
type MediaImageSpriteItem struct { // Image sprite specification. For more information, please see [Image Sprite Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Subimage height of image sprite. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitempty" name:"Height"` // Subimage width of image sprite. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitempty" name:"Width"` // Total number of subimages in each image sprite. // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Address of each image sprite. // Note: this field may return null, indicating that no valid values can be obtained. ImageUrlSet []*string `json:"ImageUrlSet,omitempty" name:"ImageUrlSet"` // Address of WebVtt file for the position-time relationship among subimages in an image sprite. The WebVtt file indicates the corresponding time points of each subimage and their coordinates in the image sprite, which is typically used by the player for implementing preview. // Note: this field may return null, indicating that no valid values can be obtained. WebVttUrl *string `json:"WebVttUrl,omitempty" name:"WebVttUrl"` }
type MediaInfo ¶
type MediaInfo struct { // Basic information, such as video name, category, playback address, and cover image. // Note: this field may return null, indicating that no valid values can be obtained. BasicInfo *MediaBasicInfo `json:"BasicInfo,omitempty" name:"BasicInfo"` // Metadata, such as size, duration, video stream information, and audio stream information. // Note: this field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // Result information of transcoding, such as address, specification, bitrate, and resolution of the videos in various bitrates generated by transcoding a video. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeInfo *MediaTranscodeInfo `json:"TranscodeInfo,omitempty" name:"TranscodeInfo"` // Result information of animated image generating, i.e., relevant information of an animated image (such as .gif) generated from a video. // Note: this field may return null, indicating that no valid values can be obtained. AnimatedGraphicsInfo *MediaAnimatedGraphicsInfo `json:"AnimatedGraphicsInfo,omitempty" name:"AnimatedGraphicsInfo"` // Sampled screenshot information, i.e., relevant information of a sampled screenshot generated from a video. // Note: this field may return null, indicating that no valid values can be obtained. SampleSnapshotInfo *MediaSampleSnapshotInfo `json:"SampleSnapshotInfo,omitempty" name:"SampleSnapshotInfo"` // Image sprite information, i.e., relevant information of image sprite generated from video. // Note: this field may return null, indicating that no valid values can be obtained. ImageSpriteInfo *MediaImageSpriteInfo `json:"ImageSpriteInfo,omitempty" name:"ImageSpriteInfo"` // Time point screenshot information, i.e., information of each time point screenshot generated from a video. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetInfo *MediaSnapshotByTimeOffsetInfo `json:"SnapshotByTimeOffsetInfo,omitempty" name:"SnapshotByTimeOffsetInfo"` // Timestamp information, i.e., information of each timestamp set for a video. // Note: this field may return null, indicating that no valid values can be obtained. KeyFrameDescInfo *MediaKeyFrameDescInfo `json:"KeyFrameDescInfo,omitempty" name:"KeyFrameDescInfo"` // Adaptive bitrate streaming information, such as specification, encryption type, and container format. // Note: this field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingInfo *MediaAdaptiveDynamicStreamingInfo `json:"AdaptiveDynamicStreamingInfo,omitempty" name:"AdaptiveDynamicStreamingInfo"` // WeChat Mini Program audit information. // Note: this field may return null, indicating that no valid values can be obtained. MiniProgramReviewInfo *MediaMiniProgramReviewInfo `json:"MiniProgramReviewInfo,omitempty" name:"MiniProgramReviewInfo"` // Subtitle information // Note: this field may return `null`, indicating that no valid value is obtained. SubtitleInfo *MediaSubtitleInfo `json:"SubtitleInfo,omitempty" name:"SubtitleInfo"` // Unique ID of media file. FileId *string `json:"FileId,omitempty" name:"FileId"` }
type MediaInputInfo ¶
type MediaKeyFrameDescInfo ¶
type MediaKeyFrameDescInfo struct { // Information array of video timestamps. // Note: this field may return null, indicating that no valid values can be obtained. KeyFrameDescSet []*MediaKeyFrameDescItem `json:"KeyFrameDescSet,omitempty" name:"KeyFrameDescSet"` }
type MediaKeyFrameDescItem ¶
type MediaMetaData ¶
type MediaMetaData struct { // Size of uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). // Note: this field may return null, indicating that no valid values can be obtained. Size *int64 `json:"Size,omitempty" name:"Size"` // Container, such as m4a and mp4. // Note: this field may return null, indicating that no valid values can be obtained. Container *string `json:"Container,omitempty" name:"Container"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. // Note: this field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Maximum value of the height of a video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitempty" name:"Height"` // Maximum value of the width of a video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitempty" name:"Width"` // Video duration in seconds. // Note: this field may return null, indicating that no valid values can be obtained. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // Selected angle during video recording in degrees. // Note: this field may return null, indicating that no valid values can be obtained. Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"` // Video stream information. // Note: this field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet"` // Audio stream information. // Note: this field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet"` // Video duration in seconds. // Note: this field may return null, indicating that no valid values can be obtained. VideoDuration *float64 `json:"VideoDuration,omitempty" name:"VideoDuration"` // Audio duration in seconds. // Note: this field may return null, indicating that no valid values can be obtained. AudioDuration *float64 `json:"AudioDuration,omitempty" name:"AudioDuration"` // The MD5 hash of the file. // <li><font color=red>Note</font>: To get the MD5 hash of a file, call the `DescribeFileAttributes` API. The information will be returned after the task is completed.</li> Md5 *string `json:"Md5,omitempty" name:"Md5"` }
type MediaMiniProgramReviewElem ¶
type MediaMiniProgramReviewElem struct { // Audit type. // <li>Porn: porn image,</li> // <li>Porn.Ocr: porn text,</li> // <li>Porn.Asr: porn speech,</li> // <li>Terrorism: terrorism image,</li> // <li>Political: politically sensitive image,</li> // <li>Political.Ocr: politically sensitive text</li> // <li>Political.Asr: politically sensitive speech</li> Type *string `json:"Type,omitempty" name:"Type"` // Audit suggestion. // <li>pass: normal,</li> // <li>block: violating,</li> // <li>review: suspected of violation.</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // Confidence of audit result between 0 and 100. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` }
type MediaMiniProgramReviewInfo ¶
type MediaMiniProgramReviewInfo struct { // Audit information list. MiniProgramReviewList []*MediaMiniProgramReviewInfoItem `json:"MiniProgramReviewList,omitempty" name:"MiniProgramReviewList"` }
type MediaMiniProgramReviewInfoItem ¶
type MediaMiniProgramReviewInfoItem struct { // Template ID, which is the ID of the transcoding template corresponding to the video published on WeChat Mini Program. 0 represents the source video. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Video metadata. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // Video playback address for WeChat Mini Program audit // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // Status of video release on WeChat Mini Program // <li>Pass: succeeded.</li> // <li>Rejected: rejected.</li> ReviewResult *string `json:"ReviewResult,omitempty" name:"ReviewResult"` // WeChat Mini Program audit element. // Note: this field may return null, indicating that no valid values can be obtained. ReviewSummary []*MediaMiniProgramReviewElem `json:"ReviewSummary,omitempty" name:"ReviewSummary"` }
type MediaOutputInfo ¶
type MediaOutputInfo struct { // Region of the bucket where an output file is stored, such as ap-guangzhou. Region *string `json:"Region,omitempty" name:"Region"` // Bucket of output file. Bucket *string `json:"Bucket,omitempty" name:"Bucket"` // Path to output file, which must end in "/". Dir *string `json:"Dir,omitempty" name:"Dir"` }
type MediaProcessTaskAdaptiveDynamicStreamingResult ¶
type MediaProcessTaskAdaptiveDynamicStreamingResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // The progress of the adaptive bitrate task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Input of adaptive bitrate streaming task. Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitempty" name:"Input"` // Output of adaptive bitrate streaming task. Output *AdaptiveDynamicStreamingInfoItem `json:"Output,omitempty" name:"Output"` }
type MediaProcessTaskAnimatedGraphicResult ¶
type MediaProcessTaskAnimatedGraphicResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of animated image generating task. Input *AnimatedGraphicTaskInput `json:"Input,omitempty" name:"Input"` // Output of animated image generating task. // Note: this field may return null, indicating that no valid values can be obtained. Output *MediaAnimatedGraphicsItem `json:"Output,omitempty" name:"Output"` // The progress of an animated image generation task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type MediaProcessTaskCoverBySnapshotResult ¶
type MediaProcessTaskCoverBySnapshotResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of cover generating task. Input *CoverBySnapshotTaskInput `json:"Input,omitempty" name:"Input"` // Output of cover generating task. Output *CoverBySnapshotTaskOutput `json:"Output,omitempty" name:"Output"` // The progress of a video screenshot (thumbnail) task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type MediaProcessTaskImageSpriteResult ¶
type MediaProcessTaskImageSpriteResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of image sprite generating task. Input *ImageSpriteTaskInput `json:"Input,omitempty" name:"Input"` // Output of image sprite generating task. // Note: this field may return null, indicating that no valid values can be obtained. Output *MediaImageSpriteItem `json:"Output,omitempty" name:"Output"` // The progress of an image sprite generation task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type MediaProcessTaskInput ¶
type MediaProcessTaskInput struct { // List of transcoding tasks. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeTaskSet []*TranscodeTaskInput `json:"TranscodeTaskSet,omitempty" name:"TranscodeTaskSet"` // List of animated image generating tasks. // Note: this field may return null, indicating that no valid values can be obtained. AnimatedGraphicTaskSet []*AnimatedGraphicTaskInput `json:"AnimatedGraphicTaskSet,omitempty" name:"AnimatedGraphicTaskSet"` // List of time point screencapturing tasks. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetTaskSet []*SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTaskSet,omitempty" name:"SnapshotByTimeOffsetTaskSet"` // List of sampled screencapturing tasks. // Note: this field may return null, indicating that no valid values can be obtained. SampleSnapshotTaskSet []*SampleSnapshotTaskInput `json:"SampleSnapshotTaskSet,omitempty" name:"SampleSnapshotTaskSet"` // List of image sprite generating tasks. // Note: this field may return null, indicating that no valid values can be obtained. ImageSpriteTaskSet []*ImageSpriteTaskInput `json:"ImageSpriteTaskSet,omitempty" name:"ImageSpriteTaskSet"` // List of cover generating tasks. // Note: this field may return null, indicating that no valid values can be obtained. CoverBySnapshotTaskSet []*CoverBySnapshotTaskInput `json:"CoverBySnapshotTaskSet,omitempty" name:"CoverBySnapshotTaskSet"` // List of adaptive bitrate streaming tasks. // Note: this field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingTaskSet []*AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTaskSet,omitempty" name:"AdaptiveDynamicStreamingTaskSet"` }
type MediaProcessTaskResult ¶
type MediaProcessTaskResult struct { // Task type. Valid values: // <li>Transcode: transcoding</li> // <li>AnimatedGraphics: animated image generating</li> // <li>SnapshotByTimeOffset: time point screencapturing</li> // <li>SampleSnapshot: sampled screencapturing</li> // <li>ImageSprites: image sprite generating</li> // <li>CoverBySnapshot: Screencapturing for cover image</li> // <li>AdaptiveDynamicStreaming: adaptive bitrate streaming</li> Type *string `json:"Type,omitempty" name:"Type"` // Query result of transcoding task, which is valid when task type is `Transcode`. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeTask *MediaProcessTaskTranscodeResult `json:"TranscodeTask,omitempty" name:"TranscodeTask"` // Query result of animated image generating task, which is valid when task type is `AnimatedGraphics`. // Note: this field may return null, indicating that no valid values can be obtained. AnimatedGraphicTask *MediaProcessTaskAnimatedGraphicResult `json:"AnimatedGraphicTask,omitempty" name:"AnimatedGraphicTask"` // Query result of time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetTask *MediaProcessTaskSnapshotByTimeOffsetResult `json:"SnapshotByTimeOffsetTask,omitempty" name:"SnapshotByTimeOffsetTask"` // Query result of sampled screencapturing task, which is valid when task type is `SampleSnapshot`. // Note: this field may return null, indicating that no valid values can be obtained. SampleSnapshotTask *MediaProcessTaskSampleSnapshotResult `json:"SampleSnapshotTask,omitempty" name:"SampleSnapshotTask"` // Query result of image sprite generating task, which is valid when task type is `ImageSprite`. // Note: this field may return null, indicating that no valid values can be obtained. ImageSpriteTask *MediaProcessTaskImageSpriteResult `json:"ImageSpriteTask,omitempty" name:"ImageSpriteTask"` // Query result of cover generating task, which is valid if task type is `CoverBySnapshot`. // Note: this field may return null, indicating that no valid values can be obtained. CoverBySnapshotTask *MediaProcessTaskCoverBySnapshotResult `json:"CoverBySnapshotTask,omitempty" name:"CoverBySnapshotTask"` // Query result of adaptive bitrate streaming, which is valid if task type is `AdaptiveDynamicStreaming`. // Note: this field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingTask *MediaProcessTaskAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitempty" name:"AdaptiveDynamicStreamingTask"` }
type MediaProcessTaskSampleSnapshotResult ¶
type MediaProcessTaskSampleSnapshotResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of sampled screencapturing task. Input *SampleSnapshotTaskInput `json:"Input,omitempty" name:"Input"` // Output of sampled screencapturing task. // Note: this field may return null, indicating that no valid values can be obtained. Output *MediaSampleSnapshotItem `json:"Output,omitempty" name:"Output"` // The progress of a sampled screenshot task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type MediaProcessTaskSnapshotByTimeOffsetResult ¶
type MediaProcessTaskSnapshotByTimeOffsetResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of time point screencapturing task. Input *SnapshotByTimeOffsetTaskInput `json:"Input,omitempty" name:"Input"` // Output of time point screencapturing task. // Note: this field may return null, indicating that no valid values can be obtained. Output *MediaSnapshotByTimeOffsetItem `json:"Output,omitempty" name:"Output"` // The progress of a time point screenshot task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type MediaProcessTaskTranscodeResult ¶
type MediaProcessTaskTranscodeResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Input of transcoding task. Input *TranscodeTaskInput `json:"Input,omitempty" name:"Input"` // Output of transcoding task. // Note: this field may return null, indicating that no valid values can be obtained. Output *MediaTranscodeItem `json:"Output,omitempty" name:"Output"` // Transcoding progress. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Transcoding task start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"` // Transcoding task end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732) FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` }
type MediaSampleSnapshotInfo ¶
type MediaSampleSnapshotInfo struct { // Information set of sampled screenshots with the specified specifications. Each element represents a set of sampled screenshots with the same specification. // Note: this field may return null, indicating that no valid values can be obtained. SampleSnapshotSet []*MediaSampleSnapshotItem `json:"SampleSnapshotSet,omitempty" name:"SampleSnapshotSet"` }
type MediaSampleSnapshotItem ¶
type MediaSampleSnapshotItem struct { // Sampled screenshot specification ID. For more information, please see [Sampled Screencapturing Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Sample type. Valid values: // <li>Percent: samples at a specified percentage interval.</li> // <li>Time: samples at a specified time interval.</li> // Note: this field may return null, indicating that no valid values can be obtained. SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval // <li>If `SampleType` is `Percent`, this value means taking a screenshot at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, this value means taking a screenshot at an interval of the specified time (in seconds). The first screenshot is always the first video frame.</li> // Note: this field may return null, indicating that no valid values can be obtained. Interval *int64 `json:"Interval,omitempty" name:"Interval"` // List of URLs of generated screenshots. // Note: this field may return null, indicating that no valid values can be obtained. ImageUrlSet []*string `json:"ImageUrlSet,omitempty" name:"ImageUrlSet"` // List of watermarking template IDs if the screenshots are watermarked. // Note: this field may return null, indicating that no valid values can be obtained. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition"` }
type MediaSnapshotByTimeOffsetInfo ¶
type MediaSnapshotByTimeOffsetInfo struct { // Information set of time point screenshots with a specified specification. Currently, there can be only one set of screenshots for each specification. // Note: this field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetSet []*MediaSnapshotByTimeOffsetItem `json:"SnapshotByTimeOffsetSet,omitempty" name:"SnapshotByTimeOffsetSet"` }
type MediaSnapshotByTimeOffsetItem ¶
type MediaSnapshotByTimeOffsetItem struct { // Specification of a time point screenshot. For more information, please see [Parameter Template for Time Point Screencapturing](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Information set of screenshots of the same specification. Each element represents a screenshot. // Note: this field may return null, indicating that no valid values can be obtained. PicInfoSet []*MediaSnapshotByTimePicInfoItem `json:"PicInfoSet,omitempty" name:"PicInfoSet"` }
type MediaSnapshotByTimePicInfoItem ¶
type MediaSnapshotByTimePicInfoItem struct { // Time offset corresponding to the screenshot in the video in <font color=red>milliseconds</font>. // Note: this field may return null, indicating that no valid values can be obtained. TimeOffset *float64 `json:"TimeOffset,omitempty" name:"TimeOffset"` // Screenshot URL. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // List of watermarking template IDs if the screenshots are watermarked. // Note: this field may return null, indicating that no valid values can be obtained. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition"` }
type MediaSourceData ¶
type MediaSourceData struct { // Source of a media file: // <li>`Record`: recording, such as live or time-shift recording</li> // <li>`Upload`: upload, such as pull for upload, upload from server, and UGC upload from client</li> // <li>`VideoProcessing`: video processing, such as video splicing and video clipping</li> // <li>`WebPageRecord`: panoramic recording </li> // <li>`Unknown`: unknown source</li> SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // Field passed through when a file is created. // Note: this field may return null, indicating that no valid values can be obtained. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // The TRTC recording information. // Note: This field may return null, indicating that no valid values can be obtained. TrtcRecordInfo *TrtcRecordInfo `json:"TrtcRecordInfo,omitempty" name:"TrtcRecordInfo"` }
type MediaSubtitleInfo ¶
type MediaSubtitleInfo struct { // Subtitle information list SubtitleSet []*MediaSubtitleItem `json:"SubtitleSet,omitempty" name:"SubtitleSet"` }
type MediaSubtitleInput ¶
type MediaSubtitleInput struct { // Subtitle name. Length limit: 64 characters Name *string `json:"Name,omitempty" name:"Name"` // Subtitle language. Common values: // <li>`cn`: Chinese</li> // <li>`ja`: Japanese</li> // <li>`en-US`: English</li> // For other valid values, see [RFC 5646](https://tools.ietf.org/html/rfc5646). Language *string `json:"Language,omitempty" name:"Language"` // Subtitle format. Valid value: // <li>vtt</li> Format *string `json:"Format,omitempty" name:"Format"` // Subtitle content, which is [Base64-encoded](https://tools.ietf.org/html/rfc4648) strings Content *string `json:"Content,omitempty" name:"Content"` // The subtitle ID. It can be up to 16 characters long, can contain letters, numbers, underscores (_), and hyphens (-), and cannot be identical to an existing subtitle ID. Id *string `json:"Id,omitempty" name:"Id"` }
type MediaSubtitleItem ¶
type MediaSubtitleItem struct { // Unique subtitle ID Id *string `json:"Id,omitempty" name:"Id"` // Subtitle name Name *string `json:"Name,omitempty" name:"Name"` // Subtitle language. Common values: // <li>`cn`: Chinese</li> // <li>`ja`: Japanese</li> // <li>`en-US`: English</li> // For other values, see [RFC 5646](https://tools.ietf.org/html/rfc5646). Language *string `json:"Language,omitempty" name:"Language"` // Subtitle format. Valid value: // <li>vtt</li> Format *string `json:"Format,omitempty" name:"Format"` // Subtitle URL Url *string `json:"Url,omitempty" name:"Url"` }
type MediaTrack ¶
type MediaTrack struct { // Track type. Valid values: // <ul> // <li>Video: video track, which is composed of the following items: <ul><li>VideoTrackItem</li><li>MediaTransitionItem</li> <li>EmptyTrackItem</li></ul> </li> // <li>Audio: audio track, which is composed of the following items: <ul><li>AudioTrackItem</li><li>MediaTransitionItem</li><li>EmptyTrackItem</li></ul></li> // <li>Sticker: sticker track, which is composed of the following items: <ul><li> StickerTrackItem</li><li>EmptyTrackItem</li></ul></li> // </ul> Type *string `json:"Type,omitempty" name:"Type"` // List of media segments on track. // Note: this field may return null, indicating that no valid values can be obtained. TrackItems []*MediaTrackItem `json:"TrackItems,omitempty" name:"TrackItems"` }
type MediaTrackItem ¶
type MediaTrackItem struct { // Segment type. Valid values: // <li>Video: video segment.</li> // <li>Audio: audio segment.</li> // <li>Sticker: sticker segment.</li> // <li>Transition: transition.</li> // <li>Empty: empty segment.</li> Type *string `json:"Type,omitempty" name:"Type"` // Video segment, which is valid if `Type` is `Video`. // Note: this field may return null, indicating that no valid values can be obtained. VideoItem *VideoTrackItem `json:"VideoItem,omitempty" name:"VideoItem"` // Audio segment, which is valid if `Type` is `Audio`. // Note: this field may return null, indicating that no valid values can be obtained. AudioItem *AudioTrackItem `json:"AudioItem,omitempty" name:"AudioItem"` // Sticker segment, which is valid if `Type` is `Sticker`. // Note: this field may return null, indicating that no valid values can be obtained. StickerItem *StickerTrackItem `json:"StickerItem,omitempty" name:"StickerItem"` // Transition, which is valid if `Type` is `Transition`. // Note: this field may return null, indicating that no valid values can be obtained. TransitionItem *MediaTransitionItem `json:"TransitionItem,omitempty" name:"TransitionItem"` // Empty segment, which is valid if `Type` is `Empty`. It is used as placeholder on time axis. <li>If you want a period of silence between two audio segments, you can use `EmptyTrackItem` to hold the place.</li> // <li>Use `EmptyTrackItem` as a placeholder to locate an item.</li> // Note: this field may return null, indicating that no valid values can be obtained. EmptyItem *EmptyTrackItem `json:"EmptyItem,omitempty" name:"EmptyItem"` }
type MediaTranscodeInfo ¶
type MediaTranscodeInfo struct { // Information set of transcoding with each specification. Each element represents a result of transcoding with a specification. // Note: this field may return null, indicating that no valid values can be obtained. TranscodeSet []*MediaTranscodeItem `json:"TranscodeSet,omitempty" name:"TranscodeSet"` }
type MediaTranscodeItem ¶
type MediaTranscodeItem struct { // Address of output video file. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). // Note: this field may return null, indicating that no valid values can be obtained. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. // Note: this field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Maximum value of the height of a video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitempty" name:"Height"` // Maximum value of the width of a video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitempty" name:"Width"` // The file size (bytes). // <li>If the file is an HLS file, the value of this parameter is the sum of the size of the M3U8 and TS files.</li> Size *int64 `json:"Size,omitempty" name:"Size"` // Video duration in seconds. // Note: this field may return null, indicating that no valid values can be obtained. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // MD5 value of video. // Note: this field may return null, indicating that no valid values can be obtained. Md5 *string `json:"Md5,omitempty" name:"Md5"` // Container, such as m4a and mp4. // Note: this field may return null, indicating that no valid values can be obtained. Container *string `json:"Container,omitempty" name:"Container"` // Video stream information. // Note: this field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet"` // Audio stream information. // Note: this field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet"` // The watermark type. Valid values: // <li>Trace: Digital watermark</li> // <li>None: Regular watermark</li> DigitalWatermarkType *string `json:"DigitalWatermarkType,omitempty" name:"DigitalWatermarkType"` }
type MediaTransitionItem ¶
type MediaTransitionItem struct { // Transition duration in seconds. For two media segments that use a transition, the start time of the second segment on the track will be automatically set to the end time of the first segment minus the transition duration. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // List of transition operations. Up to one video image or audio transition operation is supported. // Note: this field may return null, indicating that no valid values can be obtained. Transitions []*TransitionOpertion `json:"Transitions,omitempty" name:"Transitions"` }
type MediaVideoStreamItem ¶
type MediaVideoStreamItem struct { // Bitrate of video stream in bps. // Note: this field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Height of video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitempty" name:"Height"` // Width of video stream in px. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitempty" name:"Width"` // Video stream encoder, such as h264. // Note: this field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitempty" name:"Codec"` // Frame rate in Hz. // Note: this field may return null, indicating that no valid values can be obtained. Fps *int64 `json:"Fps,omitempty" name:"Fps"` // The codec tag. This parameter is valid only if `Codec` is `hevc`. CodecTag *string `json:"CodecTag,omitempty" name:"CodecTag"` }
type ModifyAIAnalysisTemplateRequest ¶
type ModifyAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"` // Control parameter of an intelligent highlight generating task. HighlightConfigure *HighlightsConfigureInfoForUpdate `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"` }
func NewModifyAIAnalysisTemplateRequest ¶
func NewModifyAIAnalysisTemplateRequest() (request *ModifyAIAnalysisTemplateRequest)
func (*ModifyAIAnalysisTemplateRequest) FromJsonString ¶
func (r *ModifyAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIAnalysisTemplateRequest) ToJsonString ¶
func (r *ModifyAIAnalysisTemplateRequest) ToJsonString() string
type ModifyAIAnalysisTemplateRequestParams ¶
type ModifyAIAnalysisTemplateRequestParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"` // Control parameter of an intelligent highlight generating task. HighlightConfigure *HighlightsConfigureInfoForUpdate `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"` }
Predefined struct for user
type ModifyAIAnalysisTemplateResponse ¶
type ModifyAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAIAnalysisTemplateResponseParams `json:"Response"` }
func NewModifyAIAnalysisTemplateResponse ¶
func NewModifyAIAnalysisTemplateResponse() (response *ModifyAIAnalysisTemplateResponse)
func (*ModifyAIAnalysisTemplateResponse) FromJsonString ¶
func (r *ModifyAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIAnalysisTemplateResponse) ToJsonString ¶
func (r *ModifyAIAnalysisTemplateResponse) ToJsonString() string
type ModifyAIAnalysisTemplateResponseParams ¶
type ModifyAIAnalysisTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAIRecognitionTemplateRequest ¶
type ModifyAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content recognition template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of video opening and ending credits recognition. HeadTailConfigure *HeadTailConfigureInfoForUpdate `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"` // Control parameter of video splitting recognition. SegmentConfigure *SegmentConfigureInfoForUpdate `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"` // Control parameter of face recognition. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitempty" name:"FaceConfigure"` // Control parameter of full text recognition. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"` // Control parameter of text keyword recognition. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"` // Control parameter of full speech recognition. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"` // Control parameter of speech keyword recognition. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"` // Control parameter of object recognition. ObjectConfigure *ObjectConfigureInfoForUpdate `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"` // Frame capturing interval in seconds. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
func NewModifyAIRecognitionTemplateRequest ¶
func NewModifyAIRecognitionTemplateRequest() (request *ModifyAIRecognitionTemplateRequest)
func (*ModifyAIRecognitionTemplateRequest) FromJsonString ¶
func (r *ModifyAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIRecognitionTemplateRequest) ToJsonString ¶
func (r *ModifyAIRecognitionTemplateRequest) ToJsonString() string
type ModifyAIRecognitionTemplateRequestParams ¶
type ModifyAIRecognitionTemplateRequestParams struct { // Unique ID of video content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Video content recognition template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter of video opening and ending credits recognition. HeadTailConfigure *HeadTailConfigureInfoForUpdate `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"` // Control parameter of video splitting recognition. SegmentConfigure *SegmentConfigureInfoForUpdate `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"` // Control parameter of face recognition. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitempty" name:"FaceConfigure"` // Control parameter of full text recognition. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"` // Control parameter of text keyword recognition. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"` // Control parameter of full speech recognition. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"` // Control parameter of speech keyword recognition. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"` // Control parameter of object recognition. ObjectConfigure *ObjectConfigureInfoForUpdate `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"` // Frame capturing interval in seconds. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` }
Predefined struct for user
type ModifyAIRecognitionTemplateResponse ¶
type ModifyAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAIRecognitionTemplateResponseParams `json:"Response"` }
func NewModifyAIRecognitionTemplateResponse ¶
func NewModifyAIRecognitionTemplateResponse() (response *ModifyAIRecognitionTemplateResponse)
func (*ModifyAIRecognitionTemplateResponse) FromJsonString ¶
func (r *ModifyAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIRecognitionTemplateResponse) ToJsonString ¶
func (r *ModifyAIRecognitionTemplateResponse) ToJsonString() string
type ModifyAIRecognitionTemplateResponseParams ¶
type ModifyAIRecognitionTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAdaptiveDynamicStreamingTemplateRequest ¶
type ModifyAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // Unique ID of adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The adaptive bitrate streaming format. Valid values: // <li>HLS</li> // <li>MPEG-DASH</li> Format *string `json:"Format,omitempty" name:"Format"` // Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"` // Parameter information of input stream for adaptive bitrate streaming. Up to 10 streams can be input. // Note: the frame rate of all streams must be the same; otherwise, the frame rate of the first stream will be used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The segment type. This parameter is valid only if `Format` is `HLS`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
func NewModifyAdaptiveDynamicStreamingTemplateRequest ¶
func NewModifyAdaptiveDynamicStreamingTemplateRequest() (request *ModifyAdaptiveDynamicStreamingTemplateRequest)
func (*ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type ModifyAdaptiveDynamicStreamingTemplateRequestParams ¶
type ModifyAdaptiveDynamicStreamingTemplateRequestParams struct { // Unique ID of adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // The adaptive bitrate streaming format. Valid values: // <li>HLS</li> // <li>MPEG-DASH</li> Format *string `json:"Format,omitempty" name:"Format"` // Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"` // Parameter information of input stream for adaptive bitrate streaming. Up to 10 streams can be input. // Note: the frame rate of all streams must be the same; otherwise, the frame rate of the first stream will be used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The segment type. This parameter is valid only if `Format` is `HLS`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
Predefined struct for user
type ModifyAdaptiveDynamicStreamingTemplateResponse ¶
type ModifyAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewModifyAdaptiveDynamicStreamingTemplateResponse ¶
func NewModifyAdaptiveDynamicStreamingTemplateResponse() (response *ModifyAdaptiveDynamicStreamingTemplateResponse)
func (*ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type ModifyAdaptiveDynamicStreamingTemplateResponseParams ¶
type ModifyAdaptiveDynamicStreamingTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAnimatedGraphicsTemplateRequest ¶
type ModifyAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitempty" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitempty" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
func NewModifyAnimatedGraphicsTemplateRequest ¶
func NewModifyAnimatedGraphicsTemplateRequest() (request *ModifyAnimatedGraphicsTemplateRequest)
func (*ModifyAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateRequest) ToJsonString() string
type ModifyAnimatedGraphicsTemplateRequestParams ¶
type ModifyAnimatedGraphicsTemplateRequestParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitempty" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitempty" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
Predefined struct for user
type ModifyAnimatedGraphicsTemplateResponse ¶
type ModifyAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewModifyAnimatedGraphicsTemplateResponse ¶
func NewModifyAnimatedGraphicsTemplateResponse() (response *ModifyAnimatedGraphicsTemplateResponse)
func (*ModifyAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateResponse) ToJsonString() string
type ModifyAnimatedGraphicsTemplateResponseParams ¶
type ModifyAnimatedGraphicsTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClassRequest ¶
type ModifyClassRequest struct { *tchttp.BaseRequest // Category ID ClassId *uint64 `json:"ClassId,omitempty" name:"ClassId"` // Category name, which can contain 1–64 characters. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewModifyClassRequest ¶
func NewModifyClassRequest() (request *ModifyClassRequest)
func (*ModifyClassRequest) FromJsonString ¶
func (r *ModifyClassRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClassRequest) ToJsonString ¶
func (r *ModifyClassRequest) ToJsonString() string
type ModifyClassRequestParams ¶
type ModifyClassRequestParams struct { // Category ID ClassId *uint64 `json:"ClassId,omitempty" name:"ClassId"` // Category name, which can contain 1–64 characters. ClassName *string `json:"ClassName,omitempty" name:"ClassName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ModifyClassResponse ¶
type ModifyClassResponse struct { *tchttp.BaseResponse Response *ModifyClassResponseParams `json:"Response"` }
func NewModifyClassResponse ¶
func NewModifyClassResponse() (response *ModifyClassResponse)
func (*ModifyClassResponse) FromJsonString ¶
func (r *ModifyClassResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClassResponse) ToJsonString ¶
func (r *ModifyClassResponse) ToJsonString() string
type ModifyClassResponseParams ¶
type ModifyClassResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyContentReviewTemplateRequest ¶
type ModifyContentReviewTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an intelligent content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an intelligent content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of an intelligent content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter for terrorism information. TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"` // Control parameter for porn information. PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitempty" name:"PornConfigure"` // Control parameter for politically sensitive information. PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"` // Control parameter for custom intelligent content recognition tasks. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"` // Frame capturing interval in seconds. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` // Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition). // <li>ON: yes</li> // <li>OFF: no</li> ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"` }
func NewModifyContentReviewTemplateRequest ¶
func NewModifyContentReviewTemplateRequest() (request *ModifyContentReviewTemplateRequest)
func (*ModifyContentReviewTemplateRequest) FromJsonString ¶
func (r *ModifyContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyContentReviewTemplateRequest) ToJsonString ¶
func (r *ModifyContentReviewTemplateRequest) ToJsonString() string
type ModifyContentReviewTemplateRequestParams ¶
type ModifyContentReviewTemplateRequestParams struct { // Unique ID of an intelligent content recognition template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an intelligent content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description of an intelligent content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Control parameter for terrorism information. TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"` // Control parameter for porn information. PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitempty" name:"PornConfigure"` // Control parameter for politically sensitive information. PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"` // Control parameter for custom intelligent content recognition tasks. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"` // Frame capturing interval in seconds. Minimum value: 0.5 seconds. ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"` // Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition). // <li>ON: yes</li> // <li>OFF: no</li> ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"` }
Predefined struct for user
type ModifyContentReviewTemplateResponse ¶
type ModifyContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *ModifyContentReviewTemplateResponseParams `json:"Response"` }
func NewModifyContentReviewTemplateResponse ¶
func NewModifyContentReviewTemplateResponse() (response *ModifyContentReviewTemplateResponse)
func (*ModifyContentReviewTemplateResponse) FromJsonString ¶
func (r *ModifyContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyContentReviewTemplateResponse) ToJsonString ¶
func (r *ModifyContentReviewTemplateResponse) ToJsonString() string
type ModifyContentReviewTemplateResponseParams ¶
type ModifyContentReviewTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDefaultStorageRegionRequest ¶
type ModifyDefaultStorageRegionRequest struct { *tchttp.BaseRequest // The default storage region, which must be a region you have storage access to. You can use the `DescribeStorageRegions` API to query such regions. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewModifyDefaultStorageRegionRequest ¶
func NewModifyDefaultStorageRegionRequest() (request *ModifyDefaultStorageRegionRequest)
func (*ModifyDefaultStorageRegionRequest) FromJsonString ¶
func (r *ModifyDefaultStorageRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultStorageRegionRequest) ToJsonString ¶
func (r *ModifyDefaultStorageRegionRequest) ToJsonString() string
type ModifyDefaultStorageRegionRequestParams ¶
type ModifyDefaultStorageRegionRequestParams struct { // The default storage region, which must be a region you have storage access to. You can use the `DescribeStorageRegions` API to query such regions. StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ModifyDefaultStorageRegionResponse ¶
type ModifyDefaultStorageRegionResponse struct { *tchttp.BaseResponse Response *ModifyDefaultStorageRegionResponseParams `json:"Response"` }
func NewModifyDefaultStorageRegionResponse ¶
func NewModifyDefaultStorageRegionResponse() (response *ModifyDefaultStorageRegionResponse)
func (*ModifyDefaultStorageRegionResponse) FromJsonString ¶
func (r *ModifyDefaultStorageRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultStorageRegionResponse) ToJsonString ¶
func (r *ModifyDefaultStorageRegionResponse) ToJsonString() string
type ModifyDefaultStorageRegionResponseParams ¶
type ModifyDefaultStorageRegionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyImageSpriteTemplateRequest ¶
type ModifyImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The image format. Valid values: // <li> jpg</li> // <li> png</li> // <li> webp</li> Format *string `json:"Format,omitempty" name:"Format"` }
func NewModifyImageSpriteTemplateRequest ¶
func NewModifyImageSpriteTemplateRequest() (request *ModifyImageSpriteTemplateRequest)
func (*ModifyImageSpriteTemplateRequest) FromJsonString ¶
func (r *ModifyImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageSpriteTemplateRequest) ToJsonString ¶
func (r *ModifyImageSpriteTemplateRequest) ToJsonString() string
type ModifyImageSpriteTemplateRequestParams ¶
type ModifyImageSpriteTemplateRequestParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // The image format. Valid values: // <li> jpg</li> // <li> png</li> // <li> webp</li> Format *string `json:"Format,omitempty" name:"Format"` }
Predefined struct for user
type ModifyImageSpriteTemplateResponse ¶
type ModifyImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *ModifyImageSpriteTemplateResponseParams `json:"Response"` }
func NewModifyImageSpriteTemplateResponse ¶
func NewModifyImageSpriteTemplateResponse() (response *ModifyImageSpriteTemplateResponse)
func (*ModifyImageSpriteTemplateResponse) FromJsonString ¶
func (r *ModifyImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageSpriteTemplateResponse) ToJsonString ¶
func (r *ModifyImageSpriteTemplateResponse) ToJsonString() string
type ModifyImageSpriteTemplateResponseParams ¶
type ModifyImageSpriteTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMediaInfoRequest ¶
type ModifyMediaInfoRequest struct { *tchttp.BaseRequest // Unique media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media filename, which can contain up to 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Media file description, which can contain up to 128 characters. Description *string `json:"Description,omitempty" name:"Description"` // Media file category ID. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The value `9999-12-31T23:59:59Z` indicates that the media file never expires. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file). Only .gif, .jpeg, and .png image formats are supported. CoverData *string `json:"CoverData,omitempty" name:"CoverData"` // Set of video timestamps to be added. If a timestamp already exists at an offset time point, it will be overwritten. Up to 100 timestamps can be added to one media file. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`. AddKeyFrameDescs []*MediaKeyFrameDescItem `json:"AddKeyFrameDescs,omitempty" name:"AddKeyFrameDescs"` // Time offset of the set of video timestamps to be deleted in seconds. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`. DeleteKeyFrameDescs []*float64 `json:"DeleteKeyFrameDescs,omitempty" name:"DeleteKeyFrameDescs"` // The value `1` indicates to delete all timestamps in the video. Other values are meaningless. // In the same request, `ClearKeyFrameDescs` and `AddKeyFrameDescs` cannot be present at the same time. ClearKeyFrameDescs *int64 `json:"ClearKeyFrameDescs,omitempty" name:"ClearKeyFrameDescs"` // The tags to add. Each file can have up to 16 tags. A tag can contain at most 32 characters. You cannot include the same tag in `AddTags` and `DeleteTags` at the same time. AddTags []*string `json:"AddTags,omitempty" name:"AddTags"` // Set of tags to be deleted. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`. DeleteTags []*string `json:"DeleteTags,omitempty" name:"DeleteTags"` // The value `1` indicates to delete all tags of the media file. Other values are meaningless. // In the same request, `ClearTags` and `AddTags` cannot be present at the same time. ClearTags *int64 `json:"ClearTags,omitempty" name:"ClearTags"` // Information of multiple subtitles to be added. A single media file can have up to 16 subtitles. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`. AddSubtitles []*MediaSubtitleInput `json:"AddSubtitles,omitempty" name:"AddSubtitles"` // Unique IDs of the subtitles to be deleted. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`. DeleteSubtitleIds []*string `json:"DeleteSubtitleIds,omitempty" name:"DeleteSubtitleIds"` // The value `1` indicates to delete all subtitle information of the media file. Other values are meaningless. // `ClearSubtitles` and `AddSubtitles` cannot co-exist in the same request. ClearSubtitles *int64 `json:"ClearSubtitles,omitempty" name:"ClearSubtitles"` }
func NewModifyMediaInfoRequest ¶
func NewModifyMediaInfoRequest() (request *ModifyMediaInfoRequest)
func (*ModifyMediaInfoRequest) FromJsonString ¶
func (r *ModifyMediaInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMediaInfoRequest) ToJsonString ¶
func (r *ModifyMediaInfoRequest) ToJsonString() string
type ModifyMediaInfoRequestParams ¶
type ModifyMediaInfoRequestParams struct { // Unique media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media filename, which can contain up to 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Media file description, which can contain up to 128 characters. Description *string `json:"Description,omitempty" name:"Description"` // Media file category ID. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The value `9999-12-31T23:59:59Z` indicates that the media file never expires. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file). Only .gif, .jpeg, and .png image formats are supported. CoverData *string `json:"CoverData,omitempty" name:"CoverData"` // Set of video timestamps to be added. If a timestamp already exists at an offset time point, it will be overwritten. Up to 100 timestamps can be added to one media file. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`. AddKeyFrameDescs []*MediaKeyFrameDescItem `json:"AddKeyFrameDescs,omitempty" name:"AddKeyFrameDescs"` // Time offset of the set of video timestamps to be deleted in seconds. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`. DeleteKeyFrameDescs []*float64 `json:"DeleteKeyFrameDescs,omitempty" name:"DeleteKeyFrameDescs"` // The value `1` indicates to delete all timestamps in the video. Other values are meaningless. // In the same request, `ClearKeyFrameDescs` and `AddKeyFrameDescs` cannot be present at the same time. ClearKeyFrameDescs *int64 `json:"ClearKeyFrameDescs,omitempty" name:"ClearKeyFrameDescs"` // The tags to add. Each file can have up to 16 tags. A tag can contain at most 32 characters. You cannot include the same tag in `AddTags` and `DeleteTags` at the same time. AddTags []*string `json:"AddTags,omitempty" name:"AddTags"` // Set of tags to be deleted. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`. DeleteTags []*string `json:"DeleteTags,omitempty" name:"DeleteTags"` // The value `1` indicates to delete all tags of the media file. Other values are meaningless. // In the same request, `ClearTags` and `AddTags` cannot be present at the same time. ClearTags *int64 `json:"ClearTags,omitempty" name:"ClearTags"` // Information of multiple subtitles to be added. A single media file can have up to 16 subtitles. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`. AddSubtitles []*MediaSubtitleInput `json:"AddSubtitles,omitempty" name:"AddSubtitles"` // Unique IDs of the subtitles to be deleted. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`. DeleteSubtitleIds []*string `json:"DeleteSubtitleIds,omitempty" name:"DeleteSubtitleIds"` // The value `1` indicates to delete all subtitle information of the media file. Other values are meaningless. // `ClearSubtitles` and `AddSubtitles` cannot co-exist in the same request. ClearSubtitles *int64 `json:"ClearSubtitles,omitempty" name:"ClearSubtitles"` }
Predefined struct for user
type ModifyMediaInfoResponse ¶
type ModifyMediaInfoResponse struct { *tchttp.BaseResponse Response *ModifyMediaInfoResponseParams `json:"Response"` }
func NewModifyMediaInfoResponse ¶
func NewModifyMediaInfoResponse() (response *ModifyMediaInfoResponse)
func (*ModifyMediaInfoResponse) FromJsonString ¶
func (r *ModifyMediaInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMediaInfoResponse) ToJsonString ¶
func (r *ModifyMediaInfoResponse) ToJsonString() string
type ModifyMediaInfoResponseParams ¶
type ModifyMediaInfoResponseParams struct { // URL of new video cover. // * Note: this returned value is valid only if the request carries `CoverData`.* CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // Added subtitle information AddedSubtitleSet []*MediaSubtitleItem `json:"AddedSubtitleSet,omitempty" name:"AddedSubtitleSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMediaStorageClassRequest ¶
type ModifyMediaStorageClassRequest struct { *tchttp.BaseRequest // The unique IDs of media files FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // The target storage class. Valid values: // <li>STANDARD</li> // <li>STANDARD_IA</li> // <li>ARCHIVE</li> // <li>DEEP_ARCHIVE</li> StorageClass *string `json:"StorageClass,omitempty" name:"StorageClass"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The retrieval mode. When switching files from DEEP ARCHIVE or ARCHIVE to STANDARD, you need to specify the retrieval mode. For details, see [Data retrieval and retrieval mode](https://intl.cloud.tencent.com/document/product/266/43051#data-retrieval-and-retrieval-mode.3Ca-id.3D.22retake.22.3E.3C.2Fa.3E). // If the current storage class is ARCHIVE, the valid values for this parameter are as follows: // <li>Expedited</li> // <li>Standard</li> // <li>Bulk</li> // If the current storage class is DEEP ARCHIVE, the valid values for this parameter are as follows: // <li>Standard</li> // <li>Bulk</li> RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"` }
func NewModifyMediaStorageClassRequest ¶
func NewModifyMediaStorageClassRequest() (request *ModifyMediaStorageClassRequest)
func (*ModifyMediaStorageClassRequest) FromJsonString ¶
func (r *ModifyMediaStorageClassRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMediaStorageClassRequest) ToJsonString ¶
func (r *ModifyMediaStorageClassRequest) ToJsonString() string
type ModifyMediaStorageClassRequestParams ¶
type ModifyMediaStorageClassRequestParams struct { // The unique IDs of media files FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // The target storage class. Valid values: // <li>STANDARD</li> // <li>STANDARD_IA</li> // <li>ARCHIVE</li> // <li>DEEP_ARCHIVE</li> StorageClass *string `json:"StorageClass,omitempty" name:"StorageClass"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The retrieval mode. When switching files from DEEP ARCHIVE or ARCHIVE to STANDARD, you need to specify the retrieval mode. For details, see [Data retrieval and retrieval mode](https://intl.cloud.tencent.com/document/product/266/43051#data-retrieval-and-retrieval-mode.3Ca-id.3D.22retake.22.3E.3C.2Fa.3E). // If the current storage class is ARCHIVE, the valid values for this parameter are as follows: // <li>Expedited</li> // <li>Standard</li> // <li>Bulk</li> // If the current storage class is DEEP ARCHIVE, the valid values for this parameter are as follows: // <li>Standard</li> // <li>Bulk</li> RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"` }
Predefined struct for user
type ModifyMediaStorageClassResponse ¶
type ModifyMediaStorageClassResponse struct { *tchttp.BaseResponse Response *ModifyMediaStorageClassResponseParams `json:"Response"` }
func NewModifyMediaStorageClassResponse ¶
func NewModifyMediaStorageClassResponse() (response *ModifyMediaStorageClassResponse)
func (*ModifyMediaStorageClassResponse) FromJsonString ¶
func (r *ModifyMediaStorageClassResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMediaStorageClassResponse) ToJsonString ¶
func (r *ModifyMediaStorageClassResponse) ToJsonString() string
type ModifyMediaStorageClassResponseParams ¶
type ModifyMediaStorageClassResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPersonSampleRequest ¶
type ModifyPersonSampleRequest struct { *tchttp.BaseRequest // ID of a sample. PersonId *string `json:"PersonId,omitempty" name:"PersonId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitempty" name:"Description"` // Sample usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Information of operations on facial features. FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitempty" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"` }
func NewModifyPersonSampleRequest ¶
func NewModifyPersonSampleRequest() (request *ModifyPersonSampleRequest)
func (*ModifyPersonSampleRequest) FromJsonString ¶
func (r *ModifyPersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPersonSampleRequest) ToJsonString ¶
func (r *ModifyPersonSampleRequest) ToJsonString() string
type ModifyPersonSampleRequestParams ¶
type ModifyPersonSampleRequestParams struct { // ID of a sample. PersonId *string `json:"PersonId,omitempty" name:"PersonId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitempty" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitempty" name:"Description"` // Sample usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Information of operations on facial features. FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitempty" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"` }
Predefined struct for user
type ModifyPersonSampleResponse ¶
type ModifyPersonSampleResponse struct { *tchttp.BaseResponse Response *ModifyPersonSampleResponseParams `json:"Response"` }
func NewModifyPersonSampleResponse ¶
func NewModifyPersonSampleResponse() (response *ModifyPersonSampleResponse)
func (*ModifyPersonSampleResponse) FromJsonString ¶
func (r *ModifyPersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPersonSampleResponse) ToJsonString ¶
func (r *ModifyPersonSampleResponse) ToJsonString() string
type ModifyPersonSampleResponseParams ¶
type ModifyPersonSampleResponseParams struct { // Information of a sample. Person *AiSamplePerson `json:"Person,omitempty" name:"Person"` // Information of samples that failed the verification by facial feature positioning. // Note: this field may return `null`, indicating that no valid values can be obtained. FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySampleSnapshotTemplateRequest ¶
type ModifySampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Image format. Valid values: jpg, png. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
func NewModifySampleSnapshotTemplateRequest ¶
func NewModifySampleSnapshotTemplateRequest() (request *ModifySampleSnapshotTemplateRequest)
func (*ModifySampleSnapshotTemplateRequest) FromJsonString ¶
func (r *ModifySampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySampleSnapshotTemplateRequest) ToJsonString ¶
func (r *ModifySampleSnapshotTemplateRequest) ToJsonString() string
type ModifySampleSnapshotTemplateRequestParams ¶
type ModifySampleSnapshotTemplateRequestParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: by percent.</li> // <li>Time: by time interval.</li> SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Image format. Valid values: jpg, png. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
Predefined struct for user
type ModifySampleSnapshotTemplateResponse ¶
type ModifySampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *ModifySampleSnapshotTemplateResponseParams `json:"Response"` }
func NewModifySampleSnapshotTemplateResponse ¶
func NewModifySampleSnapshotTemplateResponse() (response *ModifySampleSnapshotTemplateResponse)
func (*ModifySampleSnapshotTemplateResponse) FromJsonString ¶
func (r *ModifySampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySampleSnapshotTemplateResponse) ToJsonString ¶
func (r *ModifySampleSnapshotTemplateResponse) ToJsonString() string
type ModifySampleSnapshotTemplateResponseParams ¶
type ModifySampleSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySnapshotByTimeOffsetTemplateRequest ¶
type ModifySnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a specified time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
func NewModifySnapshotByTimeOffsetTemplateRequest ¶
func NewModifySnapshotByTimeOffsetTemplateRequest() (request *ModifySnapshotByTimeOffsetTemplateRequest)
func (*ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type ModifySnapshotByTimeOffsetTemplateRequestParams ¶
type ModifySnapshotByTimeOffsetTemplateRequestParams struct { // Unique ID of a specified time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Valid values: jpg, png. Format *string `json:"Format,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
Predefined struct for user
type ModifySnapshotByTimeOffsetTemplateResponse ¶
type ModifySnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *ModifySnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewModifySnapshotByTimeOffsetTemplateResponse ¶
func NewModifySnapshotByTimeOffsetTemplateResponse() (response *ModifySnapshotByTimeOffsetTemplateResponse)
func (*ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type ModifySnapshotByTimeOffsetTemplateResponseParams ¶
type ModifySnapshotByTimeOffsetTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubAppIdInfoRequest ¶
type ModifySubAppIdInfoRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Subapplication name. Length limit: 40 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subapplication overview. Length limit: 300 characters. Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifySubAppIdInfoRequest ¶
func NewModifySubAppIdInfoRequest() (request *ModifySubAppIdInfoRequest)
func (*ModifySubAppIdInfoRequest) FromJsonString ¶
func (r *ModifySubAppIdInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubAppIdInfoRequest) ToJsonString ¶
func (r *ModifySubAppIdInfoRequest) ToJsonString() string
type ModifySubAppIdInfoRequestParams ¶
type ModifySubAppIdInfoRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Subapplication name. Length limit: 40 characters. Name *string `json:"Name,omitempty" name:"Name"` // Subapplication overview. Length limit: 300 characters. Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type ModifySubAppIdInfoResponse ¶
type ModifySubAppIdInfoResponse struct { *tchttp.BaseResponse Response *ModifySubAppIdInfoResponseParams `json:"Response"` }
func NewModifySubAppIdInfoResponse ¶
func NewModifySubAppIdInfoResponse() (response *ModifySubAppIdInfoResponse)
func (*ModifySubAppIdInfoResponse) FromJsonString ¶
func (r *ModifySubAppIdInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubAppIdInfoResponse) ToJsonString ¶
func (r *ModifySubAppIdInfoResponse) ToJsonString() string
type ModifySubAppIdInfoResponseParams ¶
type ModifySubAppIdInfoResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubAppIdStatusRequest ¶
type ModifySubAppIdStatusRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Subapplication status. Valid values: // <li>On: enabled</li> // <li>Off: disabled</li> // <li>Destroyed: terminated</li> // You cannot enable a subapplication whose status is “Destroying”. You can enable it after it was terminated. Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifySubAppIdStatusRequest ¶
func NewModifySubAppIdStatusRequest() (request *ModifySubAppIdStatusRequest)
func (*ModifySubAppIdStatusRequest) FromJsonString ¶
func (r *ModifySubAppIdStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubAppIdStatusRequest) ToJsonString ¶
func (r *ModifySubAppIdStatusRequest) ToJsonString() string
type ModifySubAppIdStatusRequestParams ¶
type ModifySubAppIdStatusRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Subapplication status. Valid values: // <li>On: enabled</li> // <li>Off: disabled</li> // <li>Destroyed: terminated</li> // You cannot enable a subapplication whose status is “Destroying”. You can enable it after it was terminated. Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifySubAppIdStatusResponse ¶
type ModifySubAppIdStatusResponse struct { *tchttp.BaseResponse Response *ModifySubAppIdStatusResponseParams `json:"Response"` }
func NewModifySubAppIdStatusResponse ¶
func NewModifySubAppIdStatusResponse() (response *ModifySubAppIdStatusResponse)
func (*ModifySubAppIdStatusResponse) FromJsonString ¶
func (r *ModifySubAppIdStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubAppIdStatusResponse) ToJsonString ¶
func (r *ModifySubAppIdStatusResponse) ToJsonString() string
type ModifySubAppIdStatusResponseParams ¶
type ModifySubAppIdStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySuperPlayerConfigRequest ¶
type ModifySuperPlayerConfigRequest struct { *tchttp.BaseRequest // Player configuration name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of audio/video played. Valid values: // <li>AdaptiveDynamicStreaming</li> // <li>Transcode</li> // <li>Original</li> AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"` // Switch of DRM-protected adaptive bitstream playback: // <li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li> // <li>OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.</li> DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"` // ID of the unencrypted adaptive bitrate streaming template that allows output. AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Content of the DRM-protected adaptive bitrate streaming template that allows output. DrmStreamingsInfo *DrmStreamingsInfoForUpdate `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"` // ID of the transcoding template allowed for playback TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"` // ID of the image sprite generating template that allows output. ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"` // Display name of player for substreams with different resolutions. ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"` // Domain name used for playback. If its value is `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Domain *string `json:"Domain,omitempty" name:"Domain"` // Scheme used for playback. Valid values: // <li>Default: the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used;</li> // <li>HTTP;</li> // <li>HTTPS.</li> Scheme *string `json:"Scheme,omitempty" name:"Scheme"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
func NewModifySuperPlayerConfigRequest ¶
func NewModifySuperPlayerConfigRequest() (request *ModifySuperPlayerConfigRequest)
func (*ModifySuperPlayerConfigRequest) FromJsonString ¶
func (r *ModifySuperPlayerConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySuperPlayerConfigRequest) ToJsonString ¶
func (r *ModifySuperPlayerConfigRequest) ToJsonString() string
type ModifySuperPlayerConfigRequestParams ¶
type ModifySuperPlayerConfigRequestParams struct { // Player configuration name. Name *string `json:"Name,omitempty" name:"Name"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Type of audio/video played. Valid values: // <li>AdaptiveDynamicStreaming</li> // <li>Transcode</li> // <li>Original</li> AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"` // Switch of DRM-protected adaptive bitstream playback: // <li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li> // <li>OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.</li> DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"` // ID of the unencrypted adaptive bitrate streaming template that allows output. AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Content of the DRM-protected adaptive bitrate streaming template that allows output. DrmStreamingsInfo *DrmStreamingsInfoForUpdate `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"` // ID of the transcoding template allowed for playback TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"` // ID of the image sprite generating template that allows output. ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"` // Display name of player for substreams with different resolutions. ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"` // Domain name used for playback. If its value is `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Domain *string `json:"Domain,omitempty" name:"Domain"` // Scheme used for playback. Valid values: // <li>Default: the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used;</li> // <li>HTTP;</li> // <li>HTTPS.</li> Scheme *string `json:"Scheme,omitempty" name:"Scheme"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` }
Predefined struct for user
type ModifySuperPlayerConfigResponse ¶
type ModifySuperPlayerConfigResponse struct { *tchttp.BaseResponse Response *ModifySuperPlayerConfigResponseParams `json:"Response"` }
func NewModifySuperPlayerConfigResponse ¶
func NewModifySuperPlayerConfigResponse() (response *ModifySuperPlayerConfigResponse)
func (*ModifySuperPlayerConfigResponse) FromJsonString ¶
func (r *ModifySuperPlayerConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySuperPlayerConfigResponse) ToJsonString ¶
func (r *ModifySuperPlayerConfigResponse) ToJsonString() string
type ModifySuperPlayerConfigResponseParams ¶
type ModifySuperPlayerConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTranscodeTemplateRequest ¶
type ModifyTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of transcoding template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitempty" name:"Container"` // Transcoding template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitempty" name:"TEHDConfig"` // The segment type. This parameter is valid only if `Container` is `hls`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
func NewModifyTranscodeTemplateRequest ¶
func NewModifyTranscodeTemplateRequest() (request *ModifyTranscodeTemplateRequest)
func (*ModifyTranscodeTemplateRequest) FromJsonString ¶
func (r *ModifyTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTranscodeTemplateRequest) ToJsonString ¶
func (r *ModifyTranscodeTemplateRequest) ToJsonString() string
type ModifyTranscodeTemplateRequestParams ¶
type ModifyTranscodeTemplateRequestParams struct { // Unique ID of transcoding template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitempty" name:"Container"` // Transcoding template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitempty" name:"TEHDConfig"` // The segment type. This parameter is valid only if `Container` is `hls`. Valid values: // <li>ts: TS segment</li> // <li>fmp4: fMP4 segment</li> SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
Predefined struct for user
type ModifyTranscodeTemplateResponse ¶
type ModifyTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *ModifyTranscodeTemplateResponseParams `json:"Response"` }
func NewModifyTranscodeTemplateResponse ¶
func NewModifyTranscodeTemplateResponse() (response *ModifyTranscodeTemplateResponse)
func (*ModifyTranscodeTemplateResponse) FromJsonString ¶
func (r *ModifyTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTranscodeTemplateResponse) ToJsonString ¶
func (r *ModifyTranscodeTemplateResponse) ToJsonString() string
type ModifyTranscodeTemplateResponseParams ¶
type ModifyTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyVodDomainAccelerateConfigRequest ¶
type ModifyVodDomainAccelerateConfigRequest struct { *tchttp.BaseRequest // Domain name for acceleration setting Domain *string `json:"Domain,omitempty" name:"Domain"` // Region. Valid values: // <li>`Chinese Mainland`</li> // <li>`Outside Chinese Mainland`</li> // <li>`Global`</li> Area *string `json:"Area,omitempty" name:"Area"` // Whether to enable or disable domain name acceleration for the selected region. Valid values: // <li>`Enabled`: enable</li> // <li>`Disabled`: disable</li> Status *string `json:"Status,omitempty" name:"Status"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewModifyVodDomainAccelerateConfigRequest ¶
func NewModifyVodDomainAccelerateConfigRequest() (request *ModifyVodDomainAccelerateConfigRequest)
func (*ModifyVodDomainAccelerateConfigRequest) FromJsonString ¶
func (r *ModifyVodDomainAccelerateConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVodDomainAccelerateConfigRequest) ToJsonString ¶
func (r *ModifyVodDomainAccelerateConfigRequest) ToJsonString() string
type ModifyVodDomainAccelerateConfigRequestParams ¶
type ModifyVodDomainAccelerateConfigRequestParams struct { // Domain name for acceleration setting Domain *string `json:"Domain,omitempty" name:"Domain"` // Region. Valid values: // <li>`Chinese Mainland`</li> // <li>`Outside Chinese Mainland`</li> // <li>`Global`</li> Area *string `json:"Area,omitempty" name:"Area"` // Whether to enable or disable domain name acceleration for the selected region. Valid values: // <li>`Enabled`: enable</li> // <li>`Disabled`: disable</li> Status *string `json:"Status,omitempty" name:"Status"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ModifyVodDomainAccelerateConfigResponse ¶
type ModifyVodDomainAccelerateConfigResponse struct { *tchttp.BaseResponse Response *ModifyVodDomainAccelerateConfigResponseParams `json:"Response"` }
func NewModifyVodDomainAccelerateConfigResponse ¶
func NewModifyVodDomainAccelerateConfigResponse() (response *ModifyVodDomainAccelerateConfigResponse)
func (*ModifyVodDomainAccelerateConfigResponse) FromJsonString ¶
func (r *ModifyVodDomainAccelerateConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVodDomainAccelerateConfigResponse) ToJsonString ¶
func (r *ModifyVodDomainAccelerateConfigResponse) ToJsonString() string
type ModifyVodDomainAccelerateConfigResponseParams ¶
type ModifyVodDomainAccelerateConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyVodDomainConfigRequest ¶
type ModifyVodDomainConfigRequest struct { *tchttp.BaseRequest // Domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/14046?from_cn_redirect=1) policy RefererAuthPolicy *RefererAuthPolicy `json:"RefererAuthPolicy,omitempty" name:"RefererAuthPolicy"` // [Key hotlink protection](https://intl.cloud.tencent.com/document/product/266/14047?from_cn_redirect=1) policy UrlSignatureAuthPolicy *UrlSignatureAuthPolicy `json:"UrlSignatureAuthPolicy,omitempty" name:"UrlSignatureAuthPolicy"` }
func NewModifyVodDomainConfigRequest ¶
func NewModifyVodDomainConfigRequest() (request *ModifyVodDomainConfigRequest)
func (*ModifyVodDomainConfigRequest) FromJsonString ¶
func (r *ModifyVodDomainConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVodDomainConfigRequest) ToJsonString ¶
func (r *ModifyVodDomainConfigRequest) ToJsonString() string
type ModifyVodDomainConfigRequestParams ¶
type ModifyVodDomainConfigRequestParams struct { // Domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/14046?from_cn_redirect=1) policy RefererAuthPolicy *RefererAuthPolicy `json:"RefererAuthPolicy,omitempty" name:"RefererAuthPolicy"` // [Key hotlink protection](https://intl.cloud.tencent.com/document/product/266/14047?from_cn_redirect=1) policy UrlSignatureAuthPolicy *UrlSignatureAuthPolicy `json:"UrlSignatureAuthPolicy,omitempty" name:"UrlSignatureAuthPolicy"` }
Predefined struct for user
type ModifyVodDomainConfigResponse ¶
type ModifyVodDomainConfigResponse struct { *tchttp.BaseResponse Response *ModifyVodDomainConfigResponseParams `json:"Response"` }
func NewModifyVodDomainConfigResponse ¶
func NewModifyVodDomainConfigResponse() (response *ModifyVodDomainConfigResponse)
func (*ModifyVodDomainConfigResponse) FromJsonString ¶
func (r *ModifyVodDomainConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVodDomainConfigResponse) ToJsonString ¶
func (r *ModifyVodDomainConfigResponse) ToJsonString() string
type ModifyVodDomainConfigResponseParams ¶
type ModifyVodDomainConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWatermarkTemplateRequest ¶
type ModifyWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> YPos *string `json:"YPos,omitempty" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is only valid for SVG watermarking templates. SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitempty" name:"SvgTemplate"` }
func NewModifyWatermarkTemplateRequest ¶
func NewModifyWatermarkTemplateRequest() (request *ModifyWatermarkTemplateRequest)
func (*ModifyWatermarkTemplateRequest) FromJsonString ¶
func (r *ModifyWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWatermarkTemplateRequest) ToJsonString ¶
func (r *ModifyWatermarkTemplateRequest) ToJsonString() string
type ModifyWatermarkTemplateRequestParams ¶
type ModifyWatermarkTemplateRequestParams struct { // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> YPos *string `json:"YPos,omitempty" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is only valid for SVG watermarking templates. SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitempty" name:"SvgTemplate"` }
Predefined struct for user
type ModifyWatermarkTemplateResponse ¶
type ModifyWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *ModifyWatermarkTemplateResponseParams `json:"Response"` }
func NewModifyWatermarkTemplateResponse ¶
func NewModifyWatermarkTemplateResponse() (response *ModifyWatermarkTemplateResponse)
func (*ModifyWatermarkTemplateResponse) FromJsonString ¶
func (r *ModifyWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWatermarkTemplateResponse) ToJsonString ¶
func (r *ModifyWatermarkTemplateResponse) ToJsonString() string
type ModifyWatermarkTemplateResponseParams ¶
type ModifyWatermarkTemplateResponseParams struct { // Image watermark address. This field has a value only when `ImageTemplate.ImageContent` is not empty. // Note: this field may return null, indicating that no valid values can be obtained. ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWordSampleRequest ¶
type ModifyWordSampleRequest struct { *tchttp.BaseRequest // Keyword. Length limit: 128 characters. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"` }
func NewModifyWordSampleRequest ¶
func NewModifyWordSampleRequest() (request *ModifyWordSampleRequest)
func (*ModifyWordSampleRequest) FromJsonString ¶
func (r *ModifyWordSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWordSampleRequest) ToJsonString ¶
func (r *ModifyWordSampleRequest) ToJsonString() string
type ModifyWordSampleRequestParams ¶
type ModifyWordSampleRequestParams struct { // Keyword. Length limit: 128 characters. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitempty" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"` }
Predefined struct for user
type ModifyWordSampleResponse ¶
type ModifyWordSampleResponse struct { *tchttp.BaseResponse Response *ModifyWordSampleResponseParams `json:"Response"` }
func NewModifyWordSampleResponse ¶
func NewModifyWordSampleResponse() (response *ModifyWordSampleResponse)
func (*ModifyWordSampleResponse) FromJsonString ¶
func (r *ModifyWordSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWordSampleResponse) ToJsonString ¶
func (r *ModifyWordSampleResponse) ToJsonString() string
type ModifyWordSampleResponseParams ¶
type ModifyWordSampleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MosaicInput ¶
type MosaicInput struct { // Origin position, which currently can only be: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the blur is in the top-left corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the blur relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the blur will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the blur will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitempty" name:"XPos"` // Vertical position of the origin of blur relative to the origin of coordinates of video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the blur will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the blur will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitempty" name:"YPos"` // Blur width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the blur will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the blur will be in px; for example, `100px` means that `Width` is 100 px.</li> // Default value: 10%. Width *string `json:"Width,omitempty" name:"Width"` // Blur height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the blur will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the blur will be in px; for example, `100px` means that `Height` is 100 px.</li> // Default value: 10%. Height *string `json:"Height,omitempty" name:"Height"` // Start time offset of blur in seconds. If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame. // <li>If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame;</li> // <li>If this value is greater than 0 (e.g., n), the blur will appear at second n after the first video frame;</li> // <li>If this value is smaller than 0 (e.g., -n), the blur will appear at second n before the last video frame.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of blur in seconds. // <li>If this parameter is left empty or 0 is entered, the blur will exist till the last video frame;</li> // <li>If this value is greater than 0 (e.g., n), the blur will exist till second n;</li> // <li>If this value is smaller than 0 (e.g., -n), the blur will exist till second n before the last video frame.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type ObjectConfigureInfo ¶
type ObjectConfigureInfo struct { // Switch of object recognition task. Valid values: // <li>ON: enables intelligent object recognition task;</li> // <li>OFF: disables intelligent object recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Object library. Valid values: // <li>Default: default object library;</li> // <li>UserDefine: custom object library.</li> // <li>All: both default and custom object libraries will be used.</li> // Default value: All, i.e., both default and custom object libraries will be used. ObjectLibrary *string `json:"ObjectLibrary,omitempty" name:"ObjectLibrary"` }
type ObjectConfigureInfoForUpdate ¶
type ObjectConfigureInfoForUpdate struct { // Switch of object recognition task. Valid values: // <li>ON: enables intelligent object recognition task;</li> // <li>OFF: disables intelligent object recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Object library. Valid values: // <li>Default: default object library;</li> // <li>UserDefine: custom object library.</li> // <li>All: both default and custom object libraries will be used.</li> ObjectLibrary *string `json:"ObjectLibrary,omitempty" name:"ObjectLibrary"` }
type OcrFullTextConfigureInfo ¶
type OcrFullTextConfigureInfo struct { // Switch of full text recognition task. Valid values: // <li>ON: enables intelligent full text recognition task;</li> // <li>OFF: disables intelligent full text recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type OcrFullTextConfigureInfoForUpdate ¶
type OcrFullTextConfigureInfoForUpdate struct { // Switch of full text recognition task. Valid values: // <li>ON: enables intelligent full text recognition task;</li> // <li>OFF: disables intelligent full text recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type OcrWordsConfigureInfo ¶
type OcrWordsConfigureInfo struct { // Switch of text keyword recognition task. Valid values: // <li>ON: enables text keyword recognition task;</li> // <li>OFF: disables text keyword recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` }
type OcrWordsConfigureInfoForUpdate ¶
type OcrWordsConfigureInfoForUpdate struct { // Switch of text keyword recognition task. Valid values: // <li>ON: enables text keyword recognition task;</li> // <li>OFF: disables text keyword recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty or a blank value is entered, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` }
type OutputAudioStream ¶
type OutputAudioStream struct { // Audio stream encoder. Valid values: // <li>libfdk_aac: suitable for mp4 files.</li> // Default value: libfdk_aac. Codec *string `json:"Codec,omitempty" name:"Codec"` // Audio stream sample rate. Valid values: // <li>16,000</li> // <li>32,000</li> // <li>44,100</li> // <li>48,000</li> // In Hz. // Default value: 16,000. SampleRate *int64 `json:"SampleRate,omitempty" name:"SampleRate"` // Number of sound channels. Valid values: // <li>1: mono.</li> // <li>2: dual</li> // Default value: 2. AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"` }
type OutputVideoStream ¶
type OutputVideoStream struct { // Video stream encoder. Valid values: // <li>libx264: H.264</li> // Default value: libx264. Codec *string `json:"Codec,omitempty" name:"Codec"` // Video frame rate in Hz. Value range: [0, 60]. // Default value: 0, which means that the value is the same as the video frame rate of the first video segment in the first video track. Fps *int64 `json:"Fps,omitempty" name:"Fps"` }
type ParseStreamingManifestRequest ¶
type ParseStreamingManifestRequest struct { *tchttp.BaseRequest // Index file content to be parsed. MediaManifestContent *string `json:"MediaManifestContent,omitempty" name:"MediaManifestContent"` // Video index file format, which is `m3u8` by default. // <li>m3u8</li> // <li>mpd</li> ManifestType *string `json:"ManifestType,omitempty" name:"ManifestType"` }
func NewParseStreamingManifestRequest ¶
func NewParseStreamingManifestRequest() (request *ParseStreamingManifestRequest)
func (*ParseStreamingManifestRequest) FromJsonString ¶
func (r *ParseStreamingManifestRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseStreamingManifestRequest) ToJsonString ¶
func (r *ParseStreamingManifestRequest) ToJsonString() string
type ParseStreamingManifestRequestParams ¶
type ParseStreamingManifestRequestParams struct { // Index file content to be parsed. MediaManifestContent *string `json:"MediaManifestContent,omitempty" name:"MediaManifestContent"` // Video index file format, which is `m3u8` by default. // <li>m3u8</li> // <li>mpd</li> ManifestType *string `json:"ManifestType,omitempty" name:"ManifestType"` }
Predefined struct for user
type ParseStreamingManifestResponse ¶
type ParseStreamingManifestResponse struct { *tchttp.BaseResponse Response *ParseStreamingManifestResponseParams `json:"Response"` }
func NewParseStreamingManifestResponse ¶
func NewParseStreamingManifestResponse() (response *ParseStreamingManifestResponse)
func (*ParseStreamingManifestResponse) FromJsonString ¶
func (r *ParseStreamingManifestResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseStreamingManifestResponse) ToJsonString ¶
func (r *ParseStreamingManifestResponse) ToJsonString() string
type ParseStreamingManifestResponseParams ¶
type ParseStreamingManifestResponseParams struct { // Segment file list. MediaSegmentSet []*string `json:"MediaSegmentSet,omitempty" name:"MediaSegmentSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PlayStatFileInfo ¶
type PlayStatFileInfo struct { // Date of playback statistics in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). Date *string `json:"Date,omitempty" name:"Date"` // URL of a playback statistics file, including the following contents: // <li> date: playback date</li> // <li> file_id: video file ID</li> // <li> ip_count: number of client IPs after deduplication</li> // <li> flux: playback traffic in bytes</li> // <li> play_times: total playback times</li> // <li> pc_play_times: playback times on PC clients</li> // <li> mobile_play_times: playback times on mobile clients</li> // <li> iphone_play_times: playback times on iPhone</li> // <li> android_play_times: playback times on Android</li> // <li> host_name: domain name</li> Url *string `json:"Url,omitempty" name:"Url"` }
type PlayStatInfo ¶
type PlayStatInfo struct { // The start time (in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I)) of the data returned. For example, if the granularity is a day, `2018-12-01T00:00:00+08:00` indicates that the data is for the period between December 1, 2018 (inclusive) and December 2, 2018 (exclusive). // <li>If the granularity is an hour, `2019-08-22T00:00:00+08:00` indicates the data is for the period between 00:00 and 01:00 AM on August 22, 2019.</li> // <li>If the granularity is a day, `2019-08-22T00:00:00+08:00` indicates the data is for August 22, 2019.</li> Time *string `json:"Time,omitempty" name:"Time"` // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // The playback times. PlayTimes *uint64 `json:"PlayTimes,omitempty" name:"PlayTimes"` // The traffic (in bytes) consumed for playback. Traffic *uint64 `json:"Traffic,omitempty" name:"Traffic"` }
type PlayerConfig ¶
type PlayerConfig struct { // Player configuration name. Name *string `json:"Name,omitempty" name:"Name"` // Player configuration type. Valid values: // <li>Preset: preset configuration;</li> // <li>Custom: custom configuration.</li> Type *string `json:"Type,omitempty" name:"Type"` // The type of audio/video played. Valid values: // <li>AdaptiveDynamicStreaming: Adaptive bitrate stream</li> // <li>Transcode: Transcoded stream</li> // <li>Original: The original stream</li> AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"` // Switch of DRM-protected adaptive bitstream playback: // <li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li> // <li>OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.</li> DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"` // ID of the unencrypted adaptive bitrate streaming template that allows output. AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"` // Content of the DRM-protected adaptive bitrate streaming template that allows output. DrmStreamingsInfo *DrmStreamingsInfo `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"` // The ID of the transcoding template allowed. TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"` // ID of the image sprite generating template that allows output. ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"` // Display name of player for substreams with different resolutions. ResolutionNameSet []*ResolutionNameInfo `json:"ResolutionNameSet,omitempty" name:"ResolutionNameSet"` // Creation time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Domain name used for playback. If its value is `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Domain *string `json:"Domain,omitempty" name:"Domain"` // Scheme used for playback. Valid values: // <li>Default: the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used;</li> // <li>HTTP;</li> // <li>HTTPS.</li> Scheme *string `json:"Scheme,omitempty" name:"Scheme"` // Template description. Comment *string `json:"Comment,omitempty" name:"Comment"` }
type PoliticalAsrReviewTemplateInfo ¶
type PoliticalAsrReviewTemplateInfo struct { // Whether to enable ASR-based recognition of politically sensitive content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` }
type PoliticalAsrReviewTemplateInfoForUpdate ¶
type PoliticalAsrReviewTemplateInfoForUpdate struct { // Whether to enable ASR-based recognition of politically sensitive content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PoliticalConfigureInfo ¶
type PoliticalConfigureInfo struct { // Parameters for recognition of politically sensitive content in images // Note: This field may return `null`, indicating that no valid value can be found. ImgReviewInfo *PoliticalImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for ASR-based recognition of politically sensitive content // Note: This field may return `null`, indicating that no valid value can be found. AsrReviewInfo *PoliticalAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for OCR-based recognition of politically sensitive content // Note: This field may return `null`, indicating that no valid value can be found. OcrReviewInfo *PoliticalOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type PoliticalConfigureInfoForUpdate ¶
type PoliticalConfigureInfoForUpdate struct { // Parameters for recognition of politically sensitive content in images ImgReviewInfo *PoliticalImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for ASR-based recognition of politically sensitive content AsrReviewInfo *PoliticalAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for OCR-based recognition of politically sensitive content OcrReviewInfo *PoliticalOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type PoliticalImgReviewTemplateInfo ¶
type PoliticalImgReviewTemplateInfo struct { // Whether to enable recognition of politically sensitive content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of politically sensitive content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>`violation_photo`: banned images</li> // <li>`politician`: politically sensitive people</li> // <li>`entertainment`: people in the entertainment industry</li> // <li>`sport`: sportspeople</li> // <li>`entrepreneur`: businesspeople</li> // <li>`scholar`: scholars</li> // <li>`celebrity`: celebrities</li> // <li>`military`: people in military</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `97` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `95` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PoliticalImgReviewTemplateInfoForUpdate ¶
type PoliticalImgReviewTemplateInfoForUpdate struct { // Whether to enable recognition of politically sensitive content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of politically sensitive content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>`violation_photo`: banned images</li> // <li>`politician`: politically sensitive people</li> // <li>`entertainment`: people in the entertainment industry</li> // <li>`sport`: sportspeople</li> // <li>`entrepreneur`: businesspeople</li> // <li>`scholar`: scholars</li> // <li>`celebrity`: celebrities</li> // <li>`military`: people in military</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PoliticalOcrReviewTemplateInfo ¶
type PoliticalOcrReviewTemplateInfo struct { // Whether to enable OCR-based recognition of politically sensitive content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PoliticalOcrReviewTemplateInfoForUpdate ¶
type PoliticalOcrReviewTemplateInfoForUpdate struct { // Whether to enable OCR-based recognition of politically sensitive content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornAsrReviewTemplateInfo ¶
type PornAsrReviewTemplateInfo struct { // Whether to enable ASR-based recognition of pornographic content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornAsrReviewTemplateInfoForUpdate ¶
type PornAsrReviewTemplateInfoForUpdate struct { // Whether to enable ASR-based recognition of pornographic content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornConfigureInfo ¶
type PornConfigureInfo struct { // Parameters for recognition of pornographic content in images // Note: This field may return `null`, indicating that no valid value can be found. ImgReviewInfo *PornImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for ASR-based recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. AsrReviewInfo *PornAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for OCR-based recognition of pornographic content // Note: This field may return `null`, indicating that no valid value can be found. OcrReviewInfo *PornOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type PornConfigureInfoForUpdate ¶
type PornConfigureInfoForUpdate struct { // Parameters for recognition of pornographic content in images ImgReviewInfo *PornImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for ASR-based recognition of pornographic content AsrReviewInfo *PornAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for OCR-based recognition of pornographic content OcrReviewInfo *PornOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type PornImgReviewTemplateInfo ¶
type PornImgReviewTemplateInfo struct { // Whether to enable recognition of pornographic content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of pornographic content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>porn</li> // <li>vulgar</li> // <li>intimacy</li> // <li>sexy</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `90` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `0` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornImgReviewTemplateInfoForUpdate ¶
type PornImgReviewTemplateInfoForUpdate struct { // Whether to enable recognition of pornographic content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of pornographic content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>porn</li> // <li>vulgar</li> // <li>intimacy</li> // <li>sexy</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornOcrReviewTemplateInfo ¶
type PornOcrReviewTemplateInfo struct { // Whether to enable OCR-based recognition of pornographic content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PornOcrReviewTemplateInfoForUpdate ¶
type PornOcrReviewTemplateInfoForUpdate struct { // Whether to enable OCR-based recognition of pornographic content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type ProcedureTask ¶
type ProcedureTask struct { // Video processing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> Status *string `json:"Status,omitempty" name:"Status"` // Disused. Please use `ErrCode` of each specific task. // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Disused. Please use `Message` of each specific task. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Media file ID. // <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `FileId` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li> // <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Id` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li> // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Media filename // <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `BasicInfo.Name` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li> // <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Name` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li> // Note: this field may return null, indicating that no valid values can be obtained. FileName *string `json:"FileName,omitempty" name:"FileName"` // Media file address // <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `BasicInfo.MediaUrl` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li> // <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Url` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li> FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // Source video metadata. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // Execution status and result of video processing task. // Note: this field may return null, indicating that no valid values can be obtained. MediaProcessResultSet []*MediaProcessTaskResult `json:"MediaProcessResultSet,omitempty" name:"MediaProcessResultSet"` // Status and result of an intelligent recognition task AiContentReviewResultSet []*AiContentReviewResult `json:"AiContentReviewResultSet,omitempty" name:"AiContentReviewResultSet"` // Execution status and result of video content analysis task. // Note: this field may return null, indicating that no valid values can be obtained. AiAnalysisResultSet []*AiAnalysisResult `json:"AiAnalysisResultSet,omitempty" name:"AiAnalysisResultSet"` // Execution status and result of video content recognition task. // Note: this field may return null, indicating that no valid values can be obtained. AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitempty" name:"AiRecognitionResultSet"` // Task flow priority. Value range: [-10, 10]. // Note: this field may return null, indicating that no valid values can be obtained. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for change in task flow status. // <li>Finish: an event notification will be initiated only after the task flow is completely executed;</li> // <li>Change: an event notification will be initiated as soon as the status of a subtask in the task flow changes; </li> // <li>None: no callback for the task flow will be accepted.</li> // Note: this field may return null, indicating that no valid values can be obtained. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. // Note: this field may return null, indicating that no valid values can be obtained. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed. // Note: this field may return null, indicating that no valid values can be obtained. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The operator. Valid values: // <li>`SYSTEM`: The task is triggered by the system.</li> Operator *string `json:"Operator,omitempty" name:"Operator"` // The operation type. Valid values: // <li>`TSC`: TSC-based smart bitrate reduction</li> OperationType *string `json:"OperationType,omitempty" name:"OperationType"` }
type ProcedureTemplate ¶
type ProcedureTemplate struct { // Task flow name. Name *string `json:"Name,omitempty" name:"Name"` // Type of a task flow template. Valid values: // <li>Preset: preset task flow template;</li> // <li>Custom: custom task flow template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameter of video processing task. // Note: this field may return null, indicating that no valid values can be obtained. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Intelligent recognition task // Note: This field may return `null`, indicating that no valid value can be found. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Parameter of AI-based content analysis task. // Note: this field may return null, indicating that no valid values can be obtained. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of AI-based content recognition task. // Note: this field may return null, indicating that no valid values can be obtained. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // Parameter of a release on WeChat Mini Program task. // Note: this field may return null, indicating that no valid values can be obtained. MiniProgramPublishTask *WechatMiniProgramPublishTaskInput `json:"MiniProgramPublishTask,omitempty" name:"MiniProgramPublishTask"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ProcessMediaByProcedureRequest ¶
type ProcessMediaByProcedureRequest struct { *tchttp.BaseRequest // Media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name. ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewProcessMediaByProcedureRequest ¶
func NewProcessMediaByProcedureRequest() (request *ProcessMediaByProcedureRequest)
func (*ProcessMediaByProcedureRequest) FromJsonString ¶
func (r *ProcessMediaByProcedureRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaByProcedureRequest) ToJsonString ¶
func (r *ProcessMediaByProcedureRequest) ToJsonString() string
type ProcessMediaByProcedureRequestParams ¶
type ProcessMediaByProcedureRequestParams struct { // Media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name. ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ProcessMediaByProcedureResponse ¶
type ProcessMediaByProcedureResponse struct { *tchttp.BaseResponse Response *ProcessMediaByProcedureResponseParams `json:"Response"` }
func NewProcessMediaByProcedureResponse ¶
func NewProcessMediaByProcedureResponse() (response *ProcessMediaByProcedureResponse)
func (*ProcessMediaByProcedureResponse) FromJsonString ¶
func (r *ProcessMediaByProcedureResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaByProcedureResponse) ToJsonString ¶
func (r *ProcessMediaByProcedureResponse) ToJsonString() string
type ProcessMediaByProcedureResponseParams ¶
type ProcessMediaByProcedureResponseParams struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ProcessMediaByUrlRequest ¶
type ProcessMediaByUrlRequest struct { *tchttp.BaseRequest // This API is<font color='red'>disused</font>. You are advised to use an alternative API. For more information, see API overview. InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"` // Information of COS path to output file. OutputInfo *MediaOutputInfo `json:"OutputInfo,omitempty" name:"OutputInfo"` // Type parameter of video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewProcessMediaByUrlRequest ¶
func NewProcessMediaByUrlRequest() (request *ProcessMediaByUrlRequest)
func (*ProcessMediaByUrlRequest) FromJsonString ¶
func (r *ProcessMediaByUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaByUrlRequest) ToJsonString ¶
func (r *ProcessMediaByUrlRequest) ToJsonString() string
type ProcessMediaByUrlRequestParams ¶
type ProcessMediaByUrlRequestParams struct { // This API is<font color='red'>disused</font>. You are advised to use an alternative API. For more information, see API overview. InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"` // Information of COS path to output file. OutputInfo *MediaOutputInfo `json:"OutputInfo,omitempty" name:"OutputInfo"` // Type parameter of video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ProcessMediaByUrlResponse ¶
type ProcessMediaByUrlResponse struct { *tchttp.BaseResponse Response *ProcessMediaByUrlResponseParams `json:"Response"` }
func NewProcessMediaByUrlResponse ¶
func NewProcessMediaByUrlResponse() (response *ProcessMediaByUrlResponse)
func (*ProcessMediaByUrlResponse) FromJsonString ¶
func (r *ProcessMediaByUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaByUrlResponse) ToJsonString ¶
func (r *ProcessMediaByUrlResponse) ToJsonString() string
type ProcessMediaByUrlResponseParams ¶
type ProcessMediaByUrlResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ProcessMediaRequest ¶
type ProcessMediaRequest struct { *tchttp.BaseRequest // Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media). FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Parameters for intelligent recognition AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewProcessMediaRequest ¶
func NewProcessMediaRequest() (request *ProcessMediaRequest)
func (*ProcessMediaRequest) FromJsonString ¶
func (r *ProcessMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaRequest) ToJsonString ¶
func (r *ProcessMediaRequest) ToJsonString() string
type ProcessMediaRequestParams ¶
type ProcessMediaRequestParams struct { // Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media). FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Parameters for intelligent recognition AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ProcessMediaResponse ¶
type ProcessMediaResponse struct { *tchttp.BaseResponse Response *ProcessMediaResponseParams `json:"Response"` }
func NewProcessMediaResponse ¶
func NewProcessMediaResponse() (response *ProcessMediaResponse)
func (*ProcessMediaResponse) FromJsonString ¶
func (r *ProcessMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaResponse) ToJsonString ¶
func (r *ProcessMediaResponse) ToJsonString() string
type ProcessMediaResponseParams ¶
type ProcessMediaResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ProhibitedAsrReviewTemplateInfo ¶
type ProhibitedAsrReviewTemplateInfo struct { // Switch of prohibited information detection in speech task. Valid values: // <li>ON: enables prohibited information detection in speech task;</li> // <li>OFF: disables prohibited information detection in speech task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type ProhibitedAsrReviewTemplateInfoForUpdate ¶
type ProhibitedAsrReviewTemplateInfoForUpdate struct { // Switch of prohibited information detection in speech task. Valid values: // <li>ON: enables prohibited information detection in speech task;</li> // <li>OFF: disables prohibited information detection in speech task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type ProhibitedConfigureInfo ¶
type ProhibitedConfigureInfo struct { // Control parameter of prohibited information detection in speech. // Note: this field may return null, indicating that no valid values can be obtained. AsrReviewInfo *ProhibitedAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. // Note: this field may return null, indicating that no valid values can be obtained. OcrReviewInfo *ProhibitedOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type ProhibitedConfigureInfoForUpdate ¶
type ProhibitedConfigureInfoForUpdate struct { // Control parameter of prohibited information detection in speech. AsrReviewInfo *ProhibitedAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. OcrReviewInfo *ProhibitedOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type ProhibitedOcrReviewTemplateInfo ¶
type ProhibitedOcrReviewTemplateInfo struct { // Switch of prohibited information detection in text task. Valid values: // <li>ON: enables prohibited information detection in text task;</li> // <li>OFF: disables prohibited information detection in text task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type ProhibitedOcrReviewTemplateInfoForUpdate ¶
type ProhibitedOcrReviewTemplateInfoForUpdate struct { // Switch of prohibited information detection in text task. Valid values: // <li>ON: enables prohibited information detection in text task;</li> // <li>OFF: disables prohibited information detection in text task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type PullEventsRequest ¶
type PullEventsRequest struct { *tchttp.BaseRequest // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewPullEventsRequest ¶
func NewPullEventsRequest() (request *PullEventsRequest)
func (*PullEventsRequest) FromJsonString ¶
func (r *PullEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PullEventsRequest) ToJsonString ¶
func (r *PullEventsRequest) ToJsonString() string
type PullEventsRequestParams ¶
type PullEventsRequestParams struct { // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type PullEventsResponse ¶
type PullEventsResponse struct { *tchttp.BaseResponse Response *PullEventsResponseParams `json:"Response"` }
func NewPullEventsResponse ¶
func NewPullEventsResponse() (response *PullEventsResponse)
func (*PullEventsResponse) FromJsonString ¶
func (r *PullEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PullEventsResponse) ToJsonString ¶
func (r *PullEventsResponse) ToJsonString() string
type PullEventsResponseParams ¶
type PullEventsResponseParams struct { // List of events. // Note: this field may return null, indicating that no valid values can be obtained. EventSet []*EventContent `json:"EventSet,omitempty" name:"EventSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PullUploadRequest ¶
type PullUploadRequest struct { *tchttp.BaseRequest // The URL of the media to pull, which can be in HLS format, but not DASH format. // For more information about supported extensions, see [Media types](https://intl.cloud.tencent.com/document/product/266/9760#media-types). Please make sure the URL is accessible. MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media name. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // The URL of the video to pull. Supported formats include GIF, JPEG (JPG), and PNG. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // Subsequent task for media. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // Expiration time of media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Specifies upload region. This is only applicable to users that have special requirements for the upload region: // <li>If it is left empty, the upload region is your [default region](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4);</li> // <li>If it is specified, please make sure that the upload region has been [enabled for storage](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4).</li> StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context which is used to pass through the user request information. After `Procedure` is specified, the task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` }
func NewPullUploadRequest ¶
func NewPullUploadRequest() (request *PullUploadRequest)
func (*PullUploadRequest) FromJsonString ¶
func (r *PullUploadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PullUploadRequest) ToJsonString ¶
func (r *PullUploadRequest) ToJsonString() string
type PullUploadRequestParams ¶
type PullUploadRequestParams struct { // The URL of the media to pull, which can be in HLS format, but not DASH format. // For more information about supported extensions, see [Media types](https://intl.cloud.tencent.com/document/product/266/9760#media-types). Please make sure the URL is accessible. MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Media name. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // The URL of the video to pull. Supported formats include GIF, JPEG (JPG), and PNG. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // Subsequent task for media. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // Expiration time of media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Specifies upload region. This is only applicable to users that have special requirements for the upload region: // <li>If it is left empty, the upload region is your [default region](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4);</li> // <li>If it is specified, please make sure that the upload region has been [enabled for storage](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4).</li> StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"` // Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context which is used to pass through the user request information. After `Procedure` is specified, the task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Reserved field for special purposes. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` }
Predefined struct for user
type PullUploadResponse ¶
type PullUploadResponse struct { *tchttp.BaseResponse Response *PullUploadResponseParams `json:"Response"` }
func NewPullUploadResponse ¶
func NewPullUploadResponse() (response *PullUploadResponse)
func (*PullUploadResponse) FromJsonString ¶
func (r *PullUploadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PullUploadResponse) ToJsonString ¶
func (r *PullUploadResponse) ToJsonString() string
type PullUploadResponseParams ¶
type PullUploadResponseParams struct { // Video pull for upload task ID, which can be used to query the status of pull for upload task. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PullUploadTask ¶
type PullUploadTask struct { // Pull for upload task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> Status *string `json:"Status,omitempty" name:"Status"` // Error code. 0: success; other values: failure. // <li>40000: invalid input parameter. Please check it;</li> // <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li> // <li>70000: internal service error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // ID of video generated after pull for upload is completed. FileId *string `json:"FileId,omitempty" name:"FileId"` // Basic information of media file generated after pull for upload is completed. // Note: this field may return null, indicating that no valid values can be obtained. MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"` // The metadata of the output video. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // Playback address generated after pull for upload is completed. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // If a video processing flow is specified when a video is pulled for upload, this parameter will be the ID of the task flow. ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The progress of a pull and upload task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type PushUrlCacheRequest ¶
type PushUrlCacheRequest struct { *tchttp.BaseRequest // List of prefetched URLs. Up to 20 ones can be specified at a time. Urls []*string `json:"Urls,omitempty" name:"Urls"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewPushUrlCacheRequest ¶
func NewPushUrlCacheRequest() (request *PushUrlCacheRequest)
func (*PushUrlCacheRequest) FromJsonString ¶
func (r *PushUrlCacheRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PushUrlCacheRequest) ToJsonString ¶
func (r *PushUrlCacheRequest) ToJsonString() string
type PushUrlCacheRequestParams ¶
type PushUrlCacheRequestParams struct { // List of prefetched URLs. Up to 20 ones can be specified at a time. Urls []*string `json:"Urls,omitempty" name:"Urls"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type PushUrlCacheResponse ¶
type PushUrlCacheResponse struct { *tchttp.BaseResponse Response *PushUrlCacheResponseParams `json:"Response"` }
func NewPushUrlCacheResponse ¶
func NewPushUrlCacheResponse() (response *PushUrlCacheResponse)
func (*PushUrlCacheResponse) FromJsonString ¶
func (r *PushUrlCacheResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PushUrlCacheResponse) ToJsonString ¶
func (r *PushUrlCacheResponse) ToJsonString() string
type PushUrlCacheResponseParams ¶
type PushUrlCacheResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReduceMediaBitrateAdaptiveDynamicStreamingResult ¶
type ReduceMediaBitrateAdaptiveDynamicStreamingResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The input of an adaptive bitrate task. Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitempty" name:"Input"` // The output of an adaptive bitrate task. Output *AdaptiveDynamicStreamingInfoItem `json:"Output,omitempty" name:"Output"` }
type ReduceMediaBitrateMediaProcessTaskResult ¶
type ReduceMediaBitrateMediaProcessTaskResult struct { // The task type. Valid values: // <li>Transcode</li> // <li>AdaptiveDynamicStreaming</li> Type *string `json:"Type,omitempty" name:"Type"` // The result of a transcoding task. This parameter is valid if `Type` is `Transcode`. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeTask *ReduceMediaBitrateTranscodeResult `json:"TranscodeTask,omitempty" name:"TranscodeTask"` // The result of an adaptive bitrate task. This parameter is valid if `Type` is `AdaptiveDynamicStreaming`. // Note: This field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingTask *ReduceMediaBitrateAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitempty" name:"AdaptiveDynamicStreamingTask"` }
type ReduceMediaBitrateTask ¶
type ReduceMediaBitrateTask struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The task flow status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitempty" name:"Status"` // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // The name of the media file. FileName *string `json:"FileName,omitempty" name:"FileName"` // The address of the media file. FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // The metadata of the source video. // Note: This field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // The execution status and result of the bitrate reduction task. MediaProcessResultSet []*ReduceMediaBitrateMediaProcessTaskResult `json:"MediaProcessResultSet,omitempty" name:"MediaProcessResultSet"` // The task priority, which can be a value from -10 to 10. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // The notification mode for the change of task status. Valid values: // <li>Finish: Send a notification after the task is completed.</li> // <li>None: Do not send status change notifications for this task.</li> TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` }
type ReduceMediaBitrateTranscodeResult ¶
type ReduceMediaBitrateTranscodeResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitempty" name:"Status"` // The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The input of a transcoding task. Input *TranscodeTaskInput `json:"Input,omitempty" name:"Input"` // The output of a transcoding task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaTranscodeItem `json:"Output,omitempty" name:"Output"` // The transcoding progress. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // The start time of the transcoding task, in [ISO date format](https://www.tencentcloud.com/document/product/266/11732#iso-date-format). BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"` // The end time of the transcoding task, in [ISO date format](https://www.tencentcloud.com/document/product/266/11732#iso-date-format). FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` }
type RefererAuthPolicy ¶
type RefererAuthPolicy struct { // [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/33985) status. Valid values: // <li>Enabled</li> // <li>Disabled</li> Status *string `json:"Status,omitempty" name:"Status"` // Referer authentication method. Valid values: // <li>`Black`: blocklist. Any HTTP request carrying a referer in the `Referers` list will be rejected. </li> // <li>`White`: allowlist. Only HTTP requests carrying referers in the `Referers` list will be accepted.</li> // When `Status` is set to `Enabled`, `AuthType` must be specified. AuthType *string `json:"AuthType,omitempty" name:"AuthType"` // The list of referers (up to 20). When `Status` is set to `Enabled`, `Referers` cannot be empty. Enter domain names as referers. Referers []*string `json:"Referers,omitempty" name:"Referers"` // Whether to allow requests with empty referer to access this domain name. Valid values: // <li>`Yes`</li> // <li>`No`</li> // When `Status` is set to `Enabled`, `BlankRefererAllowed` must be specified. BlankRefererAllowed *string `json:"BlankRefererAllowed,omitempty" name:"BlankRefererAllowed"` }
type RefreshUrlCacheRequest ¶
type RefreshUrlCacheRequest struct { *tchttp.BaseRequest // The URLs to purge. You can specify up to 20 URLs per request. Urls []*string `json:"Urls,omitempty" name:"Urls"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewRefreshUrlCacheRequest ¶
func NewRefreshUrlCacheRequest() (request *RefreshUrlCacheRequest)
func (*RefreshUrlCacheRequest) FromJsonString ¶
func (r *RefreshUrlCacheRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RefreshUrlCacheRequest) ToJsonString ¶
func (r *RefreshUrlCacheRequest) ToJsonString() string
type RefreshUrlCacheRequestParams ¶
type RefreshUrlCacheRequestParams struct { // The URLs to purge. You can specify up to 20 URLs per request. Urls []*string `json:"Urls,omitempty" name:"Urls"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type RefreshUrlCacheResponse ¶
type RefreshUrlCacheResponse struct { *tchttp.BaseResponse Response *RefreshUrlCacheResponseParams `json:"Response"` }
func NewRefreshUrlCacheResponse ¶
func NewRefreshUrlCacheResponse() (response *RefreshUrlCacheResponse)
func (*RefreshUrlCacheResponse) FromJsonString ¶
func (r *RefreshUrlCacheResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RefreshUrlCacheResponse) ToJsonString ¶
func (r *RefreshUrlCacheResponse) ToJsonString() string
type RefreshUrlCacheResponseParams ¶
type RefreshUrlCacheResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RemoveWaterMarkTaskInput ¶
type RemoveWaterMarkTaskInput struct { // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` }
type RemoveWaterMarkTaskOutput ¶
type RemoveWaterMarkTaskOutput struct { // The file ID of the video. FileId *string `json:"FileId,omitempty" name:"FileId"` // The metadata of the video, including size, duration, video stream information, and audio stream information. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` }
type RemoveWatermarkRequest ¶
type RemoveWatermarkRequest struct { *tchttp.BaseRequest // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The priority of a task flow. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // This parameter is invalid now. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` }
func NewRemoveWatermarkRequest ¶
func NewRemoveWatermarkRequest() (request *RemoveWatermarkRequest)
func (*RemoveWatermarkRequest) FromJsonString ¶
func (r *RemoveWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveWatermarkRequest) ToJsonString ¶
func (r *RemoveWatermarkRequest) ToJsonString() string
type RemoveWatermarkRequestParams ¶
type RemoveWatermarkRequestParams struct { // The ID of the media file. FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The priority of a task flow. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // This parameter is invalid now. TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"` }
Predefined struct for user
type RemoveWatermarkResponse ¶
type RemoveWatermarkResponse struct { *tchttp.BaseResponse Response *RemoveWatermarkResponseParams `json:"Response"` }
func NewRemoveWatermarkResponse ¶
func NewRemoveWatermarkResponse() (response *RemoveWatermarkResponse)
func (*RemoveWatermarkResponse) FromJsonString ¶
func (r *RemoveWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveWatermarkResponse) ToJsonString ¶
func (r *RemoveWatermarkResponse) ToJsonString() string
type RemoveWatermarkResponseParams ¶
type RemoveWatermarkResponseParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RemoveWatermarkTask ¶
type RemoveWatermarkTask struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The task flow status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0: Successful; other values: Failed. // <li>40000: Invalid input parameter.</li> // <li>60000: Source file error (e.g., video data is corrupted).</li> // <li>70000: Internal server error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The input of a watermark removal task. // Note: This field may return null, indicating that no valid values can be obtained. Input *RemoveWaterMarkTaskInput `json:"Input,omitempty" name:"Input"` // The output of a watermark removal task. // Note: This field may return null, indicating that no valid values can be obtained. Output *RemoveWaterMarkTaskOutput `json:"Output,omitempty" name:"Output"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type ResetProcedureTemplateRequest ¶
type ResetProcedureTemplateRequest struct { *tchttp.BaseRequest // Task flow name Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Parameter of AI-based content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Parameter of AI-based content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of AI-based content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewResetProcedureTemplateRequest ¶
func NewResetProcedureTemplateRequest() (request *ResetProcedureTemplateRequest)
func (*ResetProcedureTemplateRequest) FromJsonString ¶
func (r *ResetProcedureTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetProcedureTemplateRequest) ToJsonString ¶
func (r *ResetProcedureTemplateRequest) ToJsonString() string
type ResetProcedureTemplateRequestParams ¶
type ResetProcedureTemplateRequestParams struct { // Task flow name Name *string `json:"Name,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitempty" name:"Comment"` // Parameter of video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"` // Parameter of AI-based content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"` // Parameter of AI-based content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"` // Type parameter of AI-based content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"` // [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type ResetProcedureTemplateResponse ¶
type ResetProcedureTemplateResponse struct { *tchttp.BaseResponse Response *ResetProcedureTemplateResponseParams `json:"Response"` }
func NewResetProcedureTemplateResponse ¶
func NewResetProcedureTemplateResponse() (response *ResetProcedureTemplateResponse)
func (*ResetProcedureTemplateResponse) FromJsonString ¶
func (r *ResetProcedureTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetProcedureTemplateResponse) ToJsonString ¶
func (r *ResetProcedureTemplateResponse) ToJsonString() string
type ResetProcedureTemplateResponseParams ¶
type ResetProcedureTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResolutionNameInfo ¶
type ResourceTag ¶
type RestoreMediaRequest ¶
type RestoreMediaRequest struct { *tchttp.BaseRequest // The IDs of media files. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // The number of days during which the restored files will remain available. RestoreDay *uint64 `json:"RestoreDay,omitempty" name:"RestoreDay"` // The retrieval mode. If the current storage class is ARCHIVE, the valid values for this parameter are as follows: // <li>Expedited: The files are made available in five minutes.</li> // <li>Standard: The files are made available in five hours.</li> // <li>Bulk: The files are made available in 12 hours.</li> // If the current storage class is DEEP ARCHIVE, the valid values for this parameter are as follows: // <li>Standard: The files are made available in 24 hours.</li> // <li>Bulk: The files are made available in 48 hours.</li> RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"` // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewRestoreMediaRequest ¶
func NewRestoreMediaRequest() (request *RestoreMediaRequest)
func (*RestoreMediaRequest) FromJsonString ¶
func (r *RestoreMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreMediaRequest) ToJsonString ¶
func (r *RestoreMediaRequest) ToJsonString() string
type RestoreMediaRequestParams ¶
type RestoreMediaRequestParams struct { // The IDs of media files. FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // The number of days during which the restored files will remain available. RestoreDay *uint64 `json:"RestoreDay,omitempty" name:"RestoreDay"` // The retrieval mode. If the current storage class is ARCHIVE, the valid values for this parameter are as follows: // <li>Expedited: The files are made available in five minutes.</li> // <li>Standard: The files are made available in five hours.</li> // <li>Bulk: The files are made available in 12 hours.</li> // If the current storage class is DEEP ARCHIVE, the valid values for this parameter are as follows: // <li>Standard: The files are made available in 24 hours.</li> // <li>Bulk: The files are made available in 48 hours.</li> RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"` // The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type RestoreMediaResponse ¶
type RestoreMediaResponse struct { *tchttp.BaseResponse Response *RestoreMediaResponseParams `json:"Response"` }
func NewRestoreMediaResponse ¶
func NewRestoreMediaResponse() (response *RestoreMediaResponse)
func (*RestoreMediaResponse) FromJsonString ¶
func (r *RestoreMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreMediaResponse) ToJsonString ¶
func (r *RestoreMediaResponse) ToJsonString() string
type RestoreMediaResponseParams ¶
type RestoreMediaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RestoreMediaTask ¶
type RestoreMediaTask struct { // File ID FileId *string `json:"FileId,omitempty" name:"FileId"` // Original storage class OriginalStorageClass *string `json:"OriginalStorageClass,omitempty" name:"OriginalStorageClass"` // Target storage class. For temporary retrieval, the target storage class is the same as the original. TargetStorageClass *string `json:"TargetStorageClass,omitempty" name:"TargetStorageClass"` // Retrieval mode. Valid values: // <li>Expedited</li> // <li>Standard</li> // <li>Bulk</li> RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"` // Validity period (days) for a temporary copy. `0` indicates permanent retrieval. RestoreDay *int64 `json:"RestoreDay,omitempty" name:"RestoreDay"` // This field has been disused. Status *int64 `json:"Status,omitempty" name:"Status"` // This field has been disused. Message *string `json:"Message,omitempty" name:"Message"` }
type ReviewAudioVideoRequest ¶
type ReviewAudioVideoRequest struct { *tchttp.BaseRequest // The media file ID, which is assigned after upload and uniquely identifies a file in VOD. You can view the ID of a file in the [NewFileUpload](https://www.tencentcloud.com/document/product/266/33950) callback or in the [VOD console](https://console.tencentcloud.com/vod/media). FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://www.tencentcloud.com/document/product/266/33987) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The moderation template ID. Valid values: // <li>`10` (default): The preset template, which can detect inappropriate information with labels including pornographic (`Porn`), terrorist (`Terror`), and politically sensitive (`Polity`).</li> Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The priority of a task flow. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // The source context, which is used to pass through user request information. The `ReviewAudioVideoComplete` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The session ID, which is used to identify duplicate requests. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
func NewReviewAudioVideoRequest ¶
func NewReviewAudioVideoRequest() (request *ReviewAudioVideoRequest)
func (*ReviewAudioVideoRequest) FromJsonString ¶
func (r *ReviewAudioVideoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReviewAudioVideoRequest) ToJsonString ¶
func (r *ReviewAudioVideoRequest) ToJsonString() string
type ReviewAudioVideoRequestParams ¶
type ReviewAudioVideoRequestParams struct { // The media file ID, which is assigned after upload and uniquely identifies a file in VOD. You can view the ID of a file in the [NewFileUpload](https://www.tencentcloud.com/document/product/266/33950) callback or in the [VOD console](https://console.tencentcloud.com/vod/media). FileId *string `json:"FileId,omitempty" name:"FileId"` // <b>The VOD [subapplication](https://www.tencentcloud.com/document/product/266/33987) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The moderation template ID. Valid values: // <li>`10` (default): The preset template, which can detect inappropriate information with labels including pornographic (`Porn`), terrorist (`Terror`), and politically sensitive (`Polity`).</li> Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The priority of a task flow. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"` // The source context, which is used to pass through user request information. The `ReviewAudioVideoComplete` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // The session ID, which is used to identify duplicate requests. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // A reserved parameter. ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` }
Predefined struct for user
type ReviewAudioVideoResponse ¶
type ReviewAudioVideoResponse struct { *tchttp.BaseResponse Response *ReviewAudioVideoResponseParams `json:"Response"` }
func NewReviewAudioVideoResponse ¶
func NewReviewAudioVideoResponse() (response *ReviewAudioVideoResponse)
func (*ReviewAudioVideoResponse) FromJsonString ¶
func (r *ReviewAudioVideoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReviewAudioVideoResponse) ToJsonString ¶
func (r *ReviewAudioVideoResponse) ToJsonString() string
type ReviewAudioVideoResponseParams ¶
type ReviewAudioVideoResponseParams struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReviewAudioVideoSegmentItem ¶
type ReviewAudioVideoSegmentItem struct { // The start time offset (seconds) of the segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // The end time offset (seconds) of the segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // The confidence score of the segment. Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"` // The processing suggestion for the segment. Valid values: // <li>review: The content may be non-compliant. Please review it.</li> // <li>block: The content is non-compliant. We recommend you block it.</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // The most likely label for the segment. Valid values: // <li>Porn</li> // <li>Terrorism</li> Label *string `json:"Label,omitempty" name:"Label"` // The sublabel for the segment. This parameter is valid only if `Form` is `Image` or `Voice`. // Valid values when `Form` is `Image` and `Label` is `Porn`: // <li>porn</li> // <li>vulgar</li> // // Valid values when `Form` is `Image` and `Label` is `Terrorism`: // <li>guns</li> // <li>bloody</li> // <li>banners</li> // <li>scenario (terrorist scenes)</li> // <li>explosion</li> // // Valid values when `Form` is `Voice` and `Label` is `Porn`: // <li>moan</li> SubLabel *string `json:"SubLabel,omitempty" name:"SubLabel"` // The format of the suspicious segment detected. Valid values: // <li>Image</li> // <li>OCR</li> // <li>ASR</li> // <li>Voice</li> Form *string `json:"Form,omitempty" name:"Form"` // The pixel coordinates ([x1, y1, x2, y2]) of the top-left corner and bottom-right corner of the suspicious text. This parameter is valid only if `Form` is `OCR`. // <font color=red>Note</font>: This parameter is not supported currently. AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"` // The content of the suspicious text detected. This parameter is valid only if `Form` is `OCR` or `ASR`. Text *string `json:"Text,omitempty" name:"Text"` // The keywords that match the suspicious text. This parameter is valid only if `Form` is `OCR` or `ASR`. KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet"` // The URL of a suspected image (which will be deleted // after `PicUrlExpireTime`). Url *string `json:"Url,omitempty" name:"Url"` // The expiration time of the suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"` }
type ReviewAudioVideoTask ¶
type ReviewAudioVideoTask struct { // The task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The task status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitempty" name:"Status"` // The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // The error message. Message *string `json:"Message,omitempty" name:"Message"` // The input of a moderation task. // Note: This field may return `null`, indicating that no valid values can be obtained. Input *ReviewAudioVideoTaskInput `json:"Input,omitempty" name:"Input"` // The output of a moderation task. // Note: This field may return null, indicating that no valid values can be obtained. Output *ReviewAudioVideoTaskOutput `json:"Output,omitempty" name:"Output"` // The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The source context, which is used to pass through user request information. The `ReviewAudioVideoComplete` callback will return the value of this parameter. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type ReviewAudioVideoTaskOutput ¶
type ReviewAudioVideoTaskOutput struct { // The handling suggestion. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"` // The most likely label for the suspicious content. This parameter is valid only if `Suggestion` is `review` or `block`. // <li>Porn</li> // <li>Terrorism</li> Label *string `json:"Label,omitempty" name:"Label"` // The most likely format of the suspicious content. This parameter is valid only if `Suggestion` is `review` or `block`. // <li>Image</li> // <li>OCR</li> // <li>ASR</li> // <li>Voice</li> Form *string `json:"Form,omitempty" name:"Form"` // A list of the suspicious segments detected. // <font color=red>Note</font>: Only the first 10 results will be returned at most. You can get all the results from the file specified by `SegmentSetFileUrl`. SegmentSet []*ReviewAudioVideoSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"` // The URL of the file that contains suspicious segments. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time (`SegmentSetFileUrlExpireTime`). SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"` // The expiration time of the file that contains suspicious segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"` }
type SDMCDrmKeyProviderInfo ¶
type SDMCDrmKeyProviderInfo struct { // The user ID assigned by SDMC, which can contain up to 128 characters. Uid *string `json:"Uid,omitempty" name:"Uid"` // The secret ID assigned by SDMC, which can contain up to 128 characters. SecretId *string `json:"SecretId,omitempty" name:"SecretId"` // The secret key assigned by SDMC, which can contain up to 128 characters. SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"` // The URL of the FairPlay certificate issued by SDMC. It must be an HTTPS address and can contain up to 1,024 characters. FairPlayCertificateUrl *string `json:"FairPlayCertificateUrl,omitempty" name:"FairPlayCertificateUrl"` }
type SampleSnapshotTaskInput ¶
type SampleSnapshotTaskInput struct { // Sampled screencapturing template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // List of up to 10 image or text watermarks. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"` }
type SampleSnapshotTemplate ¶
type SampleSnapshotTemplate struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Name of a sampled screencapturing template. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitempty" name:"Format"` // Sampled screencapturing type. SampleType *string `json:"SampleType,omitempty" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // The fill mode, or the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values: // <li>stretch: Stretch the image frame by frame to fill the entire screen. The video image may become "squashed" or "stretched" after transcoding.</li> // <li>black: Keep the image's original aspect ratio and fill the blank space with black bars.</li> // <li>white: Keep the image’s original aspect ratio and fill the blank space with white bars.</li> // <li>gauss: Keep the image’s original aspect ratio and apply Gaussian blur to the blank space.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
type SearchMediaRequest ¶
type SearchMediaRequest struct { *tchttp.BaseRequest // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // File ID set. Any element in the set can be matched. // <li>Array length limit: 10.</li> // <li>ID length limit: 40 characters.</li> FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // Filename set. Filenames of media files are fuzzily matched. The higher the match rate, the higher-ranked the result. // <li>Filename length limit: 40 characters.</li> // <li>Array length limit: 10.</li> Names []*string `json:"Names,omitempty" name:"Names"` // Filename prefix, which matches the filenames of media files. // <li>Filename prefix length limit: 20 characters.</li> // <li>Array length limit: 10.</li> NamePrefixes []*string `json:"NamePrefixes,omitempty" name:"NamePrefixes"` // File description set. Media file descriptions are fuzzily matched. The higher the match rate, the higher-ranked the result. // <li>Length limit for a single description: 100 characters</li> // <li>Array length limit: 10</li> Descriptions []*string `json:"Descriptions,omitempty" name:"Descriptions"` // Category ID set. The categories of the specified IDs and all subcategories in the set are matched. // <li>Array length limit: 10.</li> ClassIds []*int64 `json:"ClassIds,omitempty" name:"ClassIds"` // The tag set. A file is considered a match if it has any of the tags in the tag set. // <li>Tag length limit: 16 characters.</li> // <li>Array length limit: 10.</li> Tags []*string `json:"Tags,omitempty" name:"Tags"` // File type. Any element in the set can be matched. // <li>Video: video file</li> // <li>Audio: audio file</li> // <li>Image: image file</li> Categories []*string `json:"Categories,omitempty" name:"Categories"` // Media file source set. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData). // <li>Array length limit: 10.</li> SourceTypes []*string `json:"SourceTypes,omitempty" name:"SourceTypes"` // The live stream code array. A media file will be returned if it matches any element in the array. // <li>Array length limit: 10</li> StreamIds []*string `json:"StreamIds,omitempty" name:"StreamIds"` // Matches files created within the time period. // <li>Includes specified start and end points in time.</li> CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"` // Files whose expiration time points are within the specified time range will be returned. Expired files will not be returned. // <li>The files whose expiration time points are on the start or end time of the specified range will also be returned.</li> ExpireTime *TimeRange `json:"ExpireTime,omitempty" name:"ExpireTime"` // Sorting order. // <li>Valid value of `Sort.Field`: CreateTime.</li> // <li>If `Text`, `Names`, or `Descriptions` is not empty, the `Sort.Field` field will not take effect, and the search results will be sorted by match rate.</li> Sort *SortBy `json:"Sort,omitempty" name:"Sort"` // <div id="p_offset">Start offset of a paged return. Default value: 0. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned. // <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div> Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // <div id="p_limit">Number of entries returned by a paged query. Default value: 10. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned. // <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div> Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Specifies information entry that needs to be returned for all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values: // <li>basicInfo (basic video information).</li> // <li>metaData (video metadata).</li> // <li>transcodeInfo (result information of video transcoding).</li> // <li>animatedGraphicsInfo (result information of animated image generating task).</li> // <li>imageSpriteInfo (image sprite information).</li> // <li>snapshotByTimeOffsetInfo (point-in-time screenshot information).</li> // <li>sampleSnapshotInfo (sampled screenshot information).</li> // <li>keyFrameDescInfo (timestamp information).</li> // <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li> // <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li> Filters []*string `json:"Filters,omitempty" name:"Filters"` // Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Regions](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8). // <li>Length limit for a single region: 20 characters</li> // <li>Array length limit: 20</li> StorageRegions []*string `json:"StorageRegions,omitempty" name:"StorageRegions"` // An array of storage classes. Valid values: // <li>STANDARD</li> // <li>STANDARD_IA</li> // <li>ARCHIVE</li> // <li>DEEP_ARCHIVE</li> StorageClasses []*string `json:"StorageClasses,omitempty" name:"StorageClasses"` // The TRTC application IDs. Any file that matches one of the application IDs will be returned. // <li>Array length limit: 10</li> TrtcSdkAppIds []*uint64 `json:"TrtcSdkAppIds,omitempty" name:"TrtcSdkAppIds"` // The TRTC room IDs. Any file that matches one of the room IDs will be returned. // <li>Element length limit: 64 characters.</li> // <li>Array length limit: 10.</li> TrtcRoomIds []*string `json:"TrtcRoomIds,omitempty" name:"TrtcRoomIds"` // (This is not recommended. `Names`, `NamePrefixes`, or `Descriptions` should be used instead) // Search text, which fuzzily matches the media file name or description. The more matching items and the higher the match rate, the higher-ranked the result. It can contain up to 64 characters. Text *string `json:"Text,omitempty" name:"Text"` // (This is not recommended. `SourceTypes` should be used instead) // Media file source. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData). SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // (Not recommended. Consider using `StreamIds` instead.) // The live stream code. StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // (This is not recommended. `CreateTime` should be used instead) // Start time in the creation time range. // <li>After or at the start time.</li> // <li>If `CreateTime.After` also exists, it will be used first.</li> // <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // (This is not recommended. `CreateTime` should be used instead) // End time in the creation time range. // <li>Before the end time.</li> // <li>If `CreateTime.Before` also exists, it will be used first.</li> // <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // This parameter is invalid now. Vids []*string `json:"Vids,omitempty" name:"Vids"` // This parameter is invalid now. Vid *string `json:"Vid,omitempty" name:"Vid"` }
func NewSearchMediaRequest ¶
func NewSearchMediaRequest() (request *SearchMediaRequest)
func (*SearchMediaRequest) FromJsonString ¶
func (r *SearchMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchMediaRequest) ToJsonString ¶
func (r *SearchMediaRequest) ToJsonString() string
type SearchMediaRequestParams ¶
type SearchMediaRequestParams struct { // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // File ID set. Any element in the set can be matched. // <li>Array length limit: 10.</li> // <li>ID length limit: 40 characters.</li> FileIds []*string `json:"FileIds,omitempty" name:"FileIds"` // Filename set. Filenames of media files are fuzzily matched. The higher the match rate, the higher-ranked the result. // <li>Filename length limit: 40 characters.</li> // <li>Array length limit: 10.</li> Names []*string `json:"Names,omitempty" name:"Names"` // Filename prefix, which matches the filenames of media files. // <li>Filename prefix length limit: 20 characters.</li> // <li>Array length limit: 10.</li> NamePrefixes []*string `json:"NamePrefixes,omitempty" name:"NamePrefixes"` // File description set. Media file descriptions are fuzzily matched. The higher the match rate, the higher-ranked the result. // <li>Length limit for a single description: 100 characters</li> // <li>Array length limit: 10</li> Descriptions []*string `json:"Descriptions,omitempty" name:"Descriptions"` // Category ID set. The categories of the specified IDs and all subcategories in the set are matched. // <li>Array length limit: 10.</li> ClassIds []*int64 `json:"ClassIds,omitempty" name:"ClassIds"` // The tag set. A file is considered a match if it has any of the tags in the tag set. // <li>Tag length limit: 16 characters.</li> // <li>Array length limit: 10.</li> Tags []*string `json:"Tags,omitempty" name:"Tags"` // File type. Any element in the set can be matched. // <li>Video: video file</li> // <li>Audio: audio file</li> // <li>Image: image file</li> Categories []*string `json:"Categories,omitempty" name:"Categories"` // Media file source set. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData). // <li>Array length limit: 10.</li> SourceTypes []*string `json:"SourceTypes,omitempty" name:"SourceTypes"` // The live stream code array. A media file will be returned if it matches any element in the array. // <li>Array length limit: 10</li> StreamIds []*string `json:"StreamIds,omitempty" name:"StreamIds"` // Matches files created within the time period. // <li>Includes specified start and end points in time.</li> CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"` // Files whose expiration time points are within the specified time range will be returned. Expired files will not be returned. // <li>The files whose expiration time points are on the start or end time of the specified range will also be returned.</li> ExpireTime *TimeRange `json:"ExpireTime,omitempty" name:"ExpireTime"` // Sorting order. // <li>Valid value of `Sort.Field`: CreateTime.</li> // <li>If `Text`, `Names`, or `Descriptions` is not empty, the `Sort.Field` field will not take effect, and the search results will be sorted by match rate.</li> Sort *SortBy `json:"Sort,omitempty" name:"Sort"` // <div id="p_offset">Start offset of a paged return. Default value: 0. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned. // <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div> Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // <div id="p_limit">Number of entries returned by a paged query. Default value: 10. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned. // <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div> Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Specifies information entry that needs to be returned for all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values: // <li>basicInfo (basic video information).</li> // <li>metaData (video metadata).</li> // <li>transcodeInfo (result information of video transcoding).</li> // <li>animatedGraphicsInfo (result information of animated image generating task).</li> // <li>imageSpriteInfo (image sprite information).</li> // <li>snapshotByTimeOffsetInfo (point-in-time screenshot information).</li> // <li>sampleSnapshotInfo (sampled screenshot information).</li> // <li>keyFrameDescInfo (timestamp information).</li> // <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li> // <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li> Filters []*string `json:"Filters,omitempty" name:"Filters"` // Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Regions](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8). // <li>Length limit for a single region: 20 characters</li> // <li>Array length limit: 20</li> StorageRegions []*string `json:"StorageRegions,omitempty" name:"StorageRegions"` // An array of storage classes. Valid values: // <li>STANDARD</li> // <li>STANDARD_IA</li> // <li>ARCHIVE</li> // <li>DEEP_ARCHIVE</li> StorageClasses []*string `json:"StorageClasses,omitempty" name:"StorageClasses"` // The TRTC application IDs. Any file that matches one of the application IDs will be returned. // <li>Array length limit: 10</li> TrtcSdkAppIds []*uint64 `json:"TrtcSdkAppIds,omitempty" name:"TrtcSdkAppIds"` // The TRTC room IDs. Any file that matches one of the room IDs will be returned. // <li>Element length limit: 64 characters.</li> // <li>Array length limit: 10.</li> TrtcRoomIds []*string `json:"TrtcRoomIds,omitempty" name:"TrtcRoomIds"` // (This is not recommended. `Names`, `NamePrefixes`, or `Descriptions` should be used instead) // Search text, which fuzzily matches the media file name or description. The more matching items and the higher the match rate, the higher-ranked the result. It can contain up to 64 characters. Text *string `json:"Text,omitempty" name:"Text"` // (This is not recommended. `SourceTypes` should be used instead) // Media file source. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData). SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // (Not recommended. Consider using `StreamIds` instead.) // The live stream code. StreamId *string `json:"StreamId,omitempty" name:"StreamId"` // (This is not recommended. `CreateTime` should be used instead) // Start time in the creation time range. // <li>After or at the start time.</li> // <li>If `CreateTime.After` also exists, it will be used first.</li> // <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // (This is not recommended. `CreateTime` should be used instead) // End time in the creation time range. // <li>Before the end time.</li> // <li>If `CreateTime.Before` also exists, it will be used first.</li> // <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // This parameter is invalid now. Vids []*string `json:"Vids,omitempty" name:"Vids"` // This parameter is invalid now. Vid *string `json:"Vid,omitempty" name:"Vid"` }
Predefined struct for user
type SearchMediaResponse ¶
type SearchMediaResponse struct { *tchttp.BaseResponse Response *SearchMediaResponseParams `json:"Response"` }
func NewSearchMediaResponse ¶
func NewSearchMediaResponse() (response *SearchMediaResponse)
func (*SearchMediaResponse) FromJsonString ¶
func (r *SearchMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchMediaResponse) ToJsonString ¶
func (r *SearchMediaResponse) ToJsonString() string
type SearchMediaResponseParams ¶
type SearchMediaResponseParams struct { // Number of eligible entries. // <li>Maximum value: 5000. If the number of eligible entries is greater than 5,000, this field will return 5,000 instead of the actual number.</li> TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Media file information list MediaInfoSet []*MediaInfo `json:"MediaInfoSet,omitempty" name:"MediaInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SegmentConfigureInfo ¶
type SegmentConfigureInfo struct { // Switch of video splitting recognition task. Valid values: // <li>ON: enables intelligent video splitting recognition task;</li> // <li>OFF: disables intelligent video splitting recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type SegmentConfigureInfoForUpdate ¶
type SegmentConfigureInfoForUpdate struct { // Switch of video splitting recognition task. Valid values: // <li>ON: enables intelligent video splitting recognition task;</li> // <li>OFF: disables intelligent video splitting recognition task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type SetDrmKeyProviderInfoRequest ¶
type SetDrmKeyProviderInfoRequest struct { *tchttp.BaseRequest // The DRM key information provided by SDMC. SDMCInfo *SDMCDrmKeyProviderInfo `json:"SDMCInfo,omitempty" name:"SDMCInfo"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
func NewSetDrmKeyProviderInfoRequest ¶
func NewSetDrmKeyProviderInfoRequest() (request *SetDrmKeyProviderInfoRequest)
func (*SetDrmKeyProviderInfoRequest) FromJsonString ¶
func (r *SetDrmKeyProviderInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDrmKeyProviderInfoRequest) ToJsonString ¶
func (r *SetDrmKeyProviderInfoRequest) ToJsonString() string
type SetDrmKeyProviderInfoRequestParams ¶
type SetDrmKeyProviderInfoRequestParams struct { // The DRM key information provided by SDMC. SDMCInfo *SDMCDrmKeyProviderInfo `json:"SDMCInfo,omitempty" name:"SDMCInfo"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` }
Predefined struct for user
type SetDrmKeyProviderInfoResponse ¶
type SetDrmKeyProviderInfoResponse struct { *tchttp.BaseResponse Response *SetDrmKeyProviderInfoResponseParams `json:"Response"` }
func NewSetDrmKeyProviderInfoResponse ¶
func NewSetDrmKeyProviderInfoResponse() (response *SetDrmKeyProviderInfoResponse)
func (*SetDrmKeyProviderInfoResponse) FromJsonString ¶
func (r *SetDrmKeyProviderInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDrmKeyProviderInfoResponse) ToJsonString ¶
func (r *SetDrmKeyProviderInfoResponse) ToJsonString() string
type SetDrmKeyProviderInfoResponseParams ¶
type SetDrmKeyProviderInfoResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SimpleHlsClipRequest ¶
type SimpleHlsClipRequest struct { *tchttp.BaseRequest // URL of the HLS video in VOD that needs to be clipped. Url *string `json:"Url,omitempty" name:"Url"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Start offset time of clipping in seconds. Default value: 0, which means to clip from the beginning of the video. A negative number indicates how many seconds from the end of the video clipping will start at. For example, -10 means that clipping will start at the 10th second from the end. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End offset time of clipping in seconds. Default value: 0, which means to clip till the end of the video. A negative number indicates how many seconds from the end of the video clipping will end. For example, -10 means that clipping will end at the 10th second from the end. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Whether to store the video clip persistently. 0: no (default), 1: yes. IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"` // The expiration time of the video clip that is to be saved, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` is the default value, which means the video clip will never expire. After expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter is valid only if `IsPersistence` is 1. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // The task flow to execute on the video clipped for persistent storage. For details, see [Upload from Server](https://intl.cloud.tencent.com/document/product/266/33912). This parameter is valid only if `IsPersistence` is 1. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // The ID of the media file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID. // <li>The default value is `0`, which means the “Other” category.</li> // This parameter is valid only if `IsPersistence` is `1`. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
func NewSimpleHlsClipRequest ¶
func NewSimpleHlsClipRequest() (request *SimpleHlsClipRequest)
func (*SimpleHlsClipRequest) FromJsonString ¶
func (r *SimpleHlsClipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SimpleHlsClipRequest) ToJsonString ¶
func (r *SimpleHlsClipRequest) ToJsonString() string
type SimpleHlsClipRequestParams ¶
type SimpleHlsClipRequestParams struct { // URL of the HLS video in VOD that needs to be clipped. Url *string `json:"Url,omitempty" name:"Url"` // <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b> SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // Start offset time of clipping in seconds. Default value: 0, which means to clip from the beginning of the video. A negative number indicates how many seconds from the end of the video clipping will start at. For example, -10 means that clipping will start at the 10th second from the end. StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End offset time of clipping in seconds. Default value: 0, which means to clip till the end of the video. A negative number indicates how many seconds from the end of the video clipping will end. For example, -10 means that clipping will end at the 10th second from the end. EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Whether to store the video clip persistently. 0: no (default), 1: yes. IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"` // The expiration time of the video clip that is to be saved, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` is the default value, which means the video clip will never expire. After expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter is valid only if `IsPersistence` is 1. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // The task flow to execute on the video clipped for persistent storage. For details, see [Upload from Server](https://intl.cloud.tencent.com/document/product/266/33912). This parameter is valid only if `IsPersistence` is 1. Procedure *string `json:"Procedure,omitempty" name:"Procedure"` // The ID of the media file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID. // <li>The default value is `0`, which means the “Other” category.</li> // This parameter is valid only if `IsPersistence` is `1`. ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`. SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"` // The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
Predefined struct for user
type SimpleHlsClipResponse ¶
type SimpleHlsClipResponse struct { *tchttp.BaseResponse Response *SimpleHlsClipResponseParams `json:"Response"` }
func NewSimpleHlsClipResponse ¶
func NewSimpleHlsClipResponse() (response *SimpleHlsClipResponse)
func (*SimpleHlsClipResponse) FromJsonString ¶
func (r *SimpleHlsClipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SimpleHlsClipResponse) ToJsonString ¶
func (r *SimpleHlsClipResponse) ToJsonString() string
type SimpleHlsClipResponseParams ¶
type SimpleHlsClipResponseParams struct { // Address of clipped video. Url *string `json:"Url,omitempty" name:"Url"` // Metadata of clipped video. Currently, `Size`, `Rotate`, `VideoDuration`, and `AudioDuration` fields use default value with no actual data. MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"` // Unique ID of a video clip for persistent storage. FileId *string `json:"FileId,omitempty" name:"FileId"` // The ID of the task flow to execute on the video clipped for persistent storage. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SnapshotByTimeOffset2017 ¶
type SnapshotByTimeOffset2017 struct { // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Specific time point of screenshot in milliseconds. // Note: this field may return null, indicating that no valid values can be obtained. TimeOffset *uint64 `json:"TimeOffset,omitempty" name:"TimeOffset"` // Address of output screenshot file. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` }
type SnapshotByTimeOffsetTask2017 ¶
type SnapshotByTimeOffsetTask2017 struct { // Screencapturing task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Screenshot file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // screenshot specification. For more information, please see [Parameter Template for Time Point Screencapturing](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Result information of screencapturing. SnapshotInfoSet []*SnapshotByTimeOffset2017 `json:"SnapshotInfoSet,omitempty" name:"SnapshotInfoSet"` }
type SnapshotByTimeOffsetTaskInput ¶
type SnapshotByTimeOffsetTaskInput struct { // Time point screencapturing template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // The list of screenshot time points. “s” and “%” formats are supported: // <li>When a time point string ends with “s”, its unit is second. For example, “3.5s” means the 3.5th second of the video.</li> // <li>When a time point string ends with “%”, it represents the percentage of the video’s duration. For example, “10%” means that the time point is at the 10% of the video’s entire duration.</li> ExtTimeOffsetSet []*string `json:"ExtTimeOffsetSet,omitempty" name:"ExtTimeOffsetSet"` // List of time points for screencapturing in <font color=red>milliseconds</font>. // Note: this field may return null, indicating that no valid values can be obtained. TimeOffsetSet []*float64 `json:"TimeOffsetSet,omitempty" name:"TimeOffsetSet"` // List of up to 10 image or text watermarks. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"` }
type SnapshotByTimeOffsetTemplate ¶
type SnapshotByTimeOffsetTemplate struct { // Unique ID of a specified time point screencapturing template. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Name of a specified time point screencapturing template. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitempty" name:"Format"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // The fill mode, or the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values: // <li>stretch: Stretch the image frame by frame to fill the entire screen. The video image may become "squashed" or "stretched" after transcoding.</li> // <li>black: Keep the image's original aspect ratio and fill the blank space with black bars.</li> // <li>white: Keep the image’s original aspect ratio and fill the blank space with white bars.</li> // <li>gauss: Keep the image’s original aspect ratio and apply Gaussian blur to the blank space.</li> // Default value: black. FillType *string `json:"FillType,omitempty" name:"FillType"` }
type SpecificationDataItem ¶
type SpecificationDataItem struct { // Task specification. Specification *string `json:"Specification,omitempty" name:"Specification"` // Statistics. Data []*TaskStatDataItem `json:"Data,omitempty" name:"Data"` }
type SplitMediaOutputConfig ¶
type SplitMediaOutputConfig struct { // Name of an output file. This parameter can contain up to 64 characters, and will be generated by the system if it is left empty. MediaName *string `json:"MediaName,omitempty" name:"MediaName"` // Output file format. Valid values: mp4 (default), hls. Type *string `json:"Type,omitempty" name:"Type"` // Category ID, which is used to categorize the media file for management. You can use [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID. // <li>Default value: 0, which means other categories.</li> ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"` // Expiration time of an output file. After passing the expiration time, the file will be deleted. There is no expiration time set for a file by default. The time is in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` }
type SplitMediaTask ¶
type SplitMediaTask struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: processing</li> // <li>FINISH: finished</li> Status *string `json:"Status,omitempty" name:"Status"` // Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145). ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; other values indicate failure. You're not recommended to use this parameter, but to use the new parameter `ErrCodeExt`. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error information. Message *string `json:"Message,omitempty" name:"Message"` // List of video splitting task details. FileInfoSet []*SplitMediaTaskSegmentInfo `json:"FileInfoSet,omitempty" name:"FileInfoSet"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1000 characters. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` // ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or set to an empty string, no deduplication will be performed. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // The progress of a video splitting task. Value range: 0-100. Progress *int64 `json:"Progress,omitempty" name:"Progress"` }
type SplitMediaTaskInput ¶
type SplitMediaTaskInput struct { // Video ID. FileId *string `json:"FileId,omitempty" name:"FileId"` // Offset of the video splitting start time in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will start at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will start at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will start at the nth second before the end of the original video.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // Offset of the video splitting end time in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will end at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will end at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will end at the nth second before the end of the original video.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // [Task flow template](https://intl.cloud.tencent.com/document/product/266/33931?lang=en&pg=) name, which should be entered if you want to perform a task flow on the generated new video. ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"` // Output information of a video splitting task. OutputConfig *SplitMediaOutputConfig `json:"OutputConfig,omitempty" name:"OutputConfig"` }
type SplitMediaTaskSegmentInfo ¶
type SplitMediaTaskSegmentInfo struct { // Input information of a video splitting task. Input *SplitMediaTaskInput `json:"Input,omitempty" name:"Input"` // Output information of a video splitting task. // Note: this field may return `null`, indicating that no valid values can be obtained. Output *TaskOutputMediaInfo `json:"Output,omitempty" name:"Output"` // If a video processing flow is specified when a video splitting task is initiated, this field will be the task flow ID. ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"` }
type StatDataItem ¶
type StatDataItem struct { // Start time of data time range in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). For example, if the time granularity is 1-day, `2018-12-01T00:00:00+08:00` represents the time range between December 1, 2018 (inclusive) and December 2, 2018 (not inclusive). // <li>For data at hourly level, `2019-08-22T00:00:00+08:00` indicates the statistics between 00:00 and 01:00 AM on August 22, 2019.</li> // <li>For data at daily level, `2019-08-22T00:00:00+08:00` indicates statistics on August 22, 2019.</li> Time *string `json:"Time,omitempty" name:"Time"` // The data size. // <li>Storage capacity in bytes.</li> // <li>Transcoding duration in seconds.</li> // <li>Traffic in bytes.</li> // <li>Bandwidth in bps.</li> // <li>Live stream clip duration in seconds.</li> Value *int64 `json:"Value,omitempty" name:"Value"` }
type StickerTrackItem ¶
type StickerTrackItem struct { // Source of media material for sticker segment, which can be: // <li>ID of VOD media files</li> // <li>Download URL of other media files</li> // Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature). SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"` // Sticker duration in seconds. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // Start time of sticker on track in seconds. StartTime *float64 `json:"StartTime,omitempty" name:"StartTime"` // Origin position. Valid values: // <li> Center: the origin of coordinates is the center position, such as the center of canvas.</li> // Default value: Center. CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the sticker will be at the position of the specified percentage of the canvas width; for example, `10%` means that `XPos` is 10% of the canvas width.</li><li>If the string ends in px, the `XPos` of the sticker will be in px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the sticker will be at the position of the specified percentage of the canvas height; for example, `10%` means that `YPos` is 10% of the canvas height.</li> // <li>If the string ends in px, the `YPos` of the sticker will be in px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitempty" name:"YPos"` // Sticker width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the sticker will be the specified percentage of the canvas width; for example, `10%` means that `Width` is 10% of the canvas width.</li> // <li>If the string ends in px, the `Width` of the sticker will be in px; for example, `100px` means that `Width` is 100 px.</li> // <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the sticker material, respectively.</li> // <li>If `Width` is empty (0), but `Height` is not empty, `Width` will be proportionally scaled.</li> // <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li> Width *string `json:"Width,omitempty" name:"Width"` // Sticker height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the sticker will be the specified percentage of the canvas height; for example, `10%` means that `Height` is 10% of the canvas height.</li> // <li>If the string ends in px, the `Height` of the sticker will be in px; for example, `100px` means that `Height` is 100 px.</li> // <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the sticker material, respectively.</li> // <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li> // <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li> Height *string `json:"Height,omitempty" name:"Height"` // Operation on sticker such as image rotation. // Note: this field may return null, indicating that no valid values can be obtained. ImageOperations []*ImageTransform `json:"ImageOperations,omitempty" name:"ImageOperations"` }
type StorageRegionInfo ¶
type StorageRegionInfo struct { // The storage region. Region *string `json:"Region,omitempty" name:"Region"` // The description of the storage region. Description *string `json:"Description,omitempty" name:"Description"` // Whether storage is enabled in the region. Valid values: // <li>opened: Enabled</li> // <li>unopened: Not enabled</li> Status *string `json:"Status,omitempty" name:"Status"` // Whether the region is the default storage region. Valid values: true, false. IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // Whether the storage region is inside or outside the Chinese mainland. Valid values: // <li>Chinese Mainland</li> // <li>Outside Chinese Mainland</li> Area *string `json:"Area,omitempty" name:"Area"` }
type StorageStatData ¶
type StorageStatData struct { // VOD storage billing region. Valid values: // <li>Chinese Mainland</li> // <li>Outside Chinese Mainland</li> Area *string `json:"Area,omitempty" name:"Area"` // Current total storage capacity in bytes. TotalStorage *uint64 `json:"TotalStorage,omitempty" name:"TotalStorage"` // Current STANDARD_IA storage capacity in bytes. InfrequentStorage *uint64 `json:"InfrequentStorage,omitempty" name:"InfrequentStorage"` // Current STANDARD storage capacity in bytes. StandardStorage *uint64 `json:"StandardStorage,omitempty" name:"StandardStorage"` // Current ARCHIVE storage usage in bytes ArchiveStorage *uint64 `json:"ArchiveStorage,omitempty" name:"ArchiveStorage"` // Current DEEP ARCHIVE storage usage in bytes DeepArchiveStorage *uint64 `json:"DeepArchiveStorage,omitempty" name:"DeepArchiveStorage"` }
type SubAppIdInfo ¶
type SubAppIdInfo struct { // Subapplication ID. SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"` // The subapplication name. SubAppIdName *string `json:"SubAppIdName,omitempty" name:"SubAppIdName"` // Subapplication overview. Description *string `json:"Description,omitempty" name:"Description"` // Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Subapplication status. Valid values: // <li>On: enabled</li> // <li>Off: disabled</li> // <li>Destroying: terminating</li> // <li>Destroyed: terminated</li> Status *string `json:"Status,omitempty" name:"Status"` // The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead. Name *string `json:"Name,omitempty" name:"Name"` }
type SubtitleFormatsOperation ¶
type SubtitleFormatsOperation struct { // The modification type. Valid values: // <li>add: Add the formats specified by `Formats`.</li> // <li>delete: Delete the formats specified by `Formats`.<l/i> // <li>reset: Reset the format list to formats specified by `Formats`.</li> Type *string `json:"Type,omitempty" name:"Type"` // The subtitle format list. Valid values: // <li>vtt</li> // <li>srt</li> Formats []*string `json:"Formats,omitempty" name:"Formats"` }
type SvgWatermarkInput ¶
type SvgWatermarkInput struct { // Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered // and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li> // <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `W%`.</li> // Default value: 10W%. Width *string `json:"Width,omitempty" name:"Width"` // Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered // and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li> // <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `H%`.</li> // Default value: 0 px. Height *string `json:"Height,omitempty" name:"Height"` }
type SvgWatermarkInputForUpdate ¶
type SvgWatermarkInputForUpdate struct { // Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered // and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li> // <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `W%`.</li> // Default value: 10W%. Width *string `json:"Width,omitempty" name:"Width"` // Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered // and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li> // <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `H%`. // Default value: 0 px. Height *string `json:"Height,omitempty" name:"Height"` // Watermark cycle configuration, which is used to configure watermarks so that they will be displayed and hidden periodically. // Primary use case: watermarks can be added at various positions in a video, which are displayed and hidden periodically to prevent them from being covered. // For example, watermarks A, B, C, and D are set in the top-left corner, top-right corner, bottom-right corner, and bottom-left corner of a video, respectively. After the first video frame, { A will be displayed for 5s -> B for 5s -> C for 5s -> D for 5s } -> A for 5s -> B for 5s -> ... Only one watermark will be visible at any time. // Within the braces ({}) is a major cycle composed of four watermarks, namely, A, B, C, and D, which lasts for 20 seconds in a cycle. // Watermarks A, B, C, and D are displayed periodically for 5 seconds and hidden for 15 seconds each in a fixed order. // This configuration item is used to describe the cycle configuration of a single watermark. CycleConfig *WatermarkCycleConfigForUpdate `json:"CycleConfig,omitempty" name:"CycleConfig"` }
type TEHDConfig ¶
type TEHDConfig struct { // TESHD transcoding type. Valid values: <li>TEHD-100</li> <li>OFF (default)</li> Type *string `json:"Type,omitempty" name:"Type"` // Maximum bitrate, which is valid when `Type` is `TESHD`. // If this parameter is left blank or 0 is entered, there will be no upper limit for bitrate. MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"` }
type TEHDConfigForUpdate ¶
type TEHDConfigForUpdate struct { // TESHD transcoding type. Valid values: <li>TEHD-100</li> <li>OFF (default)</li> Type *string `json:"Type,omitempty" name:"Type"` // Maximum bitrate. If this parameter is left blank, no modification will be made. MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"` }
type TagConfigureInfo ¶
type TagConfigureInfo struct { // Switch of intelligent tagging task. Valid values: // <li>ON: enables intelligent tagging task;</li> // <li>OFF: disables intelligent tagging task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type TagConfigureInfoForUpdate ¶
type TagConfigureInfoForUpdate struct { // Switch of intelligent tagging task. Valid values: // <li>ON: enables intelligent tagging task;</li> // <li>OFF: disables intelligent tagging task.</li> Switch *string `json:"Switch,omitempty" name:"Switch"` }
type TaskOutputMediaInfo ¶
type TaskOutputMediaInfo struct { // Media file ID. FileId *string `json:"FileId,omitempty" name:"FileId"` MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"` }
type TaskSimpleInfo ¶
type TaskSimpleInfo struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task status. Valid values: `WAITING` (waiting), `PROCESSING` (processing), `FINISH` (completed) Status *string `json:"Status,omitempty" name:"Status"` // Video ID FileId *string `json:"FileId,omitempty" name:"FileId"` // The task type. Valid values: // <li>Procedure: Video processing</li> // <li>EditMedia: Video editing</li> // <li> ReduceMediaBitrate: Bitrate reduction</li> // <li>WechatDistribute: Publishing to WeChat</li> // Task types for v2017: // <li>Transcode: Transcoding</li> // <li>SnapshotByTimeOffset: Screencapturing</li> // <li>Concat: Video splicing</li> // <li>Clip: Video clipping</li> // <li>ImageSprites: Image sprite generating</li> TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been started yet, this field will be empty. BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"` // End time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been completed yet, this field will be empty. FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // ID used for deduplication if there was a request with the same ID in the last seven days. SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // Source context, which is used to pass through the user request information. SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"` }
type TaskStatData ¶
type TaskStatData struct { // The task type. // <li>Transcoding: General transcoding</li> // <li>Transcoding-TESHD: Top Speed Codec transcoding</li> // <li>Editing: Video editing</li> // <li>Editing-TESHD: Top Speed Codec editing</li> // <li>AdaptiveBitrateStreaming: Adaptive bitrate streaming</li> // <li>ContentAudit: Content moderation</li> // <li> ContentRecognition: Content recognition</li> // <li>RemoveWatermark: Watermark removal</li> // <li> ExtractTraceWatermark: Digital watermark extraction</li> // <li> AddTraceWatermark: Digital watermarking</li> // <li>Transcode: Transcoding, including general transcoding, Top Speed Codec transcoding, and video editing. This value is not recommended.</li> TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Task statistics overview (usage unit: second). Summary []*TaskStatDataItem `json:"Summary,omitempty" name:"Summary"` // The detailed statistics of different tasks. // Transcoding: // <li>Remuxing</li> // <li>Audio</li> // <li>Standard.H264.SD</li> // <li>Standard.H264.HD</li> // <li>Standard.H264.FHD</li> // <li>Standard.H264.2K</li> // <li>Standard.H264.4K</li> // <li>Standard.H265.SD</li> // <li>Standard.H265.HD</li> // <li>Standard.H265.FHD</li> // <li>Standard.H265.2K</li> // <li>Standard.H265.4K</li> // <li>TESHD-10.H264.SD</li> // <li>TESHD-10.H264.HD</li> // <li>TESHD-10.H264.FHD</li> // <li>TESHD-10.H264.2K</li> // <li>TESHD-10.H264.4K</li> // <li>TESHD-10.H265.SD</li> // <li>TESHD-10.H265.HD</li> // <li>TESHD-10.H265.FHD</li> // <li>TESHD-10.H265.2K</li> // <li>TESHD-10.H265.4K</li> // <li>Edit.Audio</li> // <li>Edit.H264.SD</li> // <li>Edit.H264.HD</li> // <li>Edit.H264.FHD</li> // <li>Edit.H264.2K</li> // <li>Edit.H264.4K</li> // <li>Edit.H265.SD</li> // <li>Edit.H265.HD</li> // <li>Edit.H265.FHD</li> // <li>Edit.H265.2K</li> // <li>Edit.H265.4K</li> // <li>Edit.TESHD-10.H264.SD</li> // <li>Edit.TESHD-10.H264.HD</li> // <li>Edit.TESHD-10.H264.FHD</li> // <li>Edit.TESHD-10.H264.2K</li> // <li>Edit.TESHD-10.H264.4K</li> // <li>Edit.TESHD-10.H265.SD</li> // <li>Edit.TESHD-10.H265.HD</li> // <li>Edit.TESHD-10.H265.FHD</li> // <li>Edit.TESHD-10.H265.2K</li> // <li>Edit.TESHD-10.H265.4K</li> // Watermark removal: // <li>480P: 640 x 480 and below</li> // <li>720P: 1280 x 720 and below</li> // <li>1080P: 1920 x 1080 and below</li> // <li>2K: 2560 x 1440 and below</li> // <li>4K: 3840 x 2160 and below</li> // <li>8K: 7680 x 4320 and below</li> Details []*SpecificationDataItem `json:"Details,omitempty" name:"Details"` }
type TaskStatDataItem ¶
type TaskStatDataItem struct { // Start time of data time range in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). For example, if the time granularity is 1-day, `2018-12-01T00:00:00+08:00` represents the time range between December 1, 2018 (inclusive) and December 2, 2018 (not inclusive). Time *string `json:"Time,omitempty" name:"Time"` // Number of tasks. Count *int64 `json:"Count,omitempty" name:"Count"` // Task usage. Usage *int64 `json:"Usage,omitempty" name:"Usage"` }
type TempCertificate ¶
type TempCertificate struct { // Temporary security certificate ID. SecretId *string `json:"SecretId,omitempty" name:"SecretId"` // Temporary security certificate `Key`. SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"` // Token value. Token *string `json:"Token,omitempty" name:"Token"` // Certificate expiration time. A Unix timestamp will be returned which is accurate down to the second. ExpiredTime *uint64 `json:"ExpiredTime,omitempty" name:"ExpiredTime"` }
type TerrorismConfigureInfo ¶
type TerrorismConfigureInfo struct { // Parameters for recognition of terrorism content in images // Note: This field may return `null`, indicating that no valid value can be found. ImgReviewInfo *TerrorismImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for OCR-based recognition of terrorism content // Note: This field may return `null`, indicating that no valid value can be found. OcrReviewInfo *TerrorismOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type TerrorismConfigureInfoForUpdate ¶
type TerrorismConfigureInfoForUpdate struct { // Parameters for recognition of terrorism content in images ImgReviewInfo *TerrorismImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"` // Parameters for OCR-based recognition of terrorism content OcrReviewInfo *TerrorismOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type TerrorismImgReviewTemplateInfo ¶
type TerrorismImgReviewTemplateInfo struct { // Whether to enable recognition of terrorism content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of terrorism content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>`guns`: weapons and guns</li> // <li>`crowd`: crowd</li> // <li>`bloody`: bloody scenes</li> // <li>`police`: police force</li> // <li>`banners`: terrorism flags</li> // <li>`militant`: militants</li> // <li>`explosion`: explosions and fires</li> // <li>`terrorists`: terrorists</li> // <li>`scenario`: terrorism images</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `90` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `80` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type TerrorismImgReviewTemplateInfoForUpdate ¶
type TerrorismImgReviewTemplateInfoForUpdate struct { // Whether to enable recognition of terrorism content in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for recognition of terrorism content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values: // <li>`guns`: weapons and guns</li> // <li>`crowd`: crowd</li> // <li>`bloody`: bloody scenes</li> // <li>`police`: police force</li> // <li>`banners`: terrorism flags</li> // <li>`militant`: militants</li> // <li>`explosion`: explosions and fires</li> // <li>`terrorists`: terrorists</li> // <li>`scenario`: terrorism images</li> LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type TerrorismOcrReviewTemplateInfo ¶
type TerrorismOcrReviewTemplateInfo struct { // Whether to enable OCR-based recognition of terrorism content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type TerrorismOcrReviewTemplateInfoForUpdate ¶
type TerrorismOcrReviewTemplateInfoForUpdate struct { // Whether to enable OCR-based recognition of terrorism content. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type TextWatermarkTemplateInput ¶
type TextWatermarkTemplateInput struct { // Font type. Currently, two types are supported: // <li>simkai.ttf: both Chinese and English are supported;</li> // <li>arial.ttf: only English is supported.</li> FontType *string `json:"FontType,omitempty" name:"FontType"` // Font size in Npx format where N is a numeric value. FontSize *string `json:"FontSize,omitempty" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitempty" name:"FontColor"` // Text transparency. Value range: (0, 1] // <li>0: completely transparent</li> // <li>1: completely opaque</li> // Default value: 1. FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"` }
type TextWatermarkTemplateInputForUpdate ¶
type TextWatermarkTemplateInputForUpdate struct { // Font type. Currently, two types are supported: // <li>simkai.ttf: both Chinese and English are supported;</li> // <li>arial.ttf: only English is supported.</li> FontType *string `json:"FontType,omitempty" name:"FontType"` // Font size in Npx format where N is a numeric value. FontSize *string `json:"FontSize,omitempty" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitempty" name:"FontColor"` // Text transparency. Value range: (0, 1] // <li>0: completely transparent</li> // <li>1: completely opaque</li> FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"` }
type TimeRange ¶
type TimeRange struct { // <li>After or at this time (start time).</li> // <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> After *string `json:"After,omitempty" name:"After"` // <li>Earlier than this time (end time).</li> // <li>In ISO 8601 format. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li> Before *string `json:"Before,omitempty" name:"Before"` }
type TraceWatermarkInput ¶
type TraceWatermarkInput struct { // Whether to use digital watermarks. This parameter is required. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // This parameter has been deprecated. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` }
type TranscodePlayInfo2017 ¶
type TranscodePlayInfo2017 struct { // Playback address. Url *string `json:"Url,omitempty" name:"Url"` // Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"` // Maximum value of the height of a video stream in px. Height *int64 `json:"Height,omitempty" name:"Height"` // Maximum value of the width of a video stream in px. Width *int64 `json:"Width,omitempty" name:"Width"` }
type TranscodeTask2017 ¶
type TranscodeTask2017 struct { // Transcoding task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // ID of transcoded file. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Name of transcoded file. // Note: this field may return null, indicating that no valid values can be obtained. FileName *string `json:"FileName,omitempty" name:"FileName"` // Video duration in seconds. // Note: this field may return null, indicating that no valid values can be obtained. Duration *uint64 `json:"Duration,omitempty" name:"Duration"` // Cover address. // Note: this field may return null, indicating that no valid values can be obtained. CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"` // Playback information generated after video transcoding. // Note: this field may return null, indicating that no valid values can be obtained. PlayInfoSet []*TranscodePlayInfo2017 `json:"PlayInfoSet,omitempty" name:"PlayInfoSet"` }
type TranscodeTaskInput ¶
type TranscodeTaskInput struct { // Video transcoding template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // List of up to 10 image or text watermarks. // Note: this field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"` // Digital watermark. TraceWatermark *TraceWatermarkInput `json:"TraceWatermark,omitempty" name:"TraceWatermark"` // List of video opening/closing credits configuration template IDs. You can enter up to 10 IDs. HeadTailSet []*HeadTailTaskInput `json:"HeadTailSet,omitempty" name:"HeadTailSet"` // List of blurs. Up to 10 ones can be supported. MosaicSet []*MosaicInput `json:"MosaicSet,omitempty" name:"MosaicSet"` // End time offset of a transcoded video, in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will end at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will end at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will end at the nth second before the end of the original video.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` // Start time offset of a transcoded video, in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will start at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will start at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will start at the nth second before the end of the original video.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` }
type TranscodeTemplate ¶
type TranscodeTemplate struct { // Unique ID of transcoding template. Definition *string `json:"Definition,omitempty" name:"Definition"` // Container. Valid values: mp4, flv, hls, mp3, flac, ogg. Container *string `json:"Container,omitempty" name:"Container"` // Transcoding template name. // Note: this field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Template description. // Note: this field may return null, indicating that no valid values can be obtained. Comment *string `json:"Comment,omitempty" name:"Comment"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitempty" name:"Type"` // Whether to remove video data. Valid values: // <li>0: retain;</li> // <li>1: remove.</li> RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain;</li> // <li>1: remove.</li> RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is valid only when `RemoveVideo` is 0. // Note: this field may return null, indicating that no valid values can be obtained. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is valid only when `RemoveAudio` is 0. // Note: this field may return null, indicating that no valid values can be obtained. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. // Note: this field may return null, indicating that no valid values can be obtained. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"` // Container filter. Valid values: // <li>Video: video container that can contain both video stream and audio stream;</li> // <li>PureAudio: audio container that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // The segment type. This parameter is valid only if `Container` is `hls` SegmentType *string `json:"SegmentType,omitempty" name:"SegmentType"` }
type TransitionOpertion ¶
type TransitionOpertion struct { // Transition type. Valid values: // <ul> // <li>Video image transition operation, which is used for transition with video image between two video segments: // <ul> // <li>ImageFadeInFadeOut: video image fade-in/fade-out.</li> // <li>BowTieHorizontal: horizontal bow.</li> // <li>BowTieVertical: vertical bow.</li> // <li>ButterflyWaveScrawler: waggling.</li> // <li>Cannabisleaf: maple leaf.</li> // <li> Circle: curved circling.</li> // <li>CircleCrop: circle gathering.</li> // <li>Circleopen: elliptic gathering.</li> // <li>Crosswarp: horizontal warping.</li> // <li>Cube: cube.</li> // <li>DoomScreenTransition: curtain.</li> // <li>Doorway: doorway.</li> // <li>Dreamy: wave.</li> // <li>DreamyZoom: horizontal gathering.</li> // <li>FilmBurn: evening glow.</li> // <li>GlitchMemories: joggling.</li> // <li>Heart: heart.</li> // <li>InvertedPageCurl: page turning.</li> // <li>Luma: corroding.</li> // <li>Mosaic: grid.</li> // <li>Pinwheel: pinwheel.</li> // <li>PolarFunction: elliptic diffusing.</li> // <li>PolkaDotsCurtain: curved diffusing.</li> // <li>Radial: radar scan.</li> // <li>RotateScaleFade: vertical rotating.</li> // <li>Squeeze: vertical gathering.</li> // <li>Swap: zooming in.</li> // <li>Swirl: swirling.</li> // <li>UndulatingBurnOutSwirl: water spreading.</li> // <li>Windowblinds: blinds.</li> // <li>WipeDown: collapsing down.</li> // <li>WipeLeft: collapsing to the left.</li> // <li>WipeRight: collapsing to the right.</li> // <li>WipeUp: collapsing up.</li> // <li>ZoomInCircles: ripples.</li> // </ul> // </li> // <li>Audio transition operation, which is used for transition between two audio segments: // <ul> // <li>AudioFadeInFadeOut: audio fade-in/fade-out.</li> // </ul> // </li> // </ul> Type *string `json:"Type,omitempty" name:"Type"` }
type TrtcRecordInfo ¶
type TrtcRecordInfo struct { // The TRTC application ID. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The TRTC room ID. RoomId *string `json:"RoomId,omitempty" name:"RoomId"` // The recording task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The IDs of users whose streams are mixed. UserIds []*string `json:"UserIds,omitempty" name:"UserIds"` }
type UrlSignatureAuthPolicy ¶
type UrlSignatureAuthPolicy struct { // Whether to enable or disable [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986). Valid values: // <li>`Enabled`: enable</li> // <li>`Disabled`: disable</li> Status *string `json:"Status,omitempty" name:"Status"` // The key for generating the signature of [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986). // `EncryptedKey` can contain 8-40 bytes, and cannot contain non-printable characters. EncryptedKey *string `json:"EncryptedKey,omitempty" name:"EncryptedKey"` }
type UserDefineAsrTextReviewTemplateInfo ¶
type UserDefineAsrTextReviewTemplateInfo struct { // Whether to enable custom ASR-based recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom ASR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom ASR-based recognition. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type UserDefineAsrTextReviewTemplateInfoForUpdate ¶
type UserDefineAsrTextReviewTemplateInfoForUpdate struct { // Whether to enable custom ASR-based recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom ASR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom ASR-based recognition. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type UserDefineConfigureInfo ¶
type UserDefineConfigureInfo struct { // Parameters for custom facial recognition // Note: This field may return `null`, indicating that no valid value can be found. FaceReviewInfo *UserDefineFaceReviewTemplateInfo `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"` // Parameters for custom ASR-based recognition // Note: This field may return `null`, indicating that no valid value can be found. AsrReviewInfo *UserDefineAsrTextReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for custom OCR-based recognition // Note: This field may return `null`, indicating that no valid value can be found. OcrReviewInfo *UserDefineOcrTextReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type UserDefineConfigureInfoForUpdate ¶
type UserDefineConfigureInfoForUpdate struct { // Parameters for custom facial recognition FaceReviewInfo *UserDefineFaceReviewTemplateInfoForUpdate `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"` // Parameters for custom ASR-based recognition AsrReviewInfo *UserDefineAsrTextReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"` // Parameters for custom OCR-based recognition OcrReviewInfo *UserDefineOcrTextReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"` }
type UserDefineFaceReviewTemplateInfo ¶
type UserDefineFaceReviewTemplateInfo struct { // Whether to enable custom facial recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom facial recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding custom facial libraries. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `97` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `95` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type UserDefineFaceReviewTemplateInfoForUpdate ¶
type UserDefineFaceReviewTemplateInfoForUpdate struct { // Whether to enable custom facial recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom facial recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding custom facial libraries. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type UserDefineOcrTextReviewTemplateInfo ¶
type UserDefineOcrTextReviewTemplateInfo struct { // Whether to enable custom OCR-based recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom OCR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom OCR-based recognition. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type UserDefineOcrTextReviewTemplateInfoForUpdate ¶
type UserDefineOcrTextReviewTemplateInfoForUpdate struct { // Whether to enable custom OCR-based recognition. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitempty" name:"Switch"` // Filter labels for custom OCR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom OCR-based recognition. // Up to 10 labels are allowed, each containing no more than 16 characters. LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"` // Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100 BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"` // Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100 ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"` }
type VideoTemplateInfo ¶
type VideoTemplateInfo struct { // The video codec. Valid values: // <li>libx264: H.264</li> // <li>libx265: H.265</li> // <li>av1: AOMedia Video 1</li> // <li>H.266: H.266</li> // <font color=red>Notes:</font> // <li>The AOMedia Video 1 and H.266 codecs can only be used for MP4 files.</li> // <li> Only CRF is supported for H.266 currently.</li> Codec *string `json:"Codec,omitempty" name:"Codec"` // Video frame rate in Hz. Value range: [0,100]. // If the value is 0, the frame rate will be the same as that of the source video. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // Bitrate of video stream in Kbps. Value range: 0 and [128, 35,000]. // If the value is 0, the bitrate of the video will be the same as that of the source video. Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. // Note: this field may return null, indicating that no valid values can be obtained. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // The maximum video width (or long side) in pixels. Value range: 0 and [128, 8192]. // <li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li> // <li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li> // <li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li> // <li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitempty" name:"Width"` // The maximum video height (or short side) in pixels. Value range: 0 and [128, 8192]. // <li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li> // <li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li> // <li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li> // <li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitempty" name:"Height"` // Fill type, the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values: // <li>stretch: stretches the video image frame by frame to fill the screen. The video image may become "squashed" or "stretched" after transcoding.</li> // <li>black: fills the uncovered area with black color, without changing the image's aspect ratio.</li> // <li>white: fills the uncovered area with white color, without changing the image's aspect ratio.</li> // <li>gauss: applies Gaussian blur to the uncovered area, without changing the image's aspect ratio.</li> // Default value: black FillType *string `json:"FillType,omitempty" name:"FillType"` // The video constant rate factor (CRF). Value range: 1-51. // // <font color=red>Notes:</font> // <li>If this parameter is specified, CRF encoding will be used and the bitrate parameter will be ignored.</li> // <li>If `Codec` is `H.266`, this parameter is required (`28` is recommended).</li> // <li>We don’t recommend using this parameter unless you have special requirements.</li> Vcrf *uint64 `json:"Vcrf,omitempty" name:"Vcrf"` // I-frame interval in frames. Valid values: 0 and 1-100000. // When this parameter is set to 0 or left empty, `Gop` will be automatically set. Gop *uint64 `json:"Gop,omitempty" name:"Gop"` // Whether to output an HDR (high dynamic range) video if the source video is HDR. Valid values: // <li>ON: If the source video is HDR, output an HDR video; if not, output an SDR (standard dynamic range) video.</li> // <li>OFF: Output an SDR video regardless of whether the source video is HDR.</li> // Default value: OFF. PreserveHDRSwitch *string `json:"PreserveHDRSwitch,omitempty" name:"PreserveHDRSwitch"` // The codec tag. This parameter is valid only if the H.265 codec is used. Valid values: // <li>hvc1</li> // <li>hev1</li> // Default value: hvc1. CodecTag *string `json:"CodecTag,omitempty" name:"CodecTag"` }
type VideoTemplateInfoForUpdate ¶
type VideoTemplateInfoForUpdate struct { // The video codec. Valid values: // <li>libx264: H.264</li> // <li>libx265: H.265</li> // <li>av1: AOMedia Video 1</li> // <li>H.266: H.266</li> // <font color=red>Notes:</font> // <li>The AOMedia Video 1 and H.266 codecs can only be used for MP4 files.</li> // <li> Only CRF is supported for H.266 currently.</li> Codec *string `json:"Codec,omitempty" name:"Codec"` // Video frame rate in Hz. Value range: [0,100]. // If the value is 0, the frame rate will be the same as that of the source video. Fps *uint64 `json:"Fps,omitempty" name:"Fps"` // Bitrate of video stream in Kbps. Value range: 0 and [128, 35,000]. // If the value is 0, the bitrate of the video will be the same as that of the source video. Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"` // The maximum video width (or long side) in pixels. Value range: 0 and [128, 8192]. // <li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li> // <li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li> // <li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li> // <li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li> Width *uint64 `json:"Width,omitempty" name:"Width"` // The maximum video height (or short side) in pixels. Value range: 0 and [128, 8192]. Height *uint64 `json:"Height,omitempty" name:"Height"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. Valid values: // <li>stretch: stretches video image frame by frame to fill the screen. The video image may become "squashed" or "stretched" after transcoding.</li> // <li>black: fills the uncovered area with black color, without changing the image's aspect ratio.</li> // <li>white: fills the uncovered area with white color, without changing the image's aspect ratio.</li> // <li>gauss: applies Gaussian blur to the uncovered area, without changing the image's aspect ratio.</li> FillType *string `json:"FillType,omitempty" name:"FillType"` // The video constant rate factor (CRF). Value range: 1-51. `0` means to disable this parameter. // // <font color=red>Notes:</font> // <li>If this parameter is specified, CRF encoding will be used and the bitrate parameter will be ignored.</li> // <li>If `Codec` is `H.266`, this parameter is required (`28` is recommended).</li> // <li>We don’t recommend using this parameter unless you have special requirements.</li> Vcrf *uint64 `json:"Vcrf,omitempty" name:"Vcrf"` // I-frame interval in frames. Valid values: 0 and 1-100000. // When this parameter is set to 0 or left empty, `Gop` will be automatically set. Gop *uint64 `json:"Gop,omitempty" name:"Gop"` // Whether to output an HDR (high dynamic range) video if the source video is HDR. Valid values: // <li>ON: If the source video is HDR, output an HDR video; if not, output an SDR (standard dynamic range) video.</li> // <li>OFF: Output an SDR video regardless of whether the source video is HDR.</li> PreserveHDRSwitch *string `json:"PreserveHDRSwitch,omitempty" name:"PreserveHDRSwitch"` // The codec tag. This parameter is valid only if the H.265 codec is used. Valid values: // <li>hvc1</li> // <li>hev1</li> // Default value: hvc1. CodecTag *string `json:"CodecTag,omitempty" name:"CodecTag"` }
type VideoTrackItem ¶
type VideoTrackItem struct { // Source of media material for video segment, which can be: // <li>ID of VOD media files</li> // <li>Download URL of other media files.</li> // Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature). SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"` // Start time of video segment in material file in seconds. Default value: 0. SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitempty" name:"SourceMediaStartTime"` // Video segment duration in seconds. By default, the length of the video material will be used, which means that the entire material will be captured. If the source file is an image, `Duration` needs to be greater than 0. Duration *float64 `json:"Duration,omitempty" name:"Duration"` // The target video duration, in seconds. // <li>If `TargetDuration` is empty or `0`, the target duration is the same as `Duration`.</li> // <li>If `TargetDuration` is a value greater than 0, the playback speed will be changed to make the final video duration the same as the value of `TargetDuration`.</li> TargetDuration *float64 `json:"TargetDuration,omitempty" name:"TargetDuration"` // Video origin position. Valid values: // <li> Center: the origin of coordinates is the center position, such as the center of canvas.</li> // Default value: Center. CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` // The horizontal position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the video segment will be at the position of the specified percentage of the canvas width; for example, `10%` means that `XPos` is 10% of the canvas width.</li> // <li>If the string ends in px, the `XPos` of the video segment will be in px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitempty" name:"XPos"` // The vertical position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the video segment will be at the position of the specified percentage of the canvas height; for example, `10%` means that `YPos` is 10% of the canvas height.</li> // <li>If the string ends in px, the `YPos` of the video segment will be in px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitempty" name:"YPos"` // Video segment width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the video segment will be the specified percentage of the canvas width; for example, `10%` means that `Width` is 10% of the canvas width.</li> // <li>If the string ends in px, the `Width` of the video segment will be in px; for example, `100px` means that `Width` is 100 px.</li> // <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the video material, respectively.</li> // <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li> // <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li> Width *string `json:"Width,omitempty" name:"Width"` // Video segment height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the video segment will be the specified percentage of the canvas height; for example, `10%` means that `Height` is 10% of the canvas height; // </li><li>If the string ends in px, the `Height` of the video segment will be in px; for example, `100px` means that `Height` is 100 px.</li> // <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the video material, respectively.</li> // <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li> // <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li> Height *string `json:"Height,omitempty" name:"Height"` // Operation on audio such as muting. // Note: this field may return null, indicating that no valid values can be obtained. AudioOperations []*AudioTransform `json:"AudioOperations,omitempty" name:"AudioOperations"` // Operation on video image such as image rotation. // Note: this field may return null, indicating that no valid values can be obtained. ImageOperations []*ImageTransform `json:"ImageOperations,omitempty" name:"ImageOperations"` }
type WatermarkCycleConfigForUpdate ¶
type WatermarkCycleConfigForUpdate struct { // Playback time point in seconds when a watermark appears in a video for the first time. StartTime *float64 `json:"StartTime,omitempty" name:"StartTime"` // Display duration of a watermark in a watermark cycle in seconds. DisplayDuration *float64 `json:"DisplayDuration,omitempty" name:"DisplayDuration"` // Duration of a watermark cycle in seconds. // If 0 is entered, a watermark will last for only one cycle (i.e., visible for `DisplayDuration` seconds throughout the video). CycleDuration *float64 `json:"CycleDuration,omitempty" name:"CycleDuration"` }
type WatermarkInput ¶
type WatermarkInput struct { // Watermarking template ID. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // Text content, which contains up to 100 characters. Set this parameter only when the watermark type is text. // VOD does not support adding text watermarks on screenshots. TextContent *string `json:"TextContent,omitempty" name:"TextContent"` // SVG content, which contains up to 2,000,000 characters. Set this parameter only when the watermark type is SVG. // VOD does not support adding SVG watermarks on screenshots. SvgContent *string `json:"SvgContent,omitempty" name:"SvgContent"` // Start time offset of a watermark in seconds. If this parameter is left blank or 0 is entered, the watermark will appear upon the first video frame. // <li>If this parameter is left blank or 0 is entered, the watermark will appear upon the first video frame;</li> // <li>If this value is greater than 0 (e.g., n), the watermark will appear at second n after the first video frame;</li> // <li>If this value is smaller than 0 (e.g., -n), the watermark will appear at second n before the last video frame.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"` // End time offset of a watermark in seconds. // <li>If this parameter is left blank or 0 is entered, the watermark will exist till the last video frame;</li> // <li>If this value is greater than 0 (e.g., n), the watermark will exist till second n;</li> // <li>If this value is smaller than 0 (e.g., -n), the watermark will exist till second n before the last video frame.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"` }
type WatermarkTemplate ¶
type WatermarkTemplate struct { // Unique ID of watermarking template. Definition *int64 `json:"Definition,omitempty" name:"Definition"` // Watermark type. Valid values: // <li>image: image watermark;</li> // <li>text: text watermark.</li> Type *string `json:"Type,omitempty" name:"Type"` // Watermarking template name. // Note: this field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitempty" name:"Comment"` // Horizontal position of the origin of the watermark image relative to the origin of the video. // <li>If the string ends in %, the `Left` edge of the watermark will be at the position of the specified percentage of the video width; for example, `10%` means that the `Left` edge is at 10% of the video width;</li> // <li>If the string ends in px, the `Left` edge of the watermark will be at the position of the specified px of the video width; for example, `100px` means that the `Left` edge is at the position of 100 px.</li> XPos *string `json:"XPos,omitempty" name:"XPos"` // Vertical position of the origin of the watermark image relative to the origin of the video. // <li>If the string ends in %, the `Top` edge of the watermark will beat the position of the specified percentage of the video height; for example, `10%` means that the `Top` edge is at 10% of the video height;</li> // <li>If the string ends in px, the `Top` edge of the watermark will be at the position of the specified px of the video height; for example, `100px` means that the `Top` edge is at the position of 100 px.</li> YPos *string `json:"YPos,omitempty" name:"YPos"` // Image watermarking template. This field is valid only when `Type` is `image`. // Note: this field may return null, indicating that no valid values can be obtained. ImageTemplate *ImageWatermarkTemplate `json:"ImageTemplate,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is valid only when `Type` is `text`. // Note: this field may return null, indicating that no valid values can be obtained. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is valid when `Type` is `svg`. // Note: this field may return null, indicating that no valid values can be obtained. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Origin position. Valid values: // <li>topLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>topRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>bottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>bottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"` }
type WechatMiniProgramPublishTask ¶
type WechatMiniProgramPublishTask struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task status. Valid values: // WAITING: waiting; // PROCESSING: processing; // FINISH: completed. Status *string `json:"Status,omitempty" name:"Status"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // ID of published video file. FileId *string `json:"FileId,omitempty" name:"FileId"` // ID of the transcoding template corresponding to the published video. 0 represents the source video. SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"` // Status of video release on WeChat Mini Program. Valid values: // <li>Pass: successfully published;</li> // <li>Failed: failed to publish;</li> // <li>Rejected: rejected.</li> PublishResult *string `json:"PublishResult,omitempty" name:"PublishResult"` }
type WechatMiniProgramPublishTaskInput ¶
type WechatMiniProgramPublishTaskInput struct { // ID of the transcoding template corresponding to the published video. 0 represents the source video. SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"` }
type WechatPublishTask ¶
type WechatPublishTask struct { // Task ID. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task status. Valid values: // WAITING: waiting; // PROCESSING: processing; // FINISH: completed. Status *string `json:"Status,omitempty" name:"Status"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> // Note: this field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"` // Error message. // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // ID of published video file. // Note: this field may return null, indicating that no valid values can be obtained. FileId *string `json:"FileId,omitempty" name:"FileId"` // Release on WeChat template ID. // Note: this field may return null, indicating that no valid values can be obtained. Definition *uint64 `json:"Definition,omitempty" name:"Definition"` // ID of the transcoding template corresponding to the published video. 0 represents the source video. // Note: this field may return null, indicating that no valid values can be obtained. SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"` // Release on WeChat status. Valid values: // <li>FAIL: failure;</li> // <li>SUCCESS: success;</li> // <li>AUDITNOTPASS: rejected</li> // <li>NOTTRIGGERED: release on WeChat not initiated yet.</li> // Note: this field may return null, indicating that no valid values can be obtained. WechatStatus *string `json:"WechatStatus,omitempty" name:"WechatStatus"` // WeChat `Vid`. // Note: this field may return null, indicating that no valid values can be obtained. WechatVid *string `json:"WechatVid,omitempty" name:"WechatVid"` // WeChat address. // Note: this field may return null, indicating that no valid values can be obtained. WechatUrl *string `json:"WechatUrl,omitempty" name:"WechatUrl"` }