Documentation ¶
Index ¶
- Constants
- type ApplicationBaseInfo
- type ApplyConcurrentRequest
- type ApplyConcurrentRequestParams
- type ApplyConcurrentResponse
- type ApplyConcurrentResponseParams
- type Client
- func (c *Client) ApplyConcurrent(request *ApplyConcurrentRequest) (response *ApplyConcurrentResponse, err error)
- func (c *Client) ApplyConcurrentWithContext(ctx context.Context, request *ApplyConcurrentRequest) (response *ApplyConcurrentResponse, err error)
- func (c *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
- func (c *Client) CreateApplicationSnapshot(request *CreateApplicationSnapshotRequest) (response *CreateApplicationSnapshotResponse, err error)
- func (c *Client) CreateApplicationSnapshotWithContext(ctx context.Context, request *CreateApplicationSnapshotRequest) (response *CreateApplicationSnapshotResponse, err error)
- func (c *Client) CreateApplicationVersion(request *CreateApplicationVersionRequest) (response *CreateApplicationVersionResponse, err error)
- func (c *Client) CreateApplicationVersionWithContext(ctx context.Context, request *CreateApplicationVersionRequest) (response *CreateApplicationVersionResponse, err error)
- func (c *Client) CreateApplicationWithContext(ctx context.Context, request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
- func (c *Client) CreateSession(request *CreateSessionRequest) (response *CreateSessionResponse, err error)
- func (c *Client) CreateSessionWithContext(ctx context.Context, request *CreateSessionRequest) (response *CreateSessionResponse, err error)
- func (c *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
- func (c *Client) DeleteApplicationVersion(request *DeleteApplicationVersionRequest) (response *DeleteApplicationVersionResponse, err error)
- func (c *Client) DeleteApplicationVersionWithContext(ctx context.Context, request *DeleteApplicationVersionRequest) (response *DeleteApplicationVersionResponse, err error)
- func (c *Client) DeleteApplicationWithContext(ctx context.Context, request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
- func (c *Client) DescribeApplicationFileInfo(request *DescribeApplicationFileInfoRequest) (response *DescribeApplicationFileInfoResponse, err error)
- func (c *Client) DescribeApplicationFileInfoWithContext(ctx context.Context, request *DescribeApplicationFileInfoRequest) (response *DescribeApplicationFileInfoResponse, 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) DescribeApplicationPathList(request *DescribeApplicationPathListRequest) (response *DescribeApplicationPathListResponse, err error)
- func (c *Client) DescribeApplicationPathListWithContext(ctx context.Context, request *DescribeApplicationPathListRequest) (response *DescribeApplicationPathListResponse, err error)
- func (c *Client) DescribeApplicationStatus(request *DescribeApplicationStatusRequest) (response *DescribeApplicationStatusResponse, err error)
- func (c *Client) DescribeApplicationStatusWithContext(ctx context.Context, request *DescribeApplicationStatusRequest) (response *DescribeApplicationStatusResponse, err error)
- func (c *Client) DescribeApplicationVersion(request *DescribeApplicationVersionRequest) (response *DescribeApplicationVersionResponse, err error)
- func (c *Client) DescribeApplicationVersionWithContext(ctx context.Context, request *DescribeApplicationVersionRequest) (response *DescribeApplicationVersionResponse, err error)
- func (c *Client) DescribeConcurrentCount(request *DescribeConcurrentCountRequest) (response *DescribeConcurrentCountResponse, err error)
- func (c *Client) DescribeConcurrentCountWithContext(ctx context.Context, request *DescribeConcurrentCountRequest) (response *DescribeConcurrentCountResponse, err error)
- func (c *Client) DescribeCosCredential(request *DescribeCosCredentialRequest) (response *DescribeCosCredentialResponse, err error)
- func (c *Client) DescribeCosCredentialWithContext(ctx context.Context, request *DescribeCosCredentialRequest) (response *DescribeCosCredentialResponse, err error)
- func (c *Client) DestroySession(request *DestroySessionRequest) (response *DestroySessionResponse, err error)
- func (c *Client) DestroySessionWithContext(ctx context.Context, request *DestroySessionRequest) (response *DestroySessionResponse, err error)
- func (c *Client) ModifyApplicationBaseInfo(request *ModifyApplicationBaseInfoRequest) (response *ModifyApplicationBaseInfoResponse, err error)
- func (c *Client) ModifyApplicationBaseInfoWithContext(ctx context.Context, request *ModifyApplicationBaseInfoRequest) (response *ModifyApplicationBaseInfoResponse, err error)
- func (c *Client) ModifyApplicationVersion(request *ModifyApplicationVersionRequest) (response *ModifyApplicationVersionResponse, err error)
- func (c *Client) ModifyApplicationVersionWithContext(ctx context.Context, request *ModifyApplicationVersionRequest) (response *ModifyApplicationVersionResponse, err error)
- func (c *Client) ModifyMobileApplicationInfo(request *ModifyMobileApplicationInfoRequest) (response *ModifyMobileApplicationInfoResponse, err error)
- func (c *Client) ModifyMobileApplicationInfoWithContext(ctx context.Context, request *ModifyMobileApplicationInfoRequest) (response *ModifyMobileApplicationInfoResponse, err error)
- func (c *Client) SetApplicationVersionOnline(request *SetApplicationVersionOnlineRequest) (response *SetApplicationVersionOnlineResponse, err error)
- func (c *Client) SetApplicationVersionOnlineWithContext(ctx context.Context, request *SetApplicationVersionOnlineRequest) (response *SetApplicationVersionOnlineResponse, err error)
- func (c *Client) StartPublishStream(request *StartPublishStreamRequest) (response *StartPublishStreamResponse, err error)
- func (c *Client) StartPublishStreamWithContext(ctx context.Context, request *StartPublishStreamRequest) (response *StartPublishStreamResponse, err error)
- func (c *Client) StartPublishStreamWithURL(request *StartPublishStreamWithURLRequest) (response *StartPublishStreamWithURLResponse, err error)
- func (c *Client) StartPublishStreamWithURLWithContext(ctx context.Context, request *StartPublishStreamWithURLRequest) (response *StartPublishStreamWithURLResponse, err error)
- func (c *Client) StopPublishStream(request *StopPublishStreamRequest) (response *StopPublishStreamResponse, err error)
- func (c *Client) StopPublishStreamWithContext(ctx context.Context, request *StopPublishStreamRequest) (response *StopPublishStreamResponse, err error)
- type CreateApplicationRequest
- type CreateApplicationRequestParams
- type CreateApplicationResponse
- type CreateApplicationResponseParams
- type CreateApplicationSnapshotRequest
- type CreateApplicationSnapshotRequestParams
- type CreateApplicationSnapshotResponse
- type CreateApplicationSnapshotResponseParams
- type CreateApplicationVersionRequest
- type CreateApplicationVersionRequestParams
- type CreateApplicationVersionResponse
- type CreateApplicationVersionResponseParams
- type CreateSessionRequest
- type CreateSessionRequestParams
- type CreateSessionResponse
- type CreateSessionResponseParams
- type DeleteApplicationRequest
- type DeleteApplicationRequestParams
- type DeleteApplicationResponse
- type DeleteApplicationResponseParams
- type DeleteApplicationVersionRequest
- type DeleteApplicationVersionRequestParams
- type DeleteApplicationVersionResponse
- type DeleteApplicationVersionResponseParams
- type DescribeApplicationFileInfoRequest
- type DescribeApplicationFileInfoRequestParams
- type DescribeApplicationFileInfoResponse
- type DescribeApplicationFileInfoResponseParams
- type DescribeApplicationListRequest
- type DescribeApplicationListRequestParams
- type DescribeApplicationListResponse
- type DescribeApplicationListResponseParams
- type DescribeApplicationPathListRequest
- type DescribeApplicationPathListRequestParams
- type DescribeApplicationPathListResponse
- type DescribeApplicationPathListResponseParams
- type DescribeApplicationStatusRequest
- type DescribeApplicationStatusRequestParams
- type DescribeApplicationStatusResponse
- type DescribeApplicationStatusResponseParams
- type DescribeApplicationVersionRequest
- type DescribeApplicationVersionRequestParams
- type DescribeApplicationVersionResponse
- type DescribeApplicationVersionResponseParams
- type DescribeConcurrentCountRequest
- type DescribeConcurrentCountRequestParams
- type DescribeConcurrentCountResponse
- type DescribeConcurrentCountResponseParams
- type DescribeCosCredentialRequest
- type DescribeCosCredentialRequestParams
- type DescribeCosCredentialResponse
- type DescribeCosCredentialResponseParams
- type DestroySessionRequest
- type DestroySessionRequestParams
- type DestroySessionResponse
- type DestroySessionResponseParams
- type Filter
- type ModifyApplicationBaseInfoRequest
- type ModifyApplicationBaseInfoRequestParams
- type ModifyApplicationBaseInfoResponse
- type ModifyApplicationBaseInfoResponseParams
- type ModifyApplicationVersionRequest
- type ModifyApplicationVersionRequestParams
- type ModifyApplicationVersionResponse
- type ModifyApplicationVersionResponseParams
- type ModifyMobileApplicationInfoRequest
- type ModifyMobileApplicationInfoRequestParams
- type ModifyMobileApplicationInfoResponse
- type ModifyMobileApplicationInfoResponseParams
- type SetApplicationVersionOnlineRequest
- type SetApplicationVersionOnlineRequestParams
- type SetApplicationVersionOnlineResponse
- type SetApplicationVersionOnlineResponseParams
- type StartPublishStreamRequest
- type StartPublishStreamRequestParams
- type StartPublishStreamResponse
- type StartPublishStreamResponseParams
- type StartPublishStreamWithURLRequest
- type StartPublishStreamWithURLRequestParams
- type StartPublishStreamWithURLResponse
- type StartPublishStreamWithURLResponseParams
- type StopPublishStreamRequest
- type StopPublishStreamRequestParams
- type StopPublishStreamResponse
- type StopPublishStreamResponseParams
- type UserApplicationFileInfo
- type UserApplicationInfo
- type UserApplicationStatus
- type UserApplicationStore
- type UserApplicationVersion
- type UserMobileApplicationInfo
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // Application creation failed. FAILEDOPERATION_APPLICATIONCREATEFAIL = "FailedOperation.ApplicationCreateFail" // Application lock failed. FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" // Application does not exist. FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" // Concurrency quota not requested or request timed out. FAILEDOPERATION_LOCKTIMEOUT = "FailedOperation.LockTimeout" // Failed to find the path. FAILEDOPERATION_PATHNOTFOUND = "FailedOperation.PathNotFound" // Processing timed out. FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" // The request of the current `UserId` is being processed. Try again later. FAILEDOPERATION_SLOWDOWN = "FailedOperation.SlowDown" // Version lock failed. FAILEDOPERATION_VERSIONLOCKFAIL = "FailedOperation.VersionLockFail" // Internal error. INTERNALERROR = "InternalError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // JSON parsing error. INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // [Multi-person Interaction] The number of persons corresponding to a role exceeds the limit. LIMITEXCEEDED_ROLE = "LimitExceeded.Role" // Operation denied. OPERATIONDENIED = "OperationDenied" // The number of applications exceeds the limit. OPERATIONDENIED_APPLICATIONLIMITEXCEEDED = "OperationDenied.ApplicationLimitExceeded" // Version is being created. OPERATIONDENIED_VERSIONCREATING = "OperationDenied.VersionCreating" // The number of versions exceeds the limit. OPERATIONDENIED_VERSIONLIMITEXCEEDED = "OperationDenied.VersionLimitExceeded" // No available concurrency quota. RESOURCENOTFOUND_NOIDLE = "ResourceNotFound.NoIdle" // Unable to find the session. RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound" // Failed to access the concurrency instance. RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed" // It is being initialized. RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" // The session is being terminated. UNSUPPORTEDOPERATION_STOPPING = "UnsupportedOperation.Stopping" )
const APIVersion = "2022-01-10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationBaseInfo ¶
type ApplicationBaseInfo struct { // Application window usage mode (ApplicationDesktop: Captures the entire desktop; ApplicationWindow: Captures only the application window). WindowUseType *string `json:"WindowUseType,omitnil,omitempty" name:"WindowUseType"` // Application window name. WindowName *string `json:"WindowName,omitnil,omitempty" name:"WindowName"` // Application window class name. WindowClassName *string `json:"WindowClassName,omitnil,omitempty" name:"WindowClassName"` // Application window capture mode (HOOK: default mode; DDA_CUT: compatible mode). WindowCaptureMode *string `json:"WindowCaptureMode,omitnil,omitempty" name:"WindowCaptureMode"` }
type ApplyConcurrentRequest ¶
type ApplyConcurrentRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Public IP address of the user's client, which is used for nearby scheduling. UserIp *string `json:"UserIp,omitnil,omitempty" name:"UserIp"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Application version ID. If the application of the current version is requested, you do not need to fill in this field. If the application of the other versions is requested, you need to specify the version through this field. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` // Application ID, which is used only by the multi-application project to specify applications. For a single-application project, this parameter is ignored, and the application bound to the project will be used. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
func NewApplyConcurrentRequest ¶
func NewApplyConcurrentRequest() (request *ApplyConcurrentRequest)
func (*ApplyConcurrentRequest) FromJsonString ¶
func (r *ApplyConcurrentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConcurrentRequest) ToJsonString ¶
func (r *ApplyConcurrentRequest) ToJsonString() string
type ApplyConcurrentRequestParams ¶
type ApplyConcurrentRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Public IP address of the user's client, which is used for nearby scheduling. UserIp *string `json:"UserIp,omitnil,omitempty" name:"UserIp"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Application version ID. If the application of the current version is requested, you do not need to fill in this field. If the application of the other versions is requested, you need to specify the version through this field. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` // Application ID, which is used only by the multi-application project to specify applications. For a single-application project, this parameter is ignored, and the application bound to the project will be used. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
Predefined struct for user
type ApplyConcurrentResponse ¶
type ApplyConcurrentResponse struct { *tchttp.BaseResponse Response *ApplyConcurrentResponseParams `json:"Response"` }
func NewApplyConcurrentResponse ¶
func NewApplyConcurrentResponse() (response *ApplyConcurrentResponse)
func (*ApplyConcurrentResponse) FromJsonString ¶
func (r *ApplyConcurrentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConcurrentResponse) ToJsonString ¶
func (r *ApplyConcurrentResponse) ToJsonString() string
type ApplyConcurrentResponseParams ¶
type ApplyConcurrentResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyConcurrent ¶
func (c *Client) ApplyConcurrent(request *ApplyConcurrentRequest) (response *ApplyConcurrentResponse, err error)
ApplyConcurrent This API is used to request concurrency quota. The timeout period of the API is 20 seconds.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_NOIDLE = "ResourceNotFound.NoIdle" RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" UNSUPPORTEDOPERATION_STOPPING = "UnsupportedOperation.Stopping"
func (*Client) ApplyConcurrentWithContext ¶
func (c *Client) ApplyConcurrentWithContext(ctx context.Context, request *ApplyConcurrentRequest) (response *ApplyConcurrentResponse, err error)
ApplyConcurrent This API is used to request concurrency quota. The timeout period of the API is 20 seconds.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_NOIDLE = "ResourceNotFound.NoIdle" RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" UNSUPPORTEDOPERATION_STOPPING = "UnsupportedOperation.Stopping"
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
CreateApplication This API is used to create an application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONCREATEFAIL = "FailedOperation.ApplicationCreateFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_APPLICATIONLIMITEXCEEDED = "OperationDenied.ApplicationLimitExceeded"
func (*Client) CreateApplicationSnapshot ¶
func (c *Client) CreateApplicationSnapshot(request *CreateApplicationSnapshotRequest) (response *CreateApplicationSnapshotResponse, err error)
CreateApplicationSnapshot This API is used to create a cloud application version snapshot.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateApplicationSnapshotWithContext ¶
func (c *Client) CreateApplicationSnapshotWithContext(ctx context.Context, request *CreateApplicationSnapshotRequest) (response *CreateApplicationSnapshotResponse, err error)
CreateApplicationSnapshot This API is used to create a cloud application version snapshot.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateApplicationVersion ¶
func (c *Client) CreateApplicationVersion(request *CreateApplicationVersionRequest) (response *CreateApplicationVersionResponse, err error)
CreateApplicationVersion This API is used to create a cloud application version.
error code that may be returned:
FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_VERSIONCREATING = "OperationDenied.VersionCreating" OPERATIONDENIED_VERSIONLIMITEXCEEDED = "OperationDenied.VersionLimitExceeded"
func (*Client) CreateApplicationVersionWithContext ¶
func (c *Client) CreateApplicationVersionWithContext(ctx context.Context, request *CreateApplicationVersionRequest) (response *CreateApplicationVersionResponse, err error)
CreateApplicationVersion This API is used to create a cloud application version.
error code that may be returned:
FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_VERSIONCREATING = "OperationDenied.VersionCreating" OPERATIONDENIED_VERSIONLIMITEXCEEDED = "OperationDenied.VersionLimitExceeded"
func (*Client) CreateApplicationWithContext ¶
func (c *Client) CreateApplicationWithContext(ctx context.Context, request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
CreateApplication This API is used to create an application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONCREATEFAIL = "FailedOperation.ApplicationCreateFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_APPLICATIONLIMITEXCEEDED = "OperationDenied.ApplicationLimitExceeded"
func (*Client) CreateSession ¶
func (c *Client) CreateSession(request *CreateSessionRequest) (response *CreateSessionResponse, err error)
CreateSession This API is used to create a session. The timeout period of the API is 5 seconds.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOCKTIMEOUT = "FailedOperation.LockTimeout" FAILEDOPERATION_PATHNOTFOUND = "FailedOperation.PathNotFound" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" FAILEDOPERATION_SLOWDOWN = "FailedOperation.SlowDown" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_ROLE = "LimitExceeded.Role" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_NOIDLE = "ResourceNotFound.NoIdle" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound" RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" UNSUPPORTEDOPERATION_STOPPING = "UnsupportedOperation.Stopping"
func (*Client) CreateSessionWithContext ¶
func (c *Client) CreateSessionWithContext(ctx context.Context, request *CreateSessionRequest) (response *CreateSessionResponse, err error)
CreateSession This API is used to create a session. The timeout period of the API is 5 seconds.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOCKTIMEOUT = "FailedOperation.LockTimeout" FAILEDOPERATION_PATHNOTFOUND = "FailedOperation.PathNotFound" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" FAILEDOPERATION_SLOWDOWN = "FailedOperation.SlowDown" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_ROLE = "LimitExceeded.Role" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_NOIDLE = "ResourceNotFound.NoIdle" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound" RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" UNSUPPORTEDOPERATION_STOPPING = "UnsupportedOperation.Stopping"
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
DeleteApplication This API is used to delete a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" FAILEDOPERATION_VERSIONLOCKFAIL = "FailedOperation.VersionLockFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteApplicationVersion ¶
func (c *Client) DeleteApplicationVersion(request *DeleteApplicationVersionRequest) (response *DeleteApplicationVersionResponse, err error)
DeleteApplicationVersion This API is used to delete a cloud application version.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" FAILEDOPERATION_VERSIONLOCKFAIL = "FailedOperation.VersionLockFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteApplicationVersionWithContext ¶
func (c *Client) DeleteApplicationVersionWithContext(ctx context.Context, request *DeleteApplicationVersionRequest) (response *DeleteApplicationVersionResponse, err error)
DeleteApplicationVersion This API is used to delete a cloud application version.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" FAILEDOPERATION_VERSIONLOCKFAIL = "FailedOperation.VersionLockFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteApplicationWithContext ¶
func (c *Client) DeleteApplicationWithContext(ctx context.Context, request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
DeleteApplication This API is used to delete a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" FAILEDOPERATION_VERSIONLOCKFAIL = "FailedOperation.VersionLockFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationFileInfo ¶
func (c *Client) DescribeApplicationFileInfo(request *DescribeApplicationFileInfoRequest) (response *DescribeApplicationFileInfoResponse, err error)
DescribeApplicationFileInfo This API is used to query application file information.
error code that may be returned:
FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApplicationFileInfoWithContext ¶
func (c *Client) DescribeApplicationFileInfoWithContext(ctx context.Context, request *DescribeApplicationFileInfoRequest) (response *DescribeApplicationFileInfoResponse, err error)
DescribeApplicationFileInfo This API is used to query application file information.
error code that may be returned:
FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApplicationList ¶
func (c *Client) DescribeApplicationList(request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
DescribeApplicationList This API is used to query the cloud application list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationListWithContext ¶
func (c *Client) DescribeApplicationListWithContext(ctx context.Context, request *DescribeApplicationListRequest) (response *DescribeApplicationListResponse, err error)
DescribeApplicationList This API is used to query the cloud application list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationPathList ¶
func (c *Client) DescribeApplicationPathList(request *DescribeApplicationPathListRequest) (response *DescribeApplicationPathListResponse, err error)
DescribeApplicationPathList This API is used to query the cloud application startup path list.
error code that may be returned:
FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApplicationPathListWithContext ¶
func (c *Client) DescribeApplicationPathListWithContext(ctx context.Context, request *DescribeApplicationPathListRequest) (response *DescribeApplicationPathListResponse, err error)
DescribeApplicationPathList This API is used to query the cloud application startup path list.
error code that may be returned:
FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApplicationStatus ¶
func (c *Client) DescribeApplicationStatus(request *DescribeApplicationStatusRequest) (response *DescribeApplicationStatusResponse, err error)
DescribeApplicationStatus This API is used to query the running status of a cloud application and update status information.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationStatusWithContext ¶
func (c *Client) DescribeApplicationStatusWithContext(ctx context.Context, request *DescribeApplicationStatusRequest) (response *DescribeApplicationStatusResponse, err error)
DescribeApplicationStatus This API is used to query the running status of a cloud application and update status information.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationVersion ¶
func (c *Client) DescribeApplicationVersion(request *DescribeApplicationVersionRequest) (response *DescribeApplicationVersionResponse, err error)
DescribeApplicationVersion This API is used to query the version information of a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeApplicationVersionWithContext ¶
func (c *Client) DescribeApplicationVersionWithContext(ctx context.Context, request *DescribeApplicationVersionRequest) (response *DescribeApplicationVersionResponse, err error)
DescribeApplicationVersion This API is used to query the version information of a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeConcurrentCount ¶
func (c *Client) DescribeConcurrentCount(request *DescribeConcurrentCountRequest) (response *DescribeConcurrentCountResponse, err error)
DescribeConcurrentCount This API is used to obtain the concurrency count.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeConcurrentCountWithContext ¶
func (c *Client) DescribeConcurrentCountWithContext(ctx context.Context, request *DescribeConcurrentCountRequest) (response *DescribeConcurrentCountResponse, err error)
DescribeConcurrentCount This API is used to obtain the concurrency count.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeCosCredential ¶
func (c *Client) DescribeCosCredential(request *DescribeCosCredentialRequest) (response *DescribeCosCredentialResponse, err error)
DescribeCosCredential This API is used to query COS key information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeCosCredentialWithContext ¶
func (c *Client) DescribeCosCredentialWithContext(ctx context.Context, request *DescribeCosCredentialRequest) (response *DescribeCosCredentialResponse, err error)
DescribeCosCredential This API is used to query COS key information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) DestroySession ¶
func (c *Client) DestroySession(request *DestroySessionRequest) (response *DestroySessionResponse, err error)
DestroySession This API is used to terminate a session. If cloud-based streaming has been enabled for this session, the cloud-based streaming will end upon session termination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed"
func (*Client) DestroySessionWithContext ¶
func (c *Client) DestroySessionWithContext(ctx context.Context, request *DestroySessionRequest) (response *DestroySessionResponse, err error)
DestroySession This API is used to terminate a session. If cloud-based streaming has been enabled for this session, the cloud-based streaming will end upon session termination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" INTERNALERROR = "InternalError" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed"
func (*Client) ModifyApplicationBaseInfo ¶
func (c *Client) ModifyApplicationBaseInfo(request *ModifyApplicationBaseInfoRequest) (response *ModifyApplicationBaseInfoResponse, err error)
ModifyApplicationBaseInfo This API is used to modify basic information of a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ModifyApplicationBaseInfoWithContext ¶
func (c *Client) ModifyApplicationBaseInfoWithContext(ctx context.Context, request *ModifyApplicationBaseInfoRequest) (response *ModifyApplicationBaseInfoResponse, err error)
ModifyApplicationBaseInfo This API is used to modify basic information of a cloud application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ModifyApplicationVersion ¶
func (c *Client) ModifyApplicationVersion(request *ModifyApplicationVersionRequest) (response *ModifyApplicationVersionResponse, err error)
ModifyApplicationVersion This API is used to modify the version information of a cloud application.
error code that may be returned:
FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyApplicationVersionWithContext ¶
func (c *Client) ModifyApplicationVersionWithContext(ctx context.Context, request *ModifyApplicationVersionRequest) (response *ModifyApplicationVersionResponse, err error)
ModifyApplicationVersion This API is used to modify the version information of a cloud application.
error code that may be returned:
FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyMobileApplicationInfo ¶
func (c *Client) ModifyMobileApplicationInfo(request *ModifyMobileApplicationInfoRequest) (response *ModifyMobileApplicationInfoResponse, err error)
ModifyMobileApplicationInfo This API is used to modify the mobile application data.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ModifyMobileApplicationInfoWithContext ¶
func (c *Client) ModifyMobileApplicationInfoWithContext(ctx context.Context, request *ModifyMobileApplicationInfoRequest) (response *ModifyMobileApplicationInfoResponse, err error)
ModifyMobileApplicationInfo This API is used to modify the mobile application data.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) SetApplicationVersionOnline ¶
func (c *Client) SetApplicationVersionOnline(request *SetApplicationVersionOnlineRequest) (response *SetApplicationVersionOnlineResponse, err error)
SetApplicationVersionOnline This API is used to launch an application version.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) SetApplicationVersionOnlineWithContext ¶
func (c *Client) SetApplicationVersionOnlineWithContext(ctx context.Context, request *SetApplicationVersionOnlineRequest) (response *SetApplicationVersionOnlineResponse, err error)
SetApplicationVersionOnline This API is used to launch an application version.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_APPLICATIONLOCKFAIL = "FailedOperation.ApplicationLockFail" FAILEDOPERATION_APPLICATIONNOTFIND = "FailedOperation.ApplicationNotFind" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) StartPublishStream ¶
func (c *Client) StartPublishStream(request *StartPublishStreamRequest) (response *StartPublishStreamResponse, err error)
StartPublishStream This API is used to start cloud-based streaming. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
func (*Client) StartPublishStreamWithContext ¶
func (c *Client) StartPublishStreamWithContext(ctx context.Context, request *StartPublishStreamRequest) (response *StartPublishStreamResponse, err error)
StartPublishStream This API is used to start cloud-based streaming. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
func (*Client) StartPublishStreamWithURL ¶
func (c *Client) StartPublishStreamWithURL(request *StartPublishStreamWithURLRequest) (response *StartPublishStreamWithURLResponse, err error)
StartPublishStreamWithURL This API is used to start cloud-based streaming to the specified URL. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9. This streaming method will be billed separately. For details about the billing method, see [Charging for Streaming to Specified URL](https://intl.cloud.tencent.com/document/product/1547/72168?from_cn_redirect=1#98ac188a-d122-4caf-88be-05268ecefdf6).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
func (*Client) StartPublishStreamWithURLWithContext ¶
func (c *Client) StartPublishStreamWithURLWithContext(ctx context.Context, request *StartPublishStreamWithURLRequest) (response *StartPublishStreamWithURLResponse, err error)
StartPublishStreamWithURL This API is used to start cloud-based streaming to the specified URL. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9. This streaming method will be billed separately. For details about the billing method, see [Charging for Streaming to Specified URL](https://intl.cloud.tencent.com/document/product/1547/72168?from_cn_redirect=1#98ac188a-d122-4caf-88be-05268ecefdf6).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
func (*Client) StopPublishStream ¶
func (c *Client) StopPublishStream(request *StopPublishStreamRequest) (response *StopPublishStreamResponse, err error)
StopPublishStream This API is used to stop cloud-based streaming.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
func (*Client) StopPublishStreamWithContext ¶
func (c *Client) StopPublishStreamWithContext(ctx context.Context, request *StopPublishStreamRequest) (response *StopPublishStreamResponse, err error)
StopPublishStream This API is used to stop cloud-based streaming.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound"
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *tchttp.BaseRequest // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application type (Application3D: cloud 3D; ApplicationXR: cloud XR; ApplicationAPK: cloud APK). ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` }
func NewCreateApplicationRequest ¶
func NewCreateApplicationRequest() (request *CreateApplicationRequest)
func (*CreateApplicationRequest) FromJsonString ¶
func (r *CreateApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationRequest) ToJsonString ¶
func (r *CreateApplicationRequest) ToJsonString() string
type CreateApplicationRequestParams ¶
type CreateApplicationRequestParams struct { // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application type (Application3D: cloud 3D; ApplicationXR: cloud XR; ApplicationAPK: cloud APK). ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` }
Predefined struct for user
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { *tchttp.BaseResponse Response *CreateApplicationResponseParams `json:"Response"` }
func NewCreateApplicationResponse ¶
func NewCreateApplicationResponse() (response *CreateApplicationResponse)
func (*CreateApplicationResponse) FromJsonString ¶
func (r *CreateApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationResponse) ToJsonString ¶
func (r *CreateApplicationResponse) ToJsonString() string
type CreateApplicationResponseParams ¶
type CreateApplicationResponseParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationSnapshotRequest ¶
type CreateApplicationSnapshotRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application download address (if the version is created by file upload, this parameter is an empty string). ApplicationDownloadUrl *string `json:"ApplicationDownloadUrl,omitnil,omitempty" name:"ApplicationDownloadUrl"` }
func NewCreateApplicationSnapshotRequest ¶
func NewCreateApplicationSnapshotRequest() (request *CreateApplicationSnapshotRequest)
func (*CreateApplicationSnapshotRequest) FromJsonString ¶
func (r *CreateApplicationSnapshotRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationSnapshotRequest) ToJsonString ¶
func (r *CreateApplicationSnapshotRequest) ToJsonString() string
type CreateApplicationSnapshotRequestParams ¶
type CreateApplicationSnapshotRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application download address (if the version is created by file upload, this parameter is an empty string). ApplicationDownloadUrl *string `json:"ApplicationDownloadUrl,omitnil,omitempty" name:"ApplicationDownloadUrl"` }
Predefined struct for user
type CreateApplicationSnapshotResponse ¶
type CreateApplicationSnapshotResponse struct { *tchttp.BaseResponse Response *CreateApplicationSnapshotResponseParams `json:"Response"` }
func NewCreateApplicationSnapshotResponse ¶
func NewCreateApplicationSnapshotResponse() (response *CreateApplicationSnapshotResponse)
func (*CreateApplicationSnapshotResponse) FromJsonString ¶
func (r *CreateApplicationSnapshotResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationSnapshotResponse) ToJsonString ¶
func (r *CreateApplicationSnapshotResponse) ToJsonString() string
type CreateApplicationSnapshotResponseParams ¶
type CreateApplicationSnapshotResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationVersionRequest ¶
type CreateApplicationVersionRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file name (desktop applications should be files in zip/rar/7z format, and mobile applications should be files in apk format). ApplicationFileName *string `json:"ApplicationFileName,omitnil,omitempty" name:"ApplicationFileName"` // Region for application version distribution. ApplicationVersionRegions []*string `json:"ApplicationVersionRegions,omitnil,omitempty" name:"ApplicationVersionRegions"` // Application update method. ApplicationVersionUpdateMode *string `json:"ApplicationVersionUpdateMode,omitnil,omitempty" name:"ApplicationVersionUpdateMode"` }
func NewCreateApplicationVersionRequest ¶
func NewCreateApplicationVersionRequest() (request *CreateApplicationVersionRequest)
func (*CreateApplicationVersionRequest) FromJsonString ¶
func (r *CreateApplicationVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationVersionRequest) ToJsonString ¶
func (r *CreateApplicationVersionRequest) ToJsonString() string
type CreateApplicationVersionRequestParams ¶
type CreateApplicationVersionRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file name (desktop applications should be files in zip/rar/7z format, and mobile applications should be files in apk format). ApplicationFileName *string `json:"ApplicationFileName,omitnil,omitempty" name:"ApplicationFileName"` // Region for application version distribution. ApplicationVersionRegions []*string `json:"ApplicationVersionRegions,omitnil,omitempty" name:"ApplicationVersionRegions"` // Application update method. ApplicationVersionUpdateMode *string `json:"ApplicationVersionUpdateMode,omitnil,omitempty" name:"ApplicationVersionUpdateMode"` }
Predefined struct for user
type CreateApplicationVersionResponse ¶
type CreateApplicationVersionResponse struct { *tchttp.BaseResponse Response *CreateApplicationVersionResponseParams `json:"Response"` }
func NewCreateApplicationVersionResponse ¶
func NewCreateApplicationVersionResponse() (response *CreateApplicationVersionResponse)
func (*CreateApplicationVersionResponse) FromJsonString ¶
func (r *CreateApplicationVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationVersionResponse) ToJsonString ¶
func (r *CreateApplicationVersionResponse) ToJsonString() string
type CreateApplicationVersionResponseParams ¶
type CreateApplicationVersionResponseParams struct { // Application version data (new). Version *UserApplicationVersion `json:"Version,omitnil,omitempty" name:"Version"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSessionRequest ¶
type CreateSessionRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Public IP address of the user's client, which is used for nearby scheduling. UserIp *string `json:"UserIp,omitnil,omitempty" name:"UserIp"` // Client-side session information, which is obtained from the SDK. If `RunMode` is `RunWithoutClient`, this parameter can be empty. ClientSession *string `json:"ClientSession,omitnil,omitempty" name:"ClientSession"` // On-cloud running mode.RunWithoutClient: Keeps the application running on the cloud even when there are no client connections.Empty string (default): Keeps the application running on the cloud only when there are client connections. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Application startup parameters.This parameter is effective for multi-application projects. // This parameter is effective for single-application projects with prelaunch disabled.This parameter is ineffective for single-application projects with prelaunch enabled. // Note: When this parameter is effective, it will be appended to the startup parameters of application or project configuration in the console. // For example, for a single-application project with prelaunch disabled, if its startup parameter `bar` is `0` for project configuration in the console and the `ApplicationParameters` parameter `foo` is `1`, the actual application startup parameters will be `bar=0 and foo=1`. ApplicationParameters *string `json:"ApplicationParameters,omitnil,omitempty" name:"ApplicationParameters"` // [Multi-person Interaction] Homeowner's user ID, which is required in multi-person interaction mode. // If the user is the homeowner, HostUserID must be the same as UserID. // If the user is not the homeowner, HostUserID must be the homeowner's HostUserID. HostUserId *string `json:"HostUserId,omitnil,omitempty" name:"HostUserId"` // [Multi-person Interaction] Role. // Player: a user who can operate the application via keyboard, mouse, etc. // Viewer: a user who can only watch the video in the room but cannot operate the application. Role *string `json:"Role,omitnil,omitempty" name:"Role"` }
func NewCreateSessionRequest ¶
func NewCreateSessionRequest() (request *CreateSessionRequest)
func (*CreateSessionRequest) FromJsonString ¶
func (r *CreateSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSessionRequest) ToJsonString ¶
func (r *CreateSessionRequest) ToJsonString() string
type CreateSessionRequestParams ¶
type CreateSessionRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Public IP address of the user's client, which is used for nearby scheduling. UserIp *string `json:"UserIp,omitnil,omitempty" name:"UserIp"` // Client-side session information, which is obtained from the SDK. If `RunMode` is `RunWithoutClient`, this parameter can be empty. ClientSession *string `json:"ClientSession,omitnil,omitempty" name:"ClientSession"` // On-cloud running mode.RunWithoutClient: Keeps the application running on the cloud even when there are no client connections.Empty string (default): Keeps the application running on the cloud only when there are client connections. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Application startup parameters.This parameter is effective for multi-application projects. // This parameter is effective for single-application projects with prelaunch disabled.This parameter is ineffective for single-application projects with prelaunch enabled. // Note: When this parameter is effective, it will be appended to the startup parameters of application or project configuration in the console. // For example, for a single-application project with prelaunch disabled, if its startup parameter `bar` is `0` for project configuration in the console and the `ApplicationParameters` parameter `foo` is `1`, the actual application startup parameters will be `bar=0 and foo=1`. ApplicationParameters *string `json:"ApplicationParameters,omitnil,omitempty" name:"ApplicationParameters"` // [Multi-person Interaction] Homeowner's user ID, which is required in multi-person interaction mode. // If the user is the homeowner, HostUserID must be the same as UserID. // If the user is not the homeowner, HostUserID must be the homeowner's HostUserID. HostUserId *string `json:"HostUserId,omitnil,omitempty" name:"HostUserId"` // [Multi-person Interaction] Role. // Player: a user who can operate the application via keyboard, mouse, etc. // Viewer: a user who can only watch the video in the room but cannot operate the application. Role *string `json:"Role,omitnil,omitempty" name:"Role"` }
Predefined struct for user
type CreateSessionResponse ¶
type CreateSessionResponse struct { *tchttp.BaseResponse Response *CreateSessionResponseParams `json:"Response"` }
func NewCreateSessionResponse ¶
func NewCreateSessionResponse() (response *CreateSessionResponse)
func (*CreateSessionResponse) FromJsonString ¶
func (r *CreateSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSessionResponse) ToJsonString ¶
func (r *CreateSessionResponse) ToJsonString() string
type CreateSessionResponseParams ¶
type CreateSessionResponseParams struct { // Server-side session information, which is returned to the SDK. ServerSession *string `json:"ServerSession,omitnil,omitempty" name:"ServerSession"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
func NewDeleteApplicationRequest ¶
func NewDeleteApplicationRequest() (request *DeleteApplicationRequest)
func (*DeleteApplicationRequest) FromJsonString ¶
func (r *DeleteApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationRequest) ToJsonString ¶
func (r *DeleteApplicationRequest) ToJsonString() string
type DeleteApplicationRequestParams ¶
type DeleteApplicationRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
Predefined struct for user
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { *tchttp.BaseResponse Response *DeleteApplicationResponseParams `json:"Response"` }
func NewDeleteApplicationResponse ¶
func NewDeleteApplicationResponse() (response *DeleteApplicationResponse)
func (*DeleteApplicationResponse) FromJsonString ¶
func (r *DeleteApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationResponse) ToJsonString ¶
func (r *DeleteApplicationResponse) ToJsonString() string
type DeleteApplicationResponseParams ¶
type DeleteApplicationResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationVersionRequest ¶
type DeleteApplicationVersionRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
func NewDeleteApplicationVersionRequest ¶
func NewDeleteApplicationVersionRequest() (request *DeleteApplicationVersionRequest)
func (*DeleteApplicationVersionRequest) FromJsonString ¶
func (r *DeleteApplicationVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationVersionRequest) ToJsonString ¶
func (r *DeleteApplicationVersionRequest) ToJsonString() string
type DeleteApplicationVersionRequestParams ¶
type DeleteApplicationVersionRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
Predefined struct for user
type DeleteApplicationVersionResponse ¶
type DeleteApplicationVersionResponse struct { *tchttp.BaseResponse Response *DeleteApplicationVersionResponseParams `json:"Response"` }
func NewDeleteApplicationVersionResponse ¶
func NewDeleteApplicationVersionResponse() (response *DeleteApplicationVersionResponse)
func (*DeleteApplicationVersionResponse) FromJsonString ¶
func (r *DeleteApplicationVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationVersionResponse) ToJsonString ¶
func (r *DeleteApplicationVersionResponse) ToJsonString() string
type DeleteApplicationVersionResponseParams ¶
type DeleteApplicationVersionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationFileInfoRequest ¶
type DescribeApplicationFileInfoRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file path list. FilePathList []*string `json:"FilePathList,omitnil,omitempty" name:"FilePathList"` }
func NewDescribeApplicationFileInfoRequest ¶
func NewDescribeApplicationFileInfoRequest() (request *DescribeApplicationFileInfoRequest)
func (*DescribeApplicationFileInfoRequest) FromJsonString ¶
func (r *DescribeApplicationFileInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationFileInfoRequest) ToJsonString ¶
func (r *DescribeApplicationFileInfoRequest) ToJsonString() string
type DescribeApplicationFileInfoRequestParams ¶
type DescribeApplicationFileInfoRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file path list. FilePathList []*string `json:"FilePathList,omitnil,omitempty" name:"FilePathList"` }
Predefined struct for user
type DescribeApplicationFileInfoResponse ¶
type DescribeApplicationFileInfoResponse struct { *tchttp.BaseResponse Response *DescribeApplicationFileInfoResponseParams `json:"Response"` }
func NewDescribeApplicationFileInfoResponse ¶
func NewDescribeApplicationFileInfoResponse() (response *DescribeApplicationFileInfoResponse)
func (*DescribeApplicationFileInfoResponse) FromJsonString ¶
func (r *DescribeApplicationFileInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationFileInfoResponse) ToJsonString ¶
func (r *DescribeApplicationFileInfoResponse) ToJsonString() string
type DescribeApplicationFileInfoResponseParams ¶
type DescribeApplicationFileInfoResponseParams struct { // Application file data list. // Note: This field may return null, indicating that no valid values can be obtained. FileInfoList []*UserApplicationFileInfo `json:"FileInfoList,omitnil,omitempty" name:"FileInfoList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationListRequest ¶
type DescribeApplicationListRequest struct { *tchttp.BaseRequest // Application list offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Application quantity limit. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Application category (DESKTOP: desktop; MOBILE: mobile). ApplicationCategory *string `json:"ApplicationCategory,omitnil,omitempty" name:"ApplicationCategory"` }
func NewDescribeApplicationListRequest ¶
func NewDescribeApplicationListRequest() (request *DescribeApplicationListRequest)
func (*DescribeApplicationListRequest) FromJsonString ¶
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 ¶
func (r *DescribeApplicationListRequest) ToJsonString() string
type DescribeApplicationListRequestParams ¶
type DescribeApplicationListRequestParams struct { // Application list offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Application quantity limit. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Application category (DESKTOP: desktop; MOBILE: mobile). ApplicationCategory *string `json:"ApplicationCategory,omitnil,omitempty" name:"ApplicationCategory"` }
Predefined struct for user
type DescribeApplicationListResponse ¶
type DescribeApplicationListResponse struct { *tchttp.BaseResponse Response *DescribeApplicationListResponseParams `json:"Response"` }
func NewDescribeApplicationListResponse ¶
func NewDescribeApplicationListResponse() (response *DescribeApplicationListResponse)
func (*DescribeApplicationListResponse) FromJsonString ¶
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 ¶
func (r *DescribeApplicationListResponse) ToJsonString() string
type DescribeApplicationListResponseParams ¶
type DescribeApplicationListResponseParams struct { // Application list information. UserApplicationList []*UserApplicationInfo `json:"UserApplicationList,omitnil,omitempty" name:"UserApplicationList"` // Total number of applications. ApplicationTotal *int64 `json:"ApplicationTotal,omitnil,omitempty" name:"ApplicationTotal"` // Mobile application list information. UserMobileApplicationList []*UserMobileApplicationInfo `json:"UserMobileApplicationList,omitnil,omitempty" name:"UserMobileApplicationList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationPathListRequest ¶
type DescribeApplicationPathListRequest struct { *tchttp.BaseRequest // Cloud application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Cloud application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
func NewDescribeApplicationPathListRequest ¶
func NewDescribeApplicationPathListRequest() (request *DescribeApplicationPathListRequest)
func (*DescribeApplicationPathListRequest) FromJsonString ¶
func (r *DescribeApplicationPathListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationPathListRequest) ToJsonString ¶
func (r *DescribeApplicationPathListRequest) ToJsonString() string
type DescribeApplicationPathListRequestParams ¶
type DescribeApplicationPathListRequestParams struct { // Cloud application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Cloud application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
Predefined struct for user
type DescribeApplicationPathListResponse ¶
type DescribeApplicationPathListResponse struct { *tchttp.BaseResponse Response *DescribeApplicationPathListResponseParams `json:"Response"` }
func NewDescribeApplicationPathListResponse ¶
func NewDescribeApplicationPathListResponse() (response *DescribeApplicationPathListResponse)
func (*DescribeApplicationPathListResponse) FromJsonString ¶
func (r *DescribeApplicationPathListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationPathListResponse) ToJsonString ¶
func (r *DescribeApplicationPathListResponse) ToJsonString() string
type DescribeApplicationPathListResponseParams ¶
type DescribeApplicationPathListResponseParams struct { // Application .exe file path list. // Note: This field may return null, indicating that no valid values can be obtained. PathList []*string `json:"PathList,omitnil,omitempty" name:"PathList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationStatusRequest ¶
type DescribeApplicationStatusRequest struct { *tchttp.BaseRequest // Application ID list. ApplicationIdList []*string `json:"ApplicationIdList,omitnil,omitempty" name:"ApplicationIdList"` }
func NewDescribeApplicationStatusRequest ¶
func NewDescribeApplicationStatusRequest() (request *DescribeApplicationStatusRequest)
func (*DescribeApplicationStatusRequest) FromJsonString ¶
func (r *DescribeApplicationStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationStatusRequest) ToJsonString ¶
func (r *DescribeApplicationStatusRequest) ToJsonString() string
type DescribeApplicationStatusRequestParams ¶
type DescribeApplicationStatusRequestParams struct { // Application ID list. ApplicationIdList []*string `json:"ApplicationIdList,omitnil,omitempty" name:"ApplicationIdList"` }
Predefined struct for user
type DescribeApplicationStatusResponse ¶
type DescribeApplicationStatusResponse struct { *tchttp.BaseResponse Response *DescribeApplicationStatusResponseParams `json:"Response"` }
func NewDescribeApplicationStatusResponse ¶
func NewDescribeApplicationStatusResponse() (response *DescribeApplicationStatusResponse)
func (*DescribeApplicationStatusResponse) FromJsonString ¶
func (r *DescribeApplicationStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationStatusResponse) ToJsonString ¶
func (r *DescribeApplicationStatusResponse) ToJsonString() string
type DescribeApplicationStatusResponseParams ¶
type DescribeApplicationStatusResponseParams struct { // Application status list. StatusList []*UserApplicationStatus `json:"StatusList,omitnil,omitempty" name:"StatusList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationVersionRequest ¶
type DescribeApplicationVersionRequest struct { *tchttp.BaseRequest // Application version ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
func NewDescribeApplicationVersionRequest ¶
func NewDescribeApplicationVersionRequest() (request *DescribeApplicationVersionRequest)
func (*DescribeApplicationVersionRequest) FromJsonString ¶
func (r *DescribeApplicationVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationVersionRequest) ToJsonString ¶
func (r *DescribeApplicationVersionRequest) ToJsonString() string
type DescribeApplicationVersionRequestParams ¶
type DescribeApplicationVersionRequestParams struct { // Application version ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` }
Predefined struct for user
type DescribeApplicationVersionResponse ¶
type DescribeApplicationVersionResponse struct { *tchttp.BaseResponse Response *DescribeApplicationVersionResponseParams `json:"Response"` }
func NewDescribeApplicationVersionResponse ¶
func NewDescribeApplicationVersionResponse() (response *DescribeApplicationVersionResponse)
func (*DescribeApplicationVersionResponse) FromJsonString ¶
func (r *DescribeApplicationVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationVersionResponse) ToJsonString ¶
func (r *DescribeApplicationVersionResponse) ToJsonString() string
type DescribeApplicationVersionResponseParams ¶
type DescribeApplicationVersionResponseParams struct { // List of application versions. Versions []*UserApplicationVersion `json:"Versions,omitnil,omitempty" name:"Versions"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConcurrentCountRequest ¶
type DescribeConcurrentCountRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeConcurrentCountRequest ¶
func NewDescribeConcurrentCountRequest() (request *DescribeConcurrentCountRequest)
func (*DescribeConcurrentCountRequest) FromJsonString ¶
func (r *DescribeConcurrentCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConcurrentCountRequest) ToJsonString ¶
func (r *DescribeConcurrentCountRequest) ToJsonString() string
type DescribeConcurrentCountRequestParams ¶
type DescribeConcurrentCountRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeConcurrentCountResponse ¶
type DescribeConcurrentCountResponse struct { *tchttp.BaseResponse Response *DescribeConcurrentCountResponseParams `json:"Response"` }
func NewDescribeConcurrentCountResponse ¶
func NewDescribeConcurrentCountResponse() (response *DescribeConcurrentCountResponse)
func (*DescribeConcurrentCountResponse) FromJsonString ¶
func (r *DescribeConcurrentCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConcurrentCountResponse) ToJsonString ¶
func (r *DescribeConcurrentCountResponse) ToJsonString() string
type DescribeConcurrentCountResponseParams ¶
type DescribeConcurrentCountResponseParams struct { // Total number of concurrencies. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The number of concurrent executions, including all non-idle concurrent executions such as those in prelaunch, connected, waiting for reconnection, and to be cleaned up or recovered. Therefore, refreshing projects or disconnecting user connections with concurrency packages will affect this value. Running *uint64 `json:"Running,omitnil,omitempty" name:"Running"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCosCredentialRequest ¶
type DescribeCosCredentialRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file name (the file must be a compressed package with a zip/rar/7z file name extension). ApplicationFileName *string `json:"ApplicationFileName,omitnil,omitempty" name:"ApplicationFileName"` }
func NewDescribeCosCredentialRequest ¶
func NewDescribeCosCredentialRequest() (request *DescribeCosCredentialRequest)
func (*DescribeCosCredentialRequest) FromJsonString ¶
func (r *DescribeCosCredentialRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosCredentialRequest) ToJsonString ¶
func (r *DescribeCosCredentialRequest) ToJsonString() string
type DescribeCosCredentialRequestParams ¶
type DescribeCosCredentialRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application file name (the file must be a compressed package with a zip/rar/7z file name extension). ApplicationFileName *string `json:"ApplicationFileName,omitnil,omitempty" name:"ApplicationFileName"` }
Predefined struct for user
type DescribeCosCredentialResponse ¶
type DescribeCosCredentialResponse struct { *tchttp.BaseResponse Response *DescribeCosCredentialResponseParams `json:"Response"` }
func NewDescribeCosCredentialResponse ¶
func NewDescribeCosCredentialResponse() (response *DescribeCosCredentialResponse)
func (*DescribeCosCredentialResponse) FromJsonString ¶
func (r *DescribeCosCredentialResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosCredentialResponse) ToJsonString ¶
func (r *DescribeCosCredentialResponse) ToJsonString() string
type DescribeCosCredentialResponseParams ¶
type DescribeCosCredentialResponseParams struct { // Cos SecretID SecretID *string `json:"SecretID,omitnil,omitempty" name:"SecretID"` // Cos SecretKey SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"` // Cos SessionToken SessionToken *string `json:"SessionToken,omitnil,omitempty" name:"SessionToken"` // Cos Bucket CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // Cos Region CosRegion *string `json:"CosRegion,omitnil,omitempty" name:"CosRegion"` // COS operation path. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Start time of the COS key. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Expiration time of the COS key. ExpiredTime *int64 `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroySessionRequest ¶
type DestroySessionRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
func NewDestroySessionRequest ¶
func NewDestroySessionRequest() (request *DestroySessionRequest)
func (*DestroySessionRequest) FromJsonString ¶
func (r *DestroySessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroySessionRequest) ToJsonString ¶
func (r *DestroySessionRequest) ToJsonString() string
type DestroySessionRequestParams ¶
type DestroySessionRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
Predefined struct for user
type DestroySessionResponse ¶
type DestroySessionResponse struct { *tchttp.BaseResponse Response *DestroySessionResponseParams `json:"Response"` }
func NewDestroySessionResponse ¶
func NewDestroySessionResponse() (response *DestroySessionResponse)
func (*DestroySessionResponse) FromJsonString ¶
func (r *DestroySessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroySessionResponse) ToJsonString ¶
func (r *DestroySessionResponse) ToJsonString() string
type DestroySessionResponseParams ¶
type DestroySessionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Filter ¶
type Filter struct { // Filter field name (ApplicationId: application ID; ApplicationName: application name; ApplicationRunStatus: running status; ApplicationUpdateStatus: update status). Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Filter value set (When the filter name is ApplicationRunStatus, the values can be [ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured]. When the filter name is ApplicationUpdateStatus, the values can be [ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none]). Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type ModifyApplicationBaseInfoRequest ¶
type ModifyApplicationBaseInfoRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application program execution path. ApplicationExePath *string `json:"ApplicationExePath,omitnil,omitempty" name:"ApplicationExePath"` // Application process list. ApplicationInterList *string `json:"ApplicationInterList,omitnil,omitempty" name:"ApplicationInterList"` // Application basic data. ApplicationBaseInfo *ApplicationBaseInfo `json:"ApplicationBaseInfo,omitnil,omitempty" name:"ApplicationBaseInfo"` // Application startup parameters. ApplicationParams *string `json:"ApplicationParams,omitnil,omitempty" name:"ApplicationParams"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application repository information list. ApplicationStores []*UserApplicationStore `json:"ApplicationStores,omitnil,omitempty" name:"ApplicationStores"` }
func NewModifyApplicationBaseInfoRequest ¶
func NewModifyApplicationBaseInfoRequest() (request *ModifyApplicationBaseInfoRequest)
func (*ModifyApplicationBaseInfoRequest) FromJsonString ¶
func (r *ModifyApplicationBaseInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationBaseInfoRequest) ToJsonString ¶
func (r *ModifyApplicationBaseInfoRequest) ToJsonString() string
type ModifyApplicationBaseInfoRequestParams ¶
type ModifyApplicationBaseInfoRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application program execution path. ApplicationExePath *string `json:"ApplicationExePath,omitnil,omitempty" name:"ApplicationExePath"` // Application process list. ApplicationInterList *string `json:"ApplicationInterList,omitnil,omitempty" name:"ApplicationInterList"` // Application basic data. ApplicationBaseInfo *ApplicationBaseInfo `json:"ApplicationBaseInfo,omitnil,omitempty" name:"ApplicationBaseInfo"` // Application startup parameters. ApplicationParams *string `json:"ApplicationParams,omitnil,omitempty" name:"ApplicationParams"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application repository information list. ApplicationStores []*UserApplicationStore `json:"ApplicationStores,omitnil,omitempty" name:"ApplicationStores"` }
Predefined struct for user
type ModifyApplicationBaseInfoResponse ¶
type ModifyApplicationBaseInfoResponse struct { *tchttp.BaseResponse Response *ModifyApplicationBaseInfoResponseParams `json:"Response"` }
func NewModifyApplicationBaseInfoResponse ¶
func NewModifyApplicationBaseInfoResponse() (response *ModifyApplicationBaseInfoResponse)
func (*ModifyApplicationBaseInfoResponse) FromJsonString ¶
func (r *ModifyApplicationBaseInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationBaseInfoResponse) ToJsonString ¶
func (r *ModifyApplicationBaseInfoResponse) ToJsonString() string
type ModifyApplicationBaseInfoResponseParams ¶
type ModifyApplicationBaseInfoResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationVersionRequest ¶
type ModifyApplicationVersionRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` // Application version name. ApplicationVersionName *string `json:"ApplicationVersionName,omitnil,omitempty" name:"ApplicationVersionName"` }
func NewModifyApplicationVersionRequest ¶
func NewModifyApplicationVersionRequest() (request *ModifyApplicationVersionRequest)
func (*ModifyApplicationVersionRequest) FromJsonString ¶
func (r *ModifyApplicationVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationVersionRequest) ToJsonString ¶
func (r *ModifyApplicationVersionRequest) ToJsonString() string
type ModifyApplicationVersionRequestParams ¶
type ModifyApplicationVersionRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` // Application version name. ApplicationVersionName *string `json:"ApplicationVersionName,omitnil,omitempty" name:"ApplicationVersionName"` }
Predefined struct for user
type ModifyApplicationVersionResponse ¶
type ModifyApplicationVersionResponse struct { *tchttp.BaseResponse Response *ModifyApplicationVersionResponseParams `json:"Response"` }
func NewModifyApplicationVersionResponse ¶
func NewModifyApplicationVersionResponse() (response *ModifyApplicationVersionResponse)
func (*ModifyApplicationVersionResponse) FromJsonString ¶
func (r *ModifyApplicationVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationVersionResponse) ToJsonString ¶
func (r *ModifyApplicationVersionResponse) ToJsonString() string
type ModifyApplicationVersionResponseParams ¶
type ModifyApplicationVersionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMobileApplicationInfoRequest ¶
type ModifyMobileApplicationInfoRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` }
func NewModifyMobileApplicationInfoRequest ¶
func NewModifyMobileApplicationInfoRequest() (request *ModifyMobileApplicationInfoRequest)
func (*ModifyMobileApplicationInfoRequest) FromJsonString ¶
func (r *ModifyMobileApplicationInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMobileApplicationInfoRequest) ToJsonString ¶
func (r *ModifyMobileApplicationInfoRequest) ToJsonString() string
type ModifyMobileApplicationInfoRequestParams ¶
type ModifyMobileApplicationInfoRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` }
Predefined struct for user
type ModifyMobileApplicationInfoResponse ¶
type ModifyMobileApplicationInfoResponse struct { *tchttp.BaseResponse Response *ModifyMobileApplicationInfoResponseParams `json:"Response"` }
func NewModifyMobileApplicationInfoResponse ¶
func NewModifyMobileApplicationInfoResponse() (response *ModifyMobileApplicationInfoResponse)
func (*ModifyMobileApplicationInfoResponse) FromJsonString ¶
func (r *ModifyMobileApplicationInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMobileApplicationInfoResponse) ToJsonString ¶
func (r *ModifyMobileApplicationInfoResponse) ToJsonString() string
type ModifyMobileApplicationInfoResponseParams ¶
type ModifyMobileApplicationInfoResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SetApplicationVersionOnlineRequest ¶
type SetApplicationVersionOnlineRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
func NewSetApplicationVersionOnlineRequest ¶
func NewSetApplicationVersionOnlineRequest() (request *SetApplicationVersionOnlineRequest)
func (*SetApplicationVersionOnlineRequest) FromJsonString ¶
func (r *SetApplicationVersionOnlineRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetApplicationVersionOnlineRequest) ToJsonString ¶
func (r *SetApplicationVersionOnlineRequest) ToJsonString() string
type SetApplicationVersionOnlineRequestParams ¶
type SetApplicationVersionOnlineRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` }
Predefined struct for user
type SetApplicationVersionOnlineResponse ¶
type SetApplicationVersionOnlineResponse struct { *tchttp.BaseResponse Response *SetApplicationVersionOnlineResponseParams `json:"Response"` }
func NewSetApplicationVersionOnlineResponse ¶
func NewSetApplicationVersionOnlineResponse() (response *SetApplicationVersionOnlineResponse)
func (*SetApplicationVersionOnlineResponse) FromJsonString ¶
func (r *SetApplicationVersionOnlineResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetApplicationVersionOnlineResponse) ToJsonString ¶
func (r *SetApplicationVersionOnlineResponse) ToJsonString() string
type SetApplicationVersionOnlineResponseParams ¶
type SetApplicationVersionOnlineResponseParams struct { // List of application versions. Versions []*UserApplicationVersion `json:"Versions,omitnil,omitempty" name:"Versions"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartPublishStreamRequest ¶
type StartPublishStreamRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. It will be used as the `StreamId` for streaming. For example, if the bound streaming domain is **abc.livepush.myqcloud.com**, the streaming address will be **rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx**. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Streaming parameter, which is a custom parameter carried during streaming. PublishStreamArgs *string `json:"PublishStreamArgs,omitnil,omitempty" name:"PublishStreamArgs"` }
func NewStartPublishStreamRequest ¶
func NewStartPublishStreamRequest() (request *StartPublishStreamRequest)
func (*StartPublishStreamRequest) FromJsonString ¶
func (r *StartPublishStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartPublishStreamRequest) ToJsonString ¶
func (r *StartPublishStreamRequest) ToJsonString() string
type StartPublishStreamRequestParams ¶
type StartPublishStreamRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. It will be used as the `StreamId` for streaming. For example, if the bound streaming domain is **abc.livepush.myqcloud.com**, the streaming address will be **rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx**. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Streaming parameter, which is a custom parameter carried during streaming. PublishStreamArgs *string `json:"PublishStreamArgs,omitnil,omitempty" name:"PublishStreamArgs"` }
Predefined struct for user
type StartPublishStreamResponse ¶
type StartPublishStreamResponse struct { *tchttp.BaseResponse Response *StartPublishStreamResponseParams `json:"Response"` }
func NewStartPublishStreamResponse ¶
func NewStartPublishStreamResponse() (response *StartPublishStreamResponse)
func (*StartPublishStreamResponse) FromJsonString ¶
func (r *StartPublishStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartPublishStreamResponse) ToJsonString ¶
func (r *StartPublishStreamResponse) ToJsonString() string
type StartPublishStreamResponseParams ¶
type StartPublishStreamResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartPublishStreamWithURLRequest ¶
type StartPublishStreamWithURLRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Streaming address. Only RTMP is supported for streaming currently. PublishStreamURL *string `json:"PublishStreamURL,omitnil,omitempty" name:"PublishStreamURL"` }
func NewStartPublishStreamWithURLRequest ¶
func NewStartPublishStreamWithURLRequest() (request *StartPublishStreamWithURLRequest)
func (*StartPublishStreamWithURLRequest) FromJsonString ¶
func (r *StartPublishStreamWithURLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartPublishStreamWithURLRequest) ToJsonString ¶
func (r *StartPublishStreamWithURLRequest) ToJsonString() string
type StartPublishStreamWithURLRequestParams ¶
type StartPublishStreamWithURLRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // Streaming address. Only RTMP is supported for streaming currently. PublishStreamURL *string `json:"PublishStreamURL,omitnil,omitempty" name:"PublishStreamURL"` }
Predefined struct for user
type StartPublishStreamWithURLResponse ¶
type StartPublishStreamWithURLResponse struct { *tchttp.BaseResponse Response *StartPublishStreamWithURLResponseParams `json:"Response"` }
func NewStartPublishStreamWithURLResponse ¶
func NewStartPublishStreamWithURLResponse() (response *StartPublishStreamWithURLResponse)
func (*StartPublishStreamWithURLResponse) FromJsonString ¶
func (r *StartPublishStreamWithURLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartPublishStreamWithURLResponse) ToJsonString ¶
func (r *StartPublishStreamWithURLResponse) ToJsonString() string
type StartPublishStreamWithURLResponseParams ¶
type StartPublishStreamWithURLResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopPublishStreamRequest ¶
type StopPublishStreamRequest struct { *tchttp.BaseRequest // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
func NewStopPublishStreamRequest ¶
func NewStopPublishStreamRequest() (request *StopPublishStreamRequest)
func (*StopPublishStreamRequest) FromJsonString ¶
func (r *StopPublishStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopPublishStreamRequest) ToJsonString ¶
func (r *StopPublishStreamRequest) ToJsonString() string
type StopPublishStreamRequestParams ¶
type StopPublishStreamRequestParams struct { // Unique user ID, which is customized by you and is not parsed by CAR. Based on your needs, you can either define unique IDs for users or use timestamps to generate random IDs. Make sure the same ID is used when a user reconnects to your application. UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` }
Predefined struct for user
type StopPublishStreamResponse ¶
type StopPublishStreamResponse struct { *tchttp.BaseResponse Response *StopPublishStreamResponseParams `json:"Response"` }
func NewStopPublishStreamResponse ¶
func NewStopPublishStreamResponse() (response *StopPublishStreamResponse)
func (*StopPublishStreamResponse) FromJsonString ¶
func (r *StopPublishStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopPublishStreamResponse) ToJsonString ¶
func (r *StopPublishStreamResponse) ToJsonString() string
type StopPublishStreamResponseParams ¶
type StopPublishStreamResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UserApplicationFileInfo ¶
type UserApplicationFileInfo struct { // Application file path. // Note: This field may return null, indicating that no valid values can be obtained. FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` // File status. NO_EXIST: The file does not exist; EXIST: The file exists. // Note: This field may return null, indicating that no valid values can be obtained. FileState *string `json:"FileState,omitnil,omitempty" name:"FileState"` }
type UserApplicationInfo ¶
type UserApplicationInfo struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application type (cloud 3D: Application3D; cloud XR: ApplicationXR; cloud Web: ApplicationWeb). ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` // Application program execution path. ApplicationExePath *string `json:"ApplicationExePath,omitnil,omitempty" name:"ApplicationExePath"` // Application process list. ApplicationInterList *string `json:"ApplicationInterList,omitnil,omitempty" name:"ApplicationInterList"` // Application startup parameters. ApplicationParams *string `json:"ApplicationParams,omitnil,omitempty" name:"ApplicationParams"` // Application running status (ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured). ApplicationRunStatus *string `json:"ApplicationRunStatus,omitnil,omitempty" name:"ApplicationRunStatus"` // Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none). ApplicationUpdateStatus *string `json:"ApplicationUpdateStatus,omitnil,omitempty" name:"ApplicationUpdateStatus"` // Application creation time. ApplicationCreateTime *string `json:"ApplicationCreateTime,omitnil,omitempty" name:"ApplicationCreateTime"` // List of application versions. ApplicationVersions []*UserApplicationVersion `json:"ApplicationVersions,omitnil,omitempty" name:"ApplicationVersions"` // Application basic data. ApplicationBaseInfo *ApplicationBaseInfo `json:"ApplicationBaseInfo,omitnil,omitempty" name:"ApplicationBaseInfo"` // Application update progress. ApplicationUpdateProgress *int64 `json:"ApplicationUpdateProgress,omitnil,omitempty" name:"ApplicationUpdateProgress"` // Application nature (PUBLIC: public application; PRIVATE: user application). ApplicationNature *string `json:"ApplicationNature,omitnil,omitempty" name:"ApplicationNature"` // Application repository list. ApplicationStores []*UserApplicationStore `json:"ApplicationStores,omitnil,omitempty" name:"ApplicationStores"` }
type UserApplicationStatus ¶
type UserApplicationStatus struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application running status (ApplicationDeleting: application deletion in progress; ApplicationCreateFail: application creation failed; ApplicationCreating: application creation in progress; ApplicationRunning: normal running; ApplicationNoConfigured: main execution program path not configured; ApplicationNoPackage: no available package). ApplicationRunStatus *string `json:"ApplicationRunStatus,omitnil,omitempty" name:"ApplicationRunStatus"` // Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none). ApplicationUpdateStatus *string `json:"ApplicationUpdateStatus,omitnil,omitempty" name:"ApplicationUpdateStatus"` // Application update progress. ApplicationUpdateProgress *int64 `json:"ApplicationUpdateProgress,omitnil,omitempty" name:"ApplicationUpdateProgress"` }
type UserApplicationStore ¶
type UserApplicationStore struct { // COS bucket name. // Note: This field may return null, indicating that no valid values can be obtained. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // COS bucket region. // Note: This field may return null, indicating that no valid values can be obtained. CosRegion *string `json:"CosRegion,omitnil,omitempty" name:"CosRegion"` // Repository type. LOG: application logs; ARCHIVE: application archive. // Note: This field may return null, indicating that no valid values can be obtained. StoreType *string `json:"StoreType,omitnil,omitempty" name:"StoreType"` // Repository status. ON: enabled; OFF: disabled. // Note: This field may return null, indicating that no valid values can be obtained. StoreState *string `json:"StoreState,omitnil,omitempty" name:"StoreState"` // Repository path. // Note: This field may return null, indicating that no valid values can be obtained. StorePath *string `json:"StorePath,omitnil,omitempty" name:"StorePath"` }
type UserApplicationVersion ¶
type UserApplicationVersion struct { // Application version ID. ApplicationVersionId *string `json:"ApplicationVersionId,omitnil,omitempty" name:"ApplicationVersionId"` // Application version size. ApplicationVersionSize *int64 `json:"ApplicationVersionSize,omitnil,omitempty" name:"ApplicationVersionSize"` // Application version status (Uploading: uploading; Creating: in creation; CreateFailed: creation failed; Deleting: deleting; Inuse: current version; Normal: to be released; Usable: available). ApplicationVersionStatus *string `json:"ApplicationVersionStatus,omitnil,omitempty" name:"ApplicationVersionStatus"` // Application version name. ApplicationVersionName *string `json:"ApplicationVersionName,omitnil,omitempty" name:"ApplicationVersionName"` // Application version creation time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Region for application version distribution ( // Standard zone: // ap-chinese-mainland: Chinese mainland // na-north-america: North America // eu-frankfurt: Frankfurt // ap-mumbai: Mumbai // ap-tokyo: Tokyo // ap-seoul: Seoul // ap-singapore: Singapore // ap-bangkok: Bangkok // ap-hongkong: Hong Kong (China) // Integration zone: // me-middle-east-fusion: Middle East // na-north-america-fusion: North America // sa-south-america-fusion: South America // ap-tokyo-fusion: Tokyo // ap-seoul-fusion: Seoul // eu-frankfurt-fusion: Frankfurt // ap-singapore-fusion: Singapore // ap-hongkong-fusion: Hong Kong (China) // ). // Note: This field may return null, indicating that no valid values can be obtained. ApplicationVersionRegions []*string `json:"ApplicationVersionRegions,omitnil,omitempty" name:"ApplicationVersionRegions"` // Application version update method. // FULL: full update. // INCREMENT: incremental update. // Note: This field may return null, indicating that no valid values can be obtained. ApplicationVersionUpdateMode *string `json:"ApplicationVersionUpdateMode,omitnil,omitempty" name:"ApplicationVersionUpdateMode"` }
type UserMobileApplicationInfo ¶
type UserMobileApplicationInfo struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Application name. ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // Application type (cloud APK: application APK). ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` // Application running status (ApplicationRunning: normal running; ApplicationNoPackage: no available package). ApplicationRunStatus *string `json:"ApplicationRunStatus,omitnil,omitempty" name:"ApplicationRunStatus"` // Application update status (ApplicationUpdateCreating: version creation in progress; ApplicationUpdateCreateFail: version creation failed; ApplicationUpdateNoReleased: version to be released; ApplicationUpdateReleased: version release completed; ApplicationUpdateNormal: none). ApplicationUpdateStatus *string `json:"ApplicationUpdateStatus,omitnil,omitempty" name:"ApplicationUpdateStatus"` // Application creation time. ApplicationCreateTime *string `json:"ApplicationCreateTime,omitnil,omitempty" name:"ApplicationCreateTime"` // List of application versions. ApplicationVersions []*UserApplicationVersion `json:"ApplicationVersions,omitnil,omitempty" name:"ApplicationVersions"` // Application nature (PUBLIC: public application; PRIVATE: user application). ApplicationNature *string `json:"ApplicationNature,omitnil,omitempty" name:"ApplicationNature"` }