v20191112

package
v3.0.525+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error
	AUTHFAILURE = "AuthFailure"

	// The resource is unauthorized.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// An internal error occurred.
	INTERNALERROR = "InternalError"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The number of server fleets exceeds the upper limit.
	LIMITEXCEEDED_FLEETLIMITEXCEEDED = "LimitExceeded.FleetLimitExceeded"

	// The number of servers exceeds the upper limit.
	LIMITEXCEEDED_INSTANCELIMITEXCEEDED = "LimitExceeded.InstanceLimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied
	OPERATIONDENIED = "OperationDenied"

	// Request exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// The service is not activated.
	UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

	// Unknown parameter error
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-11-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type CcnInfo

type CcnInfo struct {
	// Account of the CCN instance owner
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// CCN ID
	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CopyFleet

func (c *Client) CopyFleet(request *CopyFleetRequest) (response *CopyFleetResponse, err error)

CopyFleet This API is used to replicate server fleet.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_FLEETLIMITEXCEEDED = "LimitExceeded.FleetLimitExceeded"
LIMITEXCEEDED_INSTANCELIMITEXCEEDED = "LimitExceeded.InstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CopyFleetWithContext

func (c *Client) CopyFleetWithContext(ctx context.Context, request *CopyFleetRequest) (response *CopyFleetResponse, err error)

CopyFleet This API is used to replicate server fleet.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_FLEETLIMITEXCEEDED = "LimitExceeded.FleetLimitExceeded"
LIMITEXCEEDED_INSTANCELIMITEXCEEDED = "LimitExceeded.InstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateGameServerSession

func (c *Client) CreateGameServerSession(request *CreateGameServerSessionRequest) (response *CreateGameServerSessionResponse, err error)

CreateGameServerSession This API is used to create a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) CreateGameServerSessionWithContext

func (c *Client) CreateGameServerSessionWithContext(ctx context.Context, request *CreateGameServerSessionRequest) (response *CreateGameServerSessionResponse, err error)

CreateGameServerSession This API is used to create a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DeleteTimerScalingPolicy

func (c *Client) DeleteTimerScalingPolicy(request *DeleteTimerScalingPolicyRequest) (response *DeleteTimerScalingPolicyResponse, err error)

DeleteTimerScalingPolicy This API (DeleteTimerScalingPolicy) is used to delete a scheduled scaling policy of a fleet.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DeleteTimerScalingPolicyWithContext

func (c *Client) DeleteTimerScalingPolicyWithContext(ctx context.Context, request *DeleteTimerScalingPolicyRequest) (response *DeleteTimerScalingPolicyResponse, err error)

DeleteTimerScalingPolicy This API (DeleteTimerScalingPolicy) is used to delete a scheduled scaling policy of a fleet.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessionDetails

func (c *Client) DescribeGameServerSessionDetails(request *DescribeGameServerSessionDetailsRequest) (response *DescribeGameServerSessionDetailsResponse, err error)

DescribeGameServerSessionDetails This API is used to query the list of game server session details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessionDetailsWithContext

func (c *Client) DescribeGameServerSessionDetailsWithContext(ctx context.Context, request *DescribeGameServerSessionDetailsRequest) (response *DescribeGameServerSessionDetailsResponse, err error)

DescribeGameServerSessionDetails This API is used to query the list of game server session details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessionPlacement

func (c *Client) DescribeGameServerSessionPlacement(request *DescribeGameServerSessionPlacementRequest) (response *DescribeGameServerSessionPlacementResponse, err error)

DescribeGameServerSessionPlacement This API is used to query the placement of a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessionPlacementWithContext

func (c *Client) DescribeGameServerSessionPlacementWithContext(ctx context.Context, request *DescribeGameServerSessionPlacementRequest) (response *DescribeGameServerSessionPlacementResponse, err error)

DescribeGameServerSessionPlacement This API is used to query the placement of a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessions

func (c *Client) DescribeGameServerSessions(request *DescribeGameServerSessionsRequest) (response *DescribeGameServerSessionsResponse, err error)

DescribeGameServerSessions This API is used to query the list of game server sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeGameServerSessionsWithContext

func (c *Client) DescribeGameServerSessionsWithContext(ctx context.Context, request *DescribeGameServerSessionsRequest) (response *DescribeGameServerSessionsResponse, err error)

DescribeGameServerSessions This API is used to query the list of game server sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeInstanceTypes

func (c *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)

DescribeInstanceTypes This API is used to obtain the list of CVM types in the specified region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceTypesWithContext

func (c *Client) DescribeInstanceTypesWithContext(ctx context.Context, request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)

DescribeInstanceTypes This API is used to obtain the list of CVM types in the specified region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePlayerSessions

func (c *Client) DescribePlayerSessions(request *DescribePlayerSessionsRequest) (response *DescribePlayerSessionsResponse, err error)

DescribePlayerSessions This API is used to get the list of player sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribePlayerSessionsWithContext

func (c *Client) DescribePlayerSessionsWithContext(ctx context.Context, request *DescribePlayerSessionsRequest) (response *DescribePlayerSessionsResponse, err error)

DescribePlayerSessions This API is used to get the list of player sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeTimerScalingPolicies

func (c *Client) DescribeTimerScalingPolicies(request *DescribeTimerScalingPoliciesRequest) (response *DescribeTimerScalingPoliciesResponse, err error)

DescribeTimerScalingPolicies This API (DescribeTimerScalingPolicies) is used to query the scheduled scaling policies of a fleet. You can query the policies by `fleetID` or the fleet name. The returned results are paged.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) DescribeTimerScalingPoliciesWithContext

func (c *Client) DescribeTimerScalingPoliciesWithContext(ctx context.Context, request *DescribeTimerScalingPoliciesRequest) (response *DescribeTimerScalingPoliciesResponse, err error)

DescribeTimerScalingPolicies This API (DescribeTimerScalingPolicies) is used to query the scheduled scaling policies of a fleet. You can query the policies by `fleetID` or the fleet name. The returned results are paged.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) EndGameServerSessionAndProcess

func (c *Client) EndGameServerSessionAndProcess(request *EndGameServerSessionAndProcessRequest) (response *EndGameServerSessionAndProcessResponse, err error)

EndGameServerSessionAndProcess This API is used to terminate the game server session and the corresponding process, which is applicable to time-limited protection and no protection.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

func (*Client) EndGameServerSessionAndProcessWithContext

func (c *Client) EndGameServerSessionAndProcessWithContext(ctx context.Context, request *EndGameServerSessionAndProcessRequest) (response *EndGameServerSessionAndProcessResponse, err error)

EndGameServerSessionAndProcess This API is used to terminate the game server session and the corresponding process, which is applicable to time-limited protection and no protection.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

func (*Client) GetGameServerSessionLogUrl

func (c *Client) GetGameServerSessionLogUrl(request *GetGameServerSessionLogUrlRequest) (response *GetGameServerSessionLogUrlResponse, err error)

GetGameServerSessionLogUrl This API is used to get the log URL of a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) GetGameServerSessionLogUrlWithContext

func (c *Client) GetGameServerSessionLogUrlWithContext(ctx context.Context, request *GetGameServerSessionLogUrlRequest) (response *GetGameServerSessionLogUrlResponse, err error)

GetGameServerSessionLogUrl This API is used to get the log URL of a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) GetInstanceAccess

func (c *Client) GetInstanceAccess(request *GetInstanceAccessRequest) (response *GetInstanceAccessResponse, err error)

GetInstanceAccess This API is used to get the credentials required for instance login.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetInstanceAccessWithContext

func (c *Client) GetInstanceAccessWithContext(ctx context.Context, request *GetInstanceAccessRequest) (response *GetInstanceAccessResponse, err error)

GetInstanceAccess This API is used to get the credentials required for instance login.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) JoinGameServerSession

func (c *Client) JoinGameServerSession(request *JoinGameServerSessionRequest) (response *JoinGameServerSessionResponse, err error)

JoinGameServerSession This API is used to join a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) JoinGameServerSessionBatch

func (c *Client) JoinGameServerSessionBatch(request *JoinGameServerSessionBatchRequest) (response *JoinGameServerSessionBatchResponse, err error)

JoinGameServerSessionBatch This API is used to join game server sessions in batch.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) JoinGameServerSessionBatchWithContext

func (c *Client) JoinGameServerSessionBatchWithContext(ctx context.Context, request *JoinGameServerSessionBatchRequest) (response *JoinGameServerSessionBatchResponse, err error)

JoinGameServerSessionBatch This API is used to join game server sessions in batch.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) JoinGameServerSessionWithContext

func (c *Client) JoinGameServerSessionWithContext(ctx context.Context, request *JoinGameServerSessionRequest) (response *JoinGameServerSessionResponse, err error)

JoinGameServerSession This API is used to join a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) PutTimerScalingPolicy

func (c *Client) PutTimerScalingPolicy(request *PutTimerScalingPolicyRequest) (response *PutTimerScalingPolicyResponse, err error)

PutTimerScalingPolicy This API (PutTimerScalingPolicy) is used to create or update a scheduled scaling policy for a fleet.

If the field `timerID` is filled in, the specified policy will be updated, and if `timerID` is left empty, a new policy will be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_INSTANCELIMITEXCEEDED = "LimitExceeded.InstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) PutTimerScalingPolicyWithContext

func (c *Client) PutTimerScalingPolicyWithContext(ctx context.Context, request *PutTimerScalingPolicyRequest) (response *PutTimerScalingPolicyResponse, err error)

PutTimerScalingPolicy This API (PutTimerScalingPolicy) is used to create or update a scheduled scaling policy for a fleet.

If the field `timerID` is filled in, the specified policy will be updated, and if `timerID` is left empty, a new policy will be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_INSTANCELIMITEXCEEDED = "LimitExceeded.InstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) SearchGameServerSessions

func (c *Client) SearchGameServerSessions(request *SearchGameServerSessionsRequest) (response *SearchGameServerSessionsResponse, err error)

