v1

package
v0.1.80 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCancelAssetTranscodeTask

func GenReqDefForCancelAssetTranscodeTask() *def.HttpRequestDef

func GenReqDefForCancelExtractAudioTask

func GenReqDefForCancelExtractAudioTask() *def.HttpRequestDef

func GenReqDefForCheckMd5Duplication

func GenReqDefForCheckMd5Duplication() *def.HttpRequestDef

func GenReqDefForConfirmAssetUpload

func GenReqDefForConfirmAssetUpload() *def.HttpRequestDef

func GenReqDefForConfirmImageUpload

func GenReqDefForConfirmImageUpload() *def.HttpRequestDef

func GenReqDefForCreateAssetByFileUpload

func GenReqDefForCreateAssetByFileUpload() *def.HttpRequestDef

func GenReqDefForCreateAssetCategory

func GenReqDefForCreateAssetCategory() *def.HttpRequestDef

func GenReqDefForCreateAssetProcessTask

func GenReqDefForCreateAssetProcessTask() *def.HttpRequestDef

func GenReqDefForCreateAssetReviewTask

func GenReqDefForCreateAssetReviewTask() *def.HttpRequestDef

func GenReqDefForCreateExtractAudioTask

func GenReqDefForCreateExtractAudioTask() *def.HttpRequestDef

func GenReqDefForCreatePreheatingAsset

func GenReqDefForCreatePreheatingAsset() *def.HttpRequestDef

func GenReqDefForCreateTakeOverTask

func GenReqDefForCreateTakeOverTask() *def.HttpRequestDef

func GenReqDefForCreateTemplateGroup

func GenReqDefForCreateTemplateGroup() *def.HttpRequestDef

func GenReqDefForCreateTemplateGroupCollection added in v0.0.104

func GenReqDefForCreateTemplateGroupCollection() *def.HttpRequestDef

func GenReqDefForCreateTranscodeTemplate added in v0.0.104

func GenReqDefForCreateTranscodeTemplate() *def.HttpRequestDef

func GenReqDefForCreateWatermarkTemplate

func GenReqDefForCreateWatermarkTemplate() *def.HttpRequestDef

func GenReqDefForDeleteAssetCategory

func GenReqDefForDeleteAssetCategory() *def.HttpRequestDef

func GenReqDefForDeleteAssets

func GenReqDefForDeleteAssets() *def.HttpRequestDef

func GenReqDefForDeleteTemplateGroup

func GenReqDefForDeleteTemplateGroup() *def.HttpRequestDef

func GenReqDefForDeleteTemplateGroupCollection added in v0.0.104

func GenReqDefForDeleteTemplateGroupCollection() *def.HttpRequestDef

func GenReqDefForDeleteTranscodeTemplate added in v0.0.104

func GenReqDefForDeleteTranscodeTemplate() *def.HttpRequestDef

func GenReqDefForDeleteWatermarkTemplate

func GenReqDefForDeleteWatermarkTemplate() *def.HttpRequestDef

func GenReqDefForListAssetCategory

func GenReqDefForListAssetCategory() *def.HttpRequestDef

func GenReqDefForListAssetDailySummaryLog added in v0.1.73

func GenReqDefForListAssetDailySummaryLog() *def.HttpRequestDef

func GenReqDefForListAssetList

func GenReqDefForListAssetList() *def.HttpRequestDef

func GenReqDefForListDomainLogs added in v0.0.78

func GenReqDefForListDomainLogs() *def.HttpRequestDef

func GenReqDefForListTakeOverTask

func GenReqDefForListTakeOverTask() *def.HttpRequestDef

func GenReqDefForListTemplateGroup

func GenReqDefForListTemplateGroup() *def.HttpRequestDef

func GenReqDefForListTemplateGroupCollection added in v0.0.104

func GenReqDefForListTemplateGroupCollection() *def.HttpRequestDef

func GenReqDefForListTopStatistics

func GenReqDefForListTopStatistics() *def.HttpRequestDef

func GenReqDefForListTranscodeTemplate added in v0.0.104

func GenReqDefForListTranscodeTemplate() *def.HttpRequestDef

func GenReqDefForListWatermarkTemplate

func GenReqDefForListWatermarkTemplate() *def.HttpRequestDef

func GenReqDefForModifySubtitle added in v0.1.29

func GenReqDefForModifySubtitle() *def.HttpRequestDef

func GenReqDefForPublishAssetFromObs

func GenReqDefForPublishAssetFromObs() *def.HttpRequestDef

func GenReqDefForPublishAssets

func GenReqDefForPublishAssets() *def.HttpRequestDef

func GenReqDefForShowAssetCipher

func GenReqDefForShowAssetCipher() *def.HttpRequestDef

func GenReqDefForShowAssetDetail

func GenReqDefForShowAssetDetail() *def.HttpRequestDef

func GenReqDefForShowAssetMeta

func GenReqDefForShowAssetMeta() *def.HttpRequestDef

func GenReqDefForShowAssetTempAuthority

func GenReqDefForShowAssetTempAuthority() *def.HttpRequestDef

func GenReqDefForShowCdnStatistics

func GenReqDefForShowCdnStatistics() *def.HttpRequestDef

func GenReqDefForShowPreheatingAsset

func GenReqDefForShowPreheatingAsset() *def.HttpRequestDef

func GenReqDefForShowTakeOverAssetDetails

func GenReqDefForShowTakeOverAssetDetails() *def.HttpRequestDef

func GenReqDefForShowTakeOverTaskDetails

func GenReqDefForShowTakeOverTaskDetails() *def.HttpRequestDef

func GenReqDefForShowVodRetrieval added in v0.1.73

func GenReqDefForShowVodRetrieval() *def.HttpRequestDef

func GenReqDefForShowVodStatistics

func GenReqDefForShowVodStatistics() *def.HttpRequestDef

func GenReqDefForUnpublishAssets

func GenReqDefForUnpublishAssets() *def.HttpRequestDef

func GenReqDefForUpdateAsset

func GenReqDefForUpdateAsset() *def.HttpRequestDef

