public class CreateCloudSliceTaskRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateCloudSliceTaskRequest() |
CreateCloudSliceTaskRequest(CreateCloudSliceTaskRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getPrivateMapKey()
Get TRTC room permission encryption string, which is required only when advanced permission control is enabled in the TRTC console.
|
Long |
getResourceExpiredHour()
Get Validity period for calling the API, which starts upon successful initiation of recording and obtaining the task ID.
|
String |
getRoomId()
Get [RoomId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.
|
Long |
getRoomIdType()
Get Type of the TRTC room number.
|
Long |
getSdkAppId()
Get [SdkAppId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.
|
SliceParams |
getSliceParams()
Get Control parameters for cloud slicing.
|
SliceStorageParams |
getSliceStorageParams()
Get Parameters for uploading cloud slicing files to the cloud storage.
|
String |
getUserId()
Get Chatbot's UserId, which is used to enter the room and initiate a slicing task.
|
String |
getUserSig()
Get Signature verification corresponding to the chatbot's UserId, namely, the UserId and UserSig serve as the login password for the chatbot to enter the room.
|
void |
setPrivateMapKey(String PrivateMapKey)
Set TRTC room permission encryption string, which is required only when advanced permission control is enabled in the TRTC console.
|
void |
setResourceExpiredHour(Long ResourceExpiredHour)
Set Validity period for calling the API, which starts upon successful initiation of recording and obtaining the task ID.
|
void |
setRoomId(String RoomId)
Set [RoomId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.
|
void |
setRoomIdType(Long RoomIdType)
Set Type of the TRTC room number.
|
void |
setSdkAppId(Long SdkAppId)
Set [SdkAppId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.
|
void |
setSliceParams(SliceParams SliceParams)
Set Control parameters for cloud slicing.
|
void |
setSliceStorageParams(SliceStorageParams SliceStorageParams)
Set Parameters for uploading cloud slicing files to the cloud storage.
|
void |
setUserId(String UserId)
Set Chatbot's UserId, which is used to enter the room and initiate a slicing task.
|
void |
setUserSig(String UserSig)
Set Signature verification corresponding to the chatbot's UserId, namely, the UserId and UserSig serve as the login password for the chatbot to enter the room.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateCloudSliceTaskRequest()
public CreateCloudSliceTaskRequest(CreateCloudSliceTaskRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- [SdkAppId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.public String getRoomId()
public void setRoomId(String RoomId)
RoomId
- [RoomId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.public String getUserId()
public void setUserId(String UserId)
UserId
- Chatbot's UserId, which is used to enter the room and initiate a slicing task. [*note] This UserId should not be duplicated with the UserIds of the current anchors or audience members in the room. If multiple slicing tasks are initiated in one room, the chatbot's UserId should also be unique; otherwise, the previous slicing task is interrupted. It is recommended to include the room ID as part of the UserId, ensuring that the chatbot's UserId is unique in the room.public String getUserSig()
public void setUserSig(String UserSig)
UserSig
- Signature verification corresponding to the chatbot's UserId, namely, the UserId and UserSig serve as the login password for the chatbot to enter the room. For specific calculation methods, see TRTC solution for calculating UserSig.public SliceParams getSliceParams()
public void setSliceParams(SliceParams SliceParams)
SliceParams
- Control parameters for cloud slicing.public SliceStorageParams getSliceStorageParams()
public void setSliceStorageParams(SliceStorageParams SliceStorageParams)
SliceStorageParams
- Parameters for uploading cloud slicing files to the cloud storage.public Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType
- Type of the TRTC room number. [*Note] It should be the same as the type of the RoomId corresponding to the recording room. 0: string type; 1: 32-bit integer type (default value). Example value: 1.public Long getResourceExpiredHour()
public void setResourceExpiredHour(Long ResourceExpiredHour)
ResourceExpiredHour
- Validity period for calling the API, which starts upon successful initiation of recording and obtaining the task ID. After the timeout, APIs such as querying, updating, or stopping cannot be called, but the recording task is not stopped. The unit of the parameter is hours, with a default value of 72 hours (3 days). The maximum value is 720 hours (30 days), while the minimum value is 6 hours. For example, if this parameter is not specified, the validity period for calling the querying, updating, and stopping recording APIs is 72 hours upon the successful start of recording. Example value: 24.public String getPrivateMapKey()
public void setPrivateMapKey(String PrivateMapKey)
PrivateMapKey
- TRTC room permission encryption string, which is required only when advanced permission control is enabled in the TRTC console. After enabling, the TRTC backend service system verifies a "permission ticket" called [PrivateMapKey], which contains an encrypted RoomId and an encrypted "permission bit list". Since the PrivateMapKey includes the RoomId, the specified room cannot be entered if only UserSig is provided and PrivateMapKey is not provided. Example value: eJw1jcEKgkAURX9FZlvY****fL9rfNX4_.Copyright © 2025. All rights reserved.