SearchGameServerSessions This API is used to search in the list of game server sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SearchGameServerSessionsWithContext

func (c *Client) SearchGameServerSessionsWithContext(ctx context.Context, request *SearchGameServerSessionsRequest) (response *SearchGameServerSessionsResponse, err error)

SearchGameServerSessions This API is used to search in the list of game server sessions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetServerReserved

func (c *Client) SetServerReserved(request *SetServerReservedRequest) (response *SetServerReservedResponse, err error)

SetServerReserved This API (SetServerReserved) is used to mark the exceptional instances as retained for troubleshooting.

`ReserveValue`: specifies whether to retain the instance. Valid values: `0` (do not retain), `1` (retain). Default value: `0`.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) SetServerReservedWithContext

func (c *Client) SetServerReservedWithContext(ctx context.Context, request *SetServerReservedRequest) (response *SetServerReservedResponse, err error)

SetServerReserved This API (SetServerReserved) is used to mark the exceptional instances as retained for troubleshooting.

`ReserveValue`: specifies whether to retain the instance. Valid values: `0` (do not retain), `1` (retain). Default value: `0`.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) StartGameServerSessionPlacement

func (c *Client) StartGameServerSessionPlacement(request *StartGameServerSessionPlacementRequest) (response *StartGameServerSessionPlacementResponse, err error)

StartGameServerSessionPlacement This API is used to start placing a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) StartGameServerSessionPlacementWithContext

func (c *Client) StartGameServerSessionPlacementWithContext(ctx context.Context, request *StartGameServerSessionPlacementRequest) (response *StartGameServerSessionPlacementResponse, err error)

StartGameServerSessionPlacement This API is used to start placing a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) StopGameServerSessionPlacement

func (c *Client) StopGameServerSessionPlacement(request *StopGameServerSessionPlacementRequest) (response *StopGameServerSessionPlacementResponse, err error)

StopGameServerSessionPlacement This API is used to stop placing a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) StopGameServerSessionPlacementWithContext

func (c *Client) StopGameServerSessionPlacementWithContext(ctx context.Context, request *StopGameServerSessionPlacementRequest) (response *StopGameServerSessionPlacementResponse, err error)

StopGameServerSessionPlacement This API is used to stop placing a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) UpdateBucketAccelerateOpt

func (c *Client) UpdateBucketAccelerateOpt(request *UpdateBucketAccelerateOptRequest) (response *UpdateBucketAccelerateOptResponse, err error)

UpdateBucketAccelerateOpt This API (UpdateBucketAccelerateOpt) is used to enable COS global acceleration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) UpdateBucketAccelerateOptWithContext

func (c *Client) UpdateBucketAccelerateOptWithContext(ctx context.Context, request *UpdateBucketAccelerateOptRequest) (response *UpdateBucketAccelerateOptResponse, err error)

UpdateBucketAccelerateOpt This API (UpdateBucketAccelerateOpt) is used to enable COS global acceleration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) UpdateBucketCORSOpt

func (c *Client) UpdateBucketCORSOpt(request *UpdateBucketCORSOptRequest) (response *UpdateBucketCORSOptResponse, err error)

UpdateBucketCORSOpt This API (UpdateBucketCORSOpt) is used to configure CORS for COS.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) UpdateBucketCORSOptWithContext

func (c *Client) UpdateBucketCORSOptWithContext(ctx context.Context, request *UpdateBucketCORSOptRequest) (response *UpdateBucketCORSOptResponse, err error)

UpdateBucketCORSOpt This API (UpdateBucketCORSOpt) is used to configure CORS for COS.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) UpdateGameServerSession

func (c *Client) UpdateGameServerSession(request *UpdateGameServerSessionRequest) (response *UpdateGameServerSessionResponse, err error)

UpdateGameServerSession This API is used to update a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

func (*Client) UpdateGameServerSessionWithContext

func (c *Client) UpdateGameServerSessionWithContext(ctx context.Context, request *UpdateGameServerSessionRequest) (response *UpdateGameServerSessionResponse, err error)

UpdateGameServerSession This API is used to update a game server session.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_SERVICENOTOPENED = "UnauthorizedOperation.ServiceNotOpened"

type CopyFleetRequest

type CopyFleetRequest struct {
	*tchttp.BaseRequest

	// Server fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Replica number. It should a value between 1 to the number of the remaining quota. It can be obtained through [Obtaining User Quota](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).
	CopyNumber *int64 `json:"CopyNumber,omitempty" name:"CopyNumber"`

	// Asset package ID
	AssetId *string `json:"AssetId,omitempty" name:"AssetId"`

	// Description. The length is 0-100 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Network configuration
	InboundPermissions []*InboundPermission `json:"InboundPermissions,omitempty" name:"InboundPermissions"`

	// Server type. It can be obtained through [Obtaining Server Instance Type List](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Server fleet type, which only supports “ON_DEMAND” type now.
	FleetType *string `json:"FleetType,omitempty" name:"FleetType"`

	// Server fleet name. The length is 1-50 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Protection policy. Valid values: NoProtection·(no protection), FullProtection (full protection), TimeLimitProtection (time-limited protection)
	NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"`

	// Limit policy of resource creation
	ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"`

	// Progress configuration
	RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"`

	// Timeout period of time-limited protection. Value range: 5-1440 minutes. Default value: 60 minutes. This parameter is valid only when NewGameSessionProtectionPolicy is set as TimeLimitProtection.
	GameServerSessionProtectionTimeLimit *int64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"`

	// Whether to select scaling. Valid values: SCALING_SELECTED, SCALING_UNSELECTED. Default value: SCALING_UNSELECTED.
	SelectedScalingType *string `json:"SelectedScalingType,omitempty" name:"SelectedScalingType"`

	// Whether to associate the fleet with a CCN instance: CCN_SELECTED_BEFORE_CREATE (associate before creation), CCN_SELECTED_AFTER_CREATE (associated after creation), or CCN_UNSELECTED (do not associate); CCN_UNSELECTED by default
	SelectedCcnType *string `json:"SelectedCcnType,omitempty" name:"SelectedCcnType"`

	// Tag list. Up to 50 tags.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// System disk. It can be a SSD (CLOUD_SSD) with 100-500 GB capacity or a Premium Cloud Storage disk (CLOUD_PREMIUM) with 50-500 GB capacity. The increment is 1.
	SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"`

	// Data disk. It can be SSD disks (CLOUD_SSD) with 100-32000 GB capacity or Premium Cloud Storage disks (CLOUD_PREMIUM) with 10-32000 GB capacity. The increment is 10.
	DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo"`

	// Whether to select to replicate the timer policy: TIMER_SELECTED or TIMER_UNSELECTED. The default value is TIMER_UNSELECTED.
	SelectedTimerType *string `json:"SelectedTimerType,omitempty" name:"SelectedTimerType"`

	// Information of the CCN instance, including the owner account and the instance ID.
	CcnInfos []*CcnInfo `json:"CcnInfos,omitempty" name:"CcnInfos"`

	// Maximum outbound public network bandwidth of the server fleet. Value range: 1 - 200 Mbps. Default value: 100 Mbps.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
}

func NewCopyFleetRequest

func NewCopyFleetRequest() (request *CopyFleetRequest)

func (*CopyFleetRequest) FromJsonString

func (r *CopyFleetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CopyFleetRequest) ToJsonString

func (r *CopyFleetRequest) ToJsonString() string

type CopyFleetRequestParams

type CopyFleetRequestParams struct {
	// Server fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Replica number. It should a value between 1 to the number of the remaining quota. It can be obtained through [Obtaining User Quota](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).
	CopyNumber *int64 `json:"CopyNumber,omitempty" name:"CopyNumber"`

	// Asset package ID
	AssetId *string `json:"AssetId,omitempty" name:"AssetId"`

	// Description. The length is 0-100 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Network configuration
	InboundPermissions []*InboundPermission `json:"InboundPermissions,omitempty" name:"InboundPermissions"`

	// Server type. It can be obtained through [Obtaining Server Instance Type List](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Server fleet type, which only supports “ON_DEMAND” type now.
	FleetType *string `json:"FleetType,omitempty" name:"FleetType"`

	// Server fleet name. The length is 1-50 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Protection policy. Valid values: NoProtection·(no protection), FullProtection (full protection), TimeLimitProtection (time-limited protection)
	NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"`

	// Limit policy of resource creation
	ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"`

	// Progress configuration
	RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"`

	// Timeout period of time-limited protection. Value range: 5-1440 minutes. Default value: 60 minutes. This parameter is valid only when NewGameSessionProtectionPolicy is set as TimeLimitProtection.
	GameServerSessionProtectionTimeLimit *int64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"`

	// Whether to select scaling. Valid values: SCALING_SELECTED, SCALING_UNSELECTED. Default value: SCALING_UNSELECTED.
	SelectedScalingType *string `json:"SelectedScalingType,omitempty" name:"SelectedScalingType"`

	// Whether to associate the fleet with a CCN instance: CCN_SELECTED_BEFORE_CREATE (associate before creation), CCN_SELECTED_AFTER_CREATE (associated after creation), or CCN_UNSELECTED (do not associate); CCN_UNSELECTED by default
	SelectedCcnType *string `json:"SelectedCcnType,omitempty" name:"SelectedCcnType"`

	// Tag list. Up to 50 tags.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// System disk. It can be a SSD (CLOUD_SSD) with 100-500 GB capacity or a Premium Cloud Storage disk (CLOUD_PREMIUM) with 50-500 GB capacity. The increment is 1.
	SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"`

	// Data disk. It can be SSD disks (CLOUD_SSD) with 100-32000 GB capacity or Premium Cloud Storage disks (CLOUD_PREMIUM) with 10-32000 GB capacity. The increment is 10.
	DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo"`

	// Whether to select to replicate the timer policy: TIMER_SELECTED or TIMER_UNSELECTED. The default value is TIMER_UNSELECTED.
	SelectedTimerType *string `json:"SelectedTimerType,omitempty" name:"SelectedTimerType"`

	// Information of the CCN instance, including the owner account and the instance ID.
	CcnInfos []*CcnInfo `json:"CcnInfos,omitempty" name:"CcnInfos"`

	// Maximum outbound public network bandwidth of the server fleet. Value range: 1 - 200 Mbps. Default value: 100 Mbps.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
}