func GenReqDefForUpdateAssetCategory

func GenReqDefForUpdateAssetCategory() *def.HttpRequestDef

func GenReqDefForUpdateAssetMeta

func GenReqDefForUpdateAssetMeta() *def.HttpRequestDef

func GenReqDefForUpdateBucketAuthorized

func GenReqDefForUpdateBucketAuthorized() *def.HttpRequestDef

func GenReqDefForUpdateCoverByThumbnail

func GenReqDefForUpdateCoverByThumbnail() *def.HttpRequestDef

func GenReqDefForUpdateStorageMode added in v0.1.73

func GenReqDefForUpdateStorageMode() *def.HttpRequestDef

func GenReqDefForUpdateTemplateGroup

func GenReqDefForUpdateTemplateGroup() *def.HttpRequestDef

func GenReqDefForUpdateTemplateGroupCollection added in v0.0.104

func GenReqDefForUpdateTemplateGroupCollection() *def.HttpRequestDef

func GenReqDefForUpdateTranscodeTemplate added in v0.0.104

func GenReqDefForUpdateTranscodeTemplate() *def.HttpRequestDef

func GenReqDefForUpdateWatermarkTemplate

func GenReqDefForUpdateWatermarkTemplate() *def.HttpRequestDef

func GenReqDefForUploadMetaDataByUrl

func GenReqDefForUploadMetaDataByUrl() *def.HttpRequestDef

func VodClientBuilder

func VodClientBuilder() *httpclient.HcHttpClientBuilder

Types

type CancelAssetTranscodeTaskInvoker added in v0.0.90

type CancelAssetTranscodeTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelAssetTranscodeTaskInvoker) Invoke added in v0.0.90

type CancelExtractAudioTaskInvoker added in v0.0.90

type CancelExtractAudioTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelExtractAudioTaskInvoker) Invoke added in v0.0.90

type CheckMd5DuplicationInvoker added in v0.0.90

type CheckMd5DuplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckMd5DuplicationInvoker) Invoke added in v0.0.90

type ConfirmAssetUploadInvoker added in v0.0.90

type ConfirmAssetUploadInvoker struct {
	*invoker.BaseInvoker
}

func (*ConfirmAssetUploadInvoker) Invoke added in v0.0.90

type ConfirmImageUploadInvoker added in v0.0.90

type ConfirmImageUploadInvoker struct {
	*invoker.BaseInvoker
}

func (*ConfirmImageUploadInvoker) Invoke added in v0.0.90

type CreateAssetByFileUploadInvoker added in v0.0.90

type CreateAssetByFileUploadInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAssetByFileUploadInvoker) Invoke added in v0.0.90

type CreateAssetCategoryInvoker added in v0.0.90

type CreateAssetCategoryInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAssetCategoryInvoker) Invoke added in v0.0.90

type CreateAssetProcessTaskInvoker added in v0.0.90

type CreateAssetProcessTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAssetProcessTaskInvoker) Invoke added in v0.0.90

type CreateAssetReviewTaskInvoker added in v0.0.90

type CreateAssetReviewTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAssetReviewTaskInvoker) Invoke added in v0.0.90

type CreateExtractAudioTaskInvoker added in v0.0.90

type CreateExtractAudioTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateExtractAudioTaskInvoker) Invoke added in v0.0.90

type CreatePreheatingAssetInvoker added in v0.0.90

type CreatePreheatingAssetInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePreheatingAssetInvoker) Invoke added in v0.0.90

type CreateTakeOverTaskInvoker added in v0.0.90

type CreateTakeOverTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTakeOverTaskInvoker) Invoke added in v0.0.90

type CreateTemplateGroupCollectionInvoker added in v0.0.104

type CreateTemplateGroupCollectionInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTemplateGroupCollectionInvoker) Invoke added in v0.0.104

type CreateTemplateGroupInvoker added in v0.0.90

type CreateTemplateGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTemplateGroupInvoker) Invoke added in v0.0.90

type CreateTranscodeTemplateInvoker added in v0.0.104

type CreateTranscodeTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTranscodeTemplateInvoker) Invoke added in v0.0.104

type CreateWatermarkTemplateInvoker added in v0.0.90

type CreateWatermarkTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateWatermarkTemplateInvoker) Invoke added in v0.0.90

type DeleteAssetCategoryInvoker added in v0.0.90

type DeleteAssetCategoryInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAssetCategoryInvoker) Invoke added in v0.0.90

type DeleteAssetsInvoker added in v0.0.90

type DeleteAssetsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAssetsInvoker) Invoke added in v0.0.90

type DeleteTemplateGroupCollectionInvoker added in v0.0.104

type DeleteTemplateGroupCollectionInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplateGroupCollectionInvoker) Invoke added in v0.0.104

type DeleteTemplateGroupInvoker added in v0.0.90

type DeleteTemplateGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplateGroupInvoker) Invoke added in v0.0.90

type DeleteTranscodeTemplateInvoker added in v0.0.104

type DeleteTranscodeTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTranscodeTemplateInvoker) Invoke added in v0.0.104

type DeleteWatermarkTemplateInvoker added in v0.0.90

type DeleteWatermarkTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteWatermarkTemplateInvoker) Invoke added in v0.0.90

type ListAssetCategoryInvoker added in v0.0.90

type ListAssetCategoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAssetCategoryInvoker) Invoke added in v0.0.90

type ListAssetDailySummaryLogInvoker added in v0.1.73

type ListAssetDailySummaryLogInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAssetDailySummaryLogInvoker) Invoke added in v0.1.73

type ListAssetListInvoker added in v0.0.90

type ListAssetListInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAssetListInvoker) Invoke added in v0.0.90

type ListDomainLogsInvoker added in v0.0.90

type ListDomainLogsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDomainLogsInvoker) Invoke added in v0.0.90

type ListTakeOverTaskInvoker added in v0.0.90

type ListTakeOverTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTakeOverTaskInvoker) Invoke added in v0.0.90

