Documentation ¶
Index ¶
- Constants
- type AgeDetectTask
- type AgeDetectTaskResult
- type AppStatisticsItem
- type ApplicationDataStatistics
- type ApplicationList
- type AsrConf
- type AudioTextStatisticsItem
- type Client
- func (c *Client) CreateAgeDetectTask(request *CreateAgeDetectTaskRequest) (response *CreateAgeDetectTaskResponse, err error)
- func (c *Client) CreateAgeDetectTaskWithContext(ctx context.Context, request *CreateAgeDetectTaskRequest) (response *CreateAgeDetectTaskResponse, err error)
- func (c *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)
- func (c *Client) CreateAppWithContext(ctx context.Context, request *CreateAppRequest) (response *CreateAppResponse, err error)
- func (c *Client) CreateCustomization(request *CreateCustomizationRequest) (response *CreateCustomizationResponse, err error)
- func (c *Client) CreateCustomizationWithContext(ctx context.Context, request *CreateCustomizationRequest) (response *CreateCustomizationResponse, err error)
- func (c *Client) CreateScanUser(request *CreateScanUserRequest) (response *CreateScanUserResponse, err error)
- func (c *Client) CreateScanUserWithContext(ctx context.Context, request *CreateScanUserRequest) (response *CreateScanUserResponse, err error)
- func (c *Client) DeleteCustomization(request *DeleteCustomizationRequest) (response *DeleteCustomizationResponse, err error)
- func (c *Client) DeleteCustomizationWithContext(ctx context.Context, request *DeleteCustomizationRequest) (response *DeleteCustomizationResponse, err error)
- func (c *Client) DeleteRoomMember(request *DeleteRoomMemberRequest) (response *DeleteRoomMemberResponse, err error)
- func (c *Client) DeleteRoomMemberWithContext(ctx context.Context, request *DeleteRoomMemberRequest) (response *DeleteRoomMemberResponse, err error)
- func (c *Client) DeleteScanUser(request *DeleteScanUserRequest) (response *DeleteScanUserResponse, err error)
- func (c *Client) DeleteScanUserWithContext(ctx context.Context, request *DeleteScanUserRequest) (response *DeleteScanUserResponse, err error)
- func (c *Client) DescribeAgeDetectTask(request *DescribeAgeDetectTaskRequest) (response *DescribeAgeDetectTaskResponse, err error)
- func (c *Client) DescribeAgeDetectTaskWithContext(ctx context.Context, request *DescribeAgeDetectTaskRequest) (response *DescribeAgeDetectTaskResponse, err error)
- func (c *Client) DescribeAppStatistics(request *DescribeAppStatisticsRequest) (response *DescribeAppStatisticsResponse, err error)
- func (c *Client) DescribeAppStatisticsWithContext(ctx context.Context, request *DescribeAppStatisticsRequest) (response *DescribeAppStatisticsResponse, err error)
- func (c *Client) DescribeApplicationData(request *DescribeApplicationDataRequest) (response *DescribeApplicationDataResponse, err error)
- func (c *Client) DescribeApplicationDataWithContext(ctx context.Context, request *DescribeApplicationDataRequest) (response *DescribeApplicationDataResponse, err error)
- func (c *Client) DescribeApplicationList(request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
- func (c *Client) DescribeApplicationListWithContext(ctx context.Context, request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
- func (c *Client) DescribeRealtimeScanConfig(request *DescribeRealtimeScanConfigRequest) (response *DescribeRealtimeScanConfigResponse, err error)
- func (c *Client) DescribeRealtimeScanConfigWithContext(ctx context.Context, request *DescribeRealtimeScanConfigRequest) (response *DescribeRealtimeScanConfigResponse, err error)
- func (c *Client) DescribeRecordInfo(request *DescribeRecordInfoRequest) (response *DescribeRecordInfoResponse, err error)
- func (c *Client) DescribeRecordInfoWithContext(ctx context.Context, request *DescribeRecordInfoRequest) (response *DescribeRecordInfoResponse, err error)
- func (c *Client) DescribeRoomInfo(request *DescribeRoomInfoRequest) (response *DescribeRoomInfoResponse, err error)
- func (c *Client) DescribeRoomInfoWithContext(ctx context.Context, request *DescribeRoomInfoRequest) (response *DescribeRoomInfoResponse, err error)
- func (c *Client) DescribeScanResultList(request *DescribeScanResultListRequest) (response *DescribeScanResultListResponse, err error)
- func (c *Client) DescribeScanResultListWithContext(ctx context.Context, request *DescribeScanResultListRequest) (response *DescribeScanResultListResponse, err error)
- func (c *Client) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
- func (c *Client) DescribeTaskInfoWithContext(ctx context.Context, request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
- func (c *Client) DescribeUserInAndOutTime(request *DescribeUserInAndOutTimeRequest) (response *DescribeUserInAndOutTimeResponse, err error)
- func (c *Client) DescribeUserInAndOutTimeWithContext(ctx context.Context, request *DescribeUserInAndOutTimeRequest) (response *DescribeUserInAndOutTimeResponse, err error)
- func (c *Client) GetCustomizationList(request *GetCustomizationListRequest) (response *GetCustomizationListResponse, err error)
- func (c *Client) GetCustomizationListWithContext(ctx context.Context, request *GetCustomizationListRequest) (response *GetCustomizationListResponse, err error)
- func (c *Client) ModifyAppStatus(request *ModifyAppStatusRequest) (response *ModifyAppStatusResponse, err error)
- func (c *Client) ModifyAppStatusWithContext(ctx context.Context, request *ModifyAppStatusRequest) (response *ModifyAppStatusResponse, err error)
- func (c *Client) ModifyCustomization(request *ModifyCustomizationRequest) (response *ModifyCustomizationResponse, err error)
- func (c *Client) ModifyCustomizationState(request *ModifyCustomizationStateRequest) (response *ModifyCustomizationStateResponse, err error)
- func (c *Client) ModifyCustomizationStateWithContext(ctx context.Context, request *ModifyCustomizationStateRequest) (response *ModifyCustomizationStateResponse, err error)
- func (c *Client) ModifyCustomizationWithContext(ctx context.Context, request *ModifyCustomizationRequest) (response *ModifyCustomizationResponse, err error)
- func (c *Client) ModifyRecordInfo(request *ModifyRecordInfoRequest) (response *ModifyRecordInfoResponse, err error)
- func (c *Client) ModifyRecordInfoWithContext(ctx context.Context, request *ModifyRecordInfoRequest) (response *ModifyRecordInfoResponse, err error)
- func (c *Client) ModifyUserMicStatus(request *ModifyUserMicStatusRequest) (response *ModifyUserMicStatusResponse, err error)
- func (c *Client) ModifyUserMicStatusWithContext(ctx context.Context, request *ModifyUserMicStatusRequest) (response *ModifyUserMicStatusResponse, err error)
- func (c *Client) ScanVoice(request *ScanVoiceRequest) (response *ScanVoiceResponse, err error)
- func (c *Client) ScanVoiceWithContext(ctx context.Context, request *ScanVoiceRequest) (response *ScanVoiceResponse, err error)
- func (c *Client) StartRecord(request *StartRecordRequest) (response *StartRecordResponse, err error)
- func (c *Client) StartRecordWithContext(ctx context.Context, request *StartRecordRequest) (response *StartRecordResponse, err error)
- func (c *Client) StopRecord(request *StopRecordRequest) (response *StopRecordResponse, err error)
- func (c *Client) StopRecordWithContext(ctx context.Context, request *StopRecordRequest) (response *StopRecordResponse, err error)
- func (c *Client) UpdateScanRooms(request *UpdateScanRoomsRequest) (response *UpdateScanRoomsResponse, err error)
- func (c *Client) UpdateScanRoomsWithContext(ctx context.Context, request *UpdateScanRoomsRequest) (response *UpdateScanRoomsResponse, err error)
- func (c *Client) UpdateScanUsers(request *UpdateScanUsersRequest) (response *UpdateScanUsersResponse, err error)
- func (c *Client) UpdateScanUsersWithContext(ctx context.Context, request *UpdateScanUsersRequest) (response *UpdateScanUsersResponse, err error)
- type CreateAgeDetectTaskRequest
- type CreateAgeDetectTaskRequestParams
- type CreateAgeDetectTaskResponse
- type CreateAgeDetectTaskResponseParams
- type CreateAppRequest
- type CreateAppRequestParams
- type CreateAppResp
- type CreateAppResponse
- type CreateAppResponseParams
- type CreateCustomizationRequest
- type CreateCustomizationRequestParams
- type CreateCustomizationResponse
- type CreateCustomizationResponseParams
- type CreateScanUserRequest
- type CreateScanUserRequestParams
- type CreateScanUserResponse
- type CreateScanUserResponseParams
- type CustomizationConfigs
- type DeleteCustomizationRequest
- type DeleteCustomizationRequestParams
- type DeleteCustomizationResponse
- type DeleteCustomizationResponseParams
- type DeleteResult
- type DeleteRoomMemberRequest
- type DeleteRoomMemberRequestParams
- type DeleteRoomMemberResponse
- type DeleteRoomMemberResponseParams
- type DeleteScanUserRequest
- type DeleteScanUserRequestParams
- type DeleteScanUserResponse
- type DeleteScanUserResponseParams
- type DescribeAgeDetectTaskRequest
- type DescribeAgeDetectTaskRequestParams
- type DescribeAgeDetectTaskResponse
- type DescribeAgeDetectTaskResponseParams
- type DescribeAppStatisticsRequest
- type DescribeAppStatisticsRequestParams
- type DescribeAppStatisticsResp
- type DescribeAppStatisticsResponse
- type DescribeAppStatisticsResponseParams
- type DescribeApplicationDataRequest
- type DescribeApplicationDataRequestParams
- type DescribeApplicationDataResponse
- type DescribeApplicationDataResponseParams
- type DescribeApplicationListRequest
- type DescribeApplicationListRequestParams
- type DescribeApplicationListResponse
- type DescribeApplicationListResponseParams
- type DescribeRealtimeScanConfigRequest
- type DescribeRealtimeScanConfigRequestParams
- type DescribeRealtimeScanConfigResponse
- type DescribeRealtimeScanConfigResponseParams
- type DescribeRecordInfoRequest
- type DescribeRecordInfoRequestParams
- type DescribeRecordInfoResponse
- type DescribeRecordInfoResponseParams
- type DescribeRoomInfoRequest
- type DescribeRoomInfoRequestParams
- type DescribeRoomInfoResponse
- type DescribeRoomInfoResponseParams
- type DescribeScanResult
- type DescribeScanResultListRequest
- type DescribeScanResultListRequestParams
- type DescribeScanResultListResponse
- type DescribeScanResultListResponseParams
- type DescribeTaskInfoRequest
- type DescribeTaskInfoRequestParams
- type DescribeTaskInfoResponse
- type DescribeTaskInfoResponseParams
- type DescribeUserInAndOutTimeRequest
- type DescribeUserInAndOutTimeRequestParams
- type DescribeUserInAndOutTimeResponse
- type DescribeUserInAndOutTimeResponseParams
- type Filter
- type GetCustomizationListRequest
- type GetCustomizationListRequestParams
- type GetCustomizationListResponse
- type GetCustomizationListResponseParams
- type InOutTimeInfo
- type ModifyAppStatusRequest
- type ModifyAppStatusRequestParams
- type ModifyAppStatusResp
- type ModifyAppStatusResponse
- type ModifyAppStatusResponseParams
- type ModifyCustomizationRequest
- type ModifyCustomizationRequestParams
- type ModifyCustomizationResponse
- type ModifyCustomizationResponseParams
- type ModifyCustomizationStateRequest
- type ModifyCustomizationStateRequestParams
- type ModifyCustomizationStateResponse
- type ModifyCustomizationStateResponseParams
- type ModifyRecordInfoRequest
- type ModifyRecordInfoRequestParams
- type ModifyRecordInfoResponse
- type ModifyRecordInfoResponseParams
- type ModifyUserMicStatusRequest
- type ModifyUserMicStatusRequestParams
- type ModifyUserMicStatusResponse
- type ModifyUserMicStatusResponseParams
- type OverseaTextStatisticsItem
- type RealTimeSpeechStatisticsItem
- type RealtimeSpeechConf
- type RealtimeTextStatisticsItem
- type RecordInfo
- type RoomUser
- type ScanDetail
- type ScanPiece
- type ScanVoiceRequest
- type ScanVoiceRequestParams
- type ScanVoiceResponse
- type ScanVoiceResponseParams
- type ScanVoiceResult
- type SceneInfo
- type ServiceStatus
- type StartRecordRequest
- type StartRecordRequestParams
- type StartRecordResponse
- type StartRecordResponseParams
- type StatisticsItem
- type StatusInfo
- type StopRecordRequest
- type StopRecordRequestParams
- type StopRecordResponse
- type StopRecordResponseParams
- type StreamTextStatisticsItem
- type SubscribeRecordUserIds
- type Tag
- type Task
- type UpdateScanRoomsRequest
- type UpdateScanRoomsRequestParams
- type UpdateScanRoomsResponse
- type UpdateScanRoomsResponseParams
- type UpdateScanUsersRequest
- type UpdateScanUsersRequestParams
- type UpdateScanUsersResponse
- type UpdateScanUsersResponseParams
- type UserMicStatus
- type VoiceFilterConf
- type VoiceFilterStatisticsItem
- type VoiceMessageConf
- type VoiceMessageStatisticsItem
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 登录态过期。 FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" // 欠费不可操作。 FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 回调地址不正确 INVALIDPARAMETER_CALLBACKADDRESS = "InvalidParameter.CallbackAddress" // 日期无效。 INVALIDPARAMETER_DATEINVALID = "InvalidParameter.DateInvalid" // 输入日期超出60天查询范围。 INVALIDPARAMETER_DATEOUTOFSIXTYDAYS = "InvalidParameter.DateOutOfSixtyDays" // 标签不正确 INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" // 查询时间范围错误。 INVALIDPARAMETER_TIMERANGEERROR = "InvalidParameter.TimeRangeError" // BizId 参数错误 INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" // 输入删除类型应为1或2。 INVALIDPARAMETERVALUE_INVALIDDELETETYPE = "InvalidParameterValue.InvalidDeleteType" // RecordMode参数错误 INVALIDPARAMETERVALUE_INVALIDRECORDMODE = "InvalidParameterValue.InvalidRecordMode" // RoomId 参数错误 INVALIDPARAMETERVALUE_INVALIDROOMID = "InvalidParameterValue.InvalidRoomId" // 黑白名单格式错误 INVALIDPARAMETERVALUE_INVALIDSUBSCRIBERECORDUSERIDS = "InvalidParameterValue.InvalidSubscribeRecordUserIds" // 白名单个数超过20个 INVALIDPARAMETERVALUE_INVALIDSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidSubscribeUserIds" // taskid参数错误 INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" // 黑名单个数超过20个 INVALIDPARAMETERVALUE_INVALIDUNSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidUNSubscribeUserIds" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 创建应用数已达上限。 LIMITEXCEEDED_APPLICATION = "LimitExceeded.Application" // 缺少参数。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // task已存在 RESOURCEINUSE_TASKINUSE = "ResourceInUse.TaskInUse" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 应用ID不正确 RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" // 房间不存在 RESOURCENOTFOUND_ROOMNOTFOUND = "ResourceNotFound.RoomNotFound" // 任务ID不存在 RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 创建应用不被授权。 UNAUTHORIZEDOPERATION_CREATEAPPDENIED = "UnauthorizedOperation.CreateAppDenied" // 该用户未进行实名认证。 UNAUTHORIZEDOPERATION_UNREALNAMEAUTH = "UnauthorizedOperation.UnRealNameAuth" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 语音转文本开关未开启。 UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" // 录制服务未开通 UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened" )
const APIVersion = "2018-07-11"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgeDetectTask ¶ added in v1.0.235
type AgeDetectTaskResult ¶ added in v1.0.235
type AgeDetectTaskResult struct { // 数据唯一ID DataId *string `json:"DataId,omitnil,omitempty" name:"DataId"` // 数据文件的url Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 任务状态,0: 已创建,1:运行中,2:正常结束,3:异常结束,4:运行超时 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 任务结果:0: 成年,1:未成年,100:未知 Age *uint64 `json:"Age,omitnil,omitempty" name:"Age"` }
type AppStatisticsItem ¶
type AppStatisticsItem struct { // 实时语音统计数据 // 注意:此字段可能返回 null,表示取不到有效值。 RealtimeSpeechStatisticsItem *RealTimeSpeechStatisticsItem `json:"RealtimeSpeechStatisticsItem,omitnil,omitempty" name:"RealtimeSpeechStatisticsItem"` // 语音消息统计数据 // 注意:此字段可能返回 null,表示取不到有效值。 VoiceMessageStatisticsItem *VoiceMessageStatisticsItem `json:"VoiceMessageStatisticsItem,omitnil,omitempty" name:"VoiceMessageStatisticsItem"` // 语音过滤统计数据 // 注意:此字段可能返回 null,表示取不到有效值。 VoiceFilterStatisticsItem *VoiceFilterStatisticsItem `json:"VoiceFilterStatisticsItem,omitnil,omitempty" name:"VoiceFilterStatisticsItem"` // 统计时间 Date *string `json:"Date,omitnil,omitempty" name:"Date"` // 录音转文本用量统计数据 // 注意:此字段可能返回 null,表示取不到有效值。 AudioTextStatisticsItem *AudioTextStatisticsItem `json:"AudioTextStatisticsItem,omitnil,omitempty" name:"AudioTextStatisticsItem"` // 流式转文本用量数据 // 注意:此字段可能返回 null,表示取不到有效值。 StreamTextStatisticsItem *StreamTextStatisticsItem `json:"StreamTextStatisticsItem,omitnil,omitempty" name:"StreamTextStatisticsItem"` // 海外转文本用量数据 // 注意:此字段可能返回 null,表示取不到有效值。 OverseaTextStatisticsItem *OverseaTextStatisticsItem `json:"OverseaTextStatisticsItem,omitnil,omitempty" name:"OverseaTextStatisticsItem"` // 实时语音转文本用量数据 // 注意:此字段可能返回 null,表示取不到有效值。 RealtimeTextStatisticsItem *RealtimeTextStatisticsItem `json:"RealtimeTextStatisticsItem,omitnil,omitempty" name:"RealtimeTextStatisticsItem"` }
type ApplicationDataStatistics ¶
type ApplicationDataStatistics struct { // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // Dau统计项数目 DauDataNum *uint64 `json:"DauDataNum,omitnil,omitempty" name:"DauDataNum"` // 大陆地区Dau统计数据,单位人 DauDataMainland []*StatisticsItem `json:"DauDataMainland,omitnil,omitempty" name:"DauDataMainland"` // 海外地区Dau统计数据,单位人 DauDataOversea []*StatisticsItem `json:"DauDataOversea,omitnil,omitempty" name:"DauDataOversea"` // 大陆和海外地区Dau统计数据汇总,单位人 DauDataSum []*StatisticsItem `json:"DauDataSum,omitnil,omitempty" name:"DauDataSum"` // 实时语音时长统计项数目 DurationDataNum *uint64 `json:"DurationDataNum,omitnil,omitempty" name:"DurationDataNum"` // 大陆地区实时语音时长统计数据,单位分钟 DurationDataMainland []*StatisticsItem `json:"DurationDataMainland,omitnil,omitempty" name:"DurationDataMainland"` // 海外地区实时语音时长统计数据,单位分钟 DurationDataOversea []*StatisticsItem `json:"DurationDataOversea,omitnil,omitempty" name:"DurationDataOversea"` // 大陆和海外地区实时语音时长统计数据汇总,单位分钟 DurationDataSum []*StatisticsItem `json:"DurationDataSum,omitnil,omitempty" name:"DurationDataSum"` // Pcu统计项数目 PcuDataNum *uint64 `json:"PcuDataNum,omitnil,omitempty" name:"PcuDataNum"` // 大陆地区Pcu统计数据,单位人 PcuDataMainland []*StatisticsItem `json:"PcuDataMainland,omitnil,omitempty" name:"PcuDataMainland"` // 海外地区Pcu统计数据,单位人 PcuDataOversea []*StatisticsItem `json:"PcuDataOversea,omitnil,omitempty" name:"PcuDataOversea"` // 大陆和海外地区Pcu统计数据汇总,单位人 PcuDataSum []*StatisticsItem `json:"PcuDataSum,omitnil,omitempty" name:"PcuDataSum"` }
type ApplicationList ¶ added in v1.0.544
type ApplicationList struct { // 服务开关状态 ServiceConf *ServiceStatus `json:"ServiceConf,omitnil,omitempty" name:"ServiceConf"` // 应用ID(AppID) BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 应用名称 AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // 项目ID,默认为0 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 应用状态,返回0表示正常,1表示关闭,2表示欠费停服,3表示欠费回收 AppStatus *uint64 `json:"AppStatus,omitnil,omitempty" name:"AppStatus"` // 创建时间,Unix时间戳格式 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 应用类型,无需关注此数值 AppType *uint64 `json:"AppType,omitnil,omitempty" name:"AppType"` }
type AsrConf ¶ added in v1.0.643
type AsrConf struct { // 语音转文本服务开关,取值:open/close Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type AudioTextStatisticsItem ¶ added in v1.0.525
type AudioTextStatisticsItem struct { // 统计值,单位:秒 // 注意:此字段可能返回 null,表示取不到有效值。 Data *float64 `json:"Data,omitnil,omitempty" name:"Data"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateAgeDetectTask ¶ added in v1.0.235
func (c *Client) CreateAgeDetectTask(request *CreateAgeDetectTaskRequest) (response *CreateAgeDetectTaskResponse, err error)
CreateAgeDetectTask 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
</br>
<h4><b>接口功能说明:</b></h4>
<li>支持对语音文件进行检测,判断是否为未成年人。</li>
<li>支持批量提交检测子任务。检测子任务列表最多支持100个。</li>
</br>
<h4><b>音频文件限制说明:</b></h4>
<li>音频文件大小限制:10 M</li>
<li>音频文件时长限制:3分钟</li>
<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
</br>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateAgeDetectTaskWithContext ¶ added in v1.0.324
func (c *Client) CreateAgeDetectTaskWithContext(ctx context.Context, request *CreateAgeDetectTaskRequest) (response *CreateAgeDetectTaskResponse, err error)
CreateAgeDetectTask 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
</br>
<h4><b>接口功能说明:</b></h4>
<li>支持对语音文件进行检测,判断是否为未成年人。</li>
<li>支持批量提交检测子任务。检测子任务列表最多支持100个。</li>
</br>
<h4><b>音频文件限制说明:</b></h4>
<li>音频文件大小限制:10 M</li>
<li>音频文件时长限制:3分钟</li>
<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
</br>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApp ¶
func (c *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)
CreateApp 本接口(CreateApp)用于创建一个GME应用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" LIMITEXCEEDED_APPLICATION = "LimitExceeded.Application" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEAPPDENIED = "UnauthorizedOperation.CreateAppDenied" UNAUTHORIZEDOPERATION_UNREALNAMEAUTH = "UnauthorizedOperation.UnRealNameAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAppWithContext ¶ added in v1.0.324
func (c *Client) CreateAppWithContext(ctx context.Context, request *CreateAppRequest) (response *CreateAppResponse, err error)
CreateApp 本接口(CreateApp)用于创建一个GME应用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" LIMITEXCEEDED_APPLICATION = "LimitExceeded.Application" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEAPPDENIED = "UnauthorizedOperation.CreateAppDenied" UNAUTHORIZEDOPERATION_UNREALNAMEAUTH = "UnauthorizedOperation.UnRealNameAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCustomization ¶ added in v1.0.471
func (c *Client) CreateCustomization(request *CreateCustomizationRequest) (response *CreateCustomizationResponse, err error)
CreateCustomization 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) CreateCustomizationWithContext ¶ added in v1.0.471
func (c *Client) CreateCustomizationWithContext(ctx context.Context, request *CreateCustomizationRequest) (response *CreateCustomizationResponse, err error)
CreateCustomization 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) CreateScanUser ¶ added in v1.0.370
func (c *Client) CreateScanUser(request *CreateScanUserRequest) (response *CreateScanUserResponse, err error)
CreateScanUser 新增自定义送检用户。**接口使用前提**:目前 CreateScanUser 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) CreateScanUserWithContext ¶ added in v1.0.370
func (c *Client) CreateScanUserWithContext(ctx context.Context, request *CreateScanUserRequest) (response *CreateScanUserResponse, err error)
CreateScanUser 新增自定义送检用户。**接口使用前提**:目前 CreateScanUser 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteCustomization ¶ added in v1.0.471
func (c *Client) DeleteCustomization(request *DeleteCustomizationRequest) (response *DeleteCustomizationResponse, err error)
DeleteCustomization 用户通过该接口可以删除语音消息转文本热句模型
可能返回的错误码:
UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DeleteCustomizationWithContext ¶ added in v1.0.471
func (c *Client) DeleteCustomizationWithContext(ctx context.Context, request *DeleteCustomizationRequest) (response *DeleteCustomizationResponse, err error)
DeleteCustomization 用户通过该接口可以删除语音消息转文本热句模型
可能返回的错误码:
UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DeleteRoomMember ¶ added in v1.0.494
func (c *Client) DeleteRoomMember(request *DeleteRoomMemberRequest) (response *DeleteRoomMemberResponse, err error)
DeleteRoomMember 本接口(DeleteRoomMember)用户删除房间或者剔除房间内用户
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDELETETYPE = "InvalidParameterValue.InvalidDeleteType" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRoomMemberWithContext ¶ added in v1.0.494
func (c *Client) DeleteRoomMemberWithContext(ctx context.Context, request *DeleteRoomMemberRequest) (response *DeleteRoomMemberResponse, err error)
DeleteRoomMember 本接口(DeleteRoomMember)用户删除房间或者剔除房间内用户
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDELETETYPE = "InvalidParameterValue.InvalidDeleteType" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteScanUser ¶ added in v1.0.370
func (c *Client) DeleteScanUser(request *DeleteScanUserRequest) (response *DeleteScanUserResponse, err error)
DeleteScanUser 删除自定义送检用户。**接口使用前提**:目前 DeleteScanUser 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDELETETYPE = "InvalidParameterValue.InvalidDeleteType" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteScanUserWithContext ¶ added in v1.0.370
func (c *Client) DeleteScanUserWithContext(ctx context.Context, request *DeleteScanUserRequest) (response *DeleteScanUserResponse, err error)
DeleteScanUser 删除自定义送检用户。**接口使用前提**:目前 DeleteScanUser 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDELETETYPE = "InvalidParameterValue.InvalidDeleteType" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAgeDetectTask ¶ added in v1.0.235
func (c *Client) DescribeAgeDetectTask(request *DescribeAgeDetectTaskRequest) (response *DescribeAgeDetectTaskResponse, err error)
DescribeAgeDetectTask 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeAgeDetectTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeAgeDetectTaskWithContext(ctx context.Context, request *DescribeAgeDetectTaskRequest) (response *DescribeAgeDetectTaskResponse, err error)
DescribeAgeDetectTask 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeAppStatistics ¶
func (c *Client) DescribeAppStatistics(request *DescribeAppStatisticsRequest) (response *DescribeAppStatisticsResponse, err error)
DescribeAppStatistics 本接口(DescribeAppStatistics)用于获取某个GME应用的用量数据。包括实时语音,语音消息及转文本,语音分析等。最长查询周期为最近60天。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATEINVALID = "InvalidParameter.DateInvalid" INVALIDPARAMETER_DATEOUTOFSIXTYDAYS = "InvalidParameter.DateOutOfSixtyDays" INVALIDPARAMETER_TIMERANGEERROR = "InvalidParameter.TimeRangeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAppStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeAppStatisticsWithContext(ctx context.Context, request *DescribeAppStatisticsRequest) (response *DescribeAppStatisticsResponse, err error)
DescribeAppStatistics 本接口(DescribeAppStatistics)用于获取某个GME应用的用量数据。包括实时语音,语音消息及转文本,语音分析等。最长查询周期为最近60天。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATEINVALID = "InvalidParameter.DateInvalid" INVALIDPARAMETER_DATEOUTOFSIXTYDAYS = "InvalidParameter.DateOutOfSixtyDays" INVALIDPARAMETER_TIMERANGEERROR = "InvalidParameter.TimeRangeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeApplicationData ¶
func (c *Client) DescribeApplicationData(request *DescribeApplicationDataRequest) (response *DescribeApplicationDataResponse, err error)
DescribeApplicationData 本接口(DescribeApplicationData)用于获取数据详情信息,最多可拉取最近90天的数据。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeApplicationDataWithContext ¶ added in v1.0.324
func (c *Client) DescribeApplicationDataWithContext(ctx context.Context, request *DescribeApplicationDataRequest) (response *DescribeApplicationDataResponse, err error)
DescribeApplicationData 本接口(DescribeApplicationData)用于获取数据详情信息,最多可拉取最近90天的数据。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeApplicationList ¶ added in v1.0.544
func (c *Client) DescribeApplicationList(request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
DescribeApplicationList 本接口(DescribeApplicationList)用于查询自己账号下的应用列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeApplicationListWithContext ¶ added in v1.0.544
func (c *Client) DescribeApplicationListWithContext(ctx context.Context, request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
DescribeApplicationList 本接口(DescribeApplicationList)用于查询自己账号下的应用列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRealtimeScanConfig ¶ added in v1.0.357
func (c *Client) DescribeRealtimeScanConfig(request *DescribeRealtimeScanConfigRequest) (response *DescribeRealtimeScanConfigResponse, err error)
DescribeRealtimeScanConfig 获取用户自定义送检信息。**接口使用前提**:目前 DescribeRealtimeScanConfig 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRealtimeScanConfigWithContext ¶ added in v1.0.357
func (c *Client) DescribeRealtimeScanConfigWithContext(ctx context.Context, request *DescribeRealtimeScanConfigRequest) (response *DescribeRealtimeScanConfigResponse, err error)
DescribeRealtimeScanConfig 获取用户自定义送检信息。**接口使用前提**:目前 DescribeRealtimeScanConfig 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRecordInfo ¶ added in v1.0.609
func (c *Client) DescribeRecordInfo(request *DescribeRecordInfoRequest) (response *DescribeRecordInfoResponse, err error)
DescribeRecordInfo 查询录制任务信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DescribeRecordInfoWithContext ¶ added in v1.0.609
func (c *Client) DescribeRecordInfoWithContext(ctx context.Context, request *DescribeRecordInfoRequest) (response *DescribeRecordInfoResponse, err error)
DescribeRecordInfo 查询录制任务信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DescribeRoomInfo ¶
func (c *Client) DescribeRoomInfo(request *DescribeRoomInfoRequest) (response *DescribeRoomInfoResponse, err error)
DescribeRoomInfo 获取房间内用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRoomInfoWithContext ¶ added in v1.0.324
func (c *Client) DescribeRoomInfoWithContext(ctx context.Context, request *DescribeRoomInfoRequest) (response *DescribeRoomInfoResponse, err error)
DescribeRoomInfo 获取房间内用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeScanResultList ¶
func (c *Client) DescribeScanResultList(request *DescribeScanResultListRequest) (response *DescribeScanResultListResponse, err error)
DescribeScanResultList 本接口(DescribeScanResultList)用于查询语音检测结果,查询任务列表最多支持100个。
<p style="color:red">如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果</p>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScanResultListWithContext ¶ added in v1.0.324
func (c *Client) DescribeScanResultListWithContext(ctx context.Context, request *DescribeScanResultListRequest) (response *DescribeScanResultListResponse, err error)
DescribeScanResultList 本接口(DescribeScanResultList)用于查询语音检测结果,查询任务列表最多支持100个。
<p style="color:red">如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果</p>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TAGKEY = "InvalidParameter.TagKey" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskInfo ¶ added in v1.0.609
func (c *Client) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
DescribeTaskInfo 查询房间录制的详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDROOMID = "InvalidParameterValue.InvalidRoomId" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_ROOMNOTFOUND = "ResourceNotFound.RoomNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DescribeTaskInfoWithContext ¶ added in v1.0.609
func (c *Client) DescribeTaskInfoWithContext(ctx context.Context, request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
DescribeTaskInfo 查询房间录制的详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDROOMID = "InvalidParameterValue.InvalidRoomId" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_ROOMNOTFOUND = "ResourceNotFound.RoomNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) DescribeUserInAndOutTime ¶
func (c *Client) DescribeUserInAndOutTime(request *DescribeUserInAndOutTimeRequest) (response *DescribeUserInAndOutTimeResponse, err error)
DescribeUserInAndOutTime 拉取用户在房间得进出时间
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CALLBACKADDRESS = "InvalidParameter.CallbackAddress" INVALIDPARAMETER_DATEINVALID = "InvalidParameter.DateInvalid" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEAPPDENIED = "UnauthorizedOperation.CreateAppDenied" UNAUTHORIZEDOPERATION_UNREALNAMEAUTH = "UnauthorizedOperation.UnRealNameAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserInAndOutTimeWithContext ¶ added in v1.0.324
func (c *Client) DescribeUserInAndOutTimeWithContext(ctx context.Context, request *DescribeUserInAndOutTimeRequest) (response *DescribeUserInAndOutTimeResponse, err error)
DescribeUserInAndOutTime 拉取用户在房间得进出时间
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CALLBACKADDRESS = "InvalidParameter.CallbackAddress" INVALIDPARAMETER_DATEINVALID = "InvalidParameter.DateInvalid" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEAPPDENIED = "UnauthorizedOperation.CreateAppDenied" UNAUTHORIZEDOPERATION_UNREALNAMEAUTH = "UnauthorizedOperation.UnRealNameAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCustomizationList ¶ added in v1.0.471
func (c *Client) GetCustomizationList(request *GetCustomizationListRequest) (response *GetCustomizationListResponse, err error)
GetCustomizationList 查询语音消息转文本热句模型列表
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) GetCustomizationListWithContext ¶ added in v1.0.471
func (c *Client) GetCustomizationListWithContext(ctx context.Context, request *GetCustomizationListRequest) (response *GetCustomizationListResponse, err error)
GetCustomizationList 查询语音消息转文本热句模型列表
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyAppStatus ¶
func (c *Client) ModifyAppStatus(request *ModifyAppStatusRequest) (response *ModifyAppStatusResponse, err error)
ModifyAppStatus 本接口(ModifyAppStatus)用于修改应用总开关状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAppStatusWithContext ¶ added in v1.0.324
func (c *Client) ModifyAppStatusWithContext(ctx context.Context, request *ModifyAppStatusRequest) (response *ModifyAppStatusResponse, err error)
ModifyAppStatus 本接口(ModifyAppStatus)用于修改应用总开关状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERFEENEGATIVE = "FailedOperation.UserFeeNegative" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZIDISNOTFOUND = "ResourceNotFound.BizidIsNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCustomization ¶ added in v1.0.471
func (c *Client) ModifyCustomization(request *ModifyCustomizationRequest) (response *ModifyCustomizationResponse, err error)
ModifyCustomization 用户通过该接口可以更新语音消息转文本热句模型。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyCustomizationState ¶ added in v1.0.471
func (c *Client) ModifyCustomizationState(request *ModifyCustomizationStateRequest) (response *ModifyCustomizationStateResponse, err error)
ModifyCustomizationState 通过该接口,用户可以修改语音消息转文本热句模型状态,上下线热句模型
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyCustomizationStateWithContext ¶ added in v1.0.471
func (c *Client) ModifyCustomizationStateWithContext(ctx context.Context, request *ModifyCustomizationStateRequest) (response *ModifyCustomizationStateResponse, err error)
ModifyCustomizationState 通过该接口,用户可以修改语音消息转文本热句模型状态,上下线热句模型
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyCustomizationWithContext ¶ added in v1.0.471
func (c *Client) ModifyCustomizationWithContext(ctx context.Context, request *ModifyCustomizationRequest) (response *ModifyCustomizationResponse, err error)
ModifyCustomization 用户通过该接口可以更新语音消息转文本热句模型。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_PTTSWITCHOFF = "UnsupportedOperation.PTTSwitchOff" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyRecordInfo ¶ added in v1.0.609
func (c *Client) ModifyRecordInfo(request *ModifyRecordInfoRequest) (response *ModifyRecordInfoResponse, err error)
ModifyRecordInfo 修改录制配置信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDRECORDMODE = "InvalidParameterValue.InvalidRecordMode" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBERECORDUSERIDS = "InvalidParameterValue.InvalidSubscribeRecordUserIds" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidSubscribeUserIds" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" INVALIDPARAMETERVALUE_INVALIDUNSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidUNSubscribeUserIds" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyRecordInfoWithContext ¶ added in v1.0.609
func (c *Client) ModifyRecordInfoWithContext(ctx context.Context, request *ModifyRecordInfoRequest) (response *ModifyRecordInfoResponse, err error)
ModifyRecordInfo 修改录制配置信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDRECORDMODE = "InvalidParameterValue.InvalidRecordMode" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBERECORDUSERIDS = "InvalidParameterValue.InvalidSubscribeRecordUserIds" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidSubscribeUserIds" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" INVALIDPARAMETERVALUE_INVALIDUNSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidUNSubscribeUserIds" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) ModifyUserMicStatus ¶ added in v1.0.469
func (c *Client) ModifyUserMicStatus(request *ModifyUserMicStatusRequest) (response *ModifyUserMicStatusResponse, err error)
ModifyUserMicStatus **接口作用**:此接口用于修改房间用户的麦克风状态,例如房间内用户麦克风为打开状态,可调用此接口将该用户麦克风进行关闭,关闭后即使该用户使用客户端接口 EnableMic 打开麦克风,依然无法与房间内成员通话,属于被禁言状态。该状态持续到此用户退房后失效,或者调用该接口重新打开此用户麦克风状态。
**接口应用场景**:此接口多用于游戏业务中台或者风控后台,对一些发表不当言论的玩家进行禁言处理。
**接口使用前提**:目前 ModifyUserMicStatus 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyUserMicStatusWithContext ¶ added in v1.0.469
func (c *Client) ModifyUserMicStatusWithContext(ctx context.Context, request *ModifyUserMicStatusRequest) (response *ModifyUserMicStatusResponse, err error)
ModifyUserMicStatus **接口作用**:此接口用于修改房间用户的麦克风状态,例如房间内用户麦克风为打开状态,可调用此接口将该用户麦克风进行关闭,关闭后即使该用户使用客户端接口 EnableMic 打开麦克风,依然无法与房间内成员通话,属于被禁言状态。该状态持续到此用户退房后失效,或者调用该接口重新打开此用户麦克风状态。
**接口应用场景**:此接口多用于游戏业务中台或者风控后台,对一些发表不当言论的玩家进行禁言处理。
**接口使用前提**:目前 ModifyUserMicStatus 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ScanVoice ¶
func (c *Client) ScanVoice(request *ScanVoiceRequest) (response *ScanVoiceResponse, err error)
ScanVoice 本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音内容安全服务。
</br></br>
<h4><b>功能试用说明:</b></h4>
<li>打开前往<a href="https://console.cloud.tencent.com/gamegme/tryout">控制台 - 产品试用</a>免费试用语音内容安全服务。</li>
</br>
<h4><b>接口功能说明:</b></h4>
<li>支持对语音流或语音文件进行检测,判断其中是否包含违规内容。</li>
<li>支持设置回调地址 Callback 获取检测结果,同时支持通过接口(查询语音检测结果)主动轮询获取检测结果。</li>
<li>支持场景输入,包括:谩骂、色情等场景</li>
<li>支持批量提交检测任务。检测任务列表最多支持100个。</li>
</br>
<h4><b>音频文件限制说明:</b></h4>
<li>音频文件大小限制:100 M</li>
<li>音频文件时长限制:30分钟</li>
<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
</br>
<h4><b>语音流限制说明:</b></h4>
<li>语音流格式支持的类型:.m3u8、.flv</li>
<li>语音流支持的传输协议:RTMP、HTTP、HTTPS</li>
<li>语音流时长限制:4小时</li>
<li>支持音视频流分离并对音频流进行分析</li>
</br>
<h4 id="Label_Value"><b>Scenes 与 Label 参数说明:</b></h4>
<p>提交语音检测任务时,需要指定 Scenes 场景参数,<font color="red">目前要求您设置 Scenes 参数值为:["default"]</font>;而在检测结果中,则包含请求时指定的场景,以及对应类型的检测结果。</p>
<table>
<thread>
<tr>
<th>场景</th>
<th>描述</th>
<th>Label</th>
</tr>
</thread>
<tbody>
<tr>
<td>语音检测</td>
<td>语音检测的检测类型</td>
<td>
<p>normal:正常文本</p>
<p>porn:色情</p>
<p>abuse:谩骂</p>
<p>ad :广告</p>
<p>illegal :违法</p>
<p>moan :呻吟</p>
<p>customized:自定义词库</p>
</td>
</tr>
</tbody>
</table>
</br>
<h4 id="Callback_Declare"><b>回调相关说明:</b></h4>
<li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>
<li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>
<li>HTTP 请求参数(query)说明:</li>
<table>
<thread>
<tr>
<th>名称</th>
<th>类型</th>
<th>是否必需</th>
<th>描述</th>
</tr>
</thread>
<tbody>
<tr>
<td>Signatue</td>
<td>string</td>
<td>是</td>
<td>签名,具体见<a href="#Callback_Signatue">签名生成说明</a></td>
</tr>
</tbody>
</table>
<ul id="Callback_Signatue">
<li>签名生成说明:</li> <ul> <li>使用 HMAC-SH1 算法, 最终结果做 BASE64 编码;</li> <li>签名原文串为 POST+body 的整个json内容(长度以 Content-Length 为准);</li> <li>签名key为应用的 SecretKey,可以通过控制台查看。</li> </ul>
</ul>
<li>回调示例如下<font color="red">(详细字段说明见结构:
<a href="https://cloud.tencent.com/document/api/607/35375#DescribeScanResult" target="_blank">DescribeScanResult</a>)</font>:</li>
<pre><code>{
"Code": 0, "DataId": "1400000000_test_data_id", "ScanFinishTime": 1566720906, "HitFlag": true, "Live": false, "Msg": "", "ScanPiece": [{ "DumpUrl": "", "HitFlag": true, "MainType": "abuse", "RoomId": "123", "OpenId": "111", "Info":"", "Offset": 0, "Duration": 3400, "PieceStartTime":1574684231, "ScanDetail": [{ "EndTime": 1110, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 1110 }, { "EndTime": 1380, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 930 }, { "EndTime": 1560, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 930 }, { "EndTime": 2820, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 2490 }] }], "ScanStartTime": 1566720905, "Scenes": [ "default" ], "Status": "Success", "TaskId": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b", "Url": "https://xxx/xxx.m4a"
}
</code></pre>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CALLBACKADDRESS = "InvalidParameter.CallbackAddress" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ScanVoiceWithContext ¶ added in v1.0.324
func (c *Client) ScanVoiceWithContext(ctx context.Context, request *ScanVoiceRequest) (response *ScanVoiceResponse, err error)
ScanVoice 本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音内容安全服务。
</br></br>
<h4><b>功能试用说明:</b></h4>
<li>打开前往<a href="https://console.cloud.tencent.com/gamegme/tryout">控制台 - 产品试用</a>免费试用语音内容安全服务。</li>
</br>
<h4><b>接口功能说明:</b></h4>
<li>支持对语音流或语音文件进行检测,判断其中是否包含违规内容。</li>
<li>支持设置回调地址 Callback 获取检测结果,同时支持通过接口(查询语音检测结果)主动轮询获取检测结果。</li>
<li>支持场景输入,包括:谩骂、色情等场景</li>
<li>支持批量提交检测任务。检测任务列表最多支持100个。</li>
</br>
<h4><b>音频文件限制说明:</b></h4>
<li>音频文件大小限制:100 M</li>
<li>音频文件时长限制:30分钟</li>
<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
</br>
<h4><b>语音流限制说明:</b></h4>
<li>语音流格式支持的类型:.m3u8、.flv</li>
<li>语音流支持的传输协议:RTMP、HTTP、HTTPS</li>
<li>语音流时长限制:4小时</li>
<li>支持音视频流分离并对音频流进行分析</li>
</br>
<h4 id="Label_Value"><b>Scenes 与 Label 参数说明:</b></h4>
<p>提交语音检测任务时,需要指定 Scenes 场景参数,<font color="red">目前要求您设置 Scenes 参数值为:["default"]</font>;而在检测结果中,则包含请求时指定的场景,以及对应类型的检测结果。</p>
<table>
<thread>
<tr>
<th>场景</th>
<th>描述</th>
<th>Label</th>
</tr>
</thread>
<tbody>
<tr>
<td>语音检测</td>
<td>语音检测的检测类型</td>
<td>
<p>normal:正常文本</p>
<p>porn:色情</p>
<p>abuse:谩骂</p>
<p>ad :广告</p>
<p>illegal :违法</p>
<p>moan :呻吟</p>
<p>customized:自定义词库</p>
</td>
</tr>
</tbody>
</table>
</br>
<h4 id="Callback_Declare"><b>回调相关说明:</b></h4>
<li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>
<li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>
<li>HTTP 请求参数(query)说明:</li>
<table>
<thread>
<tr>
<th>名称</th>
<th>类型</th>
<th>是否必需</th>
<th>描述</th>
</tr>
</thread>
<tbody>
<tr>
<td>Signatue</td>
<td>string</td>
<td>是</td>
<td>签名,具体见<a href="#Callback_Signatue">签名生成说明</a></td>
</tr>
</tbody>
</table>
<ul id="Callback_Signatue">
<li>签名生成说明:</li> <ul> <li>使用 HMAC-SH1 算法, 最终结果做 BASE64 编码;</li> <li>签名原文串为 POST+body 的整个json内容(长度以 Content-Length 为准);</li> <li>签名key为应用的 SecretKey,可以通过控制台查看。</li> </ul>
</ul>
<li>回调示例如下<font color="red">(详细字段说明见结构:
<a href="https://cloud.tencent.com/document/api/607/35375#DescribeScanResult" target="_blank">DescribeScanResult</a>)</font>:</li>
<pre><code>{
"Code": 0, "DataId": "1400000000_test_data_id", "ScanFinishTime": 1566720906, "HitFlag": true, "Live": false, "Msg": "", "ScanPiece": [{ "DumpUrl": "", "HitFlag": true, "MainType": "abuse", "RoomId": "123", "OpenId": "111", "Info":"", "Offset": 0, "Duration": 3400, "PieceStartTime":1574684231, "ScanDetail": [{ "EndTime": 1110, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 1110 }, { "EndTime": 1380, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 930 }, { "EndTime": 1560, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 930 }, { "EndTime": 2820, "KeyWord": "违规字", "Label": "abuse", "Rate": "90.00", "StartTime": 2490 }] }], "ScanStartTime": 1566720905, "Scenes": [ "default" ], "Status": "Success", "TaskId": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b", "Url": "https://xxx/xxx.m4a"
}
</code></pre>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CALLBACKADDRESS = "InvalidParameter.CallbackAddress" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) StartRecord ¶ added in v1.0.609
func (c *Client) StartRecord(request *StartRecordRequest) (response *StartRecordResponse, err error)
StartRecord 开启录制
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDRECORDMODE = "InvalidParameterValue.InvalidRecordMode" INVALIDPARAMETERVALUE_INVALIDROOMID = "InvalidParameterValue.InvalidRoomId" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBERECORDUSERIDS = "InvalidParameterValue.InvalidSubscribeRecordUserIds" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidSubscribeUserIds" INVALIDPARAMETERVALUE_INVALIDUNSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidUNSubscribeUserIds" RESOURCEINUSE_TASKINUSE = "ResourceInUse.TaskInUse" RESOURCENOTFOUND_ROOMNOTFOUND = "ResourceNotFound.RoomNotFound" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) StartRecordWithContext ¶ added in v1.0.609
func (c *Client) StartRecordWithContext(ctx context.Context, request *StartRecordRequest) (response *StartRecordResponse, err error)
StartRecord 开启录制
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDRECORDMODE = "InvalidParameterValue.InvalidRecordMode" INVALIDPARAMETERVALUE_INVALIDROOMID = "InvalidParameterValue.InvalidRoomId" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBERECORDUSERIDS = "InvalidParameterValue.InvalidSubscribeRecordUserIds" INVALIDPARAMETERVALUE_INVALIDSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidSubscribeUserIds" INVALIDPARAMETERVALUE_INVALIDUNSUBSCRIBEUSERIDS = "InvalidParameterValue.InvalidUNSubscribeUserIds" RESOURCEINUSE_TASKINUSE = "ResourceInUse.TaskInUse" RESOURCENOTFOUND_ROOMNOTFOUND = "ResourceNotFound.RoomNotFound" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) StopRecord ¶ added in v1.0.609
func (c *Client) StopRecord(request *StopRecordRequest) (response *StopRecordResponse, err error)
StopRecord 停止录制
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) StopRecordWithContext ¶ added in v1.0.609
func (c *Client) StopRecordWithContext(ctx context.Context, request *StopRecordRequest) (response *StopRecordResponse, err error)
StopRecord 停止录制
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDBIZID = "InvalidParameterValue.InvalidBizId" INVALIDPARAMETERVALUE_INVALIDTASKID = "InvalidParameterValue.InvalidTaskId" RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SERVICENOTOPENED = "UnsupportedOperation.ServiceNotOpened"
func (*Client) UpdateScanRooms ¶ added in v1.0.357
func (c *Client) UpdateScanRooms(request *UpdateScanRoomsRequest) (response *UpdateScanRoomsResponse, err error)
UpdateScanRooms 更新自定义送检房间号。**接口使用前提**:目前 UpdateScanRooms 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) UpdateScanRoomsWithContext ¶ added in v1.0.357
func (c *Client) UpdateScanRoomsWithContext(ctx context.Context, request *UpdateScanRoomsRequest) (response *UpdateScanRoomsResponse, err error)
UpdateScanRooms 更新自定义送检房间号。**接口使用前提**:目前 UpdateScanRooms 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) UpdateScanUsers ¶ added in v1.0.357
func (c *Client) UpdateScanUsers(request *UpdateScanUsersRequest) (response *UpdateScanUsersResponse, err error)
UpdateScanUsers 更新自定义送检用户号。
**接口使用前提**:目前 UpdateScanUsers 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) UpdateScanUsersWithContext ¶ added in v1.0.357
func (c *Client) UpdateScanUsersWithContext(ctx context.Context, request *UpdateScanUsersRequest) (response *UpdateScanUsersResponse, err error)
UpdateScanUsers 更新自定义送检用户号。
**接口使用前提**:目前 UpdateScanUsers 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
type CreateAgeDetectTaskRequest ¶ added in v1.0.235
type CreateAgeDetectTaskRequest struct { *tchttp.BaseRequest // 应用id BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 语音检测子任务列表,列表最多支持100个检测子任务。结构体中包含: // <li>DataId:数据的唯一ID</li> // <li>Url:数据文件的url,为 urlencode 编码,流式则为拉流地址</li> Tasks []*AgeDetectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 任务结束时gme后台会自动触发回调 Callback *string `json:"Callback,omitnil,omitempty" name:"Callback"` }
func NewCreateAgeDetectTaskRequest ¶ added in v1.0.235
func NewCreateAgeDetectTaskRequest() (request *CreateAgeDetectTaskRequest)
func (*CreateAgeDetectTaskRequest) FromJsonString ¶ added in v1.0.235
func (r *CreateAgeDetectTaskRequest) 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 (*CreateAgeDetectTaskRequest) ToJsonString ¶ added in v1.0.235
func (r *CreateAgeDetectTaskRequest) ToJsonString() string
type CreateAgeDetectTaskRequestParams ¶ added in v1.0.426
type CreateAgeDetectTaskRequestParams struct { // 应用id BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 语音检测子任务列表,列表最多支持100个检测子任务。结构体中包含: // <li>DataId:数据的唯一ID</li> // <li>Url:数据文件的url,为 urlencode 编码,流式则为拉流地址</li> Tasks []*AgeDetectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 任务结束时gme后台会自动触发回调 Callback *string `json:"Callback,omitnil,omitempty" name:"Callback"` }
Predefined struct for user
type CreateAgeDetectTaskResponse ¶ added in v1.0.235
type CreateAgeDetectTaskResponse struct { *tchttp.BaseResponse Response *CreateAgeDetectTaskResponseParams `json:"Response"` }
func NewCreateAgeDetectTaskResponse ¶ added in v1.0.235
func NewCreateAgeDetectTaskResponse() (response *CreateAgeDetectTaskResponse)
func (*CreateAgeDetectTaskResponse) FromJsonString ¶ added in v1.0.235
func (r *CreateAgeDetectTaskResponse) 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 (*CreateAgeDetectTaskResponse) ToJsonString ¶ added in v1.0.235
func (r *CreateAgeDetectTaskResponse) ToJsonString() string
type CreateAgeDetectTaskResponseParams ¶ added in v1.0.426
type CreateAgeDetectTaskResponseParams struct { // 本次任务提交后唯一id,用于获取任务运行结果 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAppRequest ¶
type CreateAppRequest struct { *tchttp.BaseRequest // 应用名称 AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // 腾讯云项目ID,默认为0,表示默认项目 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 需要支持的引擎列表,默认全选。 // 取值:android/ios/unity/cocos/unreal/windows EngineList []*string `json:"EngineList,omitnil,omitempty" name:"EngineList"` // 服务区域列表,默认全选。 // 取值:mainland-大陆地区,hmt-港澳台,sea-东南亚,na-北美,eu-欧洲,jpkr-日韩亚太,sa-南美,oc-澳洲,me-中东 RegionList []*string `json:"RegionList,omitnil,omitempty" name:"RegionList"` // 实时语音服务配置数据 RealtimeSpeechConf *RealtimeSpeechConf `json:"RealtimeSpeechConf,omitnil,omitempty" name:"RealtimeSpeechConf"` // 语音消息服务配置数据 VoiceMessageConf *VoiceMessageConf `json:"VoiceMessageConf,omitnil,omitempty" name:"VoiceMessageConf"` // 语音分析服务配置数据 VoiceFilterConf *VoiceFilterConf `json:"VoiceFilterConf,omitnil,omitempty" name:"VoiceFilterConf"` // 语音转文本配置数据 AsrConf *AsrConf `json:"AsrConf,omitnil,omitempty" name:"AsrConf"` // 需要添加的标签列表 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateAppRequest ¶
func NewCreateAppRequest() (request *CreateAppRequest)
func (*CreateAppRequest) FromJsonString ¶
func (r *CreateAppRequest) 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 (*CreateAppRequest) ToJsonString ¶
func (r *CreateAppRequest) ToJsonString() string
type CreateAppRequestParams ¶ added in v1.0.426
type CreateAppRequestParams struct { // 应用名称 AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // 腾讯云项目ID,默认为0,表示默认项目 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 需要支持的引擎列表,默认全选。 // 取值:android/ios/unity/cocos/unreal/windows EngineList []*string `json:"EngineList,omitnil,omitempty" name:"EngineList"` // 服务区域列表,默认全选。 // 取值:mainland-大陆地区,hmt-港澳台,sea-东南亚,na-北美,eu-欧洲,jpkr-日韩亚太,sa-南美,oc-澳洲,me-中东 RegionList []*string `json:"RegionList,omitnil,omitempty" name:"RegionList"` // 实时语音服务配置数据 RealtimeSpeechConf *RealtimeSpeechConf `json:"RealtimeSpeechConf,omitnil,omitempty" name:"RealtimeSpeechConf"` // 语音消息服务配置数据 VoiceMessageConf *VoiceMessageConf `json:"VoiceMessageConf,omitnil,omitempty" name:"VoiceMessageConf"` // 语音分析服务配置数据 VoiceFilterConf *VoiceFilterConf `json:"VoiceFilterConf,omitnil,omitempty" name:"VoiceFilterConf"` // 语音转文本配置数据 AsrConf *AsrConf `json:"AsrConf,omitnil,omitempty" name:"AsrConf"` // 需要添加的标签列表 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateAppResp ¶ added in v1.0.241
type CreateAppResp struct { // 应用ID,由后台自动生成。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 应用名称,透传输入参数的AppName AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // 项目ID,透传输入的ProjectId ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 应用密钥,GME SDK初始化时使用 SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"` // 服务创建时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 实时语音服务配置数据 RealtimeSpeechConf *RealtimeSpeechConf `json:"RealtimeSpeechConf,omitnil,omitempty" name:"RealtimeSpeechConf"` // 语音消息服务配置数据 VoiceMessageConf *VoiceMessageConf `json:"VoiceMessageConf,omitnil,omitempty" name:"VoiceMessageConf"` // 语音分析服务配置数据 VoiceFilterConf *VoiceFilterConf `json:"VoiceFilterConf,omitnil,omitempty" name:"VoiceFilterConf"` // 语音转文本服务配置数据 AsrConf *AsrConf `json:"AsrConf,omitnil,omitempty" name:"AsrConf"` }
type CreateAppResponse ¶
type CreateAppResponse struct { *tchttp.BaseResponse Response *CreateAppResponseParams `json:"Response"` }
func NewCreateAppResponse ¶
func NewCreateAppResponse() (response *CreateAppResponse)
func (*CreateAppResponse) FromJsonString ¶
func (r *CreateAppResponse) 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 (*CreateAppResponse) ToJsonString ¶
func (r *CreateAppResponse) ToJsonString() string
type CreateAppResponseParams ¶ added in v1.0.426
type CreateAppResponseParams struct { // 创建应用返回数据 Data *CreateAppResp `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCustomizationRequest ¶ added in v1.0.471
type CreateCustomizationRequest struct { *tchttp.BaseRequest // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos TextUrl *string `json:"TextUrl,omitnil,omitempty" name:"TextUrl"` // 模型名称,名称长度不超过36,默认为BizId。 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` }
func NewCreateCustomizationRequest ¶ added in v1.0.471
func NewCreateCustomizationRequest() (request *CreateCustomizationRequest)
func (*CreateCustomizationRequest) FromJsonString ¶ added in v1.0.471
func (r *CreateCustomizationRequest) 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 (*CreateCustomizationRequest) ToJsonString ¶ added in v1.0.471
func (r *CreateCustomizationRequest) ToJsonString() string
type CreateCustomizationRequestParams ¶ added in v1.0.471
type CreateCustomizationRequestParams struct { // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos TextUrl *string `json:"TextUrl,omitnil,omitempty" name:"TextUrl"` // 模型名称,名称长度不超过36,默认为BizId。 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` }
Predefined struct for user
type CreateCustomizationResponse ¶ added in v1.0.471
type CreateCustomizationResponse struct { *tchttp.BaseResponse Response *CreateCustomizationResponseParams `json:"Response"` }
func NewCreateCustomizationResponse ¶ added in v1.0.471
func NewCreateCustomizationResponse() (response *CreateCustomizationResponse)
func (*CreateCustomizationResponse) FromJsonString ¶ added in v1.0.471
func (r *CreateCustomizationResponse) 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 (*CreateCustomizationResponse) ToJsonString ¶ added in v1.0.471
func (r *CreateCustomizationResponse) ToJsonString() string
type CreateCustomizationResponseParams ¶ added in v1.0.471
type CreateCustomizationResponseParams struct { // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateScanUserRequest ¶ added in v1.0.370
type CreateScanUserRequest struct { *tchttp.BaseRequest // 应用ID,登录控制台 - 服务管理创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要新增送检的用户号。示例:1234 // (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准) UserId *uint64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 需要新增送检的用户号。示例:"1234" // (若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准) UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` // 当前用户送检过期时间,单位:秒。 // 若参数不为0,则在过期时间之后,用户不会被送检。 // 若参数为0,则送检配置不会自动失效。 ExpirationTime *uint64 `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"` }
func NewCreateScanUserRequest ¶ added in v1.0.370
func NewCreateScanUserRequest() (request *CreateScanUserRequest)
func (*CreateScanUserRequest) FromJsonString ¶ added in v1.0.370
func (r *CreateScanUserRequest) 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 (*CreateScanUserRequest) ToJsonString ¶ added in v1.0.370
func (r *CreateScanUserRequest) ToJsonString() string
type CreateScanUserRequestParams ¶ added in v1.0.426
type CreateScanUserRequestParams struct { // 应用ID,登录控制台 - 服务管理创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要新增送检的用户号。示例:1234 // (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准) UserId *uint64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 需要新增送检的用户号。示例:"1234" // (若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准) UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` // 当前用户送检过期时间,单位:秒。 // 若参数不为0,则在过期时间之后,用户不会被送检。 // 若参数为0,则送检配置不会自动失效。 ExpirationTime *uint64 `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"` }
Predefined struct for user
type CreateScanUserResponse ¶ added in v1.0.370
type CreateScanUserResponse struct { *tchttp.BaseResponse Response *CreateScanUserResponseParams `json:"Response"` }
func NewCreateScanUserResponse ¶ added in v1.0.370
func NewCreateScanUserResponse() (response *CreateScanUserResponse)
func (*CreateScanUserResponse) FromJsonString ¶ added in v1.0.370
func (r *CreateScanUserResponse) 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 (*CreateScanUserResponse) ToJsonString ¶ added in v1.0.370
func (r *CreateScanUserResponse) ToJsonString() string
type CreateScanUserResponseParams ¶ added in v1.0.426
type CreateScanUserResponseParams struct { // 返回结果码 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomizationConfigs ¶ added in v1.0.471
type CustomizationConfigs struct { // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 模型状态,-1下线状态,1上线状态, 0训练中, -2训练失败, 3上线中, 4下线中 ModelState *int64 `json:"ModelState,omitnil,omitempty" name:"ModelState"` // 模型名称 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` // 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos TextUrl *string `json:"TextUrl,omitnil,omitempty" name:"TextUrl"` // 更新时间,11位时间戳 UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type DeleteCustomizationRequest ¶ added in v1.0.471
type DeleteCustomizationRequest struct { *tchttp.BaseRequest // 删除的模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewDeleteCustomizationRequest ¶ added in v1.0.471
func NewDeleteCustomizationRequest() (request *DeleteCustomizationRequest)
func (*DeleteCustomizationRequest) FromJsonString ¶ added in v1.0.471
func (r *DeleteCustomizationRequest) 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 (*DeleteCustomizationRequest) ToJsonString ¶ added in v1.0.471
func (r *DeleteCustomizationRequest) ToJsonString() string
type DeleteCustomizationRequestParams ¶ added in v1.0.471
type DeleteCustomizationRequestParams struct { // 删除的模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type DeleteCustomizationResponse ¶ added in v1.0.471
type DeleteCustomizationResponse struct { *tchttp.BaseResponse Response *DeleteCustomizationResponseParams `json:"Response"` }
func NewDeleteCustomizationResponse ¶ added in v1.0.471
func NewDeleteCustomizationResponse() (response *DeleteCustomizationResponse)
func (*DeleteCustomizationResponse) FromJsonString ¶ added in v1.0.471
func (r *DeleteCustomizationResponse) 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 (*DeleteCustomizationResponse) ToJsonString ¶ added in v1.0.471
func (r *DeleteCustomizationResponse) ToJsonString() string
type DeleteCustomizationResponseParams ¶ added in v1.0.471
type DeleteCustomizationResponseParams struct { // 返回值。0为成功,非0为失败。 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteResult ¶ added in v1.0.494
type DeleteRoomMemberRequest ¶ added in v1.0.494
type DeleteRoomMemberRequest struct { *tchttp.BaseRequest // 要操作的房间id RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 剔除类型 1-删除房间 2-剔除用户 DeleteType *uint64 `json:"DeleteType,omitnil,omitempty" name:"DeleteType"` // 应用id BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 要剔除的用户列表 Uids []*string `json:"Uids,omitnil,omitempty" name:"Uids"` }
func NewDeleteRoomMemberRequest ¶ added in v1.0.494
func NewDeleteRoomMemberRequest() (request *DeleteRoomMemberRequest)
func (*DeleteRoomMemberRequest) FromJsonString ¶ added in v1.0.494
func (r *DeleteRoomMemberRequest) 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 (*DeleteRoomMemberRequest) ToJsonString ¶ added in v1.0.494
func (r *DeleteRoomMemberRequest) ToJsonString() string
type DeleteRoomMemberRequestParams ¶ added in v1.0.494
type DeleteRoomMemberRequestParams struct { // 要操作的房间id RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 剔除类型 1-删除房间 2-剔除用户 DeleteType *uint64 `json:"DeleteType,omitnil,omitempty" name:"DeleteType"` // 应用id BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 要剔除的用户列表 Uids []*string `json:"Uids,omitnil,omitempty" name:"Uids"` }
Predefined struct for user
type DeleteRoomMemberResponse ¶ added in v1.0.494
type DeleteRoomMemberResponse struct { *tchttp.BaseResponse Response *DeleteRoomMemberResponseParams `json:"Response"` }
func NewDeleteRoomMemberResponse ¶ added in v1.0.494
func NewDeleteRoomMemberResponse() (response *DeleteRoomMemberResponse)
func (*DeleteRoomMemberResponse) FromJsonString ¶ added in v1.0.494
func (r *DeleteRoomMemberResponse) 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 (*DeleteRoomMemberResponse) ToJsonString ¶ added in v1.0.494
func (r *DeleteRoomMemberResponse) ToJsonString() string
type DeleteRoomMemberResponseParams ¶ added in v1.0.494
type DeleteRoomMemberResponseParams struct { // 剔除房间或成员的操作结果 DeleteResult *DeleteResult `json:"DeleteResult,omitnil,omitempty" name:"DeleteResult"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteScanUserRequest ¶ added in v1.0.370
type DeleteScanUserRequest struct { *tchttp.BaseRequest // 应用ID,登录控制台 - 服务管理创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要删除送检的用户号。示例:1234 // (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准) UserId *uint64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 需要删除送检的用户号。示例:"1234" // (若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准) UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` }
func NewDeleteScanUserRequest ¶ added in v1.0.370
func NewDeleteScanUserRequest() (request *DeleteScanUserRequest)
func (*DeleteScanUserRequest) FromJsonString ¶ added in v1.0.370
func (r *DeleteScanUserRequest) 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 (*DeleteScanUserRequest) ToJsonString ¶ added in v1.0.370
func (r *DeleteScanUserRequest) ToJsonString() string
type DeleteScanUserRequestParams ¶ added in v1.0.426
type DeleteScanUserRequestParams struct { // 应用ID,登录控制台 - 服务管理创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要删除送检的用户号。示例:1234 // (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准) UserId *uint64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 需要删除送检的用户号。示例:"1234" // (若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准) UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` }
Predefined struct for user
type DeleteScanUserResponse ¶ added in v1.0.370
type DeleteScanUserResponse struct { *tchttp.BaseResponse Response *DeleteScanUserResponseParams `json:"Response"` }
func NewDeleteScanUserResponse ¶ added in v1.0.370
func NewDeleteScanUserResponse() (response *DeleteScanUserResponse)
func (*DeleteScanUserResponse) FromJsonString ¶ added in v1.0.370
func (r *DeleteScanUserResponse) 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 (*DeleteScanUserResponse) ToJsonString ¶ added in v1.0.370
func (r *DeleteScanUserResponse) ToJsonString() string
type DeleteScanUserResponseParams ¶ added in v1.0.426
type DeleteScanUserResponseParams struct { // 返回结果码 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAgeDetectTaskRequest ¶ added in v1.0.235
type DescribeAgeDetectTaskRequest struct { *tchttp.BaseRequest // 应用id BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // [创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDescribeAgeDetectTaskRequest ¶ added in v1.0.235
func NewDescribeAgeDetectTaskRequest() (request *DescribeAgeDetectTaskRequest)
func (*DescribeAgeDetectTaskRequest) FromJsonString ¶ added in v1.0.235
func (r *DescribeAgeDetectTaskRequest) 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 (*DescribeAgeDetectTaskRequest) ToJsonString ¶ added in v1.0.235
func (r *DescribeAgeDetectTaskRequest) ToJsonString() string
type DescribeAgeDetectTaskRequestParams ¶ added in v1.0.426
type DescribeAgeDetectTaskRequestParams struct { // 应用id BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // [创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeAgeDetectTaskResponse ¶ added in v1.0.235
type DescribeAgeDetectTaskResponse struct { *tchttp.BaseResponse Response *DescribeAgeDetectTaskResponseParams `json:"Response"` }
func NewDescribeAgeDetectTaskResponse ¶ added in v1.0.235
func NewDescribeAgeDetectTaskResponse() (response *DescribeAgeDetectTaskResponse)
func (*DescribeAgeDetectTaskResponse) FromJsonString ¶ added in v1.0.235
func (r *DescribeAgeDetectTaskResponse) 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 (*DescribeAgeDetectTaskResponse) ToJsonString ¶ added in v1.0.235
func (r *DescribeAgeDetectTaskResponse) ToJsonString() string
type DescribeAgeDetectTaskResponseParams ¶ added in v1.0.426
type DescribeAgeDetectTaskResponseParams struct { // 任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 语音检测返回。Results 字段是 JSON 数组,每一个元素包含: // DataId: 请求中对应的 DataId。 // Url :该请求中对应的 Url。 // Status :子任务状态,0:已创建,1:运行中,2:已完成,3:任务异常,4:任务超时。 // Age :子任务完成后的结果,0:成年人,1:未成年人,100:未知结果。 Results []*AgeDetectTaskResult `json:"Results,omitnil,omitempty" name:"Results"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAppStatisticsRequest ¶
type DescribeAppStatisticsRequest struct { *tchttp.BaseRequest // GME应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 数据开始时间,东八区时间,格式: 年-月-日,如: 2018-07-13 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 数据结束时间,东八区时间,格式: 年-月-日,如: 2018-07-13 EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"` // 要查询的服务列表,取值:RealTimeSpeech/VoiceMessage/VoiceFilter/SpeechToText Services []*string `json:"Services,omitnil,omitempty" name:"Services"` }
func NewDescribeAppStatisticsRequest ¶
func NewDescribeAppStatisticsRequest() (request *DescribeAppStatisticsRequest)
func (*DescribeAppStatisticsRequest) FromJsonString ¶
func (r *DescribeAppStatisticsRequest) 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 (*DescribeAppStatisticsRequest) ToJsonString ¶
func (r *DescribeAppStatisticsRequest) ToJsonString() string
type DescribeAppStatisticsRequestParams ¶ added in v1.0.426
type DescribeAppStatisticsRequestParams struct { // GME应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 数据开始时间,东八区时间,格式: 年-月-日,如: 2018-07-13 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 数据结束时间,东八区时间,格式: 年-月-日,如: 2018-07-13 EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"` // 要查询的服务列表,取值:RealTimeSpeech/VoiceMessage/VoiceFilter/SpeechToText Services []*string `json:"Services,omitnil,omitempty" name:"Services"` }
Predefined struct for user
type DescribeAppStatisticsResp ¶ added in v1.0.241
type DescribeAppStatisticsResp struct { // 应用用量统计数据 AppStatistics []*AppStatisticsItem `json:"AppStatistics,omitnil,omitempty" name:"AppStatistics"` }
type DescribeAppStatisticsResponse ¶
type DescribeAppStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeAppStatisticsResponseParams `json:"Response"` }
func NewDescribeAppStatisticsResponse ¶
func NewDescribeAppStatisticsResponse() (response *DescribeAppStatisticsResponse)
func (*DescribeAppStatisticsResponse) FromJsonString ¶
func (r *DescribeAppStatisticsResponse) 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 (*DescribeAppStatisticsResponse) ToJsonString ¶
func (r *DescribeAppStatisticsResponse) ToJsonString() string
type DescribeAppStatisticsResponseParams ¶ added in v1.0.426
type DescribeAppStatisticsResponseParams struct { // 应用用量统计数据 Data *DescribeAppStatisticsResp `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationDataRequest ¶
type DescribeApplicationDataRequest struct { *tchttp.BaseRequest // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 数据开始时间,格式为 年-月-日,如: 2018-07-13 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 数据结束时间,格式为 年-月-日,如: 2018-07-13 EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"` }
func NewDescribeApplicationDataRequest ¶
func NewDescribeApplicationDataRequest() (request *DescribeApplicationDataRequest)
func (*DescribeApplicationDataRequest) FromJsonString ¶
func (r *DescribeApplicationDataRequest) 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 (*DescribeApplicationDataRequest) ToJsonString ¶
func (r *DescribeApplicationDataRequest) ToJsonString() string
type DescribeApplicationDataRequestParams ¶ added in v1.0.426
type DescribeApplicationDataRequestParams struct { // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 数据开始时间,格式为 年-月-日,如: 2018-07-13 StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // 数据结束时间,格式为 年-月-日,如: 2018-07-13 EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"` }
Predefined struct for user
type DescribeApplicationDataResponse ¶
type DescribeApplicationDataResponse struct { *tchttp.BaseResponse Response *DescribeApplicationDataResponseParams `json:"Response"` }
func NewDescribeApplicationDataResponse ¶
func NewDescribeApplicationDataResponse() (response *DescribeApplicationDataResponse)
func (*DescribeApplicationDataResponse) FromJsonString ¶
func (r *DescribeApplicationDataResponse) 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 (*DescribeApplicationDataResponse) ToJsonString ¶
func (r *DescribeApplicationDataResponse) ToJsonString() string
type DescribeApplicationDataResponseParams ¶ added in v1.0.426
type DescribeApplicationDataResponseParams struct { // 应用统计数据 Data *ApplicationDataStatistics `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationListRequest ¶ added in v1.0.544
type DescribeApplicationListRequest struct { *tchttp.BaseRequest // 项目ID,0表示默认项目,-1表示所有项目,如果需要查找具体项目下的应用列表,请填入具体项目ID,项目ID在项目管理中查看 https://console.cloud.tencent.com/project ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 页码ID,0表示第一页,以此后推。默认填0 PageNo *uint64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // 每页展示应用数量。默认填200 PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 所查找应用名称的关键字,支持模糊匹配查找。空串表示查询所有应用 SearchText *string `json:"SearchText,omitnil,omitempty" name:"SearchText"` // 标签列表 TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 查找过滤关键字列表 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeApplicationListRequest ¶ added in v1.0.544
func NewDescribeApplicationListRequest() (request *DescribeApplicationListRequest)
func (*DescribeApplicationListRequest) FromJsonString ¶ added in v1.0.544
func (r *DescribeApplicationListRequest) 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 (*DescribeApplicationListRequest) ToJsonString ¶ added in v1.0.544
func (r *DescribeApplicationListRequest) ToJsonString() string
type DescribeApplicationListRequestParams ¶ added in v1.0.544
type DescribeApplicationListRequestParams struct { // 项目ID,0表示默认项目,-1表示所有项目,如果需要查找具体项目下的应用列表,请填入具体项目ID,项目ID在项目管理中查看 https://console.cloud.tencent.com/project ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 页码ID,0表示第一页,以此后推。默认填0 PageNo *uint64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // 每页展示应用数量。默认填200 PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 所查找应用名称的关键字,支持模糊匹配查找。空串表示查询所有应用 SearchText *string `json:"SearchText,omitnil,omitempty" name:"SearchText"` // 标签列表 TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 查找过滤关键字列表 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeApplicationListResponse ¶ added in v1.0.544
type DescribeApplicationListResponse struct { *tchttp.BaseResponse Response *DescribeApplicationListResponseParams `json:"Response"` }
func NewDescribeApplicationListResponse ¶ added in v1.0.544
func NewDescribeApplicationListResponse() (response *DescribeApplicationListResponse)
func (*DescribeApplicationListResponse) FromJsonString ¶ added in v1.0.544
func (r *DescribeApplicationListResponse) 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 (*DescribeApplicationListResponse) ToJsonString ¶ added in v1.0.544
func (r *DescribeApplicationListResponse) ToJsonString() string
type DescribeApplicationListResponseParams ¶ added in v1.0.544
type DescribeApplicationListResponseParams struct { // 获取应用列表返回 ApplicationList []*ApplicationList `json:"ApplicationList,omitnil,omitempty" name:"ApplicationList"` // 应用总数 Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRealtimeScanConfigRequest ¶ added in v1.0.357
type DescribeRealtimeScanConfigRequest struct { *tchttp.BaseRequest // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewDescribeRealtimeScanConfigRequest ¶ added in v1.0.357
func NewDescribeRealtimeScanConfigRequest() (request *DescribeRealtimeScanConfigRequest)
func (*DescribeRealtimeScanConfigRequest) FromJsonString ¶ added in v1.0.357
func (r *DescribeRealtimeScanConfigRequest) 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 (*DescribeRealtimeScanConfigRequest) ToJsonString ¶ added in v1.0.357
func (r *DescribeRealtimeScanConfigRequest) ToJsonString() string
type DescribeRealtimeScanConfigRequestParams ¶ added in v1.0.426
type DescribeRealtimeScanConfigRequestParams struct { // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type DescribeRealtimeScanConfigResponse ¶ added in v1.0.357
type DescribeRealtimeScanConfigResponse struct { *tchttp.BaseResponse Response *DescribeRealtimeScanConfigResponseParams `json:"Response"` }
func NewDescribeRealtimeScanConfigResponse ¶ added in v1.0.357
func NewDescribeRealtimeScanConfigResponse() (response *DescribeRealtimeScanConfigResponse)
func (*DescribeRealtimeScanConfigResponse) FromJsonString ¶ added in v1.0.357
func (r *DescribeRealtimeScanConfigResponse) 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 (*DescribeRealtimeScanConfigResponse) ToJsonString ¶ added in v1.0.357
func (r *DescribeRealtimeScanConfigResponse) ToJsonString() string
type DescribeRealtimeScanConfigResponseParams ¶ added in v1.0.426
type DescribeRealtimeScanConfigResponseParams struct { // 返回结果码,0正常,非0失败 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 送检类型,0: 全量送审,1: 自定义送审 AuditType *int64 `json:"AuditType,omitnil,omitempty" name:"AuditType"` // 用户号正则表达式。 // 符合此正则表达式规则的用户号将被送检。示例:^6.*(表示所有以6开头的用户号将被送检) UserIdRegex []*string `json:"UserIdRegex,omitnil,omitempty" name:"UserIdRegex"` // 房间号正则表达式。 // 符合此正则表达式规则的房间号将被送检。示例:^6.*(表示所有以6开头的房间号将被送检) RoomIdRegex []*string `json:"RoomIdRegex,omitnil,omitempty" name:"RoomIdRegex"` // 用户号字符串,逗号分隔,示例:"0001,0002,0003" UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` // 房间号字符串,逗号分隔,示例:"0001,0002,0003" RoomIdString *string `json:"RoomIdString,omitnil,omitempty" name:"RoomIdString"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordInfoRequest ¶ added in v1.0.609
type DescribeRecordInfoRequest struct { *tchttp.BaseRequest // 进行中的任务taskid(StartRecord接口返回)。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewDescribeRecordInfoRequest ¶ added in v1.0.609
func NewDescribeRecordInfoRequest() (request *DescribeRecordInfoRequest)
func (*DescribeRecordInfoRequest) FromJsonString ¶ added in v1.0.609
func (r *DescribeRecordInfoRequest) 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 (*DescribeRecordInfoRequest) ToJsonString ¶ added in v1.0.609
func (r *DescribeRecordInfoRequest) ToJsonString() string
type DescribeRecordInfoRequestParams ¶ added in v1.0.609
type DescribeRecordInfoRequestParams struct { // 进行中的任务taskid(StartRecord接口返回)。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type DescribeRecordInfoResponse ¶ added in v1.0.609
type DescribeRecordInfoResponse struct { *tchttp.BaseResponse Response *DescribeRecordInfoResponseParams `json:"Response"` }
func NewDescribeRecordInfoResponse ¶ added in v1.0.609
func NewDescribeRecordInfoResponse() (response *DescribeRecordInfoResponse)
func (*DescribeRecordInfoResponse) FromJsonString ¶ added in v1.0.609
func (r *DescribeRecordInfoResponse) 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 (*DescribeRecordInfoResponse) ToJsonString ¶ added in v1.0.609
func (r *DescribeRecordInfoResponse) ToJsonString() string
type DescribeRecordInfoResponseParams ¶ added in v1.0.609
type DescribeRecordInfoResponseParams struct { // 录制信息。 // 注意:此字段可能返回 null,表示取不到有效值。 RecordInfo []*RecordInfo `json:"RecordInfo,omitnil,omitempty" name:"RecordInfo"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 房间ID。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRoomInfoRequest ¶
type DescribeRoomInfoRequest struct { *tchttp.BaseRequest // 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // 房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个) RoomIds []*uint64 `json:"RoomIds,omitnil,omitempty" name:"RoomIds"` // 字符串类型房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个) StrRoomIds []*string `json:"StrRoomIds,omitnil,omitempty" name:"StrRoomIds"` }
func NewDescribeRoomInfoRequest ¶
func NewDescribeRoomInfoRequest() (request *DescribeRoomInfoRequest)
func (*DescribeRoomInfoRequest) FromJsonString ¶
func (r *DescribeRoomInfoRequest) 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 (*DescribeRoomInfoRequest) ToJsonString ¶
func (r *DescribeRoomInfoRequest) ToJsonString() string
type DescribeRoomInfoRequestParams ¶ added in v1.0.426
type DescribeRoomInfoRequestParams struct { // 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"` // 房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个) RoomIds []*uint64 `json:"RoomIds,omitnil,omitempty" name:"RoomIds"` // 字符串类型房间号列表,最大不能超过10个(RoomIds、StrRoomIds必须填一个) StrRoomIds []*string `json:"StrRoomIds,omitnil,omitempty" name:"StrRoomIds"` }
Predefined struct for user
type DescribeRoomInfoResponse ¶
type DescribeRoomInfoResponse struct { *tchttp.BaseResponse Response *DescribeRoomInfoResponseParams `json:"Response"` }
func NewDescribeRoomInfoResponse ¶
func NewDescribeRoomInfoResponse() (response *DescribeRoomInfoResponse)
func (*DescribeRoomInfoResponse) FromJsonString ¶
func (r *DescribeRoomInfoResponse) 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 (*DescribeRoomInfoResponse) ToJsonString ¶
func (r *DescribeRoomInfoResponse) ToJsonString() string
type DescribeRoomInfoResponseParams ¶ added in v1.0.426
type DescribeRoomInfoResponseParams struct { // 操作结果, 0成功, 非0失败 // 注意:此字段可能返回 null,表示取不到有效值。 Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"` // 房间用户信息 // 注意:此字段可能返回 null,表示取不到有效值。 RoomUsers []*RoomUser `json:"RoomUsers,omitnil,omitempty" name:"RoomUsers"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScanResult ¶
type DescribeScanResult struct { // 业务返回码 Code *int64 `json:"Code,omitnil,omitempty" name:"Code"` // 数据唯一 ID DataId *string `json:"DataId,omitnil,omitempty" name:"DataId"` // 检测完成的时间戳 ScanFinishTime *uint64 `json:"ScanFinishTime,omitnil,omitempty" name:"ScanFinishTime"` // 是否违规 HitFlag *bool `json:"HitFlag,omitnil,omitempty" name:"HitFlag"` // 是否为流 Live *bool `json:"Live,omitnil,omitempty" name:"Live"` // 业务返回描述 // 注意:此字段可能返回 null,表示取不到有效值。 Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // 检测结果,Code 为 0 时返回 // 注意:此字段可能返回 null,表示取不到有效值。 ScanPiece []*ScanPiece `json:"ScanPiece,omitnil,omitempty" name:"ScanPiece"` // 提交检测的时间戳 ScanStartTime *uint64 `json:"ScanStartTime,omitnil,omitempty" name:"ScanStartTime"` // 语音检测场景,对应请求时的 Scene Scenes []*string `json:"Scenes,omitnil,omitempty" name:"Scenes"` // 语音检测任务 ID,由后台分配 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 文件或接流地址 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 检测任务执行结果状态,分别为: // <li>Start: 任务开始</li> // <li>Success: 成功结束</li> // <li>Error: 异常</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 提交检测的应用 ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
type DescribeScanResultListRequest ¶
type DescribeScanResultListRequest struct { *tchttp.BaseRequest // 应用 ID,登录[控制台](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 查询的任务 ID 列表,任务 ID 列表最多支持 100 个。 TaskIdList []*string `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` // 任务返回结果数量,默认10,上限500。大文件任务忽略此参数,返回全量结果 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeScanResultListRequest ¶
func NewDescribeScanResultListRequest() (request *DescribeScanResultListRequest)
func (*DescribeScanResultListRequest) FromJsonString ¶
func (r *DescribeScanResultListRequest) 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 (*DescribeScanResultListRequest) ToJsonString ¶
func (r *DescribeScanResultListRequest) ToJsonString() string
type DescribeScanResultListRequestParams ¶ added in v1.0.426
type DescribeScanResultListRequestParams struct { // 应用 ID,登录[控制台](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 查询的任务 ID 列表,任务 ID 列表最多支持 100 个。 TaskIdList []*string `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` // 任务返回结果数量,默认10,上限500。大文件任务忽略此参数,返回全量结果 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeScanResultListResponse ¶
type DescribeScanResultListResponse struct { *tchttp.BaseResponse Response *DescribeScanResultListResponseParams `json:"Response"` }
func NewDescribeScanResultListResponse ¶
func NewDescribeScanResultListResponse() (response *DescribeScanResultListResponse)
func (*DescribeScanResultListResponse) FromJsonString ¶
func (r *DescribeScanResultListResponse) 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 (*DescribeScanResultListResponse) ToJsonString ¶
func (r *DescribeScanResultListResponse) ToJsonString() string
type DescribeScanResultListResponseParams ¶ added in v1.0.426
type DescribeScanResultListResponseParams struct { // 要查询的语音检测任务的结果 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*DescribeScanResult `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskInfoRequest ¶ added in v1.0.609
type DescribeTaskInfoRequest struct { *tchttp.BaseRequest // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` }
func NewDescribeTaskInfoRequest ¶ added in v1.0.609
func NewDescribeTaskInfoRequest() (request *DescribeTaskInfoRequest)
func (*DescribeTaskInfoRequest) FromJsonString ¶ added in v1.0.609
func (r *DescribeTaskInfoRequest) 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 (*DescribeTaskInfoRequest) ToJsonString ¶ added in v1.0.609
func (r *DescribeTaskInfoRequest) ToJsonString() string
type DescribeTaskInfoRequestParams ¶ added in v1.0.609
type DescribeTaskInfoRequestParams struct { // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` }
Predefined struct for user
type DescribeTaskInfoResponse ¶ added in v1.0.609
type DescribeTaskInfoResponse struct { *tchttp.BaseResponse Response *DescribeTaskInfoResponseParams `json:"Response"` }
func NewDescribeTaskInfoResponse ¶ added in v1.0.609
func NewDescribeTaskInfoResponse() (response *DescribeTaskInfoResponse)
func (*DescribeTaskInfoResponse) FromJsonString ¶ added in v1.0.609
func (r *DescribeTaskInfoResponse) 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 (*DescribeTaskInfoResponse) ToJsonString ¶ added in v1.0.609
func (r *DescribeTaskInfoResponse) ToJsonString() string
type DescribeTaskInfoResponseParams ¶ added in v1.0.609
type DescribeTaskInfoResponseParams struct { // 进行中的任务taskid(StartRecord接口返回)。 // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 // 注意:此字段可能返回 null,表示取不到有效值。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 指定订阅流白名单或者黑名单。 // 注意:此字段可能返回 null,表示取不到有效值。 SubscribeRecordUserIds *SubscribeRecordUserIds `json:"SubscribeRecordUserIds,omitnil,omitempty" name:"SubscribeRecordUserIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserInAndOutTimeRequest ¶
type DescribeUserInAndOutTimeRequest struct { *tchttp.BaseRequest // 应用ID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID RoomId *int64 `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 用户ID UserId *int64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 字符串类型用户ID UserIdStr *string `json:"UserIdStr,omitnil,omitempty" name:"UserIdStr"` // 字符串类型房间ID RoomIdStr *string `json:"RoomIdStr,omitnil,omitempty" name:"RoomIdStr"` }
func NewDescribeUserInAndOutTimeRequest ¶
func NewDescribeUserInAndOutTimeRequest() (request *DescribeUserInAndOutTimeRequest)
func (*DescribeUserInAndOutTimeRequest) FromJsonString ¶
func (r *DescribeUserInAndOutTimeRequest) 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 (*DescribeUserInAndOutTimeRequest) ToJsonString ¶
func (r *DescribeUserInAndOutTimeRequest) ToJsonString() string
type DescribeUserInAndOutTimeRequestParams ¶ added in v1.0.426
type DescribeUserInAndOutTimeRequestParams struct { // 应用ID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID RoomId *int64 `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 用户ID UserId *int64 `json:"UserId,omitnil,omitempty" name:"UserId"` // 字符串类型用户ID UserIdStr *string `json:"UserIdStr,omitnil,omitempty" name:"UserIdStr"` // 字符串类型房间ID RoomIdStr *string `json:"RoomIdStr,omitnil,omitempty" name:"RoomIdStr"` }
Predefined struct for user
type DescribeUserInAndOutTimeResponse ¶
type DescribeUserInAndOutTimeResponse struct { *tchttp.BaseResponse Response *DescribeUserInAndOutTimeResponseParams `json:"Response"` }
func NewDescribeUserInAndOutTimeResponse ¶
func NewDescribeUserInAndOutTimeResponse() (response *DescribeUserInAndOutTimeResponse)
func (*DescribeUserInAndOutTimeResponse) FromJsonString ¶
func (r *DescribeUserInAndOutTimeResponse) 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 (*DescribeUserInAndOutTimeResponse) ToJsonString ¶
func (r *DescribeUserInAndOutTimeResponse) ToJsonString() string
type DescribeUserInAndOutTimeResponseParams ¶ added in v1.0.426
type DescribeUserInAndOutTimeResponseParams struct { // 用户在房间得进出时间列表 InOutList []*InOutTimeInfo `json:"InOutList,omitnil,omitempty" name:"InOutList"` // 用户在房间中总时长 Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GetCustomizationListRequest ¶ added in v1.0.471
type GetCustomizationListRequest struct { *tchttp.BaseRequest // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewGetCustomizationListRequest ¶ added in v1.0.471
func NewGetCustomizationListRequest() (request *GetCustomizationListRequest)
func (*GetCustomizationListRequest) FromJsonString ¶ added in v1.0.471
func (r *GetCustomizationListRequest) 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 (*GetCustomizationListRequest) ToJsonString ¶ added in v1.0.471
func (r *GetCustomizationListRequest) ToJsonString() string
type GetCustomizationListRequestParams ¶ added in v1.0.471
type GetCustomizationListRequestParams struct { // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type GetCustomizationListResponse ¶ added in v1.0.471
type GetCustomizationListResponse struct { *tchttp.BaseResponse Response *GetCustomizationListResponseParams `json:"Response"` }
func NewGetCustomizationListResponse ¶ added in v1.0.471
func NewGetCustomizationListResponse() (response *GetCustomizationListResponse)
func (*GetCustomizationListResponse) FromJsonString ¶ added in v1.0.471
func (r *GetCustomizationListResponse) 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 (*GetCustomizationListResponse) ToJsonString ¶ added in v1.0.471
func (r *GetCustomizationListResponse) ToJsonString() string
type GetCustomizationListResponseParams ¶ added in v1.0.471
type GetCustomizationListResponseParams struct { // 语音消息转文本热句模型配置 // 注意:此字段可能返回 null,表示取不到有效值。 CustomizationConfigs []*CustomizationConfigs `json:"CustomizationConfigs,omitnil,omitempty" name:"CustomizationConfigs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InOutTimeInfo ¶
type ModifyAppStatusRequest ¶
type ModifyAppStatusRequest struct { *tchttp.BaseRequest // 应用ID,创建应用后由后台生成并返回。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 应用状态,取值:open/close Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyAppStatusRequest ¶
func NewModifyAppStatusRequest() (request *ModifyAppStatusRequest)
func (*ModifyAppStatusRequest) FromJsonString ¶
func (r *ModifyAppStatusRequest) 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 (*ModifyAppStatusRequest) ToJsonString ¶
func (r *ModifyAppStatusRequest) ToJsonString() string
type ModifyAppStatusRequestParams ¶ added in v1.0.426
type ModifyAppStatusRequestParams struct { // 应用ID,创建应用后由后台生成并返回。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 应用状态,取值:open/close Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyAppStatusResp ¶ added in v1.0.241
type ModifyAppStatusResponse ¶
type ModifyAppStatusResponse struct { *tchttp.BaseResponse Response *ModifyAppStatusResponseParams `json:"Response"` }
func NewModifyAppStatusResponse ¶
func NewModifyAppStatusResponse() (response *ModifyAppStatusResponse)
func (*ModifyAppStatusResponse) FromJsonString ¶
func (r *ModifyAppStatusResponse) 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 (*ModifyAppStatusResponse) ToJsonString ¶
func (r *ModifyAppStatusResponse) ToJsonString() string
type ModifyAppStatusResponseParams ¶ added in v1.0.426
type ModifyAppStatusResponseParams struct { // 修改应用开关状态返回数据 Data *ModifyAppStatusResp `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCustomizationRequest ¶ added in v1.0.471
type ModifyCustomizationRequest struct { *tchttp.BaseRequest // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos TextUrl *string `json:"TextUrl,omitnil,omitempty" name:"TextUrl"` // 修改的模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` }
func NewModifyCustomizationRequest ¶ added in v1.0.471
func NewModifyCustomizationRequest() (request *ModifyCustomizationRequest)
func (*ModifyCustomizationRequest) FromJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationRequest) 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 (*ModifyCustomizationRequest) ToJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationRequest) ToJsonString() string
type ModifyCustomizationRequestParams ¶ added in v1.0.471
type ModifyCustomizationRequestParams struct { // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos TextUrl *string `json:"TextUrl,omitnil,omitempty" name:"TextUrl"` // 修改的模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` }
Predefined struct for user
type ModifyCustomizationResponse ¶ added in v1.0.471
type ModifyCustomizationResponse struct { *tchttp.BaseResponse Response *ModifyCustomizationResponseParams `json:"Response"` }
func NewModifyCustomizationResponse ¶ added in v1.0.471
func NewModifyCustomizationResponse() (response *ModifyCustomizationResponse)
func (*ModifyCustomizationResponse) FromJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationResponse) 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 (*ModifyCustomizationResponse) ToJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationResponse) ToJsonString() string
type ModifyCustomizationResponseParams ¶ added in v1.0.471
type ModifyCustomizationResponseParams struct { // 返回值。0为成功,非0为失败。 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCustomizationStateRequest ¶ added in v1.0.471
type ModifyCustomizationStateRequest struct { *tchttp.BaseRequest // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 想要变换的模型状态,-1代表下线,1代表上线 ToState *int64 `json:"ToState,omitnil,omitempty" name:"ToState"` // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewModifyCustomizationStateRequest ¶ added in v1.0.471
func NewModifyCustomizationStateRequest() (request *ModifyCustomizationStateRequest)
func (*ModifyCustomizationStateRequest) FromJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationStateRequest) 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 (*ModifyCustomizationStateRequest) ToJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationStateRequest) ToJsonString() string
type ModifyCustomizationStateRequestParams ¶ added in v1.0.471
type ModifyCustomizationStateRequestParams struct { // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 想要变换的模型状态,-1代表下线,1代表上线 ToState *int64 `json:"ToState,omitnil,omitempty" name:"ToState"` // 应用 ID,登录控制台创建应用得到的AppID BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type ModifyCustomizationStateResponse ¶ added in v1.0.471
type ModifyCustomizationStateResponse struct { *tchttp.BaseResponse Response *ModifyCustomizationStateResponseParams `json:"Response"` }
func NewModifyCustomizationStateResponse ¶ added in v1.0.471
func NewModifyCustomizationStateResponse() (response *ModifyCustomizationStateResponse)
func (*ModifyCustomizationStateResponse) FromJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationStateResponse) 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 (*ModifyCustomizationStateResponse) ToJsonString ¶ added in v1.0.471
func (r *ModifyCustomizationStateResponse) ToJsonString() string
type ModifyCustomizationStateResponseParams ¶ added in v1.0.471
type ModifyCustomizationStateResponseParams struct { // 模型ID ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 返回值。0为成功,非0为失败。 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordInfoRequest ¶ added in v1.0.609
type ModifyRecordInfoRequest struct { *tchttp.BaseRequest // 进行中的任务taskid(StartRecord接口返回)。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 指定订阅流白名单或者黑名单。 SubscribeRecordUserIds *SubscribeRecordUserIds `json:"SubscribeRecordUserIds,omitnil,omitempty" name:"SubscribeRecordUserIds"` }
func NewModifyRecordInfoRequest ¶ added in v1.0.609
func NewModifyRecordInfoRequest() (request *ModifyRecordInfoRequest)
func (*ModifyRecordInfoRequest) FromJsonString ¶ added in v1.0.609
func (r *ModifyRecordInfoRequest) 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 (*ModifyRecordInfoRequest) ToJsonString ¶ added in v1.0.609
func (r *ModifyRecordInfoRequest) ToJsonString() string
type ModifyRecordInfoRequestParams ¶ added in v1.0.609
type ModifyRecordInfoRequestParams struct { // 进行中的任务taskid(StartRecord接口返回)。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 指定订阅流白名单或者黑名单。 SubscribeRecordUserIds *SubscribeRecordUserIds `json:"SubscribeRecordUserIds,omitnil,omitempty" name:"SubscribeRecordUserIds"` }
Predefined struct for user
type ModifyRecordInfoResponse ¶ added in v1.0.609
type ModifyRecordInfoResponse struct { *tchttp.BaseResponse Response *ModifyRecordInfoResponseParams `json:"Response"` }
func NewModifyRecordInfoResponse ¶ added in v1.0.609
func NewModifyRecordInfoResponse() (response *ModifyRecordInfoResponse)
func (*ModifyRecordInfoResponse) FromJsonString ¶ added in v1.0.609
func (r *ModifyRecordInfoResponse) 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 (*ModifyRecordInfoResponse) ToJsonString ¶ added in v1.0.609
func (r *ModifyRecordInfoResponse) ToJsonString() string
type ModifyRecordInfoResponseParams ¶ added in v1.0.609
type ModifyRecordInfoResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserMicStatusRequest ¶ added in v1.0.469
type ModifyUserMicStatusRequest struct { *tchttp.BaseRequest // 来自 [腾讯云控制台](https://console.cloud.tencent.com/gamegme) 的 GME 服务提供的 AppID,获取请参考 [语音服务开通指引](https://cloud.tencent.com/document/product/607/10782#.E9.87.8D.E7.82.B9.E5.8F.82.E6.95.B0)。 BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 实时语音房间号。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 需要操作的房间内用户以及该用户的目标麦克风状态。 Users []*UserMicStatus `json:"Users,omitnil,omitempty" name:"Users"` }
func NewModifyUserMicStatusRequest ¶ added in v1.0.469
func NewModifyUserMicStatusRequest() (request *ModifyUserMicStatusRequest)
func (*ModifyUserMicStatusRequest) FromJsonString ¶ added in v1.0.469
func (r *ModifyUserMicStatusRequest) 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 (*ModifyUserMicStatusRequest) ToJsonString ¶ added in v1.0.469
func (r *ModifyUserMicStatusRequest) ToJsonString() string
type ModifyUserMicStatusRequestParams ¶ added in v1.0.469
type ModifyUserMicStatusRequestParams struct { // 来自 [腾讯云控制台](https://console.cloud.tencent.com/gamegme) 的 GME 服务提供的 AppID,获取请参考 [语音服务开通指引](https://cloud.tencent.com/document/product/607/10782#.E9.87.8D.E7.82.B9.E5.8F.82.E6.95.B0)。 BizId *int64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 实时语音房间号。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 需要操作的房间内用户以及该用户的目标麦克风状态。 Users []*UserMicStatus `json:"Users,omitnil,omitempty" name:"Users"` }
Predefined struct for user
type ModifyUserMicStatusResponse ¶ added in v1.0.469
type ModifyUserMicStatusResponse struct { *tchttp.BaseResponse Response *ModifyUserMicStatusResponseParams `json:"Response"` }
func NewModifyUserMicStatusResponse ¶ added in v1.0.469
func NewModifyUserMicStatusResponse() (response *ModifyUserMicStatusResponse)
func (*ModifyUserMicStatusResponse) FromJsonString ¶ added in v1.0.469
func (r *ModifyUserMicStatusResponse) 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 (*ModifyUserMicStatusResponse) ToJsonString ¶ added in v1.0.469
func (r *ModifyUserMicStatusResponse) ToJsonString() string
type ModifyUserMicStatusResponseParams ¶ added in v1.0.469
type ModifyUserMicStatusResponseParams struct { // 返回结果:0为成功,非0为失败。 Result *int64 `json:"Result,omitnil,omitempty" name:"Result"` // 错误信息。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OverseaTextStatisticsItem ¶ added in v1.0.525
type OverseaTextStatisticsItem struct { // 统计值,单位:秒 // 注意:此字段可能返回 null,表示取不到有效值。 Data *float64 `json:"Data,omitnil,omitempty" name:"Data"` }
type RealTimeSpeechStatisticsItem ¶
type RealTimeSpeechStatisticsItem struct { // 大陆地区DAU MainLandDau *uint64 `json:"MainLandDau,omitnil,omitempty" name:"MainLandDau"` // 大陆地区PCU MainLandPcu *uint64 `json:"MainLandPcu,omitnil,omitempty" name:"MainLandPcu"` // 大陆地区总使用时长,单位为min MainLandDuration *uint64 `json:"MainLandDuration,omitnil,omitempty" name:"MainLandDuration"` // 海外地区DAU OverseaDau *uint64 `json:"OverseaDau,omitnil,omitempty" name:"OverseaDau"` // 海外地区PCU OverseaPcu *uint64 `json:"OverseaPcu,omitnil,omitempty" name:"OverseaPcu"` // 海外地区总使用时长,单位为min OverseaDuration *uint64 `json:"OverseaDuration,omitnil,omitempty" name:"OverseaDuration"` }
type RealtimeSpeechConf ¶
type RealtimeTextStatisticsItem ¶ added in v1.0.525
type RealtimeTextStatisticsItem struct { // 统计值,单位:秒 // 注意:此字段可能返回 null,表示取不到有效值。 Data *float64 `json:"Data,omitnil,omitempty" name:"Data"` }
type RecordInfo ¶ added in v1.0.609
type RecordInfo struct { // 用户ID(当混流模式时,取值为0)。 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 录制文件名。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 录制开始时间(unix时间戳如:1234567868)。 RecordBeginTime *uint64 `json:"RecordBeginTime,omitnil,omitempty" name:"RecordBeginTime"` // 录制状态:2代表正在录制 10代表等待转码 11代表正在转码 12正在上传 13代表上传完成 14代表通知用户完成。 RecordStatus *uint64 `json:"RecordStatus,omitnil,omitempty" name:"RecordStatus"` }
type RoomUser ¶
type RoomUser struct { // 房间id RoomId *uint64 `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 房间里用户uin列表 // 注意:此字段可能返回 null,表示取不到有效值。 Uins []*uint64 `json:"Uins,omitnil,omitempty" name:"Uins"` // 字符串房间id // 注意:此字段可能返回 null,表示取不到有效值。 StrRoomId *string `json:"StrRoomId,omitnil,omitempty" name:"StrRoomId"` // 房间里用户字符串uin列表 // 注意:此字段可能返回 null,表示取不到有效值。 StrUins []*string `json:"StrUins,omitnil,omitempty" name:"StrUins"` }
type ScanDetail ¶
type ScanDetail struct { // 违规场景,参照<a href="https://cloud.tencent.com/document/product/607/37622#Label_Value">Label</a>定义 Label *string `json:"Label,omitnil,omitempty" name:"Label"` // 该场景下概率[0.00,100.00],分值越大违规概率越高 Rate *string `json:"Rate,omitnil,omitempty" name:"Rate"` // 违规关键字 KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"` // 关键字在音频的开始时间,从0开始的偏移量,单位为毫秒 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 关键字在音频的结束时间,从0开始的偏移量,,单位为毫秒 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type ScanPiece ¶
type ScanPiece struct { // 流检测时返回,音频转存地址,保留30min // 注意:此字段可能返回 null,表示取不到有效值。 DumpUrl *string `json:"DumpUrl,omitnil,omitempty" name:"DumpUrl"` // 是否违规 HitFlag *bool `json:"HitFlag,omitnil,omitempty" name:"HitFlag"` // 违规主要类型 // 注意:此字段可能返回 null,表示取不到有效值。 MainType *string `json:"MainType,omitnil,omitempty" name:"MainType"` // 语音检测详情 ScanDetail []*ScanDetail `json:"ScanDetail,omitnil,omitempty" name:"ScanDetail"` // gme实时语音房间ID,透传任务传入时的RoomId // 注意:此字段可能返回 null,表示取不到有效值。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // gme实时语音用户ID,透传任务传入时的OpenId // 注意:此字段可能返回 null,表示取不到有效值。 OpenId *string `json:"OpenId,omitnil,omitempty" name:"OpenId"` // 备注 // 注意:此字段可能返回 null,表示取不到有效值。 Info *string `json:"Info,omitnil,omitempty" name:"Info"` // 流检测时分片在流中的偏移时间,单位毫秒 // 注意:此字段可能返回 null,表示取不到有效值。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 流检测时分片时长 // 注意:此字段可能返回 null,表示取不到有效值。 Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 分片开始检测时间 // 注意:此字段可能返回 null,表示取不到有效值。 PieceStartTime *uint64 `json:"PieceStartTime,omitnil,omitempty" name:"PieceStartTime"` }
type ScanVoiceRequest ¶
type ScanVoiceRequest struct { *tchttp.BaseRequest // 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 语音检测场景,参数值目前要求为 default。 预留场景设置: 谩骂、色情、广告、违禁等场景,<a href="#Label_Value">具体取值见上述 Label 说明。</a> Scenes []*string `json:"Scenes,omitnil,omitempty" name:"Scenes"` // 是否为直播流。值为 false 时表示普通语音文件检测;为 true 时表示语音流检测。 Live *bool `json:"Live,omitnil,omitempty" name:"Live"` // 语音检测任务列表,列表最多支持100个检测任务。结构体中包含: // <li>DataId:数据的唯一ID</li> // <li>Url:数据文件的url,为 urlencode 编码,流式则为拉流地址</li> Tasks []*Task `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 异步检测结果回调地址,具体见上述<a href="#Callback_Declare">回调相关说明</a>。(说明:该字段为空时,必须通过接口(查询语音检测结果)获取检测结果)。 Callback *string `json:"Callback,omitnil,omitempty" name:"Callback"` // 语种,不传默认中文 Lang *string `json:"Lang,omitnil,omitempty" name:"Lang"` }
func NewScanVoiceRequest ¶
func NewScanVoiceRequest() (request *ScanVoiceRequest)
func (*ScanVoiceRequest) FromJsonString ¶
func (r *ScanVoiceRequest) 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 (*ScanVoiceRequest) ToJsonString ¶
func (r *ScanVoiceRequest) ToJsonString() string
type ScanVoiceRequestParams ¶ added in v1.0.426
type ScanVoiceRequestParams struct { // 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 语音检测场景,参数值目前要求为 default。 预留场景设置: 谩骂、色情、广告、违禁等场景,<a href="#Label_Value">具体取值见上述 Label 说明。</a> Scenes []*string `json:"Scenes,omitnil,omitempty" name:"Scenes"` // 是否为直播流。值为 false 时表示普通语音文件检测;为 true 时表示语音流检测。 Live *bool `json:"Live,omitnil,omitempty" name:"Live"` // 语音检测任务列表,列表最多支持100个检测任务。结构体中包含: // <li>DataId:数据的唯一ID</li> // <li>Url:数据文件的url,为 urlencode 编码,流式则为拉流地址</li> Tasks []*Task `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 异步检测结果回调地址,具体见上述<a href="#Callback_Declare">回调相关说明</a>。(说明:该字段为空时,必须通过接口(查询语音检测结果)获取检测结果)。 Callback *string `json:"Callback,omitnil,omitempty" name:"Callback"` // 语种,不传默认中文 Lang *string `json:"Lang,omitnil,omitempty" name:"Lang"` }
Predefined struct for user
type ScanVoiceResponse ¶
type ScanVoiceResponse struct { *tchttp.BaseResponse Response *ScanVoiceResponseParams `json:"Response"` }
func NewScanVoiceResponse ¶
func NewScanVoiceResponse() (response *ScanVoiceResponse)
func (*ScanVoiceResponse) FromJsonString ¶
func (r *ScanVoiceResponse) 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 (*ScanVoiceResponse) ToJsonString ¶
func (r *ScanVoiceResponse) ToJsonString() string
type ScanVoiceResponseParams ¶ added in v1.0.426
type ScanVoiceResponseParams struct { // 语音检测返回。Data 字段是 JSON 数组,每一个元素包含:<li>DataId: 请求中对应的 DataId。</li> // <li>TaskID :该检测任务的 ID,用于轮询语音检测结果。</li> Data []*ScanVoiceResult `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ScanVoiceResult ¶
type ServiceStatus ¶ added in v1.0.544
type ServiceStatus struct { // 实时语音服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 RealTimeSpeech *StatusInfo `json:"RealTimeSpeech,omitnil,omitempty" name:"RealTimeSpeech"` // 语音消息服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 VoiceMessage *StatusInfo `json:"VoiceMessage,omitnil,omitempty" name:"VoiceMessage"` // 语音内容安全服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 Porn *StatusInfo `json:"Porn,omitnil,omitempty" name:"Porn"` // 语音录制服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 Live *StatusInfo `json:"Live,omitnil,omitempty" name:"Live"` // 语音转文本服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 RealTimeAsr *StatusInfo `json:"RealTimeAsr,omitnil,omitempty" name:"RealTimeAsr"` // 文本翻译服务开关状态 // 注意:此字段可能返回 null,表示取不到有效值。 TextTranslate *StatusInfo `json:"TextTranslate,omitnil,omitempty" name:"TextTranslate"` }
type StartRecordRequest ¶ added in v1.0.609
type StartRecordRequest struct { *tchttp.BaseRequest // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 指定订阅流白名单或者黑名单(不传默认订阅房间内所有音频流)。 SubscribeRecordUserIds *SubscribeRecordUserIds `json:"SubscribeRecordUserIds,omitnil,omitempty" name:"SubscribeRecordUserIds"` }
func NewStartRecordRequest ¶ added in v1.0.609
func NewStartRecordRequest() (request *StartRecordRequest)
func (*StartRecordRequest) FromJsonString ¶ added in v1.0.609
func (r *StartRecordRequest) 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 (*StartRecordRequest) ToJsonString ¶ added in v1.0.609
func (r *StartRecordRequest) ToJsonString() string
type StartRecordRequestParams ¶ added in v1.0.609
type StartRecordRequestParams struct { // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 房间ID。 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // 录制类型:1代表单流 2代表混流 3代表单流和混流。 RecordMode *uint64 `json:"RecordMode,omitnil,omitempty" name:"RecordMode"` // 指定订阅流白名单或者黑名单(不传默认订阅房间内所有音频流)。 SubscribeRecordUserIds *SubscribeRecordUserIds `json:"SubscribeRecordUserIds,omitnil,omitempty" name:"SubscribeRecordUserIds"` }
Predefined struct for user
type StartRecordResponse ¶ added in v1.0.609
type StartRecordResponse struct { *tchttp.BaseResponse Response *StartRecordResponseParams `json:"Response"` }
func NewStartRecordResponse ¶ added in v1.0.609
func NewStartRecordResponse() (response *StartRecordResponse)
func (*StartRecordResponse) FromJsonString ¶ added in v1.0.609
func (r *StartRecordResponse) 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 (*StartRecordResponse) ToJsonString ¶ added in v1.0.609
func (r *StartRecordResponse) ToJsonString() string
type StartRecordResponseParams ¶ added in v1.0.609
type StartRecordResponseParams struct { // 任务taskid。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StatisticsItem ¶
type StatusInfo ¶ added in v1.0.544
type StatusInfo struct { // 服务开关状态, 0-正常,1-关闭 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
type StopRecordRequest ¶ added in v1.0.609
type StopRecordRequest struct { *tchttp.BaseRequest // 任务ID。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
func NewStopRecordRequest ¶ added in v1.0.609
func NewStopRecordRequest() (request *StopRecordRequest)
func (*StopRecordRequest) FromJsonString ¶ added in v1.0.609
func (r *StopRecordRequest) 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 (*StopRecordRequest) ToJsonString ¶ added in v1.0.609
func (r *StopRecordRequest) ToJsonString() string
type StopRecordRequestParams ¶ added in v1.0.609
type StopRecordRequestParams struct { // 任务ID。 TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 应用ID。 BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` }
Predefined struct for user
type StopRecordResponse ¶ added in v1.0.609
type StopRecordResponse struct { *tchttp.BaseResponse Response *StopRecordResponseParams `json:"Response"` }
func NewStopRecordResponse ¶ added in v1.0.609
func NewStopRecordResponse() (response *StopRecordResponse)
func (*StopRecordResponse) FromJsonString ¶ added in v1.0.609
func (r *StopRecordResponse) 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 (*StopRecordResponse) ToJsonString ¶ added in v1.0.609
func (r *StopRecordResponse) ToJsonString() string
type StopRecordResponseParams ¶ added in v1.0.609
type StopRecordResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StreamTextStatisticsItem ¶ added in v1.0.525
type StreamTextStatisticsItem struct { // 统计值,单位:秒 // 注意:此字段可能返回 null,表示取不到有效值。 Data *float64 `json:"Data,omitnil,omitempty" name:"Data"` }
type SubscribeRecordUserIds ¶ added in v1.0.609
type SubscribeRecordUserIds struct { // 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过20。 // 注意:只能同时设置UnSubscribeAudioUserIds、SubscribeAudioUserIds 其中1个参数 UnSubscribeUserIds []*string `json:"UnSubscribeUserIds,omitnil,omitempty" name:"UnSubscribeUserIds"` // 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过20。 // 注意:只能同时设置UnSubscribeAudioUserIds、SubscribeAudioUserIds 其中1个参数。 SubscribeUserIds []*string `json:"SubscribeUserIds,omitnil,omitempty" name:"SubscribeUserIds"` }
type Task ¶
type Task struct { // 数据的唯一ID DataId *string `json:"DataId,omitnil,omitempty" name:"DataId"` // 数据文件的url,为 urlencode 编码,流式则为拉流地址 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // gme实时语音房间ID,通过gme实时语音进行语音分析时输入 RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"` // gme实时语音用户ID,通过gme实时语音进行语音分析时输入 OpenId *string `json:"OpenId,omitnil,omitempty" name:"OpenId"` }
type UpdateScanRoomsRequest ¶ added in v1.0.357
type UpdateScanRoomsRequest struct { *tchttp.BaseRequest // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要送检的所有房间号。多个房间号之间用","分隔。示例:"0001,0002,0003" RoomIdString *string `json:"RoomIdString,omitnil,omitempty" name:"RoomIdString"` // 符合此正则表达式规则的房间号将被送检。示例:^6.*(表示所有以6开头的房间号将被送检) RoomIdRegex []*string `json:"RoomIdRegex,omitnil,omitempty" name:"RoomIdRegex"` }
func NewUpdateScanRoomsRequest ¶ added in v1.0.357
func NewUpdateScanRoomsRequest() (request *UpdateScanRoomsRequest)
func (*UpdateScanRoomsRequest) FromJsonString ¶ added in v1.0.357
func (r *UpdateScanRoomsRequest) 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 (*UpdateScanRoomsRequest) ToJsonString ¶ added in v1.0.357
func (r *UpdateScanRoomsRequest) ToJsonString() string
type UpdateScanRoomsRequestParams ¶ added in v1.0.426
type UpdateScanRoomsRequestParams struct { // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要送检的所有房间号。多个房间号之间用","分隔。示例:"0001,0002,0003" RoomIdString *string `json:"RoomIdString,omitnil,omitempty" name:"RoomIdString"` // 符合此正则表达式规则的房间号将被送检。示例:^6.*(表示所有以6开头的房间号将被送检) RoomIdRegex []*string `json:"RoomIdRegex,omitnil,omitempty" name:"RoomIdRegex"` }
Predefined struct for user
type UpdateScanRoomsResponse ¶ added in v1.0.357
type UpdateScanRoomsResponse struct { *tchttp.BaseResponse Response *UpdateScanRoomsResponseParams `json:"Response"` }
func NewUpdateScanRoomsResponse ¶ added in v1.0.357
func NewUpdateScanRoomsResponse() (response *UpdateScanRoomsResponse)
func (*UpdateScanRoomsResponse) FromJsonString ¶ added in v1.0.357
func (r *UpdateScanRoomsResponse) 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 (*UpdateScanRoomsResponse) ToJsonString ¶ added in v1.0.357
func (r *UpdateScanRoomsResponse) ToJsonString() string
type UpdateScanRoomsResponseParams ¶ added in v1.0.426
type UpdateScanRoomsResponseParams struct { // 返回结果码 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateScanUsersRequest ¶ added in v1.0.357
type UpdateScanUsersRequest struct { *tchttp.BaseRequest // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要送检的所有用户号。多个用户号之间用","分隔。示例:"0001,0002,0003" UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` // 符合此正则表达式规则的用户号将被送检。示例:["^6.*"] 表示所有以6开头的用户号将被送检 UserIdRegex []*string `json:"UserIdRegex,omitnil,omitempty" name:"UserIdRegex"` }
func NewUpdateScanUsersRequest ¶ added in v1.0.357
func NewUpdateScanUsersRequest() (request *UpdateScanUsersRequest)
func (*UpdateScanUsersRequest) FromJsonString ¶ added in v1.0.357
func (r *UpdateScanUsersRequest) 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 (*UpdateScanUsersRequest) ToJsonString ¶ added in v1.0.357
func (r *UpdateScanUsersRequest) ToJsonString() string
type UpdateScanUsersRequestParams ¶ added in v1.0.426
type UpdateScanUsersRequestParams struct { // 应用ID BizId *uint64 `json:"BizId,omitnil,omitempty" name:"BizId"` // 需要送检的所有用户号。多个用户号之间用","分隔。示例:"0001,0002,0003" UserIdString *string `json:"UserIdString,omitnil,omitempty" name:"UserIdString"` // 符合此正则表达式规则的用户号将被送检。示例:["^6.*"] 表示所有以6开头的用户号将被送检 UserIdRegex []*string `json:"UserIdRegex,omitnil,omitempty" name:"UserIdRegex"` }
Predefined struct for user
type UpdateScanUsersResponse ¶ added in v1.0.357
type UpdateScanUsersResponse struct { *tchttp.BaseResponse Response *UpdateScanUsersResponseParams `json:"Response"` }
func NewUpdateScanUsersResponse ¶ added in v1.0.357
func NewUpdateScanUsersResponse() (response *UpdateScanUsersResponse)
func (*UpdateScanUsersResponse) FromJsonString ¶ added in v1.0.357
func (r *UpdateScanUsersResponse) 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 (*UpdateScanUsersResponse) ToJsonString ¶ added in v1.0.357
func (r *UpdateScanUsersResponse) ToJsonString() string
type UpdateScanUsersResponseParams ¶ added in v1.0.426
type UpdateScanUsersResponseParams struct { // 返回结果码 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UserMicStatus ¶ added in v1.0.469
type UserMicStatus struct { // 开麦状态。1表示关闭麦克风,2表示打开麦克风。 EnableMic *int64 `json:"EnableMic,omitnil,omitempty" name:"EnableMic"` // 客户端用于标识用户的Openid。(Uid、StrUid必须填一个,优先处理StrUid。) Uid *int64 `json:"Uid,omitnil,omitempty" name:"Uid"` // 客户端用于标识字符串型用户的Openid。(Uid、StrUid必须填一个,优先处理StrUid。) StrUid *string `json:"StrUid,omitnil,omitempty" name:"StrUid"` }
type VoiceFilterConf ¶
type VoiceFilterStatisticsItem ¶
type VoiceFilterStatisticsItem struct { // 语音过滤总时长,单位为min Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"` }
type VoiceMessageConf ¶
type VoiceMessageStatisticsItem ¶
type VoiceMessageStatisticsItem struct { // 离线语音DAU Dau *uint64 `json:"Dau,omitnil,omitempty" name:"Dau"` }