Predefined struct for user

type CopyFleetResponse

type CopyFleetResponse struct {
	*tchttp.BaseResponse
	Response *CopyFleetResponseParams `json:"Response"`
}

func NewCopyFleetResponse

func NewCopyFleetResponse() (response *CopyFleetResponse)

func (*CopyFleetResponse) FromJsonString

func (r *CopyFleetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CopyFleetResponse) ToJsonString

func (r *CopyFleetResponse) ToJsonString() string

type CopyFleetResponseParams

type CopyFleetResponseParams struct {
	// Server fleet attributes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FleetAttributes []*FleetAttributes `json:"FleetAttributes,omitempty" name:"FleetAttributes"`

	// The number of server fleets
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateGameServerSessionRequest

type CreateGameServerSessionRequest struct {
	*tchttp.BaseRequest

	// The maximum number of players, which cannot be less than 0.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Alias ID. You need to specify an alias ID or fleet ID for each request. If both of them are specified, the fleet ID shall prevail.
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Creator ID. Up to 1024 ASCII characters are allowed.
	CreatorId *string `json:"CreatorId,omitempty" name:"CreatorId"`

	// Fleet ID. You need to specify an alias ID or fleet ID for each request. If both of them are specified, the fleet ID shall prevail.
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game attributes. Up to 16 groups of attributes are allowed.
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// The attribute details of game server session. Up to 4096 ASCII characters are allowed.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// The custom ID of game server session. Up to 4096 ASCII characters are allowed.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Idempotency token. Up to 48 ASCII characters are allowed.
	IdempotencyToken *string `json:"IdempotencyToken,omitempty" name:"IdempotencyToken"`

	// The name of game server session. Up to 1024 ASCII characters are allowed.
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewCreateGameServerSessionRequest

func NewCreateGameServerSessionRequest() (request *CreateGameServerSessionRequest)

func (*CreateGameServerSessionRequest) FromJsonString

func (r *CreateGameServerSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateGameServerSessionRequest) ToJsonString

func (r *CreateGameServerSessionRequest) ToJsonString() string

type CreateGameServerSessionRequestParams

type CreateGameServerSessionRequestParams struct {
	// The maximum number of players, which cannot be less than 0.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Alias ID. You need to specify an alias ID or fleet ID for each request. If both of them are specified, the fleet ID shall prevail.
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Creator ID. Up to 1024 ASCII characters are allowed.
	CreatorId *string `json:"CreatorId,omitempty" name:"CreatorId"`

	// Fleet ID. You need to specify an alias ID or fleet ID for each request. If both of them are specified, the fleet ID shall prevail.
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game attributes. Up to 16 groups of attributes are allowed.
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// The attribute details of game server session. Up to 4096 ASCII characters are allowed.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// The custom ID of game server session. Up to 4096 ASCII characters are allowed.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Idempotency token. Up to 48 ASCII characters are allowed.
	IdempotencyToken *string `json:"IdempotencyToken,omitempty" name:"IdempotencyToken"`

	// The name of game server session. Up to 1024 ASCII characters are allowed.
	Name *string `json:"Name,omitempty" name:"Name"`
}

Predefined struct for user

type CreateGameServerSessionResponse

type CreateGameServerSessionResponse struct {
	*tchttp.BaseResponse
	Response *CreateGameServerSessionResponseParams `json:"Response"`
}

func NewCreateGameServerSessionResponse

func NewCreateGameServerSessionResponse() (response *CreateGameServerSessionResponse)

func (*CreateGameServerSessionResponse) FromJsonString

func (r *CreateGameServerSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateGameServerSessionResponse) ToJsonString

func (r *CreateGameServerSessionResponse) ToJsonString() string

type CreateGameServerSessionResponseParams

type CreateGameServerSessionResponseParams struct {
	// Game server session
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Credentials

type Credentials struct {
	// SSH private key
	Secret *string `json:"Secret,omitempty" name:"Secret"`

	// Username
	UserName *string `json:"UserName,omitempty" name:"UserName"`
}

type DeleteTimerScalingPolicyRequest

type DeleteTimerScalingPolicyRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the policy
	TimerId *string `json:"TimerId,omitempty" name:"TimerId"`

	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Scheduled scaling policy name
	TimerName *string `json:"TimerName,omitempty" name:"TimerName"`
}

func NewDeleteTimerScalingPolicyRequest

func NewDeleteTimerScalingPolicyRequest() (request *DeleteTimerScalingPolicyRequest)

func (*DeleteTimerScalingPolicyRequest) FromJsonString

func (r *DeleteTimerScalingPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTimerScalingPolicyRequest) ToJsonString

func (r *DeleteTimerScalingPolicyRequest) ToJsonString() string

type DeleteTimerScalingPolicyRequestParams

type DeleteTimerScalingPolicyRequestParams struct {
	// Unique ID of the policy
	TimerId *string `json:"TimerId,omitempty" name:"TimerId"`

	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Scheduled scaling policy name
	TimerName *string `json:"TimerName,omitempty" name:"TimerName"`
}

Predefined struct for user

type DeleteTimerScalingPolicyResponse

type DeleteTimerScalingPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTimerScalingPolicyResponseParams `json:"Response"`
}

func NewDeleteTimerScalingPolicyResponse

func NewDeleteTimerScalingPolicyResponse() (response *DeleteTimerScalingPolicyResponse)

func (*DeleteTimerScalingPolicyResponse) FromJsonString

func (r *DeleteTimerScalingPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTimerScalingPolicyResponse) ToJsonString

func (r *DeleteTimerScalingPolicyResponse) ToJsonString() string

type DeleteTimerScalingPolicyResponseParams

type DeleteTimerScalingPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGameServerSessionDetailsRequest

type DescribeGameServerSessionDetailsRequest struct {
	*tchttp.BaseRequest

	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERROR
	StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"`
}

func NewDescribeGameServerSessionDetailsRequest

func NewDescribeGameServerSessionDetailsRequest() (request *DescribeGameServerSessionDetailsRequest)

func (*DescribeGameServerSessionDetailsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionDetailsRequest) ToJsonString

type DescribeGameServerSessionDetailsRequestParams

type DescribeGameServerSessionDetailsRequestParams struct {
	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERROR
	StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"`
}

Predefined struct for user

type DescribeGameServerSessionDetailsResponse

type DescribeGameServerSessionDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGameServerSessionDetailsResponseParams `json:"Response"`
}

func NewDescribeGameServerSessionDetailsResponse

func NewDescribeGameServerSessionDetailsResponse() (response *DescribeGameServerSessionDetailsResponse)

func (*DescribeGameServerSessionDetailsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionDetailsResponse) ToJsonString

type DescribeGameServerSessionDetailsResponseParams

type DescribeGameServerSessionDetailsResponseParams struct {
	// List of game server session details
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessionDetails []*GameServerSessionDetail `json:"GameServerSessionDetails,omitempty" name:"GameServerSessionDetails"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGameServerSessionPlacementRequest

type DescribeGameServerSessionPlacementRequest struct {
	*tchttp.BaseRequest

	// Unique ID of game server session placement
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`
}

func NewDescribeGameServerSessionPlacementRequest

func NewDescribeGameServerSessionPlacementRequest() (request *DescribeGameServerSessionPlacementRequest)

func (*DescribeGameServerSessionPlacementRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionPlacementRequest) ToJsonString

type DescribeGameServerSessionPlacementRequestParams

type DescribeGameServerSessionPlacementRequestParams struct {
	// Unique ID of game server session placement
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`
}

Predefined struct for user

type DescribeGameServerSessionPlacementResponse

type DescribeGameServerSessionPlacementResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGameServerSessionPlacementResponseParams `json:"Response"`
}

func NewDescribeGameServerSessionPlacementResponse

func NewDescribeGameServerSessionPlacementResponse() (response *DescribeGameServerSessionPlacementResponse)

func (*DescribeGameServerSessionPlacementResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionPlacementResponse) ToJsonString

type DescribeGameServerSessionPlacementResponseParams

type DescribeGameServerSessionPlacementResponseParams struct {
	// Game server session placement
	GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGameServerSessionsRequest

type DescribeGameServerSessionsRequest struct {
	*tchttp.BaseRequest

	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERROR
	StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"`
}

func NewDescribeGameServerSessionsRequest

func NewDescribeGameServerSessionsRequest() (request *DescribeGameServerSessionsRequest)

func (*DescribeGameServerSessionsRequest) FromJsonString

func (r *DescribeGameServerSessionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionsRequest) ToJsonString

func (r *DescribeGameServerSessionsRequest) ToJsonString() string

type DescribeGameServerSessionsRequestParams

type DescribeGameServerSessionsRequestParams struct {
	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERROR
	StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"`
}

Predefined struct for user

type DescribeGameServerSessionsResponse

type DescribeGameServerSessionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGameServerSessionsResponseParams `json:"Response"`
}

func NewDescribeGameServerSessionsResponse

func NewDescribeGameServerSessionsResponse() (response *DescribeGameServerSessionsResponse)

func (*DescribeGameServerSessionsResponse) FromJsonString

func (r *DescribeGameServerSessionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGameServerSessionsResponse) ToJsonString

func (r *DescribeGameServerSessionsResponse) ToJsonString() string

type DescribeGameServerSessionsResponseParams