type ListTemplateGroupCollectionInvoker added in v0.0.104

type ListTemplateGroupCollectionInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTemplateGroupCollectionInvoker) Invoke added in v0.0.104

type ListTemplateGroupInvoker added in v0.0.90

type ListTemplateGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTemplateGroupInvoker) Invoke added in v0.0.90

type ListTopStatisticsInvoker added in v0.0.90

type ListTopStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTopStatisticsInvoker) Invoke added in v0.0.90

type ListTranscodeTemplateInvoker added in v0.0.104

type ListTranscodeTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTranscodeTemplateInvoker) Invoke added in v0.0.104

type ListWatermarkTemplateInvoker added in v0.0.90

type ListWatermarkTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWatermarkTemplateInvoker) Invoke added in v0.0.90

type ModifySubtitleInvoker added in v0.1.29

type ModifySubtitleInvoker struct {
	*invoker.BaseInvoker
}

func (*ModifySubtitleInvoker) Invoke added in v0.1.29

type PublishAssetFromObsInvoker added in v0.0.90

type PublishAssetFromObsInvoker struct {
	*invoker.BaseInvoker
}

func (*PublishAssetFromObsInvoker) Invoke added in v0.0.90

type PublishAssetsInvoker added in v0.0.90

type PublishAssetsInvoker struct {
	*invoker.BaseInvoker
}

func (*PublishAssetsInvoker) Invoke added in v0.0.90

type ShowAssetCipherInvoker added in v0.0.90

type ShowAssetCipherInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssetCipherInvoker) Invoke added in v0.0.90

type ShowAssetDetailInvoker added in v0.0.90

type ShowAssetDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssetDetailInvoker) Invoke added in v0.0.90

type ShowAssetMetaInvoker added in v0.0.90

type ShowAssetMetaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssetMetaInvoker) Invoke added in v0.0.90

type ShowAssetTempAuthorityInvoker added in v0.0.90

type ShowAssetTempAuthorityInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssetTempAuthorityInvoker) Invoke added in v0.0.90

type ShowCdnStatisticsInvoker added in v0.0.90

type ShowCdnStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCdnStatisticsInvoker) Invoke added in v0.0.90

type ShowPreheatingAssetInvoker added in v0.0.90

type ShowPreheatingAssetInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPreheatingAssetInvoker) Invoke added in v0.0.90

type ShowTakeOverAssetDetailsInvoker added in v0.0.90

type ShowTakeOverAssetDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTakeOverAssetDetailsInvoker) Invoke added in v0.0.90

type ShowTakeOverTaskDetailsInvoker added in v0.0.90

type ShowTakeOverTaskDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTakeOverTaskDetailsInvoker) Invoke added in v0.0.90

type ShowVodRetrievalInvoker added in v0.1.73

type ShowVodRetrievalInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVodRetrievalInvoker) Invoke added in v0.1.73

type ShowVodStatisticsInvoker added in v0.0.90

type ShowVodStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVodStatisticsInvoker) Invoke added in v0.0.90

type UnpublishAssetsInvoker added in v0.0.90

type UnpublishAssetsInvoker struct {
	*invoker.BaseInvoker
}

func (*UnpublishAssetsInvoker) Invoke added in v0.0.90

type UpdateAssetCategoryInvoker added in v0.0.90

type UpdateAssetCategoryInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAssetCategoryInvoker) Invoke added in v0.0.90

type UpdateAssetInvoker added in v0.0.90

type UpdateAssetInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAssetInvoker) Invoke added in v0.0.90

type UpdateAssetMetaInvoker added in v0.0.90

type UpdateAssetMetaInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAssetMetaInvoker) Invoke added in v0.0.90

type UpdateBucketAuthorizedInvoker added in v0.0.90

type UpdateBucketAuthorizedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBucketAuthorizedInvoker) Invoke added in v0.0.90

type UpdateCoverByThumbnailInvoker added in v0.0.90

type UpdateCoverByThumbnailInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCoverByThumbnailInvoker) Invoke added in v0.0.90

type UpdateStorageModeInvoker added in v0.1.73

type UpdateStorageModeInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateStorageModeInvoker) Invoke added in v0.1.73

type UpdateTemplateGroupCollectionInvoker added in v0.0.104

type UpdateTemplateGroupCollectionInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTemplateGroupCollectionInvoker) Invoke added in v0.0.104

type UpdateTemplateGroupInvoker added in v0.0.90

type UpdateTemplateGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTemplateGroupInvoker) Invoke added in v0.0.90

type UpdateTranscodeTemplateInvoker added in v0.0.104

type UpdateTranscodeTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTranscodeTemplateInvoker) Invoke added in v0.0.104

type UpdateWatermarkTemplateInvoker added in v0.0.90

type UpdateWatermarkTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateWatermarkTemplateInvoker) Invoke added in v0.0.90

type UploadMetaDataByUrlInvoker added in v0.0.90

type UploadMetaDataByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadMetaDataByUrlInvoker) Invoke added in v0.0.90

type VodClient

type VodClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewVodClient

func NewVodClient(hcClient *httpclient.HcHttpClient) *VodClient

func (*VodClient) CancelAssetTranscodeTask

CancelAssetTranscodeTask 取消媒资转码任务

取消媒资转码任务,只能取消排队中的转码任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CancelAssetTranscodeTaskInvoker added in v0.0.90

func (c *VodClient) CancelAssetTranscodeTaskInvoker(request *model.CancelAssetTranscodeTaskRequest) *CancelAssetTranscodeTaskInvoker

CancelAssetTranscodeTaskInvoker 取消媒资转码任务

func (*VodClient) CancelExtractAudioTask

CancelExtractAudioTask 取消提取音频任务

取消提取音频任务,只有排队中的提取音频任务才可以取消。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CancelExtractAudioTaskInvoker added in v0.0.90

func (c *VodClient) CancelExtractAudioTaskInvoker(request *model.CancelExtractAudioTaskRequest) *CancelExtractAudioTaskInvoker

CancelExtractAudioTaskInvoker 取消提取音频任务

func (*VodClient) CheckMd5Duplication

CheckMd5Duplication 上传检验

校验媒资文件是否已存储于视频点播服务中。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CheckMd5DuplicationInvoker added in v0.0.90

func (c *VodClient) CheckMd5DuplicationInvoker(request *model.CheckMd5DuplicationRequest) *CheckMd5DuplicationInvoker

CheckMd5DuplicationInvoker 上传检验

func (*VodClient) ConfirmAssetUpload

func (c *VodClient) ConfirmAssetUpload(request *model.ConfirmAssetUploadRequest) (*model.ConfirmAssetUploadResponse, error)

ConfirmAssetUpload 确认媒资上传

媒资分段上传完成后,需要调用此接口通知点播服务媒资上传的状态,表示媒资上传创建完成。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ConfirmAssetUploadInvoker added in v0.0.90

func (c *VodClient) ConfirmAssetUploadInvoker(request *model.ConfirmAssetUploadRequest) *ConfirmAssetUploadInvoker

ConfirmAssetUploadInvoker 确认媒资上传

func (*VodClient) ConfirmImageUpload

func (c *VodClient) ConfirmImageUpload(request *model.ConfirmImageUploadRequest) (*model.ConfirmImageUploadResponse, error)

ConfirmImageUpload 确认水印图片上传

确认水印图片上传状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ConfirmImageUploadInvoker added in v0.0.90

func (c *VodClient) ConfirmImageUploadInvoker(request *model.ConfirmImageUploadRequest) *ConfirmImageUploadInvoker

ConfirmImageUploadInvoker 确认水印图片上传

func (*VodClient) CreateAssetByFileUpload

CreateAssetByFileUpload 创建媒资:上传方式

调用该接口创建媒资时,需要将对应的媒资文件上传到点播服务的OBS桶中。