type DescribeGameServerSessionsResponseParams struct {
	// Game server session list
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessions []*GameServerSession `json:"GameServerSessions,omitempty" name:"GameServerSessions"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceTypesRequest

type DescribeInstanceTypesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInstanceTypesRequest

func NewDescribeInstanceTypesRequest() (request *DescribeInstanceTypesRequest)

func (*DescribeInstanceTypesRequest) FromJsonString

func (r *DescribeInstanceTypesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTypesRequest) ToJsonString

func (r *DescribeInstanceTypesRequest) ToJsonString() string

type DescribeInstanceTypesRequestParams

type DescribeInstanceTypesRequestParams struct {
}

Predefined struct for user

type DescribeInstanceTypesResponse

type DescribeInstanceTypesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceTypesResponseParams `json:"Response"`
}

func NewDescribeInstanceTypesResponse

func NewDescribeInstanceTypesResponse() (response *DescribeInstanceTypesResponse)

func (*DescribeInstanceTypesResponse) FromJsonString

func (r *DescribeInstanceTypesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTypesResponse) ToJsonString

func (r *DescribeInstanceTypesResponse) ToJsonString() string

type DescribeInstanceTypesResponseParams

type DescribeInstanceTypesResponseParams struct {
	// List of server types
	InstanceTypeList []*InstanceTypeInfo `json:"InstanceTypeList,omitempty" name:"InstanceTypeList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePlayerSessionsRequest

type DescribePlayerSessionsRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Player ID. It should contain 1 to 1024 ASCII characters.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player session ID. It should contain 1 to 1024 ASCII characters.
	PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"`

	// Player session status. Valid values: RESERVED, ACTIVE, COMPLETED, TIMEDOUT
	PlayerSessionStatusFilter *string `json:"PlayerSessionStatusFilter,omitempty" name:"PlayerSessionStatusFilter"`
}

func NewDescribePlayerSessionsRequest

func NewDescribePlayerSessionsRequest() (request *DescribePlayerSessionsRequest)

func (*DescribePlayerSessionsRequest) FromJsonString

func (r *DescribePlayerSessionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePlayerSessionsRequest) ToJsonString

func (r *DescribePlayerSessionsRequest) ToJsonString() string

type DescribePlayerSessionsRequestParams

type DescribePlayerSessionsRequestParams struct {
	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Player ID. It should contain 1 to 1024 ASCII characters.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player session ID. It should contain 1 to 1024 ASCII characters.
	PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"`

	// Player session status. Valid values: RESERVED, ACTIVE, COMPLETED, TIMEDOUT
	PlayerSessionStatusFilter *string `json:"PlayerSessionStatusFilter,omitempty" name:"PlayerSessionStatusFilter"`
}

Predefined struct for user

type DescribePlayerSessionsResponse

type DescribePlayerSessionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePlayerSessionsResponseParams `json:"Response"`
}

func NewDescribePlayerSessionsResponse

func NewDescribePlayerSessionsResponse() (response *DescribePlayerSessionsResponse)

func (*DescribePlayerSessionsResponse) FromJsonString

func (r *DescribePlayerSessionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePlayerSessionsResponse) ToJsonString

func (r *DescribePlayerSessionsResponse) ToJsonString() string

type DescribePlayerSessionsResponseParams

type DescribePlayerSessionsResponseParams struct {
	// Player session list
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlayerSessions []*PlayerSession `json:"PlayerSessions,omitempty" name:"PlayerSessions"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTimerScalingPoliciesRequest

type DescribeTimerScalingPoliciesRequest struct {
	*tchttp.BaseRequest

	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Scheduled scaling policy name
	TimerName *string `json:"TimerName,omitempty" name:"TimerName"`

	// Start time of the scheduled scaling policy
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// End time of the scheduled scaling policy
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Pagination offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeTimerScalingPoliciesRequest

func NewDescribeTimerScalingPoliciesRequest() (request *DescribeTimerScalingPoliciesRequest)

func (*DescribeTimerScalingPoliciesRequest) FromJsonString

func (r *DescribeTimerScalingPoliciesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimerScalingPoliciesRequest) ToJsonString

func (r *DescribeTimerScalingPoliciesRequest) ToJsonString() string

type DescribeTimerScalingPoliciesRequestParams

type DescribeTimerScalingPoliciesRequestParams struct {
	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Scheduled scaling policy name
	TimerName *string `json:"TimerName,omitempty" name:"TimerName"`

	// Start time of the scheduled scaling policy
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// End time of the scheduled scaling policy
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Pagination offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeTimerScalingPoliciesResponse

type DescribeTimerScalingPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimerScalingPoliciesResponseParams `json:"Response"`
}

func NewDescribeTimerScalingPoliciesResponse

func NewDescribeTimerScalingPoliciesResponse() (response *DescribeTimerScalingPoliciesResponse)

func (*DescribeTimerScalingPoliciesResponse) FromJsonString

func (r *DescribeTimerScalingPoliciesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimerScalingPoliciesResponse) ToJsonString

func (r *DescribeTimerScalingPoliciesResponse) ToJsonString() string

type DescribeTimerScalingPoliciesResponseParams

type DescribeTimerScalingPoliciesResponseParams struct {
	// Configuration of the scheduled scaling policy
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TimerScalingPolicies []*TimerScalingPolicy `json:"TimerScalingPolicies,omitempty" name:"TimerScalingPolicies"`

	// Total number of scheduled scaling policies
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DesiredPlayerSession

type DesiredPlayerSession struct {
	// Unique player ID associated with player session
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Developer-defined player data
	PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"`
}

type DiskInfo

type DiskInfo struct {
	// Disk type: Premium Cloud Storage (CLOUD_PREMIUM) or SSD (CLOUD_SSD)
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// System disk: the available disk capacity is 50-500 GB. Data disk: the available disk capacity is 100-32000 GB, and the value is a multiple of 10. When the disk type is SSD (CLOUD_SSD), the minimum capacity is 100 GB.
	DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"`
}

type EndGameServerSessionAndProcessRequest

type EndGameServerSessionAndProcessRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. If a game server session ID is passed in, its corresponding processes, game server sessions, and player sessions will be terminated.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// The public IP of the CVM. You need to pass in `IpAddress` and `Port` at the same time to terminate the matched processes, game server sessions and player sessions (if any exists). It does not take effect in case only the `IpAddress` passed in.
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// Port number. Value range: 1025 - 60000. You need to pass in `IpAddress` and `Port` at the same time to terminate the matched processes, game server sessions (if any exists) and player sessions (if any exists). It does not take effect in case only the `IpAddress` passed in.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

func NewEndGameServerSessionAndProcessRequest

func NewEndGameServerSessionAndProcessRequest() (request *EndGameServerSessionAndProcessRequest)

func (*EndGameServerSessionAndProcessRequest) FromJsonString

func (r *EndGameServerSessionAndProcessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EndGameServerSessionAndProcessRequest) ToJsonString

type EndGameServerSessionAndProcessRequestParams

type EndGameServerSessionAndProcessRequestParams struct {
	// Game server session ID. If a game server session ID is passed in, its corresponding processes, game server sessions, and player sessions will be terminated.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// The public IP of the CVM. You need to pass in `IpAddress` and `Port` at the same time to terminate the matched processes, game server sessions and player sessions (if any exists). It does not take effect in case only the `IpAddress` passed in.
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// Port number. Value range: 1025 - 60000. You need to pass in `IpAddress` and `Port` at the same time to terminate the matched processes, game server sessions (if any exists) and player sessions (if any exists). It does not take effect in case only the `IpAddress` passed in.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

Predefined struct for user

type EndGameServerSessionAndProcessResponse

type EndGameServerSessionAndProcessResponse struct {
	*tchttp.BaseResponse
	Response *EndGameServerSessionAndProcessResponseParams `json:"Response"`
}

func NewEndGameServerSessionAndProcessResponse

func NewEndGameServerSessionAndProcessResponse() (response *EndGameServerSessionAndProcessResponse)

func (*EndGameServerSessionAndProcessResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EndGameServerSessionAndProcessResponse) ToJsonString

type EndGameServerSessionAndProcessResponseParams

type EndGameServerSessionAndProcessResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type FleetAttributes

type FleetAttributes struct {
	// Asset package ID
	AssetId *string `json:"AssetId,omitempty" name:"AssetId"`

	// Server fleet creation time
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// Description
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Description of server fleet resource
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FleetArn *string `json:"FleetArn,omitempty" name:"FleetArn"`

	// Server fleet ID
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Server fleet type, which only supports ON_DEMAND now.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FleetType *string `json:"FleetType,omitempty" name:"FleetType"`

	// Server type, such as S5.LARGE8
	// Note: this field may return `null`, indicating that no valid value is obtained.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Server fleet name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Game session protection policy
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"`

	// Operating system type
	// Note: this field may return `null`, indicating that no valid value is obtained.
	OperatingSystem *string `json:"OperatingSystem,omitempty" name:"OperatingSystem"`

	// Limit policy of resource creation
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"`

	// Statuses: “Create”, “Downloading”, “Verifying”, “Generating”, “Activating”, “Active”, “Exception”, “Deleting”, and “End”.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// The status of server fleet when it stopped. If this field is left empty, it means automatic scaling.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	StoppedActions []*string `json:"StoppedActions,omitempty" name:"StoppedActions"`

	// Server fleet termination time
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"`

	// Timeout period of time-limited protection. Value range: 5-1440 minutes. Default value: 60 minutes.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	GameServerSessionProtectionTimeLimit *uint64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"`

	// Billing status: Unactivated, Activated, Exception, Isolated due to arrears, Terminated, and Unfrozen.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	BillingStatus *string `json:"BillingStatus,omitempty" name:"BillingStatus"`

	// Tag list. Up to 50 tags.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Data disk. It can be SSD disks (CLOUD_SSD) with 100-32000 GB capacity or Premium Cloud Storage disks (CLOUD_PREMIUM) with 10-32000 GB capacity. The increment is 10.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo"`

	// System disk. It can be a SSD (CLOUD_SSD) with 100-500 GB capacity or a Premium Cloud Storage disk (CLOUD_PREMIUM) with 50-500 GB capacity. The increment is 1.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"`

	// CCN instance information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RelatedCcnInfos []*RelatedCcnInfo `json:"RelatedCcnInfos,omitempty" name:"RelatedCcnInfos"`

	// Maximum outbound public network bandwidth of the server fleet. Value range: 1 - 200 Mbps. Default value: 100 Mbps.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
}

type GameProperty

type GameProperty struct {
	// Attribute name. Up to 32 ASCII characters are allowed.
	Key *string `json:"Key,omitempty" name:"Key"`

	// Attribute value. Up to 96 ASCII characters are allowed.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type GameServerSession

type GameServerSession struct {
	// Game server session creation time
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// Creator ID. Up to 1024 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CreatorId *string `json:"CreatorId,omitempty" name:"CreatorId"`

	// The current number of players, which cannot be less than 0.
	CurrentPlayerSessionCount *uint64 `json:"CurrentPlayerSessionCount,omitempty" name:"CurrentPlayerSessionCount"`

	// CVM DNS ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	DnsName *string `json:"DnsName,omitempty" name:"DnsName"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game attributes. Up to 16 groups of attributes are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// The attribute details of game server session. Up to 4096 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// CVM IP address
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// Battle progress details. Up to 400,000 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchmakerData *string `json:"MatchmakerData,omitempty" name:"MatchmakerData"`

	// The maximum number of players, which cannot be less than 0.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// The name of game server session. Up to 1024 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Player session creation policy. Valid values: ACCEPT_ALL, DENY_ALL
	// Note: this field may return `null`, indicating that no valid value is obtained.
	PlayerSessionCreationPolicy *string `json:"PlayerSessionCreationPolicy,omitempty" name:"PlayerSessionCreationPolicy"`

	// Port number. It should be a value between 1 to 60000.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERROR
	Status *string `json:"Status,omitempty" name:"Status"`

	// Additional information of game server session status
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusReason *string `json:"StatusReason,omitempty" name:"StatusReason"`

	// Termination time
	// Note: this field may return null, indicating that no valid values can be obtained.
	TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"`

	// Instance type. Up to 128 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Current custom count
	// Note: this field may return null, indicating that no valid values can be obtained.
	CurrentCustomCount *int64 `json:"CurrentCustomCount,omitempty" name:"CurrentCustomCount"`

	// Maximum custom count
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxCustomCount *int64 `json:"MaxCustomCount,omitempty" name:"MaxCustomCount"`

	// Weight
	// Note: this field may return null, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`

	// Session availability status, i.e., whether it is blocked. Valid value: Enable, Disable
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AvailabilityStatus *string `json:"AvailabilityStatus,omitempty" name:"AvailabilityStatus"`
}

type GameServerSessionDetail

type GameServerSessionDetail struct {
	// Game server session
	GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"`

	// Protection policy. Valid values: NoProtection, FullProtection
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProtectionPolicy *string `json:"ProtectionPolicy,omitempty" name:"ProtectionPolicy"`
}

type GameServerSessionPlacement

type GameServerSessionPlacement struct {
	// Deployment ID
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`

	// Service deployment group name
	GameServerSessionQueueName *string `json:"GameServerSessionQueueName,omitempty" name:"GameServerSessionQueueName"`

	// Player latency
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlayerLatencies []*PlayerLatency `json:"PlayerLatencies,omitempty" name:"PlayerLatencies"`

	// Service deployment status
	Status *string `json:"Status,omitempty" name:"Status"`

	// DNS ID assigned to the instance where the game session is running
	// Note: this field may return null, indicating that no valid values can be obtained.
	DnsName *string `json:"DnsName,omitempty" name:"DnsName"`

	// Game session ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Game session name
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessionName *string `json:"GameServerSessionName,omitempty" name:"GameServerSessionName"`

	// Service deployment region
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessionRegion *string `json:"GameServerSessionRegion,omitempty" name:"GameServerSessionRegion"`

	// Game attributes
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// The maximum number of players that can be connected simultaneously to the game session. It should a value between 1 to the maximum number of player sessions.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Game session data
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// IP address of the instance where the game session is running
	// Note: this field may return null, indicating that no valid values can be obtained.
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// Port number of the instance where the game session is running
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Game match data
	// Note: this field may return null, indicating that no valid values can be obtained.
	MatchmakerData *string `json:"MatchmakerData,omitempty" name:"MatchmakerData"`

	// Deployed player game data
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlacedPlayerSessions []*PlacedPlayerSession `json:"PlacedPlayerSessions,omitempty" name:"PlacedPlayerSessions"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type GetGameServerSessionLogUrlRequest

type GetGameServerSessionLogUrlRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`
}

func NewGetGameServerSessionLogUrlRequest

func NewGetGameServerSessionLogUrlRequest() (request *GetGameServerSessionLogUrlRequest)

func (*GetGameServerSessionLogUrlRequest) FromJsonString

func (r *GetGameServerSessionLogUrlRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetGameServerSessionLogUrlRequest) ToJsonString

func (r *GetGameServerSessionLogUrlRequest) ToJsonString() string

type GetGameServerSessionLogUrlRequestParams

type GetGameServerSessionLogUrlRequestParams struct {
	// Game server session ID. It should contain 1 to 48 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`
}

Predefined struct for user

type GetGameServerSessionLogUrlResponse

type GetGameServerSessionLogUrlResponse struct {
	*tchttp.BaseResponse
	Response *GetGameServerSessionLogUrlResponseParams `json:"Response"`
}

func NewGetGameServerSessionLogUrlResponse

func NewGetGameServerSessionLogUrlResponse() (response *GetGameServerSessionLogUrlResponse)

func (*GetGameServerSessionLogUrlResponse) FromJsonString

func (r *GetGameServerSessionLogUrlResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetGameServerSessionLogUrlResponse) ToJsonString

func (r *GetGameServerSessionLogUrlResponse) ToJsonString() string

type GetGameServerSessionLogUrlResponseParams

type GetGameServerSessionLogUrlResponseParams struct {
	// Log download URL. It should contain 1 to 1024 ASCII characters.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	PreSignedUrl *string `json:"PreSignedUrl,omitempty" name:"PreSignedUrl"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetInstanceAccessRequest

type GetInstanceAccessRequest struct {
	*tchttp.BaseRequest

	// Server fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewGetInstanceAccessRequest

func NewGetInstanceAccessRequest() (request *GetInstanceAccessRequest)

func (*GetInstanceAccessRequest) FromJsonString

func (r *GetInstanceAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetInstanceAccessRequest) ToJsonString

func (r *GetInstanceAccessRequest) ToJsonString() string

type GetInstanceAccessRequestParams

type GetInstanceAccessRequestParams struct {
	// Server fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type GetInstanceAccessResponse

type GetInstanceAccessResponse struct {
	*tchttp.BaseResponse
	Response *GetInstanceAccessResponseParams `json:"Response"`
}

func NewGetInstanceAccessResponse

func NewGetInstanceAccessResponse() (response *GetInstanceAccessResponse)

func (*GetInstanceAccessResponse) FromJsonString

func (r *GetInstanceAccessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetInstanceAccessResponse) ToJsonString

func (r *GetInstanceAccessResponse) ToJsonString() string

type GetInstanceAccessResponseParams

type GetInstanceAccessResponseParams struct {
	// Credentials required for instance login
	InstanceAccess *InstanceAccess `json:"InstanceAccess,omitempty" name:"InstanceAccess"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type InboundPermission

type InboundPermission struct {
	// Start port number. Minimum value: 1025.
	FromPort *uint64 `json:"FromPort,omitempty" name:"FromPort"`

	// IP range. Valid range of the input IPv4 addresses in CIDR format; for example, 0.0.0.0.0/0.
	IpRange *string `json:"IpRange,omitempty" name:"IpRange"`

	// Protocol type: TCP or UDP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// End port number. Maximum value: 60000.
	ToPort *uint64 `json:"ToPort,omitempty" name:"ToPort"`
}

type InstanceAccess

type InstanceAccess struct {
	// Credentials required for instance access
	Credentials *Credentials `json:"Credentials,omitempty" name:"Credentials"`

	// Service deployment ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Public IP of instance
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// OS
	OperatingSystem *string `json:"OperatingSystem,omitempty" name:"OperatingSystem"`
}

type InstanceTypeInfo

type InstanceTypeInfo struct {
	// Name of the server type, such as `Standard SA1`
	TypeName *string `json:"TypeName,omitempty" name:"TypeName"`

	// Specification of the server type, such as `SA1.SMALL1`
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// CPU, in core
	Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"`

	// Memory, in GB
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// The packet sending and receiving capability, in 10k PPS.
	NetworkCard *uint64 `json:"NetworkCard,omitempty" name:"NetworkCard"`
}

type JoinGameServerSessionBatchRequest

type JoinGameServerSessionBatchRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Player ID list. At least 1 ID and up to 25 IDs.
	PlayerIds []*string `json:"PlayerIds,omitempty" name:"PlayerIds"`

	// Player custom data
	PlayerDataMap *PlayerDataMap `json:"PlayerDataMap,omitempty" name:"PlayerDataMap"`
}

func NewJoinGameServerSessionBatchRequest

func NewJoinGameServerSessionBatchRequest() (request *JoinGameServerSessionBatchRequest)

func (*JoinGameServerSessionBatchRequest) FromJsonString

func (r *JoinGameServerSessionBatchRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*JoinGameServerSessionBatchRequest) ToJsonString

func (r *JoinGameServerSessionBatchRequest) ToJsonString() string

type JoinGameServerSessionBatchRequestParams

type JoinGameServerSessionBatchRequestParams struct {
	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Player ID list. At least 1 ID and up to 25 IDs.
	PlayerIds []*string `json:"PlayerIds,omitempty" name:"PlayerIds"`

	// Player custom data
	PlayerDataMap *PlayerDataMap `json:"PlayerDataMap,omitempty" name:"PlayerDataMap"`
}

Predefined struct for user

type JoinGameServerSessionBatchResponse

type JoinGameServerSessionBatchResponse struct {
	*tchttp.BaseResponse
	Response *JoinGameServerSessionBatchResponseParams `json:"Response"`
}

func NewJoinGameServerSessionBatchResponse

func NewJoinGameServerSessionBatchResponse() (response *JoinGameServerSessionBatchResponse)

func (*JoinGameServerSessionBatchResponse) FromJsonString

func (r *JoinGameServerSessionBatchResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*JoinGameServerSessionBatchResponse) ToJsonString

func (r *JoinGameServerSessionBatchResponse) ToJsonString() string

type JoinGameServerSessionBatchResponseParams

type JoinGameServerSessionBatchResponseParams struct {
	// Player session list. Up to 25 sessions.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	PlayerSessions []*PlayerSession `json:"PlayerSessions,omitempty" name:"PlayerSessions"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type JoinGameServerSessionRequest

type JoinGameServerSessionRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Player ID. Up to 1024 ASCII characters are allowed.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player custom data. Up to 2048 ASCII characters are allowed.
	PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"`
}

func NewJoinGameServerSessionRequest

func NewJoinGameServerSessionRequest() (request *JoinGameServerSessionRequest)

func (*JoinGameServerSessionRequest) FromJsonString

func (r *JoinGameServerSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*JoinGameServerSessionRequest) ToJsonString

func (r *JoinGameServerSessionRequest) ToJsonString() string

type JoinGameServerSessionRequestParams

type JoinGameServerSessionRequestParams struct {
	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Player ID. Up to 1024 ASCII characters are allowed.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player custom data. Up to 2048 ASCII characters are allowed.
	PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"`
}

Predefined struct for user

type JoinGameServerSessionResponse

type JoinGameServerSessionResponse struct {
	*tchttp.BaseResponse
	Response *JoinGameServerSessionResponseParams `json:"Response"`
}

func NewJoinGameServerSessionResponse

func NewJoinGameServerSessionResponse() (response *JoinGameServerSessionResponse)

func (*JoinGameServerSessionResponse) FromJsonString

func (r *JoinGameServerSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*JoinGameServerSessionResponse) ToJsonString

func (r *JoinGameServerSessionResponse) ToJsonString() string

type JoinGameServerSessionResponseParams

type JoinGameServerSessionResponseParams struct {
	// Player session
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlayerSession *PlayerSession `json:"PlayerSession,omitempty" name:"PlayerSession"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type PlacedPlayerSession

type PlacedPlayerSession struct {
	// Player ID
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player session ID
	PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"`
}

type PlayerDataMap

type PlayerDataMap struct {
	// The key of player custom data. It should contain 1 to 1024 ASCII characters.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The value of player custom data. It should contain 1 to 2048 ASCII characters.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type PlayerLatency

type PlayerLatency struct {
	// Player ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Name of region corresponding to latency
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegionIdentifier *string `json:"RegionIdentifier,omitempty" name:"RegionIdentifier"`

	// Latency in milliseconds
	LatencyInMilliseconds *uint64 `json:"LatencyInMilliseconds,omitempty" name:"LatencyInMilliseconds"`
}

type PlayerSession

type PlayerSession struct {
	// Player session creation time
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// ID of the DNS where the game server session is running
	// Note: this field may return null, indicating that no valid values can be obtained.
	DnsName *string `json:"DnsName,omitempty" name:"DnsName"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// Address of the CVM instance where the game server session is running
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// Player custom data. Up to 2048 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"`

	// Player ID. Up to 1024 ASCII characters are allowed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"`

	// Player session ID
	PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"`

	// Port number. It should be a value between 1 to 60000.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Player session status. Valid values: RESERVED = 1, ACTIVE = 2, COMPLETED =3, TIMEDOUT = 4
	Status *string `json:"Status,omitempty" name:"Status"`

	// Player session termination time
	// Note: this field may return null, indicating that no valid values can be obtained.
	TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"`
}

type PutTimerScalingPolicyRequest

type PutTimerScalingPolicyRequest struct {
	*tchttp.BaseRequest

	// Configuration of the scheduled scaling policy
	TimerScalingPolicy *TimerScalingPolicy `json:"TimerScalingPolicy,omitempty" name:"TimerScalingPolicy"`
}

func NewPutTimerScalingPolicyRequest

func NewPutTimerScalingPolicyRequest() (request *PutTimerScalingPolicyRequest)

func (*PutTimerScalingPolicyRequest) FromJsonString

func (r *PutTimerScalingPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutTimerScalingPolicyRequest) ToJsonString

func (r *PutTimerScalingPolicyRequest) ToJsonString() string

type PutTimerScalingPolicyRequestParams

type PutTimerScalingPolicyRequestParams struct {
	// Configuration of the scheduled scaling policy
	TimerScalingPolicy *TimerScalingPolicy `json:"TimerScalingPolicy,omitempty" name:"TimerScalingPolicy"`
}

Predefined struct for user

type PutTimerScalingPolicyResponse

type PutTimerScalingPolicyResponse struct {
	*tchttp.BaseResponse
	Response *PutTimerScalingPolicyResponseParams `json:"Response"`
}

func NewPutTimerScalingPolicyResponse

func NewPutTimerScalingPolicyResponse() (response *PutTimerScalingPolicyResponse)

func (*PutTimerScalingPolicyResponse) FromJsonString

func (r *PutTimerScalingPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutTimerScalingPolicyResponse) ToJsonString

func (r *PutTimerScalingPolicyResponse) ToJsonString() string

type PutTimerScalingPolicyResponseParams

type PutTimerScalingPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RelatedCcnInfo

type RelatedCcnInfo struct {
	// Account of the CCN instance owner
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// CCN instance ID
	CcnId *string `json:"CcnId,omitempty" name:"CcnId"`

	// Status of associated CCN instance
	AttachType *string `json:"AttachType,omitempty" name:"AttachType"`
}

type ResourceCreationLimitPolicy

type ResourceCreationLimitPolicy struct {
	// Creation quantity. Minimum value: 1. Default value: 2.
	NewGameServerSessionsPerCreator *uint64 `json:"NewGameServerSessionsPerCreator,omitempty" name:"NewGameServerSessionsPerCreator"`

	// Unit time. Minimum value: 1. Default value: 3. Unit: minute.
	PolicyPeriodInMinutes *uint64 `json:"PolicyPeriodInMinutes,omitempty" name:"PolicyPeriodInMinutes"`
}

type RuntimeConfiguration

type RuntimeConfiguration struct {
	// Game session timeout. Value range: 1-600. Unit: second.
	GameServerSessionActivationTimeoutSeconds *uint64 `json:"GameServerSessionActivationTimeoutSeconds,omitempty" name:"GameServerSessionActivationTimeoutSeconds"`

	// Maximum number of game sessions. Value range: 1-2,147,483,647.
	MaxConcurrentGameServerSessionActivations *uint64 `json:"MaxConcurrentGameServerSessionActivations,omitempty" name:"MaxConcurrentGameServerSessionActivations"`

	// Service process configuration. There must be at least one service configuration.
	ServerProcesses []*ServerProcesse `json:"ServerProcesses,omitempty" name:"ServerProcesses"`
}

type SearchGameServerSessionsRequest

type SearchGameServerSessionsRequest struct {
	*tchttp.BaseRequest

	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Search filter expression. Valid values:
	// gameServerSessionName: game session name in `String` type
	// gameServerSessionId: game session ID in `String` type
	// maximumSessions: maximum number of player sessions in `Number` type
	// creationTimeMillis: creation time in milliseconds in `Number` type
	// playerSessionCount: current number of player sessions in `Number` type
	// hasAvailablePlayerSessions: whether there is available player session in `String` type. Valid values: true, false
	// gameServerSessionProperties: game session attributes in `String` type
	//
	// Expressions in `String` type support = and <> for judgment
	// Expressions in `Number` type support =, <>, >, >=, <, and <= for judgment
	//
	// Example:
	// If FilterExpression takes the value:
	// playerSessionCount>=2 AND hasAvailablePlayerSessions=true"
	// It means searching for game sessions that have at least two players and have player sessions available.
	// If FilterExpression takes the value:
	// gameServerSessionProperties.K1 = 'V1' AND gameServerSessionProperties.K2 = 'V2' OR gameServerSessionProperties.K3 = 'V3'
	//
	// it means
	// searching for game sessions that meets the following game server session attributes
	// {
	//     "GameProperties":[
	//         {
	//             "Key":"K1",
	//             "Value":"V1"
	//         },
	//         {
	//             "Key":"K2",
	//             "Value":"V2"
	//         },
	//         {
	//             "Key":"K3",
	//             "Value":"V3"
	//         }
	//     ]
	// }
	FilterExpression *string `json:"FilterExpression,omitempty" name:"FilterExpression"`

	// Sorting keyword
	// Valid values:
	// gameServerSessionName: game session name in `String` type
	// gameServerSessionId: game session ID in `String` type
	// maximumSessions: maximum number of player sessions in `Number` type
	// creationTimeMillis: creation time in milliseconds in `Number` type
	// playerSessionCount: current number of player sessions in `Number` type
	SortExpression *string `json:"SortExpression,omitempty" name:"SortExpression"`
}

func NewSearchGameServerSessionsRequest

func NewSearchGameServerSessionsRequest() (request *SearchGameServerSessionsRequest)

func (*SearchGameServerSessionsRequest) FromJsonString

func (r *SearchGameServerSessionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchGameServerSessionsRequest) ToJsonString

func (r *SearchGameServerSessionsRequest) ToJsonString() string

type SearchGameServerSessionsRequestParams

type SearchGameServerSessionsRequestParams struct {
	// Alias ID
	AliasId *string `json:"AliasId,omitempty" name:"AliasId"`

	// Fleet ID
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Maximum number of entries in a single query
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// Search filter expression. Valid values:
	// gameServerSessionName: game session name in `String` type
	// gameServerSessionId: game session ID in `String` type
	// maximumSessions: maximum number of player sessions in `Number` type
	// creationTimeMillis: creation time in milliseconds in `Number` type
	// playerSessionCount: current number of player sessions in `Number` type
	// hasAvailablePlayerSessions: whether there is available player session in `String` type. Valid values: true, false
	// gameServerSessionProperties: game session attributes in `String` type
	//
	// Expressions in `String` type support = and <> for judgment
	// Expressions in `Number` type support =, <>, >, >=, <, and <= for judgment
	//
	// Example:
	// If FilterExpression takes the value:
	// playerSessionCount>=2 AND hasAvailablePlayerSessions=true"
	// It means searching for game sessions that have at least two players and have player sessions available.
	// If FilterExpression takes the value:
	// gameServerSessionProperties.K1 = 'V1' AND gameServerSessionProperties.K2 = 'V2' OR gameServerSessionProperties.K3 = 'V3'
	//
	// it means
	// searching for game sessions that meets the following game server session attributes
	// {
	//     "GameProperties":[
	//         {
	//             "Key":"K1",
	//             "Value":"V1"
	//         },
	//         {
	//             "Key":"K2",
	//             "Value":"V2"
	//         },
	//         {
	//             "Key":"K3",
	//             "Value":"V3"
	//         }
	//     ]
	// }
	FilterExpression *string `json:"FilterExpression,omitempty" name:"FilterExpression"`

	// Sorting keyword
	// Valid values:
	// gameServerSessionName: game session name in `String` type
	// gameServerSessionId: game session ID in `String` type
	// maximumSessions: maximum number of player sessions in `Number` type
	// creationTimeMillis: creation time in milliseconds in `Number` type
	// playerSessionCount: current number of player sessions in `Number` type
	SortExpression *string `json:"SortExpression,omitempty" name:"SortExpression"`
}

Predefined struct for user

type SearchGameServerSessionsResponse

type SearchGameServerSessionsResponse struct {
	*tchttp.BaseResponse
	Response *SearchGameServerSessionsResponseParams `json:"Response"`
}

func NewSearchGameServerSessionsResponse

func NewSearchGameServerSessionsResponse() (response *SearchGameServerSessionsResponse)

func (*SearchGameServerSessionsResponse) FromJsonString

func (r *SearchGameServerSessionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchGameServerSessionsResponse) ToJsonString

func (r *SearchGameServerSessionsResponse) ToJsonString() string

type SearchGameServerSessionsResponseParams

type SearchGameServerSessionsResponseParams struct {
	// Game server session list
	// Note: this field may return null, indicating that no valid values can be obtained.
	GameServerSessions []*GameServerSession `json:"GameServerSessions,omitempty" name:"GameServerSessions"`

	// Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NextToken *string `json:"NextToken,omitempty" name:"NextToken"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ServerProcesse

type ServerProcesse struct {
	// Number of concurrent processes. Value range of total concurrent processes: 1-50.
	ConcurrentExecutions *uint64 `json:"ConcurrentExecutions,omitempty" name:"ConcurrentExecutions"`

	// Launch Path. Linux: /local/game/ or Windows: C:\game\. The path length is 1-1024.
	LaunchPath *string `json:"LaunchPath,omitempty" name:"LaunchPath"`

	// Launch parameter. The length is 0-1024.
	Parameters *string `json:"Parameters,omitempty" name:"Parameters"`
}

type SetServerReservedRequest

type SetServerReservedRequest struct {
	*tchttp.BaseRequest

	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Whether the instance is retained. Valid values: 1 (retained), 0 (not retained). Default value: 0.
	ReserveValue *int64 `json:"ReserveValue,omitempty" name:"ReserveValue"`
}

func NewSetServerReservedRequest

func NewSetServerReservedRequest() (request *SetServerReservedRequest)

func (*SetServerReservedRequest) FromJsonString

func (r *SetServerReservedRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetServerReservedRequest) ToJsonString

func (r *SetServerReservedRequest) ToJsonString() string

type SetServerReservedRequestParams

type SetServerReservedRequestParams struct {
	// ID of the fleet to be bound with the policy
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Whether the instance is retained. Valid values: 1 (retained), 0 (not retained). Default value: 0.
	ReserveValue *int64 `json:"ReserveValue,omitempty" name:"ReserveValue"`
}

Predefined struct for user

type SetServerReservedResponse

type SetServerReservedResponse struct {
	*tchttp.BaseResponse
	Response *SetServerReservedResponseParams `json:"Response"`
}

func NewSetServerReservedResponse

func NewSetServerReservedResponse() (response *SetServerReservedResponse)

func (*SetServerReservedResponse) FromJsonString

func (r *SetServerReservedResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetServerReservedResponse) ToJsonString

func (r *SetServerReservedResponse) ToJsonString() string

type SetServerReservedResponseParams

type SetServerReservedResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type StartGameServerSessionPlacementRequest

type StartGameServerSessionPlacementRequest struct {
	*tchttp.BaseRequest

	// The unique ID of the game server session placement. It should contain up to 48 ASCII characters, supporting [a-zA-Z0-9-]+.
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`

	// Game server session queue name
	GameServerSessionQueueName *string `json:"GameServerSessionQueueName,omitempty" name:"GameServerSessionQueueName"`

	// The maximum number of players that can be connected simultaneously to the game session. It should a value between 1 to the maximum number of player sessions.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Player game session information
	DesiredPlayerSessions []*DesiredPlayerSession `json:"DesiredPlayerSessions,omitempty" name:"DesiredPlayerSessions"`

	// Player game session attributes
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// Data of game server sessions. Up to 4096 ASCII characters are allowed.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// Name of game server sessions. Up to 4096 ASCII characters are allowed.
	GameServerSessionName *string `json:"GameServerSessionName,omitempty" name:"GameServerSessionName"`

	// Player latency
	PlayerLatencies []*PlayerLatency `json:"PlayerLatencies,omitempty" name:"PlayerLatencies"`
}

func NewStartGameServerSessionPlacementRequest

func NewStartGameServerSessionPlacementRequest() (request *StartGameServerSessionPlacementRequest)

func (*StartGameServerSessionPlacementRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartGameServerSessionPlacementRequest) ToJsonString

type StartGameServerSessionPlacementRequestParams

type StartGameServerSessionPlacementRequestParams struct {
	// The unique ID of the game server session placement. It should contain up to 48 ASCII characters, supporting [a-zA-Z0-9-]+.
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`

	// Game server session queue name
	GameServerSessionQueueName *string `json:"GameServerSessionQueueName,omitempty" name:"GameServerSessionQueueName"`

	// The maximum number of players that can be connected simultaneously to the game session. It should a value between 1 to the maximum number of player sessions.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Player game session information
	DesiredPlayerSessions []*DesiredPlayerSession `json:"DesiredPlayerSessions,omitempty" name:"DesiredPlayerSessions"`

	// Player game session attributes
	GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties"`

	// Data of game server sessions. Up to 4096 ASCII characters are allowed.
	GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"`

	// Name of game server sessions. Up to 4096 ASCII characters are allowed.
	GameServerSessionName *string `json:"GameServerSessionName,omitempty" name:"GameServerSessionName"`

	// Player latency
	PlayerLatencies []*PlayerLatency `json:"PlayerLatencies,omitempty" name:"PlayerLatencies"`
}

Predefined struct for user

type StartGameServerSessionPlacementResponse

type StartGameServerSessionPlacementResponse struct {
	*tchttp.BaseResponse
	Response *StartGameServerSessionPlacementResponseParams `json:"Response"`
}

func NewStartGameServerSessionPlacementResponse

func NewStartGameServerSessionPlacementResponse() (response *StartGameServerSessionPlacementResponse)

func (*StartGameServerSessionPlacementResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartGameServerSessionPlacementResponse) ToJsonString

type StartGameServerSessionPlacementResponseParams

type StartGameServerSessionPlacementResponseParams struct {
	// Game server session placement
	GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopGameServerSessionPlacementRequest

type StopGameServerSessionPlacementRequest struct {
	*tchttp.BaseRequest

	// Unique ID of game server session placement
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`
}

func NewStopGameServerSessionPlacementRequest

func NewStopGameServerSessionPlacementRequest() (request *StopGameServerSessionPlacementRequest)

func (*StopGameServerSessionPlacementRequest) FromJsonString

func (r *StopGameServerSessionPlacementRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopGameServerSessionPlacementRequest) ToJsonString

type StopGameServerSessionPlacementRequestParams

type StopGameServerSessionPlacementRequestParams struct {
	// Unique ID of game server session placement
	PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"`
}

Predefined struct for user

type StopGameServerSessionPlacementResponse

type StopGameServerSessionPlacementResponse struct {
	*tchttp.BaseResponse
	Response *StopGameServerSessionPlacementResponseParams `json:"Response"`
}

func NewStopGameServerSessionPlacementResponse

func NewStopGameServerSessionPlacementResponse() (response *StopGameServerSessionPlacementResponse)

func (*StopGameServerSessionPlacementResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopGameServerSessionPlacementResponse) ToJsonString

type StopGameServerSessionPlacementResponseParams

type StopGameServerSessionPlacementResponseParams struct {
	// Game server session placement
	GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// Tag key. Up to 127 bytes are allowed.
	Key *string `json:"Key,omitempty" name:"Key"`

	// Tag value. Up to 255 bytes are allowed.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type TargetConfiguration

type TargetConfiguration struct {
	// Ratio of reserved server session resource
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TargetValue *uint64 `json:"TargetValue,omitempty" name:"TargetValue"`
}

type TimerConfiguration

type TimerConfiguration struct {
	// The recurrence pattern of auto-scaling. `0`: undefined, `1`: once, `2`: daily, `3`: monthly, `4`: weekly
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerType *int64 `json:"TimerType,omitempty" name:"TimerType"`

	// Details of the recurrence pattern of auto-scaling
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerValue *TimerValue `json:"TimerValue,omitempty" name:"TimerValue"`

	// Start time of the scheduled scaling policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// End time of the scheduled scaling policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type TimerFleetCapacity

type TimerFleetCapacity struct {
	// ID of the fleet to be bound with the policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FleetId *string `json:"FleetId,omitempty" name:"FleetId"`

	// Desired number of instances
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DesiredInstances *int64 `json:"DesiredInstances,omitempty" name:"DesiredInstances"`

	// Minimum number of instances
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MinSize *int64 `json:"MinSize,omitempty" name:"MinSize"`

	// Maximum number of instances
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"`

	// Scaling cooldown period, in minutes
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ScalingInterval *int64 `json:"ScalingInterval,omitempty" name:"ScalingInterval"`

	// Scaling type. `1`: manual, `2`: automatic, `0`: undefined
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ScalingType *int64 `json:"ScalingType,omitempty" name:"ScalingType"`

	// Configuration of target tracking scaling
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TargetConfiguration *TargetConfiguration `json:"TargetConfiguration,omitempty" name:"TargetConfiguration"`
}

type TimerScalingPolicy

type TimerScalingPolicy struct {
	// Unique ID of the policy. When it’s filled in, the policy will be updated.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerId *string `json:"TimerId,omitempty" name:"TimerId"`

	// Scheduled scaling policy name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerName *string `json:"TimerName,omitempty" name:"TimerName"`

	// Scheduled scaling policy status. `0`: Undefined, `1`: Not started, 2: Activated, `3`: Stopped, `4`: Expired
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerStatus *int64 `json:"TimerStatus,omitempty" name:"TimerStatus"`

	// The capacity configurations of the scheduled scaling policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerFleetCapacity *TimerFleetCapacity `json:"TimerFleetCapacity,omitempty" name:"TimerFleetCapacity"`

	// The recurrence pattern of auto-scaling
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimerConfiguration *TimerConfiguration `json:"TimerConfiguration,omitempty" name:"TimerConfiguration"`
}

type TimerValue

type TimerValue struct {
	// Execute once every X day(s)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Day *int64 `json:"Day,omitempty" name:"Day"`

	// Specify the first day to execute the scaling action in a month (execute once per day)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FromDay *int64 `json:"FromDay,omitempty" name:"FromDay"`

	// Specify the last day to execute the scaling action in a month
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ToDay *int64 `json:"ToDay,omitempty" name:"ToDay"`

	// Specify the week days to repeat the scaling action. Multiple values are supported. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	WeekDays []*int64 `json:"WeekDays,omitempty" name:"WeekDays"`
}

type UpdateBucketAccelerateOptRequest

type UpdateBucketAccelerateOptRequest struct {
	*tchttp.BaseRequest

	// `true`: enable global acceleration; `false`: disable global acceleration
	Allowed *bool `json:"Allowed,omitempty" name:"Allowed"`
}

func NewUpdateBucketAccelerateOptRequest

func NewUpdateBucketAccelerateOptRequest() (request *UpdateBucketAccelerateOptRequest)

func (*UpdateBucketAccelerateOptRequest) FromJsonString

func (r *UpdateBucketAccelerateOptRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateBucketAccelerateOptRequest) ToJsonString

func (r *UpdateBucketAccelerateOptRequest) ToJsonString() string

type UpdateBucketAccelerateOptRequestParams

type UpdateBucketAccelerateOptRequestParams struct {
	// `true`: enable global acceleration; `false`: disable global acceleration
	Allowed *bool `json:"Allowed,omitempty" name:"Allowed"`
}

Predefined struct for user

type UpdateBucketAccelerateOptResponse

type UpdateBucketAccelerateOptResponse struct {
	*tchttp.BaseResponse
	Response *UpdateBucketAccelerateOptResponseParams `json:"Response"`
}

func NewUpdateBucketAccelerateOptResponse

func NewUpdateBucketAccelerateOptResponse() (response *UpdateBucketAccelerateOptResponse)

func (*UpdateBucketAccelerateOptResponse) FromJsonString

func (r *UpdateBucketAccelerateOptResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateBucketAccelerateOptResponse) ToJsonString

func (r *UpdateBucketAccelerateOptResponse) ToJsonString() string

type UpdateBucketAccelerateOptResponseParams

type UpdateBucketAccelerateOptResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateBucketCORSOptRequest

type UpdateBucketCORSOptRequest struct {
	*tchttp.BaseRequest

	// Allowed access source. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedOrigins []*string `json:"AllowedOrigins,omitempty" name:"AllowedOrigins"`

	// Allowed HTTP method(s). Multiple methods are allowed, including PUT, GET, POST, and HEAD. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedMethods []*string `json:"AllowedMethods,omitempty" name:"AllowedMethods"`

	// Specifies the custom HTTP request headers that the browser is allowed to include in a CORS request. Wildcard (*) is supported, indicating allowing all headers (recommended). For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedHeaders []*string `json:"AllowedHeaders,omitempty" name:"AllowedHeaders"`

	// Sets the validity duration for the CORS configuration (in second). For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	MaxAgeSeconds *int64 `json:"MaxAgeSeconds,omitempty" name:"MaxAgeSeconds"`

	// CORS response header(s) that can be exposed to the browser, case-insensitive. If this parameter is not specified, the browser can access only simple response headers Cache-Control, Content-Type, Expires, and Last-Modified by default. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" name:"ExposeHeaders"`
}

func NewUpdateBucketCORSOptRequest

func NewUpdateBucketCORSOptRequest() (request *UpdateBucketCORSOptRequest)

func (*UpdateBucketCORSOptRequest) FromJsonString

func (r *UpdateBucketCORSOptRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateBucketCORSOptRequest) ToJsonString

func (r *UpdateBucketCORSOptRequest) ToJsonString() string

type UpdateBucketCORSOptRequestParams

type UpdateBucketCORSOptRequestParams struct {
	// Allowed access source. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedOrigins []*string `json:"AllowedOrigins,omitempty" name:"AllowedOrigins"`

	// Allowed HTTP method(s). Multiple methods are allowed, including PUT, GET, POST, and HEAD. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedMethods []*string `json:"AllowedMethods,omitempty" name:"AllowedMethods"`

	// Specifies the custom HTTP request headers that the browser is allowed to include in a CORS request. Wildcard (*) is supported, indicating allowing all headers (recommended). For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	AllowedHeaders []*string `json:"AllowedHeaders,omitempty" name:"AllowedHeaders"`

	// Sets the validity duration for the CORS configuration (in second). For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	MaxAgeSeconds *int64 `json:"MaxAgeSeconds,omitempty" name:"MaxAgeSeconds"`

	// CORS response header(s) that can be exposed to the browser, case-insensitive. If this parameter is not specified, the browser can access only simple response headers Cache-Control, Content-Type, Expires, and Last-Modified by default. For details, see [COS Documentation](https://intl.cloud.tencent.com/document/product/436/8279?from_cn_redirect=1).
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" name:"ExposeHeaders"`
}

Predefined struct for user

type UpdateBucketCORSOptResponse

type UpdateBucketCORSOptResponse struct {
	*tchttp.BaseResponse
	Response *UpdateBucketCORSOptResponseParams `json:"Response"`
}

func NewUpdateBucketCORSOptResponse

func NewUpdateBucketCORSOptResponse() (response *UpdateBucketCORSOptResponse)

func (*UpdateBucketCORSOptResponse) FromJsonString

func (r *UpdateBucketCORSOptResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateBucketCORSOptResponse) ToJsonString

func (r *UpdateBucketCORSOptResponse) ToJsonString() string

type UpdateBucketCORSOptResponseParams

type UpdateBucketCORSOptResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateGameServerSessionRequest

type UpdateGameServerSessionRequest struct {
	*tchttp.BaseRequest

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// The maximum number of players, which cannot be less than 0.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Name of the game server session. It should contain 1 to 1024 ASCII characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Player session creation policy, which includes `ACCEPT_ALL` (allow all players) and `DENY_ALL` (reject all players).
	PlayerSessionCreationPolicy *string `json:"PlayerSessionCreationPolicy,omitempty" name:"PlayerSessionCreationPolicy"`

	// Protection policy, which includes `NoProtection`·(no protection), `TimeLimitProtection` (time-limited protection) and `FullProtection` (full protection)
	ProtectionPolicy *string `json:"ProtectionPolicy,omitempty" name:"ProtectionPolicy"`
}

func NewUpdateGameServerSessionRequest

func NewUpdateGameServerSessionRequest() (request *UpdateGameServerSessionRequest)

func (*UpdateGameServerSessionRequest) FromJsonString

func (r *UpdateGameServerSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateGameServerSessionRequest) ToJsonString

func (r *UpdateGameServerSessionRequest) ToJsonString() string

type UpdateGameServerSessionRequestParams

type UpdateGameServerSessionRequestParams struct {
	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// The maximum number of players, which cannot be less than 0.
	MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"`

	// Name of the game server session. It should contain 1 to 1024 ASCII characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Player session creation policy, which includes `ACCEPT_ALL` (allow all players) and `DENY_ALL` (reject all players).
	PlayerSessionCreationPolicy *string `json:"PlayerSessionCreationPolicy,omitempty" name:"PlayerSessionCreationPolicy"`

	// Protection policy, which includes `NoProtection`·(no protection), `TimeLimitProtection` (time-limited protection) and `FullProtection` (full protection)
	ProtectionPolicy *string `json:"ProtectionPolicy,omitempty" name:"ProtectionPolicy"`
}

Predefined struct for user

type UpdateGameServerSessionResponse

type UpdateGameServerSessionResponse struct {
	*tchttp.BaseResponse
	Response *UpdateGameServerSessionResponseParams `json:"Response"`
}

func NewUpdateGameServerSessionResponse

func NewUpdateGameServerSessionResponse() (response *UpdateGameServerSessionResponse)

func (*UpdateGameServerSessionResponse) FromJsonString

func (r *UpdateGameServerSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateGameServerSessionResponse) ToJsonString

func (r *UpdateGameServerSessionResponse) ToJsonString() string

type UpdateGameServerSessionResponseParams

type UpdateGameServerSessionResponseParams struct {
	// Updated game session
	GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

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