若上传的单媒资文件大小小于20M,则可以直接用PUT方法对该接口返回的地址进行上传。具体使用方法请参考[示例1:媒资上传(20M以下)](https://support.huaweicloud.com/api-vod/vod_04_0195.html)。

若上传的单个媒资大小大于20M,则需要进行二进制流分割后上传,该接口的具体使用方法请参考[示例2:媒资分段上传(20M以上)](https://support.huaweicloud.com/api-vod/vod_04_0216.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateAssetByFileUploadInvoker added in v0.0.90

func (c *VodClient) CreateAssetByFileUploadInvoker(request *model.CreateAssetByFileUploadRequest) *CreateAssetByFileUploadInvoker

CreateAssetByFileUploadInvoker 创建媒资:上传方式

func (*VodClient) CreateAssetCategory

CreateAssetCategory 创建媒资分类

创建媒资分类。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateAssetCategoryInvoker added in v0.0.90

func (c *VodClient) CreateAssetCategoryInvoker(request *model.CreateAssetCategoryRequest) *CreateAssetCategoryInvoker

CreateAssetCategoryInvoker 创建媒资分类

func (*VodClient) CreateAssetProcessTask

CreateAssetProcessTask 媒资处理

实现视频转码、截图、加密等处理。既可以同时启动多种操作,也可以只启动一种操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateAssetProcessTaskInvoker added in v0.0.90

func (c *VodClient) CreateAssetProcessTaskInvoker(request *model.CreateAssetProcessTaskRequest) *CreateAssetProcessTaskInvoker

CreateAssetProcessTaskInvoker 媒资处理

func (*VodClient) CreateAssetReviewTask

CreateAssetReviewTask 创建审核媒资任务

对上传的媒资进行审核。审核后,可以调用[查询媒资详细信息](https://support.huaweicloud.com/api-vod/vod_04_0202.html)接口查看审核结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateAssetReviewTaskInvoker added in v0.0.90

func (c *VodClient) CreateAssetReviewTaskInvoker(request *model.CreateAssetReviewTaskRequest) *CreateAssetReviewTaskInvoker

CreateAssetReviewTaskInvoker 创建审核媒资任务

func (*VodClient) CreateExtractAudioTask

CreateExtractAudioTask 音频提取

本接口为异步接口,创建音频提取任务下发成功后会返回asset_id和提取的audio_asset_id,但此时音频提取任务并没有立即完成,可通过消息订阅界面配置的音频提取完成事件来获取音频提取任务完成与否。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateExtractAudioTaskInvoker added in v0.0.90

func (c *VodClient) CreateExtractAudioTaskInvoker(request *model.CreateExtractAudioTaskRequest) *CreateExtractAudioTaskInvoker

CreateExtractAudioTaskInvoker 音频提取

func (*VodClient) CreatePreheatingAsset

CreatePreheatingAsset CDN预热

媒资发布后,可通过指定媒资ID或URL向CDN预热。用户初次请求时,将由CDN节点提供请求媒资,加快用户下载缓存时间,提高用户体验。单租户每天最多预热1000个。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreatePreheatingAssetInvoker added in v0.0.90

func (c *VodClient) CreatePreheatingAssetInvoker(request *model.CreatePreheatingAssetRequest) *CreatePreheatingAssetInvoker

CreatePreheatingAssetInvoker CDN预热

func (*VodClient) CreateTakeOverTask

func (c *VodClient) CreateTakeOverTask(request *model.CreateTakeOverTaskRequest) (*model.CreateTakeOverTaskResponse, error)

CreateTakeOverTask 创建媒资:OBS托管方式

通过存量托管的方式,将已存储在OBS桶中的音视频文件同步到点播服务。

OBS托管方式分为增量托管和存量托管,增量托管暂只支持通过视频点播控制台配置,配置后,若OBS有新增音视频文件,则会自动同步到点播服务中,具体请参见[增量托管](https://support.huaweicloud.com/usermanual-vod/vod010032.html)。两个托管方式都需要先将对应的OBS桶授权给点播服务,具体请参见[桶授权](https://support.huaweicloud.com/usermanual-vod/vod010031.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateTakeOverTaskInvoker added in v0.0.90

func (c *VodClient) CreateTakeOverTaskInvoker(request *model.CreateTakeOverTaskRequest) *CreateTakeOverTaskInvoker

CreateTakeOverTaskInvoker 创建媒资:OBS托管方式

func (*VodClient) CreateTemplateGroup

CreateTemplateGroup 创建自定义转码模板组

创建自定义转码模板组。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateTemplateGroupCollection added in v0.0.104

CreateTemplateGroupCollection 创建转码模板组集合

创建转码模板组集合

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateTemplateGroupCollectionInvoker added in v0.0.104

func (c *VodClient) CreateTemplateGroupCollectionInvoker(request *model.CreateTemplateGroupCollectionRequest) *CreateTemplateGroupCollectionInvoker

CreateTemplateGroupCollectionInvoker 创建转码模板组集合

func (*VodClient) CreateTemplateGroupInvoker added in v0.0.90

func (c *VodClient) CreateTemplateGroupInvoker(request *model.CreateTemplateGroupRequest) *CreateTemplateGroupInvoker

CreateTemplateGroupInvoker 创建自定义转码模板组

func (*VodClient) CreateTranscodeTemplate added in v0.0.104

CreateTranscodeTemplate 创建自定义转码模板

创建自定义转码模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateTranscodeTemplateInvoker added in v0.0.104

func (c *VodClient) CreateTranscodeTemplateInvoker(request *model.CreateTranscodeTemplateRequest) *CreateTranscodeTemplateInvoker

CreateTranscodeTemplateInvoker 创建自定义转码模板

func (*VodClient) CreateWatermarkTemplate

CreateWatermarkTemplate 创建水印模板

创建水印模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) CreateWatermarkTemplateInvoker added in v0.0.90

func (c *VodClient) CreateWatermarkTemplateInvoker(request *model.CreateWatermarkTemplateRequest) *CreateWatermarkTemplateInvoker

CreateWatermarkTemplateInvoker 创建水印模板

func (*VodClient) DeleteAssetCategory

DeleteAssetCategory 删除媒资分类

删除媒资分类。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteAssetCategoryInvoker added in v0.0.90

func (c *VodClient) DeleteAssetCategoryInvoker(request *model.DeleteAssetCategoryRequest) *DeleteAssetCategoryInvoker

DeleteAssetCategoryInvoker 删除媒资分类

func (*VodClient) DeleteAssets

func (c *VodClient) DeleteAssets(request *model.DeleteAssetsRequest) (*model.DeleteAssetsResponse, error)

DeleteAssets 删除媒资

删除媒资。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteAssetsInvoker added in v0.0.90

func (c *VodClient) DeleteAssetsInvoker(request *model.DeleteAssetsRequest) *DeleteAssetsInvoker

DeleteAssetsInvoker 删除媒资

func (*VodClient) DeleteTemplateGroup

DeleteTemplateGroup 删除自定义转码模板组

删除自定义转码模板组。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteTemplateGroupCollection added in v0.0.104

DeleteTemplateGroupCollection 删除转码模板组集合

删除转码模板组集合

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteTemplateGroupCollectionInvoker added in v0.0.104

func (c *VodClient) DeleteTemplateGroupCollectionInvoker(request *model.DeleteTemplateGroupCollectionRequest) *DeleteTemplateGroupCollectionInvoker

DeleteTemplateGroupCollectionInvoker 删除转码模板组集合

func (*VodClient) DeleteTemplateGroupInvoker added in v0.0.90

func (c *VodClient) DeleteTemplateGroupInvoker(request *model.DeleteTemplateGroupRequest) *DeleteTemplateGroupInvoker

DeleteTemplateGroupInvoker 删除自定义转码模板组

func (*VodClient) DeleteTranscodeTemplate added in v0.0.104

DeleteTranscodeTemplate 删除自定义模板

删除自定义模板

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteTranscodeTemplateInvoker added in v0.0.104

func (c *VodClient) DeleteTranscodeTemplateInvoker(request *model.DeleteTranscodeTemplateRequest) *DeleteTranscodeTemplateInvoker

DeleteTranscodeTemplateInvoker 删除自定义模板

func (*VodClient) DeleteWatermarkTemplate

DeleteWatermarkTemplate 删除水印模板

删除水印模板

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) DeleteWatermarkTemplateInvoker added in v0.0.90

func (c *VodClient) DeleteWatermarkTemplateInvoker(request *model.DeleteWatermarkTemplateRequest) *DeleteWatermarkTemplateInvoker

DeleteWatermarkTemplateInvoker 删除水印模板

func (*VodClient) ListAssetCategory

func (c *VodClient) ListAssetCategory(request *model.ListAssetCategoryRequest) (*model.ListAssetCategoryResponse, error)

ListAssetCategory 查询指定分类信息

查询指定分类信息,及其子分类(即下一级分类)的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListAssetCategoryInvoker added in v0.0.90

func (c *VodClient) ListAssetCategoryInvoker(request *model.ListAssetCategoryRequest) *ListAssetCategoryInvoker

ListAssetCategoryInvoker 查询指定分类信息

func (*VodClient) ListAssetDailySummaryLog added in v0.1.73

ListAssetDailySummaryLog 查询媒资日播放统计数据

查询媒资日播放统计数据。

使用媒资日播放统计查询API前,需要先提交工单开通统计功能,才能触发统计任务。

支持查询最近一年的播放统计数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListAssetDailySummaryLogInvoker added in v0.1.73

func (c *VodClient) ListAssetDailySummaryLogInvoker(request *model.ListAssetDailySummaryLogRequest) *ListAssetDailySummaryLogInvoker

ListAssetDailySummaryLogInvoker 查询媒资日播放统计数据

func (*VodClient) ListAssetList

func (c *VodClient) ListAssetList(request *model.ListAssetListRequest) (*model.ListAssetListResponse, error)

ListAssetList 查询媒资列表

查询媒资列表,列表中的每一条记录包含媒资的概要信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListAssetListInvoker added in v0.0.90

func (c *VodClient) ListAssetListInvoker(request *model.ListAssetListRequest) *ListAssetListInvoker

ListAssetListInvoker 查询媒资列表

func (*VodClient) ListDomainLogs added in v0.0.78

func (c *VodClient) ListDomainLogs(request *model.ListDomainLogsRequest) (*model.ListDomainLogsResponse, error)

ListDomainLogs 查询域名播放日志

查询指定点播域名某段时间内在CDN的相关日志。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListDomainLogsInvoker added in v0.0.90

func (c *VodClient) ListDomainLogsInvoker(request *model.ListDomainLogsRequest) *ListDomainLogsInvoker

ListDomainLogsInvoker 查询域名播放日志

func (*VodClient) ListTakeOverTask

func (c *VodClient) ListTakeOverTask(request *model.ListTakeOverTaskRequest) (*model.ListTakeOverTaskResponse, error)

ListTakeOverTask 查询托管任务

查询OBS存量托管任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListTakeOverTaskInvoker added in v0.0.90

func (c *VodClient) ListTakeOverTaskInvoker(request *model.ListTakeOverTaskRequest) *ListTakeOverTaskInvoker

ListTakeOverTaskInvoker 查询托管任务

func (*VodClient) ListTemplateGroup

func (c *VodClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)

ListTemplateGroup 查询转码模板组列表

查询转码模板组列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListTemplateGroupCollection added in v0.0.104

ListTemplateGroupCollection 查询自定义模板组集合

查询转码模板组集合

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListTemplateGroupCollectionInvoker added in v0.0.104

func (c *VodClient) ListTemplateGroupCollectionInvoker(request *model.ListTemplateGroupCollectionRequest) *ListTemplateGroupCollectionInvoker

ListTemplateGroupCollectionInvoker 查询自定义模板组集合

func (*VodClient) ListTemplateGroupInvoker added in v0.0.90

func (c *VodClient) ListTemplateGroupInvoker(request *model.ListTemplateGroupRequest) *ListTemplateGroupInvoker

ListTemplateGroupInvoker 查询转码模板组列表

func (*VodClient) ListTopStatistics

func (c *VodClient) ListTopStatistics(request *model.ListTopStatisticsRequest) (*model.ListTopStatisticsResponse, error)

ListTopStatistics 查询TopN媒资信息

查询指定域名在指定日期播放次数排名Top 100的媒资统计数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListTopStatisticsInvoker added in v0.0.90

func (c *VodClient) ListTopStatisticsInvoker(request *model.ListTopStatisticsRequest) *ListTopStatisticsInvoker

ListTopStatisticsInvoker 查询TopN媒资信息

func (*VodClient) ListTranscodeTemplate added in v0.0.104

ListTranscodeTemplate 查询转码模板列表

查询转码模板列表

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListTranscodeTemplateInvoker added in v0.0.104

func (c *VodClient) ListTranscodeTemplateInvoker(request *model.ListTranscodeTemplateRequest) *ListTranscodeTemplateInvoker

ListTranscodeTemplateInvoker 查询转码模板列表

func (*VodClient) ListWatermarkTemplate

ListWatermarkTemplate 查询水印列表

查询水印模板

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ListWatermarkTemplateInvoker added in v0.0.90

func (c *VodClient) ListWatermarkTemplateInvoker(request *model.ListWatermarkTemplateRequest) *ListWatermarkTemplateInvoker

ListWatermarkTemplateInvoker 查询水印列表

func (*VodClient) ModifySubtitle added in v0.1.29

func (c *VodClient) ModifySubtitle(request *model.ModifySubtitleRequest) (*model.ModifySubtitleResponse, error)

ModifySubtitle 多字幕封装

多字幕封装,仅支持 HLS VTT格式

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ModifySubtitleInvoker added in v0.1.29

func (c *VodClient) ModifySubtitleInvoker(request *model.ModifySubtitleRequest) *ModifySubtitleInvoker

ModifySubtitleInvoker 多字幕封装

func (*VodClient) PublishAssetFromObs

PublishAssetFromObs 创建媒资:OBS转存方式

若您在使用点播服务前,已经在OBS桶中存储了音视频文件,您可以使用该接口将存储在OBS桶中的音视频文件转存到点播服务中,使用点播服务的音视频管理功能。调用该接口前,您需要调用[桶授权](https://support.huaweicloud.com/api-vod/vod_04_0199.html)接口,将存储音视频文件的OBS桶授权给点播服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) PublishAssetFromObsInvoker added in v0.0.90

func (c *VodClient) PublishAssetFromObsInvoker(request *model.PublishAssetFromObsRequest) *PublishAssetFromObsInvoker

PublishAssetFromObsInvoker 创建媒资:OBS转存方式

func (*VodClient) PublishAssets

func (c *VodClient) PublishAssets(request *model.PublishAssetsRequest) (*model.PublishAssetsResponse, error)

PublishAssets 媒资发布

将媒资设置为发布状态。支持批量发布。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) PublishAssetsInvoker added in v0.0.90

func (c *VodClient) PublishAssetsInvoker(request *model.PublishAssetsRequest) *PublishAssetsInvoker

PublishAssetsInvoker 媒资发布

func (*VodClient) ShowAssetCipher

func (c *VodClient) ShowAssetCipher(request *model.ShowAssetCipherRequest) (*model.ShowAssetCipherResponse, error)

ShowAssetCipher 密钥查询

终端播放HLS加密视频时,向租户管理系统请求密钥,租户管理系统先查询其本地有没有已缓存的密钥,没有时则调用此接口向VOD查询。该接口的具体使用场景请参见[通过HLS加密防止视频泄露](https://support.huaweicloud.com/bestpractice-vod/vod_10_0004.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowAssetCipherInvoker added in v0.0.90

func (c *VodClient) ShowAssetCipherInvoker(request *model.ShowAssetCipherRequest) *ShowAssetCipherInvoker

ShowAssetCipherInvoker 密钥查询

func (*VodClient) ShowAssetDetail

func (c *VodClient) ShowAssetDetail(request *model.ShowAssetDetailRequest) (*model.ShowAssetDetailResponse, error)

ShowAssetDetail 查询指定媒资的详细信息

查询指定媒资的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowAssetDetailInvoker added in v0.0.90

func (c *VodClient) ShowAssetDetailInvoker(request *model.ShowAssetDetailRequest) *ShowAssetDetailInvoker

ShowAssetDetailInvoker 查询指定媒资的详细信息

func (*VodClient) ShowAssetMeta

func (c *VodClient) ShowAssetMeta(request *model.ShowAssetMetaRequest) (*model.ShowAssetMetaResponse, error)

ShowAssetMeta 查询媒资信息

查询媒资信息,支持指定媒资ID、分类、状态、起止时间查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowAssetMetaInvoker added in v0.0.90

func (c *VodClient) ShowAssetMetaInvoker(request *model.ShowAssetMetaRequest) *ShowAssetMetaInvoker

ShowAssetMetaInvoker 查询媒资信息

func (*VodClient) ShowAssetTempAuthority

ShowAssetTempAuthority 获取分段上传授权

客户端请求创建媒资时,如果媒资文件超过20MB,需采用分段的方式向OBS上传,在每次与OBS交互前,客户端需通过此接口获取到授权方可与OBS交互。

该接口可以获取[初始化多段上传任务](https://support.huaweicloud.com/api-obs/obs_04_0098.html)、[上传段](https://support.huaweicloud.com/api-obs/obs_04_0099.html)、[合并段](https://support.huaweicloud.com/api-obs/obs_04_0102.html)、[列举已上传段](https://support.huaweicloud.com/api-obs/obs_04_0101.html)、[取消段合并](https://support.huaweicloud.com/api-obs/obs_04_0103.html)的带有临时授权的URL,用户需要根据OBS的接口文档配置相应请求的HTTP请求方法、请求头、请求体,然后请求对应的带有临时授权的URL。

视频分段上传方式和OBS的接口文档保持一致,包括HTTP请求方法、请求头、请求体等各种入参,此接口的作用是为用户生成带有鉴权信息的URL(鉴权信息即query_str),用来替换OBS接口中对应的URL,临时给用户开通向点播服务的桶上传文件的权限。

调用获取授权接口时需要传入bucket、object_key、http_verb,其中bucket和object_key是由[创建媒资:上传方式](https://support.huaweicloud.com/api-vod/vod_04_0196.html)接口中返回的响应体中的target字段获得的bucket和object,http_verb需要根据指定的操作选择。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowAssetTempAuthorityInvoker added in v0.0.90

func (c *VodClient) ShowAssetTempAuthorityInvoker(request *model.ShowAssetTempAuthorityRequest) *ShowAssetTempAuthorityInvoker

ShowAssetTempAuthorityInvoker 获取分段上传授权

func (*VodClient) ShowCdnStatistics

func (c *VodClient) ShowCdnStatistics(request *model.ShowCdnStatisticsRequest) (*model.ShowCdnStatisticsResponse, error)

ShowCdnStatistics 查询CDN统计信息

查询CDN的统计数据,包括流量、峰值带宽、请求总数、请求命中率、流量命中率。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowCdnStatisticsInvoker added in v0.0.90

func (c *VodClient) ShowCdnStatisticsInvoker(request *model.ShowCdnStatisticsRequest) *ShowCdnStatisticsInvoker

ShowCdnStatisticsInvoker 查询CDN统计信息

func (*VodClient) ShowPreheatingAsset

ShowPreheatingAsset 查询CDN预热

查询预热结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowPreheatingAssetInvoker added in v0.0.90

func (c *VodClient) ShowPreheatingAssetInvoker(request *model.ShowPreheatingAssetRequest) *ShowPreheatingAssetInvoker

ShowPreheatingAssetInvoker 查询CDN预热

func (*VodClient) ShowTakeOverAssetDetails

ShowTakeOverAssetDetails 查询托管媒资详情

查询OBS托管媒资的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowTakeOverAssetDetailsInvoker added in v0.0.90

func (c *VodClient) ShowTakeOverAssetDetailsInvoker(request *model.ShowTakeOverAssetDetailsRequest) *ShowTakeOverAssetDetailsInvoker

ShowTakeOverAssetDetailsInvoker 查询托管媒资详情

func (*VodClient) ShowTakeOverTaskDetails

ShowTakeOverTaskDetails 查询托管任务详情

查询OBS存量托管任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowTakeOverTaskDetailsInvoker added in v0.0.90

func (c *VodClient) ShowTakeOverTaskDetailsInvoker(request *model.ShowTakeOverTaskDetailsRequest) *ShowTakeOverTaskDetailsInvoker

ShowTakeOverTaskDetailsInvoker 查询托管任务详情

func (*VodClient) ShowVodRetrieval added in v0.1.73

func (c *VodClient) ShowVodRetrieval(request *model.ShowVodRetrievalRequest) (*model.ShowVodRetrievalResponse, error)

ShowVodRetrieval 查询取回数据信息

## 典型场景 ##

用于查询点播低频和归档取回量统计数据。<br/>

## 接口功能 ##

用于查询点播低频和归档取回量统计数据。<br/>

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowVodRetrievalInvoker added in v0.1.73

func (c *VodClient) ShowVodRetrievalInvoker(request *model.ShowVodRetrievalRequest) *ShowVodRetrievalInvoker

ShowVodRetrievalInvoker 查询取回数据信息

func (*VodClient) ShowVodStatistics

func (c *VodClient) ShowVodStatistics(request *model.ShowVodStatisticsRequest) (*model.ShowVodStatisticsResponse, error)

ShowVodStatistics 查询源站统计信息

查询点播源站的统计数据,包括流量、存储空间、转码时长。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) ShowVodStatisticsInvoker added in v0.0.90

func (c *VodClient) ShowVodStatisticsInvoker(request *model.ShowVodStatisticsRequest) *ShowVodStatisticsInvoker

ShowVodStatisticsInvoker 查询源站统计信息

func (*VodClient) UnpublishAssets

func (c *VodClient) UnpublishAssets(request *model.UnpublishAssetsRequest) (*model.UnpublishAssetsResponse, error)

UnpublishAssets 媒资发布取消

将媒资设置为未发布状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UnpublishAssetsInvoker added in v0.0.90

func (c *VodClient) UnpublishAssetsInvoker(request *model.UnpublishAssetsRequest) *UnpublishAssetsInvoker

UnpublishAssetsInvoker 媒资发布取消

func (*VodClient) UpdateAsset

func (c *VodClient) UpdateAsset(request *model.UpdateAssetRequest) (*model.UpdateAssetResponse, error)

UpdateAsset 视频更新

媒资创建后,单独上传封面、更新视频文件或更新已有封面。

如果是更新视频文件,更新完后要通过[确认媒资上传](https://support.huaweicloud.com/api-vod/vod_04_0198.html)接口通知点播服务。

如果是更新封面或单独上传封面,则不需通知。

更新视频可以使用分段上传,具体方式可以参考[示例2:媒资分段上传(20M以上)](https://support.huaweicloud.com/api-vod/vod_04_0216.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateAssetCategory

UpdateAssetCategory 修改媒资分类

修改媒资分类。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateAssetCategoryInvoker added in v0.0.90

func (c *VodClient) UpdateAssetCategoryInvoker(request *model.UpdateAssetCategoryRequest) *UpdateAssetCategoryInvoker

UpdateAssetCategoryInvoker 修改媒资分类

func (*VodClient) UpdateAssetInvoker added in v0.0.90

func (c *VodClient) UpdateAssetInvoker(request *model.UpdateAssetRequest) *UpdateAssetInvoker

UpdateAssetInvoker 视频更新

func (*VodClient) UpdateAssetMeta

func (c *VodClient) UpdateAssetMeta(request *model.UpdateAssetMetaRequest) (*model.UpdateAssetMetaResponse, error)

UpdateAssetMeta 修改媒资属性

修改媒资属性。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateAssetMetaInvoker added in v0.0.90

func (c *VodClient) UpdateAssetMetaInvoker(request *model.UpdateAssetMetaRequest) *UpdateAssetMetaInvoker

UpdateAssetMetaInvoker 修改媒资属性

func (*VodClient) UpdateBucketAuthorized

UpdateBucketAuthorized 桶授权

用户可以通过该接口将OBS桶授权给点播服务或取消点播服务的授权。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateBucketAuthorizedInvoker added in v0.0.90

func (c *VodClient) UpdateBucketAuthorizedInvoker(request *model.UpdateBucketAuthorizedRequest) *UpdateBucketAuthorizedInvoker

UpdateBucketAuthorizedInvoker 桶授权

func (*VodClient) UpdateCoverByThumbnail

UpdateCoverByThumbnail 设置封面

将视频截图生成的某张图片设置成封面。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateCoverByThumbnailInvoker added in v0.0.90

func (c *VodClient) UpdateCoverByThumbnailInvoker(request *model.UpdateCoverByThumbnailRequest) *UpdateCoverByThumbnailInvoker

UpdateCoverByThumbnailInvoker 设置封面

func (*VodClient) UpdateStorageMode added in v0.1.73

func (c *VodClient) UpdateStorageMode(request *model.UpdateStorageModeRequest) (*model.UpdateStorageModeResponse, error)

UpdateStorageMode 修改媒资文件在obs的存储模式

## 接口功能 ##

修改媒资文件在obs的存储模式<br/>

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateStorageModeInvoker added in v0.1.73

func (c *VodClient) UpdateStorageModeInvoker(request *model.UpdateStorageModeRequest) *UpdateStorageModeInvoker

UpdateStorageModeInvoker 修改媒资文件在obs的存储模式

func (*VodClient) UpdateTemplateGroup

UpdateTemplateGroup 修改自定义转码模板组

修改自定义转码模板组。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateTemplateGroupCollection added in v0.0.104

UpdateTemplateGroupCollection 修改转码模板组集合

修改转码模板组结合

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateTemplateGroupCollectionInvoker added in v0.0.104

func (c *VodClient) UpdateTemplateGroupCollectionInvoker(request *model.UpdateTemplateGroupCollectionRequest) *UpdateTemplateGroupCollectionInvoker

UpdateTemplateGroupCollectionInvoker 修改转码模板组集合

func (*VodClient) UpdateTemplateGroupInvoker added in v0.0.90

func (c *VodClient) UpdateTemplateGroupInvoker(request *model.UpdateTemplateGroupRequest) *UpdateTemplateGroupInvoker

UpdateTemplateGroupInvoker 修改自定义转码模板组

func (*VodClient) UpdateTranscodeTemplate added in v0.0.104

UpdateTranscodeTemplate 修改转码模板

修改转码模板

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateTranscodeTemplateInvoker added in v0.0.104

func (c *VodClient) UpdateTranscodeTemplateInvoker(request *model.UpdateTranscodeTemplateRequest) *UpdateTranscodeTemplateInvoker

UpdateTranscodeTemplateInvoker 修改转码模板

func (*VodClient) UpdateWatermarkTemplate

UpdateWatermarkTemplate 修改水印模板

修改水印模板

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UpdateWatermarkTemplateInvoker added in v0.0.90

func (c *VodClient) UpdateWatermarkTemplateInvoker(request *model.UpdateWatermarkTemplateRequest) *UpdateWatermarkTemplateInvoker

UpdateWatermarkTemplateInvoker 修改水印模板

func (*VodClient) UploadMetaDataByUrl

UploadMetaDataByUrl 创建媒资:URL拉取注入

基于音视频源文件URL,将音视频文件离线拉取上传到点播服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*VodClient) UploadMetaDataByUrlInvoker added in v0.0.90

func (c *VodClient) UploadMetaDataByUrlInvoker(request *model.UploadMetaDataByUrlRequest) *UploadMetaDataByUrlInvoker

UploadMetaDataByUrlInvoker 创建媒资:URL拉取注入

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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