Documentation
¶
Index ¶
- Constants
- type Alias
- type Asset
- type AssetCredentials
- type AssetSupportSys
- type AttachCcnInstancesRequest
- type AttachCcnInstancesResponse
- type CcnInfo
- type CcnInstanceSets
- type Client
- func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error)
- func (c *Client) CopyFleet(request *CopyFleetRequest) (response *CopyFleetResponse, err error)
- func (c *Client) CreateAlias(request *CreateAliasRequest) (response *CreateAliasResponse, err error)
- func (c *Client) CreateAsset(request *CreateAssetRequest) (response *CreateAssetResponse, err error)
- func (c *Client) CreateAssetWithImage(request *CreateAssetWithImageRequest) (response *CreateAssetWithImageResponse, err error)
- func (c *Client) CreateFleet(request *CreateFleetRequest) (response *CreateFleetResponse, err error)
- func (c *Client) CreateGameServerSession(request *CreateGameServerSessionRequest) (response *CreateGameServerSessionResponse, err error)
- func (c *Client) CreateGameServerSessionQueue(request *CreateGameServerSessionQueueRequest) (response *CreateGameServerSessionQueueResponse, err error)
- func (c *Client) DeleteAlias(request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)
- func (c *Client) DeleteAsset(request *DeleteAssetRequest) (response *DeleteAssetResponse, err error)
- func (c *Client) DeleteFleet(request *DeleteFleetRequest) (response *DeleteFleetResponse, err error)
- func (c *Client) DeleteGameServerSessionQueue(request *DeleteGameServerSessionQueueRequest) (response *DeleteGameServerSessionQueueResponse, err error)
- func (c *Client) DeleteScalingPolicy(request *DeleteScalingPolicyRequest) (response *DeleteScalingPolicyResponse, err error)
- func (c *Client) DeleteTimerScalingPolicy(request *DeleteTimerScalingPolicyRequest) (response *DeleteTimerScalingPolicyResponse, err error)
- func (c *Client) DescribeAlias(request *DescribeAliasRequest) (response *DescribeAliasResponse, err error)
- func (c *Client) DescribeAsset(request *DescribeAssetRequest) (response *DescribeAssetResponse, err error)
- func (c *Client) DescribeAssetSystems(request *DescribeAssetSystemsRequest) (response *DescribeAssetSystemsResponse, err error)
- func (c *Client) DescribeAssets(request *DescribeAssetsRequest) (response *DescribeAssetsResponse, err error)
- func (c *Client) DescribeCcnInstances(request *DescribeCcnInstancesRequest) (response *DescribeCcnInstancesResponse, err error)
- func (c *Client) DescribeFleetAttributes(request *DescribeFleetAttributesRequest) (response *DescribeFleetAttributesResponse, err error)
- func (c *Client) DescribeFleetCapacity(request *DescribeFleetCapacityRequest) (response *DescribeFleetCapacityResponse, err error)
- func (c *Client) DescribeFleetEvents(request *DescribeFleetEventsRequest) (response *DescribeFleetEventsResponse, err error)
- func (c *Client) DescribeFleetPortSettings(request *DescribeFleetPortSettingsRequest) (response *DescribeFleetPortSettingsResponse, err error)
- func (c *Client) DescribeFleetRelatedResources(request *DescribeFleetRelatedResourcesRequest) (response *DescribeFleetRelatedResourcesResponse, err error)
- func (c *Client) DescribeFleetStatisticDetails(request *DescribeFleetStatisticDetailsRequest) (response *DescribeFleetStatisticDetailsResponse, err error)
- func (c *Client) DescribeFleetStatisticFlows(request *DescribeFleetStatisticFlowsRequest) (response *DescribeFleetStatisticFlowsResponse, err error)
- func (c *Client) DescribeFleetStatisticSummary(request *DescribeFleetStatisticSummaryRequest) (response *DescribeFleetStatisticSummaryResponse, err error)
- func (c *Client) DescribeFleetUtilization(request *DescribeFleetUtilizationRequest) (response *DescribeFleetUtilizationResponse, err error)
- func (c *Client) DescribeGameServerSessionDetails(request *DescribeGameServerSessionDetailsRequest) (response *DescribeGameServerSessionDetailsResponse, err error)
- func (c *Client) DescribeGameServerSessionPlacement(request *DescribeGameServerSessionPlacementRequest) (response *DescribeGameServerSessionPlacementResponse, err error)
- func (c *Client) DescribeGameServerSessionQueues(request *DescribeGameServerSessionQueuesRequest) (response *DescribeGameServerSessionQueuesResponse, err error)
- func (c *Client) DescribeGameServerSessions(request *DescribeGameServerSessionsRequest) (response *DescribeGameServerSessionsResponse, err error)
- func (c *Client) DescribeInstanceLimit(request *DescribeInstanceLimitRequest) (response *DescribeInstanceLimitResponse, err error)
- func (c *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesExtend(request *DescribeInstancesExtendRequest) (response *DescribeInstancesExtendResponse, err error)
- func (c *Client) DescribePlayerSessions(request *DescribePlayerSessionsRequest) (response *DescribePlayerSessionsResponse, err error)
- func (c *Client) DescribeRuntimeConfiguration(request *DescribeRuntimeConfigurationRequest) (response *DescribeRuntimeConfigurationResponse, err error)
- func (c *Client) DescribeScalingPolicies(request *DescribeScalingPoliciesRequest) (response *DescribeScalingPoliciesResponse, err error)
- func (c *Client) DescribeTimerScalingPolicies(request *DescribeTimerScalingPoliciesRequest) (response *DescribeTimerScalingPoliciesResponse, err error)
- func (c *Client) DescribeUserQuota(request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
- func (c *Client) DescribeUserQuotas(request *DescribeUserQuotasRequest) (response *DescribeUserQuotasResponse, err error)
- func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error)
- func (c *Client) GetGameServerInstanceLogUrl(request *GetGameServerInstanceLogUrlRequest) (response *GetGameServerInstanceLogUrlResponse, err error)
- func (c *Client) GetGameServerSessionLogUrl(request *GetGameServerSessionLogUrlRequest) (response *GetGameServerSessionLogUrlResponse, err error)
- func (c *Client) GetInstanceAccess(request *GetInstanceAccessRequest) (response *GetInstanceAccessResponse, err error)
- func (c *Client) GetUploadCredentials(request *GetUploadCredentialsRequest) (response *GetUploadCredentialsResponse, err error)
- func (c *Client) GetUploadFederationToken(request *GetUploadFederationTokenRequest) (response *GetUploadFederationTokenResponse, err error)
- func (c *Client) JoinGameServerSession(request *JoinGameServerSessionRequest) (response *JoinGameServerSessionResponse, err error)
- func (c *Client) JoinGameServerSessionBatch(request *JoinGameServerSessionBatchRequest) (response *JoinGameServerSessionBatchResponse, err error)
- func (c *Client) ListAliases(request *ListAliasesRequest) (response *ListAliasesResponse, err error)
- func (c *Client) ListFleets(request *ListFleetsRequest) (response *ListFleetsResponse, err error)
- func (c *Client) PutScalingPolicy(request *PutScalingPolicyRequest) (response *PutScalingPolicyResponse, err error)
- func (c *Client) PutTimerScalingPolicy(request *PutTimerScalingPolicyRequest) (response *PutTimerScalingPolicyResponse, err error)
- func (c *Client) ResolveAlias(request *ResolveAliasRequest) (response *ResolveAliasResponse, err error)
- func (c *Client) SearchGameServerSessions(request *SearchGameServerSessionsRequest) (response *SearchGameServerSessionsResponse, err error)
- func (c *Client) SetServerReserved(request *SetServerReservedRequest) (response *SetServerReservedResponse, err error)
- func (c *Client) SetServerWeight(request *SetServerWeightRequest) (response *SetServerWeightResponse, err error)
- func (c *Client) StartFleetActions(request *StartFleetActionsRequest) (response *StartFleetActionsResponse, err error)
- func (c *Client) StartGameServerSessionPlacement(request *StartGameServerSessionPlacementRequest) (response *StartGameServerSessionPlacementResponse, err error)
- func (c *Client) StopFleetActions(request *StopFleetActionsRequest) (response *StopFleetActionsResponse, err error)
- func (c *Client) StopGameServerSessionPlacement(request *StopGameServerSessionPlacementRequest) (response *StopGameServerSessionPlacementResponse, err error)
- func (c *Client) UpdateAlias(request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)
- func (c *Client) UpdateAsset(request *UpdateAssetRequest) (response *UpdateAssetResponse, err error)
- func (c *Client) UpdateBucketAccelerateOpt(request *UpdateBucketAccelerateOptRequest) (response *UpdateBucketAccelerateOptResponse, err error)
- func (c *Client) UpdateBucketCORSOpt(request *UpdateBucketCORSOptRequest) (response *UpdateBucketCORSOptResponse, err error)
- func (c *Client) UpdateFleetAttributes(request *UpdateFleetAttributesRequest) (response *UpdateFleetAttributesResponse, err error)
- func (c *Client) UpdateFleetCapacity(request *UpdateFleetCapacityRequest) (response *UpdateFleetCapacityResponse, err error)
- func (c *Client) UpdateFleetName(request *UpdateFleetNameRequest) (response *UpdateFleetNameResponse, err error)
- func (c *Client) UpdateFleetPortSettings(request *UpdateFleetPortSettingsRequest) (response *UpdateFleetPortSettingsResponse, err error)
- func (c *Client) UpdateGameServerSession(request *UpdateGameServerSessionRequest) (response *UpdateGameServerSessionResponse, err error)
- func (c *Client) UpdateGameServerSessionQueue(request *UpdateGameServerSessionQueueRequest) (response *UpdateGameServerSessionQueueResponse, err error)
- func (c *Client) UpdateRuntimeConfiguration(request *UpdateRuntimeConfigurationRequest) (response *UpdateRuntimeConfigurationResponse, err error)
- type CopyFleetRequest
- type CopyFleetResponse
- type CreateAliasRequest
- type CreateAliasResponse
- type CreateAssetRequest
- type CreateAssetResponse
- type CreateAssetWithImageRequest
- type CreateAssetWithImageResponse
- type CreateFleetRequest
- type CreateFleetResponse
- type CreateGameServerSessionQueueRequest
- type CreateGameServerSessionQueueResponse
- type CreateGameServerSessionRequest
- type CreateGameServerSessionResponse
- type Credentials
- type DeleteAliasRequest
- type DeleteAliasResponse
- type DeleteAssetRequest
- type DeleteAssetResponse
- type DeleteFleetRequest
- type DeleteFleetResponse
- type DeleteGameServerSessionQueueRequest
- type DeleteGameServerSessionQueueResponse
- type DeleteScalingPolicyRequest
- type DeleteScalingPolicyResponse
- type DeleteTimerScalingPolicyRequest
- type DeleteTimerScalingPolicyResponse
- type DescribeAliasRequest
- type DescribeAliasResponse
- type DescribeAssetRequest
- type DescribeAssetResponse
- type DescribeAssetSystemsRequest
- type DescribeAssetSystemsResponse
- type DescribeAssetsRequest
- type DescribeAssetsResponse
- type DescribeCcnInstancesRequest
- type DescribeCcnInstancesResponse
- type DescribeFleetAttributesRequest
- type DescribeFleetAttributesResponse
- type DescribeFleetCapacityRequest
- type DescribeFleetCapacityResponse
- type DescribeFleetEventsRequest
- type DescribeFleetEventsResponse
- type DescribeFleetPortSettingsRequest
- type DescribeFleetPortSettingsResponse
- type DescribeFleetRelatedResourcesRequest
- type DescribeFleetRelatedResourcesResponse
- type DescribeFleetStatisticDetailsRequest
- type DescribeFleetStatisticDetailsResponse
- type DescribeFleetStatisticFlowsRequest
- type DescribeFleetStatisticFlowsResponse
- type DescribeFleetStatisticSummaryRequest
- type DescribeFleetStatisticSummaryResponse
- type DescribeFleetUtilizationRequest
- type DescribeFleetUtilizationResponse
- type DescribeGameServerSessionDetailsRequest
- type DescribeGameServerSessionDetailsResponse
- type DescribeGameServerSessionPlacementRequest
- type DescribeGameServerSessionPlacementResponse
- type DescribeGameServerSessionQueuesRequest
- type DescribeGameServerSessionQueuesResponse
- type DescribeGameServerSessionsRequest
- type DescribeGameServerSessionsResponse
- type DescribeInstanceLimitRequest
- type DescribeInstanceLimitResponse
- type DescribeInstanceTypesRequest
- type DescribeInstanceTypesResponse
- type DescribeInstancesExtendRequest
- type DescribeInstancesExtendResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribePlayerSessionsRequest
- type DescribePlayerSessionsResponse
- type DescribeRuntimeConfigurationRequest
- type DescribeRuntimeConfigurationResponse
- type DescribeScalingPoliciesRequest
- type DescribeScalingPoliciesResponse
- type DescribeTimerScalingPoliciesRequest
- type DescribeTimerScalingPoliciesResponse
- type DescribeUserQuotaRequest
- type DescribeUserQuotaResponse
- type DescribeUserQuotasRequest
- type DescribeUserQuotasResponse
- type DesiredPlayerSession
- type DetachCcnInstancesRequest
- type DetachCcnInstancesResponse
- type DiskInfo
- type Event
- type ExtraInfos
- type Filter
- type FleetAttributes
- type FleetCapacity
- type FleetRelatedResource
- type FleetStatisticDetail
- type FleetStatisticFlows
- type FleetStatisticTimes
- type FleetUtilization
- type GameProperty
- type GameServerSession
- type GameServerSessionDetail
- type GameServerSessionPlacement
- type GameServerSessionQueue
- type GameServerSessionQueueDestination
- type GetGameServerInstanceLogUrlRequest
- type GetGameServerInstanceLogUrlResponse
- type GetGameServerSessionLogUrlRequest
- type GetGameServerSessionLogUrlResponse
- type GetInstanceAccessRequest
- type GetInstanceAccessResponse
- type GetUploadCredentialsRequest
- type GetUploadCredentialsResponse
- type GetUploadFederationTokenRequest
- type GetUploadFederationTokenResponse
- type InboundPermission
- type InboundPermissionAuthorization
- type InboundPermissionRevocations
- type Instance
- type InstanceAccess
- type InstanceCounts
- type InstanceExtend
- type InstanceTypeInfo
- type JoinGameServerSessionBatchRequest
- type JoinGameServerSessionBatchResponse
- type JoinGameServerSessionRequest
- type JoinGameServerSessionResponse
- type ListAliasesRequest
- type ListAliasesResponse
- type ListFleetsRequest
- type ListFleetsResponse
- type PlacedPlayerSession
- type PlayerDataMap
- type PlayerLatency
- type PlayerLatencyPolicy
- type PlayerSession
- type PutScalingPolicyRequest
- type PutScalingPolicyResponse
- type PutTimerScalingPolicyRequest
- type PutTimerScalingPolicyResponse
- type QuotaResource
- type RelatedCcnInfo
- type ResolveAliasRequest
- type ResolveAliasResponse
- type ResourceCreationLimitPolicy
- type RoutingStrategy
- type RuntimeConfiguration
- type ScalingPolicy
- type SearchGameServerSessionsRequest
- type SearchGameServerSessionsResponse
- type ServerProcesse
- type SetServerReservedRequest
- type SetServerReservedResponse
- type SetServerWeightRequest
- type SetServerWeightResponse
- type StartFleetActionsRequest
- type StartFleetActionsResponse
- type StartGameServerSessionPlacementRequest
- type StartGameServerSessionPlacementResponse
- type StopFleetActionsRequest
- type StopFleetActionsResponse
- type StopGameServerSessionPlacementRequest
- type StopGameServerSessionPlacementResponse
- type Tag
- type TargetConfiguration
- type TimerConfiguration
- type TimerFleetCapacity
- type TimerScalingPolicy
- type TimerValue
- type UpdateAliasRequest
- type UpdateAliasResponse
- type UpdateAssetRequest
- type UpdateAssetResponse
- type UpdateBucketAccelerateOptRequest
- type UpdateBucketAccelerateOptResponse
- type UpdateBucketCORSOptRequest
- type UpdateBucketCORSOptResponse
- type UpdateFleetAttributesRequest
- type UpdateFleetAttributesResponse
- type UpdateFleetCapacityRequest
- type UpdateFleetCapacityResponse
- type UpdateFleetNameRequest
- type UpdateFleetNameResponse
- type UpdateFleetPortSettingsRequest
- type UpdateFleetPortSettingsResponse
- type UpdateGameServerSessionQueueRequest
- type UpdateGameServerSessionQueueResponse
- type UpdateGameServerSessionRequest
- type UpdateGameServerSessionResponse
- type UpdateRuntimeConfigurationRequest
- type UpdateRuntimeConfigurationResponse
Constants ¶
const APIVersion = "2019-11-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { // 别名的唯一标识符 AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 别名的全局唯一资源标识符 AliasArn *string `json:"AliasArn,omitempty" name:"AliasArn"` // 名字,长度不小于1字符不超过1024字符 Name *string `json:"Name,omitempty" name:"Name"` // 别名的可读说明,长度不小于1字符不超过1024字符 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitempty" name:"Description"` // 别名的路由配置 RoutingStrategy *RoutingStrategy `json:"RoutingStrategy,omitempty" name:"RoutingStrategy"` // 创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 上次修改此数据对象的时间 LastUpdatedTime *string `json:"LastUpdatedTime,omitempty" name:"LastUpdatedTime"` // 标签列表,最大长度50组 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
type Asset ¶
type Asset struct { // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 生成包名字,最小长度为1,最大长度为64 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 生成包版本,最小长度为1,最大长度为64 AssetVersion *string `json:"AssetVersion,omitempty" name:"AssetVersion"` // 生成包可运行的操作系统,暂时只支持CentOS7.16 OperateSystem *string `json:"OperateSystem,omitempty" name:"OperateSystem"` // 生成包状态,0代表上传中,1代表上传失败,2代表上传成功 Stauts *int64 `json:"Stauts,omitempty" name:"Stauts"` // 生成包大小 Size *string `json:"Size,omitempty" name:"Size"` // 生成包创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 生成包绑定的Fleet个数,最小值为0 BindFleetNum *int64 `json:"BindFleetNum,omitempty" name:"BindFleetNum"` // 生成包的全局唯一资源标识符 AssetArn *string `json:"AssetArn,omitempty" name:"AssetArn"` // 生成包支持的操作系统镜像id ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 生成包支持的操作系统类型 OsType *string `json:"OsType,omitempty" name:"OsType"` // 生成包资源类型,ASSET 或者 IMAGE;ASSET 代表是原有生成包类型,IMAGE 为扩充使用镜像类型 ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 镜像资源共享类型,当 ResourceType 为 IMAGE 时该字段有意义,SHARED 表示共享、SHARED_IMAGE 表示未共享;ResourceType 为 ASSET 时这里返回 UNKNOWN_SHARED 用于占位 SharingStatus *string `json:"SharingStatus,omitempty" name:"SharingStatus"` // 标签列表,最大长度50组 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
type AssetCredentials ¶
type AssetSupportSys ¶
type AssetSupportSys struct { // 生成包操作系统的镜像Id ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 生成包操作系统的类型 OsType *string `json:"OsType,omitempty" name:"OsType"` // 生成包操作系统的位数 OsBit *int64 `json:"OsBit,omitempty" name:"OsBit"` // 生成包操作系统的版本 OsVersion *string `json:"OsVersion,omitempty" name:"OsVersion"` }
type AttachCcnInstancesRequest ¶
type AttachCcnInstancesRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 云联网账号 Uin AccountId *string `json:"AccountId,omitempty" name:"AccountId"` // 云联网 Id CcnId *string `json:"CcnId,omitempty" name:"CcnId"` }
func NewAttachCcnInstancesRequest ¶
func NewAttachCcnInstancesRequest() (request *AttachCcnInstancesRequest)
func (*AttachCcnInstancesRequest) FromJsonString ¶
func (r *AttachCcnInstancesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachCcnInstancesRequest) ToJsonString ¶
func (r *AttachCcnInstancesRequest) ToJsonString() string
type AttachCcnInstancesResponse ¶
type AttachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachCcnInstancesResponse ¶
func NewAttachCcnInstancesResponse() (response *AttachCcnInstancesResponse)
func (*AttachCcnInstancesResponse) FromJsonString ¶
func (r *AttachCcnInstancesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachCcnInstancesResponse) ToJsonString ¶
func (r *AttachCcnInstancesResponse) ToJsonString() string
type CcnInstanceSets ¶
type CcnInstanceSets struct { // 云联网账号 Uin // 注意:此字段可能返回 null,表示取不到有效值。 AccountId *string `json:"AccountId,omitempty" name:"AccountId"` // 云联网 Id // 注意:此字段可能返回 null,表示取不到有效值。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 云联网关联时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 云联网实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 云联网状态:申请中、已连接、已过期、已拒绝、已删除、失败的、关联中、解关联中、解关联失败 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitempty" name:"State"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AttachCcnInstances ¶
func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error)
本接口(AttachCcnInstances)用于关联云联网实例。
func (*Client) CopyFleet ¶
func (c *Client) CopyFleet(request *CopyFleetRequest) (response *CopyFleetResponse, err error)
本接口(CopyFleet)用于复制服务器舰队。
func (*Client) CreateAlias ¶
func (c *Client) CreateAlias(request *CreateAliasRequest) (response *CreateAliasResponse, err error)
本接口(CreateAlias)用于创建别名。
func (*Client) CreateAsset ¶
func (c *Client) CreateAsset(request *CreateAssetRequest) (response *CreateAssetResponse, err error)
本接口(CreateAsset)用于创建生成包。 通过获取上传cos的临时密钥,将文件上传至cos,然后将生成包的zip名称下发给本接口完成资源创建。
上传文件至 cos支持俩种方式:
- 获取预签名方式,COS 简单上传
- [GetUploadCredentials](https://cloud.tencent.com/document/product/1165/48727) 获取预签名信息
- 使用 COS API 进行上传([参考文档](https://cloud.tencent.com/document/product/436/7749))
- 临时密钥方式,COS 简单上传或者分块上传方式
- [GetUploadCredentials](https://cloud.tencent.com/document/product/1165/48727)(获取上传 bucket 第一次调用需要,后续可以不用调用)
- [GetUploadFederationToken](https://cloud.tencent.com/document/product/1165/48742) 获取临时密钥
- 使用 COS API 进行上传([参考文档](https://cloud.tencent.com/document/product/436/7742))
具体使用场景可以参考 [GetUploadCredentials](https://cloud.tencent.com/document/product/1165/48727) , [GetUploadFederationToken](https://cloud.tencent.com/document/product/1165/48742)和下面 CreateAsset 示例。
func (*Client) CreateAssetWithImage ¶
func (c *Client) CreateAssetWithImage(request *CreateAssetWithImageRequest) (response *CreateAssetWithImageResponse, err error)
本接口(CreateAssetWithImage)用于创建生成包镜像信息。
func (*Client) CreateFleet ¶
func (c *Client) CreateFleet(request *CreateFleetRequest) (response *CreateFleetResponse, err error)
本接口(CreateFleet)用于创建服务器舰队。
func (*Client) CreateGameServerSession ¶
func (c *Client) CreateGameServerSession(request *CreateGameServerSessionRequest) (response *CreateGameServerSessionResponse, err error)
本接口(CreateGameServerSession)用于创建游戏服务会话。
func (*Client) CreateGameServerSessionQueue ¶
func (c *Client) CreateGameServerSessionQueue(request *CreateGameServerSessionQueueRequest) (response *CreateGameServerSessionQueueResponse, err error)
本接口(CreateGameServerSessionQueue)用于创建游戏服务器会话队列。
func (*Client) DeleteAlias ¶
func (c *Client) DeleteAlias(request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)
本接口(DeleteAlias)用于删除别名。
func (*Client) DeleteAsset ¶
func (c *Client) DeleteAsset(request *DeleteAssetRequest) (response *DeleteAssetResponse, err error)
本接口(DeleteAsset)用于删除生成包。
func (*Client) DeleteFleet ¶
func (c *Client) DeleteFleet(request *DeleteFleetRequest) (response *DeleteFleetResponse, err error)
本接口(DeleteFleet)用于删除服务器舰队。
func (*Client) DeleteGameServerSessionQueue ¶
func (c *Client) DeleteGameServerSessionQueue(request *DeleteGameServerSessionQueueRequest) (response *DeleteGameServerSessionQueueResponse, err error)
本接口(DeleteGameServerSessionQueue)用于删除游戏服务器会话队列。
func (*Client) DeleteScalingPolicy ¶
func (c *Client) DeleteScalingPolicy(request *DeleteScalingPolicyRequest) (response *DeleteScalingPolicyResponse, err error)
本接口(DeleteScalingPolicy)用于删除服务器舰队的扩缩容策略。 通过服务器舰队ID和策略名称删除服务器舰队的扩缩容策略,只传递服务器舰队ID时,会将这个服务器舰队下的所有策略都删除。 传递策略名称时,单独删除策略名称对应的策略。
func (*Client) DeleteTimerScalingPolicy ¶
func (c *Client) DeleteTimerScalingPolicy(request *DeleteTimerScalingPolicyRequest) (response *DeleteTimerScalingPolicyResponse, err error)
本接口(DeleteTimerScalingPolicy)用于删除fleet下的定时器。
func (*Client) DescribeAlias ¶
func (c *Client) DescribeAlias(request *DescribeAliasRequest) (response *DescribeAliasResponse, err error)
本接口(DescribeAlias)用于获取别名详情。
func (*Client) DescribeAsset ¶
func (c *Client) DescribeAsset(request *DescribeAssetRequest) (response *DescribeAssetResponse, err error)
本接口(DescribeAsset)获取生成包信息。
func (*Client) DescribeAssetSystems ¶
func (c *Client) DescribeAssetSystems(request *DescribeAssetSystemsRequest) (response *DescribeAssetSystemsResponse, err error)
本接口(DescribeAssetSystems)用于获取生成包支持的操作系统。
func (*Client) DescribeAssets ¶
func (c *Client) DescribeAssets(request *DescribeAssetsRequest) (response *DescribeAssetsResponse, err error)
本接口(DescribeAssets)用于获取生成包列表。
func (*Client) DescribeCcnInstances ¶
func (c *Client) DescribeCcnInstances(request *DescribeCcnInstancesRequest) (response *DescribeCcnInstancesResponse, err error)
本接口(DescribeCcnInstances)用于查询云联网实例。
func (*Client) DescribeFleetAttributes ¶
func (c *Client) DescribeFleetAttributes(request *DescribeFleetAttributesRequest) (response *DescribeFleetAttributesResponse, err error)
本接口(DescribeFleetAttributes)用于查询服务器舰队属性。
func (*Client) DescribeFleetCapacity ¶
func (c *Client) DescribeFleetCapacity(request *DescribeFleetCapacityRequest) (response *DescribeFleetCapacityResponse, err error)
本接口(DescribeFleetCapacity)用于查询服务部署容量配置。
func (*Client) DescribeFleetEvents ¶
func (c *Client) DescribeFleetEvents(request *DescribeFleetEventsRequest) (response *DescribeFleetEventsResponse, err error)
本接口(DescribeFleetEvents)用于查询服务器舰队相关的事件列表。
func (*Client) DescribeFleetPortSettings ¶
func (c *Client) DescribeFleetPortSettings(request *DescribeFleetPortSettingsRequest) (response *DescribeFleetPortSettingsResponse, err error)
本接口(DescribeFleetPortSettings)用于获取服务器舰队安全组信息。
func (*Client) DescribeFleetRelatedResources ¶
func (c *Client) DescribeFleetRelatedResources(request *DescribeFleetRelatedResourcesRequest) (response *DescribeFleetRelatedResourcesResponse, err error)
本接口(DescribeFleetRelatedResources)用于获取与游戏服务器舰队关联的资源信息,如别名、队列
func (*Client) DescribeFleetStatisticDetails ¶
func (c *Client) DescribeFleetStatisticDetails(request *DescribeFleetStatisticDetailsRequest) (response *DescribeFleetStatisticDetailsResponse, err error)
本接口(DescribeFleetStatisticDetails)用于查询服务部署统计详情。
func (*Client) DescribeFleetStatisticFlows ¶
func (c *Client) DescribeFleetStatisticFlows(request *DescribeFleetStatisticFlowsRequest) (response *DescribeFleetStatisticFlowsResponse, err error)
本接口(DescribeFleetStatisticFlows)用于查询服务部署统计用量。
func (*Client) DescribeFleetStatisticSummary ¶
func (c *Client) DescribeFleetStatisticSummary(request *DescribeFleetStatisticSummaryRequest) (response *DescribeFleetStatisticSummaryResponse, err error)
本接口(DescribeFleetStatisticSummary)用于查询服务部署统计汇总信息。
func (*Client) DescribeFleetUtilization ¶
func (c *Client) DescribeFleetUtilization(request *DescribeFleetUtilizationRequest) (response *DescribeFleetUtilizationResponse, err error)
本接口(DescribeFleetUtilization)用于查询服务器舰队的利用率信息。
func (*Client) DescribeGameServerSessionDetails ¶
func (c *Client) DescribeGameServerSessionDetails(request *DescribeGameServerSessionDetailsRequest) (response *DescribeGameServerSessionDetailsResponse, err error)
本接口(DescribeGameServerSessionDetails)用于查询游戏服务器会话详情列表。
func (*Client) DescribeGameServerSessionPlacement ¶
func (c *Client) DescribeGameServerSessionPlacement(request *DescribeGameServerSessionPlacementRequest) (response *DescribeGameServerSessionPlacementResponse, err error)
本接口(DescribeGameServerSessionPlacement)用于查询游戏服务器会话的放置。
func (*Client) DescribeGameServerSessionQueues ¶
func (c *Client) DescribeGameServerSessionQueues(request *DescribeGameServerSessionQueuesRequest) (response *DescribeGameServerSessionQueuesResponse, err error)
本接口(DescribeGameServerSessionQueues)用于查询游戏服务器会话队列。
func (*Client) DescribeGameServerSessions ¶
func (c *Client) DescribeGameServerSessions(request *DescribeGameServerSessionsRequest) (response *DescribeGameServerSessionsResponse, err error)
本接口(DescribeGameServerSessions)用于查询游戏服务器会话列表。
func (*Client) DescribeInstanceLimit ¶
func (c *Client) DescribeInstanceLimit(request *DescribeInstanceLimitRequest) (response *DescribeInstanceLimitResponse, err error)
本接口(DescribeInstanceLimit)用于查询用户实例数限额。
func (*Client) DescribeInstanceTypes ¶
func (c *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
本接口(DescribeInstanceTypes)用于获取服务器实例类型列表。
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
本接口(DescribeInstances)用于查询服务器实例列表。
func (*Client) DescribeInstancesExtend ¶
func (c *Client) DescribeInstancesExtend(request *DescribeInstancesExtendRequest) (response *DescribeInstancesExtendResponse, err error)
本接口(DescribeInstancesExtend)用于查询实例扩展信息列表。
func (*Client) DescribePlayerSessions ¶
func (c *Client) DescribePlayerSessions(request *DescribePlayerSessionsRequest) (response *DescribePlayerSessionsResponse, err error)
本接口(DescribePlayerSessions)用于获取玩家会话列表。
func (*Client) DescribeRuntimeConfiguration ¶
func (c *Client) DescribeRuntimeConfiguration(request *DescribeRuntimeConfigurationRequest) (response *DescribeRuntimeConfigurationResponse, err error)
本接口(DescribeRuntimeConfiguration)用于获取服务器舰队运行配置。
func (*Client) DescribeScalingPolicies ¶
func (c *Client) DescribeScalingPolicies(request *DescribeScalingPoliciesRequest) (response *DescribeScalingPoliciesResponse, err error)
本接口(DescribeScalingPolicies)用于查询服务器舰队的动态扩缩容策略列表。
func (*Client) DescribeTimerScalingPolicies ¶
func (c *Client) DescribeTimerScalingPolicies(request *DescribeTimerScalingPoliciesRequest) (response *DescribeTimerScalingPoliciesResponse, err error)
本接口(DescribeTimerScalingPolicies)用于查询fleet下的定时器列表。可以通过fleetid,定时器名称分页查询。
func (*Client) DescribeUserQuota ¶
func (c *Client) DescribeUserQuota(request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
本接口(DescribeUserQuota)获取用户单个模块配额。
func (*Client) DescribeUserQuotas ¶
func (c *Client) DescribeUserQuotas(request *DescribeUserQuotasRequest) (response *DescribeUserQuotasResponse, err error)
本接口(DescribeUserQuotas)用于获取用户配额
func (*Client) DetachCcnInstances ¶
func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error)
本接口(DetachCcnInstances)用于解关联云联网实例。
func (*Client) GetGameServerInstanceLogUrl ¶
func (c *Client) GetGameServerInstanceLogUrl(request *GetGameServerInstanceLogUrlRequest) (response *GetGameServerInstanceLogUrlResponse, err error)
本接口用于获取游戏服务器实例的日志URL。
func (*Client) GetGameServerSessionLogUrl ¶
func (c *Client) GetGameServerSessionLogUrl(request *GetGameServerSessionLogUrlRequest) (response *GetGameServerSessionLogUrlResponse, err error)
本接口(GetGameServerSessionLogUrl)用于获取游戏服务器会话的日志URL。
func (*Client) GetInstanceAccess ¶
func (c *Client) GetInstanceAccess(request *GetInstanceAccessRequest) (response *GetInstanceAccessResponse, err error)
本接口(GetInstanceAccess)用于获取实例登录所需要的凭据。
func (*Client) GetUploadCredentials ¶
func (c *Client) GetUploadCredentials(request *GetUploadCredentialsRequest) (response *GetUploadCredentialsResponse, err error)
本接口(GetUploadCredentials)获取上传文件授权信息。 通过 [GetUploadCredentials](https://cloud.tencent.com/document/product/1165/48727) 接口获取临时授权信息后,调用 COS API将数据上传,根据上传的 BucketKey 信息进行生成包 [CreateAsset](https://cloud.tencent.com/document/product/1165/48731) 的创建。参考下面的示例部分。
func (*Client) GetUploadFederationToken ¶
func (c *Client) GetUploadFederationToken(request *GetUploadFederationTokenRequest) (response *GetUploadFederationTokenResponse, err error)
本接口(GetUploadFederationToken)用于 获取生成包上传所需要的临时密钥。
func (*Client) JoinGameServerSession ¶
func (c *Client) JoinGameServerSession(request *JoinGameServerSessionRequest) (response *JoinGameServerSessionResponse, err error)
本接口(JoinGameServerSession)用于加入游戏服务器会话。
func (*Client) JoinGameServerSessionBatch ¶
func (c *Client) JoinGameServerSessionBatch(request *JoinGameServerSessionBatchRequest) (response *JoinGameServerSessionBatchResponse, err error)
本接口(JoinGameServerSessionBatch)用于批量加入游戏服务器会话。
func (*Client) ListAliases ¶
func (c *Client) ListAliases(request *ListAliasesRequest) (response *ListAliasesResponse, err error)
本接口(ListAliases)用于检索帐户下的所有别名。
func (*Client) ListFleets ¶
func (c *Client) ListFleets(request *ListFleetsRequest) (response *ListFleetsResponse, err error)
本接口(ListFleets)用于获取服务器舰队列表。
func (*Client) PutScalingPolicy ¶
func (c *Client) PutScalingPolicy(request *PutScalingPolicyRequest) (response *PutScalingPolicyResponse, err error)
本接口(PutScalingPolicy)用于设置服务器舰队的动态扩缩容策略。
通过此接口可以增加或者更新服务器舰队的扩缩容策略。 服务器舰队可以有多个扩缩容策略,但是只有一个TargetBased基于目标的策略。
## TargetBased基于目标的策略
TargetBased策略计算的指标是PercentAvailableGameSessions,这个策略用于计算当前服务器舰队应该有多少个CVM实例来支撑和分配游戏会话。 PercentAvailableGameSessions表示服务器舰队的缓冲值;用来计算服务器舰队在当前容量下可以处理的额外玩家会话数量。 如果使用基于目标的策略,可以按照业务需求设置一个期望的缓冲区大小,GSE的会按照配置的策略来扩容和缩容到这个目标要求的CVM实例数。
例如:客户可以设置同时承载100个游戏会话的服务器舰队预留10%的缓冲区。GSE会按照这个策略执行时,若服务器舰队的可用容量低于或高于10%的游戏服务器会话时,执行扩缩容动作。 GSE按照策略期望,扩容新CVM实例或缩容未使用的实例,保持在10%左右的缓冲区。
#### 请求参数取值说明
``` Name取值策略名称, FleetId取值为选择的服务器舰队ID, PolicyType取值TargetBased, MetricName取值PercentAvailableGameSessions, TargetConfiguration取值为所需的缓冲区值对象, 其他参数不用传递。 请求成功时,将返回策略名称。扩缩容策略在成功创建立即自动生效。 ```
## RuleBased基于规则的策略
#### 请求参数取值说明
``` Name取值策略名称, FleetId取值为选择的服务器舰队ID, PolicyType取值RuleBased, MetricName取值(AvailableGameServerSessions,AvailableCustomCount,PercentAvailableCustomCount,ActiveInstances,IdleInstances,CurrentPlayerSessions和PercentIdleInstances)说明见备注1, 其他参数不用传递。 ComparisonOperator取值为 >,>=,<,<=这4个比较符号中的一个, Threshold取值为指标MetricName达到的阈值是多少, EvaluationPeriods取值为指标MetricName达到的阈值持续了多少时间,单位是分钟, ScalingAdjustmentType取值(ChangeInCapacity,ExactCapacity,PercentChangeInCapacity)说明见备注2 ScalingAdjustment取值为指标MetricName达到的阈值的条件后,扩缩容多少个CVM实例。 请求成功时,将返回策略名称。扩缩容策略在成功创建立即自动生效。 ```
规则执行的条件表达式如下所示:
``` 若 [MetricName] 是 [ComparisonOperator] [Threshold] 持续 [EvaluationPeriods] 分钟, 则 [ScalingAdjustmentType] 调整 [ScalingAdjustment]个实例。 ``` ``` if [MetricName] ComparisonOperator [Threshold] for [EvaluationPeriods] minutes, then scaling up by/to [ScalingAdjustment] ``` 例如1:如果当前AvailableCustomCount值大于等于10,持续5分钟,扩容1台CVM实例。 ``` ScalingAdjustmentType = ChangeInCapacity if [AvailableGameServerSessions] >= [10] for [5] minutes, then scaling up [1] ``` 例如2:如果当前AvailableGameServerSessions值大于等于200,持续5分钟,扩容到2台CVM实例。 ``` ScalingAdjustmentType = ExactCapacity if [AvailableGameServerSessions] >= [200] for [5] minutes, then scaling to [2] ``` 例如3:如果当前AvailableCustomCount值大于等于400,持续5分钟,扩容20%台CVM实例。 当前CVM实例数为10台。扩容20%台CVM实例就是增加 10*20%等于2台 ``` ScalingAdjustmentType = PercentChangeInCapacity if [AvailableGameServerSessions] >= [400] for [5] minutes, then scaling by [currentCVMCount * 20 %] ``` **备注1**
- | 策略名称(MetricName) | 计算公式 | 场景 | 场景使用举例 | | :----------------------------------------------------------- | :----------------------------------------- | :------------------------------------------ | :----------------------------------------------------------- | | CurrentPlayerSessions<br>当前玩家数指标 | = 当前在线的玩家数 | CVM随着玩家会话数变化做扩缩容。 | 例如:<br>MetricName: CurrentPlayerSessions<br>ComparisonOperator: '<=' <br>Threshold: 300<br/>EvaluationPeriods: 1<br/>ScalingAdjustment: 2<br/>ScalingAdjustment: ChangeInCapacity<br>说明:若当前CurrentPlayerSessions小于等于300,持续1分钟,则扩容2台CVM。 | | AvailableGameServerSessions<br>可用游戏服务器会话数 | = 可用游戏服务会话数 | CVM随着可用游戏会话数变化做扩缩容。 | 例如:<br/>MetricName: AvailableGameServerSessions<br/>ComparisonOperator: '<' <br/>Threshold: 50<br/>EvaluationPeriods: 5<br/>ScalingAdjustment: 2<br/>ScalingAdjustment: ExactCapacity<br/>说明:若当前AvailableGameServerSessions小于50,持续5分钟,则扩容到2台CVM。 | | PercentAvailableGameServerSessions<br>可用游戏服务器会话百分比 | = 空闲游戏会话数 / 所有的游戏会话数 * 100% | CVM随着可用游戏会话数百分比变化做扩缩容。 | 例如:<br/>MetricName: PercentAvailableGameServerSessions<br/>ComparisonOperator: '<' <br/>Threshold: 50<br/>EvaluationPeriods: 1<br/>ScalingAdjustment: -30<br/>ScalingAdjustment: PercentChangeInCapacity<br/>说明:若当前PercentAvailableGameServerSessions小于50%,持续1分钟,则缩容当前实例数30%台CVM。 | | AvailableCustomCount<br>可用客户自定义数指标 | = 客户自定义的数 | CVM随着可用客户自定义数变化做扩缩容。 | 例如:<br/>MetricName: AvailableCustomCount<br/>ComparisonOperator: '>=' <br/>Threshold: 6<br/>EvaluationPeriods: 3<br/>ScalingAdjustment: -1<br/>ScalingAdjustment: ExactCapacity<br/>说明:若当前AvailableCustomCount大于等于6,持续3分钟,则缩容到1台CVM。 | | PercentAvailableCustomCount<br>可用客户自定义数百分比 | = 客户自定义数 / 客户最大自定义数* 100% | CVM随着可用客户自定义数百分比变化做扩缩容。 | 例如:<br/>MetricName: PercentAvailableCustomCount<br/>ComparisonOperator: '<' <br/>Threshold: 15<br/>EvaluationPeriods: 3<br/>ScalingAdjustment: 1<br/>ScalingAdjustment: ChangeInCapacity<br/>说明:若当前PercentAvailableCustomCount小于15%,持续3分钟,则扩容1台CVM。 | | ActiveInstances<br>活跃实例数指标 | = 总实例数 - 缩容中的实例数 | CVM随着活跃实例数变化做扩缩容。 | 例如:<br/>MetricName: ActiveInstances<br/>ComparisonOperator: '<' <br/>Threshold: 3<br/>EvaluationPeriods: 1<br/>ScalingAdjustment: 3<br/>ScalingAdjustment: ExactCapacity<br/>说明:若当前ActiveInstances小于3台,持续1分钟,则扩容保留到3台CVM。 | | IdleInstances<br>空闲实例数指标 | = 未使用的进程数 / 每实例进程数 | CVM随着空闲实例数变化做扩缩容。 | 例如:<br/>MetricName: IdleInstances<br/>ComparisonOperator: '<' <br/>Threshold: 2<br/>EvaluationPeriods: 3<br/>ScalingAdjustment: 1<br/>ScalingAdjustment: ChangeInCapacity<br/>说明:若当前IdleInstances小于2台,持续3分钟,则扩容1台CVM。 | | PercentIdleInstances<br>空闲实例百分比 | = IdleInstances / ActiveInstances * 100% | CVM随着空闲实例百分比变化做扩缩容。 | 例如:<br/>MetricName: PercentIdleInstances<br/>ComparisonOperator: '<' <br/>Threshold: 50<br/>EvaluationPeriods: 3<br/>ScalingAdjustment: 1<br/>ScalingAdjustment: ChangeInCapacity<br/>说明:若当前PercentIdleInstances小于50%,持续3分钟,则扩容1台CVM。 |
**备注2**
**ChangeInCapacity**
当前CVM实例个数的扩容或缩容的调整值。正值按值扩容,负值按值缩容。
**ExactCapacity**
把当前CVM实例个数调整为ScalingAdjustment设置的CVM实例数。
**PercentChangeInCapacity**
按比例增加或减少的百分比。正值按比例扩容,负值按比例缩容;例如,值“-10”将按10%的比例缩容CVM实例。
func (*Client) PutTimerScalingPolicy ¶
func (c *Client) PutTimerScalingPolicy(request *PutTimerScalingPolicyRequest) (response *PutTimerScalingPolicyResponse, err error)
本接口(PutTimerScalingPolicy)用于给fleet创建或更新定时器。
填写字段timer_id,表示更新;不填字段timer_id表示新增。
func (*Client) ResolveAlias ¶
func (c *Client) ResolveAlias(request *ResolveAliasRequest) (response *ResolveAliasResponse, err error)
本接口(ResolveAlias)用于获取别名当前指向的fleetId。
func (*Client) SearchGameServerSessions ¶
func (c *Client) SearchGameServerSessions(request *SearchGameServerSessionsRequest) (response *SearchGameServerSessionsResponse, err error)
本接口(SearchGameServerSessions)用于搜索游戏服务器会话列表。
func (*Client) SetServerReserved ¶
func (c *Client) SetServerReserved(request *SetServerReservedRequest) (response *SetServerReservedResponse, err error)
本接口(SetServerReserved)用于将异常的实例标记为保留,用于问题排查。
字段ReserveValue:0默认值,不保留;1 保留
func (*Client) SetServerWeight ¶
func (c *Client) SetServerWeight(request *SetServerWeightRequest) (response *SetServerWeightResponse, err error)
本接口(SetServerWeight)用于设置服务器权重。
func (*Client) StartFleetActions ¶
func (c *Client) StartFleetActions(request *StartFleetActionsRequest) (response *StartFleetActionsResponse, err error)
本接口(StartFleetActions)用于启用服务器舰队自动扩缩容。
func (*Client) StartGameServerSessionPlacement ¶
func (c *Client) StartGameServerSessionPlacement(request *StartGameServerSessionPlacementRequest) (response *StartGameServerSessionPlacementResponse, err error)
本接口(StartGameServerSessionPlacement)用于开始放置游戏服务器会话。
func (*Client) StopFleetActions ¶
func (c *Client) StopFleetActions(request *StopFleetActionsRequest) (response *StopFleetActionsResponse, err error)
本接口(StopFleetActions)用于停止服务器舰队自动扩缩容,改为手动扩缩容。
func (*Client) StopGameServerSessionPlacement ¶
func (c *Client) StopGameServerSessionPlacement(request *StopGameServerSessionPlacementRequest) (response *StopGameServerSessionPlacementResponse, err error)
本接口(StopGameServerSessionPlacement)用于停止放置游戏服务器会话。
func (*Client) UpdateAlias ¶
func (c *Client) UpdateAlias(request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)
本接口(UpdateAlias)用于更新别名的属性。
func (*Client) UpdateAsset ¶
func (c *Client) UpdateAsset(request *UpdateAssetRequest) (response *UpdateAssetResponse, err error)
本接口(UpdateAsset)用于修改生成包信息。
func (*Client) UpdateBucketAccelerateOpt ¶
func (c *Client) UpdateBucketAccelerateOpt(request *UpdateBucketAccelerateOptRequest) (response *UpdateBucketAccelerateOptResponse, err error)
本接口(UpdateBucketAccelerateOpt)用于开启cos全球加速。
func (*Client) UpdateBucketCORSOpt ¶
func (c *Client) UpdateBucketCORSOpt(request *UpdateBucketCORSOptRequest) (response *UpdateBucketCORSOptResponse, err error)
本接口(UpdateBucketCORSOpt)用于设置cos跨域访问。
func (*Client) UpdateFleetAttributes ¶
func (c *Client) UpdateFleetAttributes(request *UpdateFleetAttributesRequest) (response *UpdateFleetAttributesResponse, err error)
本接口(UpdateFleetAttributes)用于更新服务器舰队属性。
func (*Client) UpdateFleetCapacity ¶
func (c *Client) UpdateFleetCapacity(request *UpdateFleetCapacityRequest) (response *UpdateFleetCapacityResponse, err error)
本接口(UpdateFleetCapacity)用于更新服务器舰队容量配置。
func (*Client) UpdateFleetName ¶
func (c *Client) UpdateFleetName(request *UpdateFleetNameRequest) (response *UpdateFleetNameResponse, err error)
本接口(UpdateFleetName)用于更新服务器舰队名称。
func (*Client) UpdateFleetPortSettings ¶
func (c *Client) UpdateFleetPortSettings(request *UpdateFleetPortSettingsRequest) (response *UpdateFleetPortSettingsResponse, err error)
本接口(UpdateFleetPortSettings)用于更新服务器舰队安全组。
func (*Client) UpdateGameServerSession ¶
func (c *Client) UpdateGameServerSession(request *UpdateGameServerSessionRequest) (response *UpdateGameServerSessionResponse, err error)
本接口(UpdateGameServerSession)用于更新游戏服务器会话。
func (*Client) UpdateGameServerSessionQueue ¶
func (c *Client) UpdateGameServerSessionQueue(request *UpdateGameServerSessionQueueRequest) (response *UpdateGameServerSessionQueueResponse, err error)
本接口(UpdateGameServerSessionQueue)用于修改游戏服务器会话队列。
func (*Client) UpdateRuntimeConfiguration ¶
func (c *Client) UpdateRuntimeConfiguration(request *UpdateRuntimeConfigurationRequest) (response *UpdateRuntimeConfigurationResponse, err error)
本接口(UpdateRuntimeConfiguration)用于更新服务器舰队配置。
type CopyFleetRequest ¶
type CopyFleetRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。 CopyNumber *int64 `json:"CopyNumber,omitempty" name:"CopyNumber"` // 生成包 Id AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 描述,最小长度0,最大长度100 Description *string `json:"Description,omitempty" name:"Description"` // 网络配置 InboundPermissions []*InboundPermission `json:"InboundPermissions,omitempty" name:"InboundPermissions" list` // 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 服务器舰队类型,目前只支持ON_DEMAND类型 FleetType *string `json:"FleetType,omitempty" name:"FleetType"` // 服务器舰队名称,最小长度1,最大长度50 Name *string `json:"Name,omitempty" name:"Name"` // 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"` // 资源创建限制策略 ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"` // 进程配置 RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"` // 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效 GameServerSessionProtectionTimeLimit *int64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"` // 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED SelectedScalingType *string `json:"SelectedScalingType,omitempty" name:"SelectedScalingType"` // 是否选择云联网:CCN_SELECTED_BEFORE_CREATE(创建前关联), CCN_SELECTED_AFTER_CREATE(创建后关联)或者 CCN_UNSELECTED(不关联);默认是 CCN_UNSELECTED SelectedCcnType *string `json:"SelectedCcnType,omitempty" name:"SelectedCcnType"` // 标签列表,最大长度50组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位 SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"` // 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位 DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo" list` // 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED SelectedTimerType *string `json:"SelectedTimerType,omitempty" name:"SelectedTimerType"` // 云联网信息,包含对应的账号信息及所属id CcnInfos []*CcnInfo `json:"CcnInfos,omitempty" name:"CcnInfos" list` }
func NewCopyFleetRequest ¶
func NewCopyFleetRequest() (request *CopyFleetRequest)
func (*CopyFleetRequest) FromJsonString ¶
func (r *CopyFleetRequest) FromJsonString(s string) error
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 CopyFleetResponse ¶
type CopyFleetResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队属性 // 注意:此字段可能返回 null,表示取不到有效值。 FleetAttributes []*FleetAttributes `json:"FleetAttributes,omitempty" name:"FleetAttributes" list` // 服务器舰队数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCopyFleetResponse ¶
func NewCopyFleetResponse() (response *CopyFleetResponse)
func (*CopyFleetResponse) FromJsonString ¶
func (r *CopyFleetResponse) FromJsonString(s string) error
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 CreateAliasRequest ¶
type CreateAliasRequest struct { *tchttp.BaseRequest // 名字,长度不小于1字符不超过1024字符 Name *string `json:"Name,omitempty" name:"Name"` // 别名的路由配置 RoutingStrategy *RoutingStrategy `json:"RoutingStrategy,omitempty" name:"RoutingStrategy"` // 别名的可读说明,长度不小于1字符不超过1024字符 Description *string `json:"Description,omitempty" name:"Description"` // 标签列表,最大长度50组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
func NewCreateAliasRequest ¶
func NewCreateAliasRequest() (request *CreateAliasRequest)
func (*CreateAliasRequest) FromJsonString ¶
func (r *CreateAliasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAliasRequest) ToJsonString ¶
func (r *CreateAliasRequest) ToJsonString() string
type CreateAliasResponse ¶
type CreateAliasResponse struct { *tchttp.BaseResponse Response *struct { // 别名对象 Alias *Alias `json:"Alias,omitempty" name:"Alias"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAliasResponse ¶
func NewCreateAliasResponse() (response *CreateAliasResponse)
func (*CreateAliasResponse) FromJsonString ¶
func (r *CreateAliasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAliasResponse) ToJsonString ¶
func (r *CreateAliasResponse) ToJsonString() string
type CreateAssetRequest ¶
type CreateAssetRequest struct { *tchttp.BaseRequest // 生成包的ZIP包名,例如:server.zip BucketKey *string `json:"BucketKey,omitempty" name:"BucketKey"` // 生成包名字,最小长度为1,最大长度为64 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 生成包版本,最小长度为1,最大长度为64 AssetVersion *string `json:"AssetVersion,omitempty" name:"AssetVersion"` // 生成包所在地域,详见产品支持的 [地域列表](https://cloud.tencent.com/document/api/1165/42053#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) AssetRegion *string `json:"AssetRegion,omitempty" name:"AssetRegion"` // 生成包可运行的操作系统,若传入参数为CentOS7.16则不需要传入ImageId字段,否则,需要传入Imageid字段(该方式是为了兼容之前的版本,后续建议使用ImageId来替代该字段) OperateSystem *string `json:"OperateSystem,omitempty" name:"OperateSystem"` // 生成包支持的操作系统镜像id,若传入OperateSystem字段的值是CentOS7.16,则不需要传入该值;如果不是,则需要通过[DescribeAssetSystems](https://cloud.tencent.com/document/product/1165/49191)接口获取asset支持的操作系统ImageId进行传入 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 标签列表,最大长度50组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
func NewCreateAssetRequest ¶
func NewCreateAssetRequest() (request *CreateAssetRequest)
func (*CreateAssetRequest) FromJsonString ¶
func (r *CreateAssetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAssetRequest) ToJsonString ¶
func (r *CreateAssetRequest) ToJsonString() string
type CreateAssetResponse ¶
type CreateAssetResponse struct { *tchttp.BaseResponse Response *struct { // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 生成包的全局唯一资源标识符 AssetArn *string `json:"AssetArn,omitempty" name:"AssetArn"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAssetResponse ¶
func NewCreateAssetResponse() (response *CreateAssetResponse)
func (*CreateAssetResponse) FromJsonString ¶
func (r *CreateAssetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAssetResponse) ToJsonString ¶
func (r *CreateAssetResponse) ToJsonString() string
type CreateAssetWithImageRequest ¶
type CreateAssetWithImageRequest struct { *tchttp.BaseRequest // 生成包名字,最小长度为1,最大长度为64 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 生成包版本,最小长度为1,最大长度为64 AssetVersion *string `json:"AssetVersion,omitempty" name:"AssetVersion"` // 生成包所在地域,详见产品支持的 [地域列表](https://cloud.tencent.com/document/api/1165/42053#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) AssetRegion *string `json:"AssetRegion,omitempty" name:"AssetRegion"` // 生成包支持的操作系统镜像id ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 操作系统镜像包大小,比如:40GB,支持单位 KB、MB、GB ImageSize *string `json:"ImageSize,omitempty" name:"ImageSize"` // 操作系统镜像包名称,最小长度为1,最大长度为64 ImageOs *string `json:"ImageOs,omitempty" name:"ImageOs"` // 操作系统镜像包类型,CentOS 或者 Windows OsType *string `json:"OsType,omitempty" name:"OsType"` // 操作系统镜像包类型,当前只支持 SHARED_IMAGE ImageType *string `json:"ImageType,omitempty" name:"ImageType"` // 操作系统镜像包位数,32 或者 64 OsBit *uint64 `json:"OsBit,omitempty" name:"OsBit"` }
func NewCreateAssetWithImageRequest ¶
func NewCreateAssetWithImageRequest() (request *CreateAssetWithImageRequest)
func (*CreateAssetWithImageRequest) FromJsonString ¶
func (r *CreateAssetWithImageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAssetWithImageRequest) ToJsonString ¶
func (r *CreateAssetWithImageRequest) ToJsonString() string
type CreateAssetWithImageResponse ¶
type CreateAssetWithImageResponse struct { *tchttp.BaseResponse Response *struct { // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 生成包的全局唯一资源标识符 AssetArn *string `json:"AssetArn,omitempty" name:"AssetArn"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAssetWithImageResponse ¶
func NewCreateAssetWithImageResponse() (response *CreateAssetWithImageResponse)
func (*CreateAssetWithImageResponse) FromJsonString ¶
func (r *CreateAssetWithImageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAssetWithImageResponse) ToJsonString ¶
func (r *CreateAssetWithImageResponse) ToJsonString() string
type CreateFleetRequest ¶
type CreateFleetRequest struct { *tchttp.BaseRequest // 生成包 Id AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 描述,最小长度0,最大长度100 Description *string `json:"Description,omitempty" name:"Description"` // 网络配置 InboundPermissions []*InboundPermission `json:"InboundPermissions,omitempty" name:"InboundPermissions" list` // 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 服务器舰队类型,目前只支持ON_DEMAND类型 FleetType *string `json:"FleetType,omitempty" name:"FleetType"` // 服务器舰队名称,最小长度1,最大长度50 Name *string `json:"Name,omitempty" name:"Name"` // 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"` // VPC 网络 Id,对等连接已不再使用 PeerVpcId *string `json:"PeerVpcId,omitempty" name:"PeerVpcId"` // 资源创建限制策略 ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"` // 进程配置 RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"` // VPC 子网,对等连接已不再使用 SubNetId *string `json:"SubNetId,omitempty" name:"SubNetId"` // 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效 GameServerSessionProtectionTimeLimit *int64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"` // 标签列表,最大长度50组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位 SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"` // 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位 DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo" list` // 云联网信息,包含对应的账号信息及所属id CcnInfos []*CcnInfo `json:"CcnInfos,omitempty" name:"CcnInfos" list` }
func NewCreateFleetRequest ¶
func NewCreateFleetRequest() (request *CreateFleetRequest)
func (*CreateFleetRequest) FromJsonString ¶
func (r *CreateFleetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFleetRequest) ToJsonString ¶
func (r *CreateFleetRequest) ToJsonString() string
type CreateFleetResponse ¶
type CreateFleetResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队属性 // 注意:此字段可能返回 null,表示取不到有效值。 FleetAttributes *FleetAttributes `json:"FleetAttributes,omitempty" name:"FleetAttributes"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateFleetResponse ¶
func NewCreateFleetResponse() (response *CreateFleetResponse)
func (*CreateFleetResponse) FromJsonString ¶
func (r *CreateFleetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFleetResponse) ToJsonString ¶
func (r *CreateFleetResponse) ToJsonString() string
type CreateGameServerSessionQueueRequest ¶
type CreateGameServerSessionQueueRequest struct { *tchttp.BaseRequest // 游戏服务器会话队列名称,长度1~128 Name *string `json:"Name,omitempty" name:"Name"` // 目的服务器舰队(可为别名)列表 Destinations []*GameServerSessionQueueDestination `json:"Destinations,omitempty" name:"Destinations" list` // 延迟策略集合 PlayerLatencyPolicies []*PlayerLatencyPolicy `json:"PlayerLatencyPolicies,omitempty" name:"PlayerLatencyPolicies" list` // 超时时间(单位秒,默认值为600秒) TimeoutInSeconds *uint64 `json:"TimeoutInSeconds,omitempty" name:"TimeoutInSeconds"` // 标签列表,最大长度50组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
func NewCreateGameServerSessionQueueRequest ¶
func NewCreateGameServerSessionQueueRequest() (request *CreateGameServerSessionQueueRequest)
func (*CreateGameServerSessionQueueRequest) FromJsonString ¶
func (r *CreateGameServerSessionQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGameServerSessionQueueRequest) ToJsonString ¶
func (r *CreateGameServerSessionQueueRequest) ToJsonString() string
type CreateGameServerSessionQueueResponse ¶
type CreateGameServerSessionQueueResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话队列 GameServerSessionQueue *GameServerSessionQueue `json:"GameServerSessionQueue,omitempty" name:"GameServerSessionQueue"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateGameServerSessionQueueResponse ¶
func NewCreateGameServerSessionQueueResponse() (response *CreateGameServerSessionQueueResponse)
func (*CreateGameServerSessionQueueResponse) FromJsonString ¶
func (r *CreateGameServerSessionQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGameServerSessionQueueResponse) ToJsonString ¶
func (r *CreateGameServerSessionQueueResponse) ToJsonString() string
type CreateGameServerSessionRequest ¶
type CreateGameServerSessionRequest struct { *tchttp.BaseRequest // 最大玩家数量,最小值不小于0 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` // 别名ID。每个请求需要指定别名ID 或者舰队 ID,如果两个同时指定时,优先选择舰队 ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 创建者ID,最大长度不超过1024个ASCII字符 CreatorId *string `json:"CreatorId,omitempty" name:"CreatorId"` // 舰队ID。每个请求需要指定别名ID 或者舰队 ID,如果两个同时指定时,优先选择舰队 ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 游戏属性,最大长度不超过16组 GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties" list` // 游戏服务器会话属性详情,最大长度不超过4096个ASCII字符 GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"` // 游戏服务器会话自定义ID,最大长度不超过4096个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 幂等token,最大长度不超过48个ASCII字符 IdempotencyToken *string `json:"IdempotencyToken,omitempty" name:"IdempotencyToken"` // 游戏服务器会话名称,最大长度不超过1024个ASCII字符 Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreateGameServerSessionRequest ¶
func NewCreateGameServerSessionRequest() (request *CreateGameServerSessionRequest)
func (*CreateGameServerSessionRequest) FromJsonString ¶
func (r *CreateGameServerSessionRequest) FromJsonString(s string) error
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 CreateGameServerSessionResponse ¶
type CreateGameServerSessionResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateGameServerSessionResponse ¶
func NewCreateGameServerSessionResponse() (response *CreateGameServerSessionResponse)
func (*CreateGameServerSessionResponse) FromJsonString ¶
func (r *CreateGameServerSessionResponse) FromJsonString(s string) error
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 Credentials ¶
type DeleteAliasRequest ¶
type DeleteAliasRequest struct { *tchttp.BaseRequest // 要删除的别名ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` }
func NewDeleteAliasRequest ¶
func NewDeleteAliasRequest() (request *DeleteAliasRequest)
func (*DeleteAliasRequest) FromJsonString ¶
func (r *DeleteAliasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAliasRequest) ToJsonString ¶
func (r *DeleteAliasRequest) ToJsonString() string
type DeleteAliasResponse ¶
type DeleteAliasResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAliasResponse ¶
func NewDeleteAliasResponse() (response *DeleteAliasResponse)
func (*DeleteAliasResponse) FromJsonString ¶
func (r *DeleteAliasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAliasResponse) ToJsonString ¶
func (r *DeleteAliasResponse) ToJsonString() string
type DeleteAssetRequest ¶
type DeleteAssetRequest struct { *tchttp.BaseRequest // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` }
func NewDeleteAssetRequest ¶
func NewDeleteAssetRequest() (request *DeleteAssetRequest)
func (*DeleteAssetRequest) FromJsonString ¶
func (r *DeleteAssetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAssetRequest) ToJsonString ¶
func (r *DeleteAssetRequest) ToJsonString() string
type DeleteAssetResponse ¶
type DeleteAssetResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAssetResponse ¶
func NewDeleteAssetResponse() (response *DeleteAssetResponse)
func (*DeleteAssetResponse) FromJsonString ¶
func (r *DeleteAssetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAssetResponse) ToJsonString ¶
func (r *DeleteAssetResponse) ToJsonString() string
type DeleteFleetRequest ¶
type DeleteFleetRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDeleteFleetRequest ¶
func NewDeleteFleetRequest() (request *DeleteFleetRequest)
func (*DeleteFleetRequest) FromJsonString ¶
func (r *DeleteFleetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFleetRequest) ToJsonString ¶
func (r *DeleteFleetRequest) ToJsonString() string
type DeleteFleetResponse ¶
type DeleteFleetResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteFleetResponse ¶
func NewDeleteFleetResponse() (response *DeleteFleetResponse)
func (*DeleteFleetResponse) FromJsonString ¶
func (r *DeleteFleetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFleetResponse) ToJsonString ¶
func (r *DeleteFleetResponse) ToJsonString() string
type DeleteGameServerSessionQueueRequest ¶
type DeleteGameServerSessionQueueRequest struct { *tchttp.BaseRequest // 游戏服务器会话队列名字,长度1~128 Name *string `json:"Name,omitempty" name:"Name"` }
func NewDeleteGameServerSessionQueueRequest ¶
func NewDeleteGameServerSessionQueueRequest() (request *DeleteGameServerSessionQueueRequest)
func (*DeleteGameServerSessionQueueRequest) FromJsonString ¶
func (r *DeleteGameServerSessionQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGameServerSessionQueueRequest) ToJsonString ¶
func (r *DeleteGameServerSessionQueueRequest) ToJsonString() string
type DeleteGameServerSessionQueueResponse ¶
type DeleteGameServerSessionQueueResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteGameServerSessionQueueResponse ¶
func NewDeleteGameServerSessionQueueResponse() (response *DeleteGameServerSessionQueueResponse)
func (*DeleteGameServerSessionQueueResponse) FromJsonString ¶
func (r *DeleteGameServerSessionQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGameServerSessionQueueResponse) ToJsonString ¶
func (r *DeleteGameServerSessionQueueResponse) ToJsonString() string
type DeleteScalingPolicyRequest ¶
type DeleteScalingPolicyRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 扩缩容策略名称,最小长度为0,最大长度为1024 Name *string `json:"Name,omitempty" name:"Name"` }
func NewDeleteScalingPolicyRequest ¶
func NewDeleteScalingPolicyRequest() (request *DeleteScalingPolicyRequest)
func (*DeleteScalingPolicyRequest) FromJsonString ¶
func (r *DeleteScalingPolicyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScalingPolicyRequest) ToJsonString ¶
func (r *DeleteScalingPolicyRequest) ToJsonString() string
type DeleteScalingPolicyResponse ¶
type DeleteScalingPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteScalingPolicyResponse ¶
func NewDeleteScalingPolicyResponse() (response *DeleteScalingPolicyResponse)
func (*DeleteScalingPolicyResponse) FromJsonString ¶
func (r *DeleteScalingPolicyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScalingPolicyResponse) ToJsonString ¶
func (r *DeleteScalingPolicyResponse) ToJsonString() string
type DeleteTimerScalingPolicyRequest ¶
type DeleteTimerScalingPolicyRequest struct { *tchttp.BaseRequest // 定时器ID, 进行encode TimerId *string `json:"TimerId,omitempty" name:"TimerId"` // 扩缩容配置服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 定时器名称 TimerName *string `json:"TimerName,omitempty" name:"TimerName"` }
func NewDeleteTimerScalingPolicyRequest ¶
func NewDeleteTimerScalingPolicyRequest() (request *DeleteTimerScalingPolicyRequest)
func (*DeleteTimerScalingPolicyRequest) FromJsonString ¶
func (r *DeleteTimerScalingPolicyRequest) FromJsonString(s string) error
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 DeleteTimerScalingPolicyResponse ¶
type DeleteTimerScalingPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTimerScalingPolicyResponse ¶
func NewDeleteTimerScalingPolicyResponse() (response *DeleteTimerScalingPolicyResponse)
func (*DeleteTimerScalingPolicyResponse) FromJsonString ¶
func (r *DeleteTimerScalingPolicyResponse) FromJsonString(s string) error
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 DescribeAliasRequest ¶
type DescribeAliasRequest struct { *tchttp.BaseRequest // 要检索的队列别名的唯一标识符 AliasId *string `json:"AliasId,omitempty" name:"AliasId"` }
func NewDescribeAliasRequest ¶
func NewDescribeAliasRequest() (request *DescribeAliasRequest)
func (*DescribeAliasRequest) FromJsonString ¶
func (r *DescribeAliasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAliasRequest) ToJsonString ¶
func (r *DescribeAliasRequest) ToJsonString() string
type DescribeAliasResponse ¶
type DescribeAliasResponse struct { *tchttp.BaseResponse Response *struct { // 别名对象 // 注意:此字段可能返回 null,表示取不到有效值。 Alias *Alias `json:"Alias,omitempty" name:"Alias"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAliasResponse ¶
func NewDescribeAliasResponse() (response *DescribeAliasResponse)
func (*DescribeAliasResponse) FromJsonString ¶
func (r *DescribeAliasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAliasResponse) ToJsonString ¶
func (r *DescribeAliasResponse) ToJsonString() string
type DescribeAssetRequest ¶
type DescribeAssetRequest struct { *tchttp.BaseRequest // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` }
func NewDescribeAssetRequest ¶
func NewDescribeAssetRequest() (request *DescribeAssetRequest)
func (*DescribeAssetRequest) FromJsonString ¶
func (r *DescribeAssetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetRequest) ToJsonString ¶
func (r *DescribeAssetRequest) ToJsonString() string
type DescribeAssetResponse ¶
type DescribeAssetResponse struct { *tchttp.BaseResponse Response *struct { // 生成包信息 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetResponse ¶
func NewDescribeAssetResponse() (response *DescribeAssetResponse)
func (*DescribeAssetResponse) FromJsonString ¶
func (r *DescribeAssetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetResponse) ToJsonString ¶
func (r *DescribeAssetResponse) ToJsonString() string
type DescribeAssetSystemsRequest ¶
type DescribeAssetSystemsRequest struct { *tchttp.BaseRequest // 生成包支持的操作系统类型 OsType *string `json:"OsType,omitempty" name:"OsType"` // 生成包支持的操作系统位数 OsBit *int64 `json:"OsBit,omitempty" name:"OsBit"` }
func NewDescribeAssetSystemsRequest ¶
func NewDescribeAssetSystemsRequest() (request *DescribeAssetSystemsRequest)
func (*DescribeAssetSystemsRequest) FromJsonString ¶
func (r *DescribeAssetSystemsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetSystemsRequest) ToJsonString ¶
func (r *DescribeAssetSystemsRequest) ToJsonString() string
type DescribeAssetSystemsResponse ¶
type DescribeAssetSystemsResponse struct { *tchttp.BaseResponse Response *struct { // 生成包支持的操作系统类型列表 AssetSupportSys []*AssetSupportSys `json:"AssetSupportSys,omitempty" name:"AssetSupportSys" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetSystemsResponse ¶
func NewDescribeAssetSystemsResponse() (response *DescribeAssetSystemsResponse)
func (*DescribeAssetSystemsResponse) FromJsonString ¶
func (r *DescribeAssetSystemsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetSystemsResponse) ToJsonString ¶
func (r *DescribeAssetSystemsResponse) ToJsonString() string
type DescribeAssetsRequest ¶
type DescribeAssetsRequest struct { *tchttp.BaseRequest // 生成包支持的可部署 [地域列表](https://cloud.tencent.com/document/api/1165/42053#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) AssetRegion *string `json:"AssetRegion,omitempty" name:"AssetRegion"` // 偏移,代表页数,与asset实际数量相关 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 前端界面每页显示的最大条数,不超过100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 搜索条件,支持包ID或包名字过滤,该字段会逐步废弃,建议使用 Filters 字段 Filter *string `json:"Filter,omitempty" name:"Filter"` // 资源过滤字段,可以按照资源名称、资源ID和标签进行过滤- 资源名称过滤 - Key: 固定字符串 "resource:name" - Values: 资源名称数组(生成包当前仅支持单个名称的过滤)- 资源ID过滤 - Key: 固定字符串 "resource:resourceId" - Values: 生成包ID数组(生成包当前仅支持单个生成包ID的过滤)- 标签过滤 - 通过标签键过滤 - Key: 固定字符串 "tag:key" - Values 不传 - 通过标签键值过滤 - Key: 固定字符串 "tag:key-value" - Values: 标签键值对数组,例如 ["key1:value1", "key1:value2", "key2:value2"] Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewDescribeAssetsRequest ¶
func NewDescribeAssetsRequest() (request *DescribeAssetsRequest)
func (*DescribeAssetsRequest) FromJsonString ¶
func (r *DescribeAssetsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetsRequest) ToJsonString ¶
func (r *DescribeAssetsRequest) ToJsonString() string
type DescribeAssetsResponse ¶
type DescribeAssetsResponse struct { *tchttp.BaseResponse Response *struct { // 生成包总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 生成包列表 Assets []*Asset `json:"Assets,omitempty" name:"Assets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetsResponse ¶
func NewDescribeAssetsResponse() (response *DescribeAssetsResponse)
func (*DescribeAssetsResponse) FromJsonString ¶
func (r *DescribeAssetsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssetsResponse) ToJsonString ¶
func (r *DescribeAssetsResponse) ToJsonString() string
type DescribeCcnInstancesRequest ¶
type DescribeCcnInstancesRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDescribeCcnInstancesRequest ¶
func NewDescribeCcnInstancesRequest() (request *DescribeCcnInstancesRequest)
func (*DescribeCcnInstancesRequest) FromJsonString ¶
func (r *DescribeCcnInstancesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcnInstancesRequest) ToJsonString ¶
func (r *DescribeCcnInstancesRequest) ToJsonString() string
type DescribeCcnInstancesResponse ¶
type DescribeCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 云联网实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 CcnInstanceSets []*CcnInstanceSets `json:"CcnInstanceSets,omitempty" name:"CcnInstanceSets" list` // 云联网实例个数,最小值为0 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCcnInstancesResponse ¶
func NewDescribeCcnInstancesResponse() (response *DescribeCcnInstancesResponse)
func (*DescribeCcnInstancesResponse) FromJsonString ¶
func (r *DescribeCcnInstancesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcnInstancesResponse) ToJsonString ¶
func (r *DescribeCcnInstancesResponse) ToJsonString() string
type DescribeFleetAttributesRequest ¶
type DescribeFleetAttributesRequest struct { *tchttp.BaseRequest // 服务器舰队 Ids FleetIds []*string `json:"FleetIds,omitempty" name:"FleetIds" list` // 结果返回最大数量,默认值20,最大值100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回结果偏移,最小值0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeFleetAttributesRequest ¶
func NewDescribeFleetAttributesRequest() (request *DescribeFleetAttributesRequest)
func (*DescribeFleetAttributesRequest) FromJsonString ¶
func (r *DescribeFleetAttributesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetAttributesRequest) ToJsonString ¶
func (r *DescribeFleetAttributesRequest) ToJsonString() string
type DescribeFleetAttributesResponse ¶
type DescribeFleetAttributesResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队属性 // 注意:此字段可能返回 null,表示取不到有效值。 FleetAttributes []*FleetAttributes `json:"FleetAttributes,omitempty" name:"FleetAttributes" list` // 服务器舰队总数,最小值0 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetAttributesResponse ¶
func NewDescribeFleetAttributesResponse() (response *DescribeFleetAttributesResponse)
func (*DescribeFleetAttributesResponse) FromJsonString ¶
func (r *DescribeFleetAttributesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetAttributesResponse) ToJsonString ¶
func (r *DescribeFleetAttributesResponse) ToJsonString() string
type DescribeFleetCapacityRequest ¶
type DescribeFleetCapacityRequest struct { *tchttp.BaseRequest // 服务器舰队ID列表 FleetIds []*string `json:"FleetIds,omitempty" name:"FleetIds" list` // 结果返回最大数量,最大值 100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回结果偏移,最小值 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeFleetCapacityRequest ¶
func NewDescribeFleetCapacityRequest() (request *DescribeFleetCapacityRequest)
func (*DescribeFleetCapacityRequest) FromJsonString ¶
func (r *DescribeFleetCapacityRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetCapacityRequest) ToJsonString ¶
func (r *DescribeFleetCapacityRequest) ToJsonString() string
type DescribeFleetCapacityResponse ¶
type DescribeFleetCapacityResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队的容量配置 // 注意:此字段可能返回 null,表示取不到有效值。 FleetCapacity []*FleetCapacity `json:"FleetCapacity,omitempty" name:"FleetCapacity" list` // 结果返回最大数量 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetCapacityResponse ¶
func NewDescribeFleetCapacityResponse() (response *DescribeFleetCapacityResponse)
func (*DescribeFleetCapacityResponse) FromJsonString ¶
func (r *DescribeFleetCapacityResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetCapacityResponse) ToJsonString ¶
func (r *DescribeFleetCapacityResponse) ToJsonString() string
type DescribeFleetEventsRequest ¶
type DescribeFleetEventsRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 分页时返回服务器舰队事件的数量,默认为20,最大值为100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 分页时的数据偏移量,默认为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeFleetEventsRequest ¶
func NewDescribeFleetEventsRequest() (request *DescribeFleetEventsRequest)
func (*DescribeFleetEventsRequest) FromJsonString ¶
func (r *DescribeFleetEventsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetEventsRequest) ToJsonString ¶
func (r *DescribeFleetEventsRequest) ToJsonString() string
type DescribeFleetEventsResponse ¶
type DescribeFleetEventsResponse struct { *tchttp.BaseResponse Response *struct { // 返回的事件列表 Events []*Event `json:"Events,omitempty" name:"Events" list` // 返回的事件总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetEventsResponse ¶
func NewDescribeFleetEventsResponse() (response *DescribeFleetEventsResponse)
func (*DescribeFleetEventsResponse) FromJsonString ¶
func (r *DescribeFleetEventsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetEventsResponse) ToJsonString ¶
func (r *DescribeFleetEventsResponse) ToJsonString() string
type DescribeFleetPortSettingsRequest ¶
type DescribeFleetPortSettingsRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDescribeFleetPortSettingsRequest ¶
func NewDescribeFleetPortSettingsRequest() (request *DescribeFleetPortSettingsRequest)
func (*DescribeFleetPortSettingsRequest) FromJsonString ¶
func (r *DescribeFleetPortSettingsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetPortSettingsRequest) ToJsonString ¶
func (r *DescribeFleetPortSettingsRequest) ToJsonString() string
type DescribeFleetPortSettingsResponse ¶
type DescribeFleetPortSettingsResponse struct { *tchttp.BaseResponse Response *struct { // 安全组信息 // 注意:此字段可能返回 null,表示取不到有效值。 InboundPermissions []*InboundPermission `json:"InboundPermissions,omitempty" name:"InboundPermissions" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetPortSettingsResponse ¶
func NewDescribeFleetPortSettingsResponse() (response *DescribeFleetPortSettingsResponse)
func (*DescribeFleetPortSettingsResponse) FromJsonString ¶
func (r *DescribeFleetPortSettingsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetPortSettingsResponse) ToJsonString ¶
func (r *DescribeFleetPortSettingsResponse) ToJsonString() string
type DescribeFleetRelatedResourcesRequest ¶
type DescribeFleetRelatedResourcesRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDescribeFleetRelatedResourcesRequest ¶
func NewDescribeFleetRelatedResourcesRequest() (request *DescribeFleetRelatedResourcesRequest)
func (*DescribeFleetRelatedResourcesRequest) FromJsonString ¶
func (r *DescribeFleetRelatedResourcesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetRelatedResourcesRequest) ToJsonString ¶
func (r *DescribeFleetRelatedResourcesRequest) ToJsonString() string
type DescribeFleetRelatedResourcesResponse ¶
type DescribeFleetRelatedResourcesResponse struct { *tchttp.BaseResponse Response *struct { // 与服务器舰队关联的资源信息 // 注意:此字段可能返回 null,表示取不到有效值。 Resources []*FleetRelatedResource `json:"Resources,omitempty" name:"Resources" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetRelatedResourcesResponse ¶
func NewDescribeFleetRelatedResourcesResponse() (response *DescribeFleetRelatedResourcesResponse)
func (*DescribeFleetRelatedResourcesResponse) FromJsonString ¶
func (r *DescribeFleetRelatedResourcesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetRelatedResourcesResponse) ToJsonString ¶
func (r *DescribeFleetRelatedResourcesResponse) ToJsonString() string
type DescribeFleetStatisticDetailsRequest ¶
type DescribeFleetStatisticDetailsRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 查询开始时间,时间格式:YYYY-MM-DD hh:mm:ss BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 查询结束时间,时间格式:YYYY-MM-DD hh:mm:ss EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 结果返回最大数量,最小值0,最大值100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回结果偏移,最小值0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeFleetStatisticDetailsRequest ¶
func NewDescribeFleetStatisticDetailsRequest() (request *DescribeFleetStatisticDetailsRequest)
func (*DescribeFleetStatisticDetailsRequest) FromJsonString ¶
func (r *DescribeFleetStatisticDetailsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticDetailsRequest) ToJsonString ¶
func (r *DescribeFleetStatisticDetailsRequest) ToJsonString() string
type DescribeFleetStatisticDetailsResponse ¶
type DescribeFleetStatisticDetailsResponse struct { *tchttp.BaseResponse Response *struct { // 服务部署统计详情列表 // 注意:此字段可能返回 null,表示取不到有效值。 DetailList []*FleetStatisticDetail `json:"DetailList,omitempty" name:"DetailList" list` // 记录总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 统计时间类型 // 注意:此字段可能返回 null,表示取不到有效值。 TimeType *string `json:"TimeType,omitempty" name:"TimeType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetStatisticDetailsResponse ¶
func NewDescribeFleetStatisticDetailsResponse() (response *DescribeFleetStatisticDetailsResponse)
func (*DescribeFleetStatisticDetailsResponse) FromJsonString ¶
func (r *DescribeFleetStatisticDetailsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticDetailsResponse) ToJsonString ¶
func (r *DescribeFleetStatisticDetailsResponse) ToJsonString() string
type DescribeFleetStatisticFlowsRequest ¶
type DescribeFleetStatisticFlowsRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 查询开始时间,时间格式:YYYY-MM-DD hh:mm:ss BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 查询结束时间,时间格式:YYYY-MM-DD hh:mm:ss EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 结果返回最大数量,最小值0,最大值100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回结果偏移,最小值0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeFleetStatisticFlowsRequest ¶
func NewDescribeFleetStatisticFlowsRequest() (request *DescribeFleetStatisticFlowsRequest)
func (*DescribeFleetStatisticFlowsRequest) FromJsonString ¶
func (r *DescribeFleetStatisticFlowsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticFlowsRequest) ToJsonString ¶
func (r *DescribeFleetStatisticFlowsRequest) ToJsonString() string
type DescribeFleetStatisticFlowsResponse ¶
type DescribeFleetStatisticFlowsResponse struct { *tchttp.BaseResponse Response *struct { // 流量统计列表 // 注意:此字段可能返回 null,表示取不到有效值。 UsedFlowList []*FleetStatisticFlows `json:"UsedFlowList,omitempty" name:"UsedFlowList" list` // 时长统计列表 // 注意:此字段可能返回 null,表示取不到有效值。 UsedTimeList []*FleetStatisticTimes `json:"UsedTimeList,omitempty" name:"UsedTimeList" list` // 记录总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 统计时间类型,取值:小时和天 // 注意:此字段可能返回 null,表示取不到有效值。 TimeType *string `json:"TimeType,omitempty" name:"TimeType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetStatisticFlowsResponse ¶
func NewDescribeFleetStatisticFlowsResponse() (response *DescribeFleetStatisticFlowsResponse)
func (*DescribeFleetStatisticFlowsResponse) FromJsonString ¶
func (r *DescribeFleetStatisticFlowsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticFlowsResponse) ToJsonString ¶
func (r *DescribeFleetStatisticFlowsResponse) ToJsonString() string
type DescribeFleetStatisticSummaryRequest ¶
type DescribeFleetStatisticSummaryRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 查询开始时间,时间格式: YYYY-MM-DD hh:mm:ss BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 查询结束时间,时间格式: YYYY-MM-DD hh:mm:ss EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeFleetStatisticSummaryRequest ¶
func NewDescribeFleetStatisticSummaryRequest() (request *DescribeFleetStatisticSummaryRequest)
func (*DescribeFleetStatisticSummaryRequest) FromJsonString ¶
func (r *DescribeFleetStatisticSummaryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticSummaryRequest) ToJsonString ¶
func (r *DescribeFleetStatisticSummaryRequest) ToJsonString() string
type DescribeFleetStatisticSummaryResponse ¶
type DescribeFleetStatisticSummaryResponse struct { *tchttp.BaseResponse Response *struct { // 总时长,单位秒 // 注意:此字段可能返回 null,表示取不到有效值。 TotalUsedTimeSeconds *string `json:"TotalUsedTimeSeconds,omitempty" name:"TotalUsedTimeSeconds"` // 总流量,单位MB // 注意:此字段可能返回 null,表示取不到有效值。 TotalUsedFlowMegaBytes *float64 `json:"TotalUsedFlowMegaBytes,omitempty" name:"TotalUsedFlowMegaBytes"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetStatisticSummaryResponse ¶
func NewDescribeFleetStatisticSummaryResponse() (response *DescribeFleetStatisticSummaryResponse)
func (*DescribeFleetStatisticSummaryResponse) FromJsonString ¶
func (r *DescribeFleetStatisticSummaryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetStatisticSummaryResponse) ToJsonString ¶
func (r *DescribeFleetStatisticSummaryResponse) ToJsonString() string
type DescribeFleetUtilizationRequest ¶
type DescribeFleetUtilizationRequest struct { *tchttp.BaseRequest // 服务器舰队 Ids FleetIds []*string `json:"FleetIds,omitempty" name:"FleetIds" list` }
func NewDescribeFleetUtilizationRequest ¶
func NewDescribeFleetUtilizationRequest() (request *DescribeFleetUtilizationRequest)
func (*DescribeFleetUtilizationRequest) FromJsonString ¶
func (r *DescribeFleetUtilizationRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetUtilizationRequest) ToJsonString ¶
func (r *DescribeFleetUtilizationRequest) ToJsonString() string
type DescribeFleetUtilizationResponse ¶
type DescribeFleetUtilizationResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队利用率 // 注意:此字段可能返回 null,表示取不到有效值。 FleetUtilization []*FleetUtilization `json:"FleetUtilization,omitempty" name:"FleetUtilization" list` // 总数,最小值0 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFleetUtilizationResponse ¶
func NewDescribeFleetUtilizationResponse() (response *DescribeFleetUtilizationResponse)
func (*DescribeFleetUtilizationResponse) FromJsonString ¶
func (r *DescribeFleetUtilizationResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFleetUtilizationResponse) ToJsonString ¶
func (r *DescribeFleetUtilizationResponse) ToJsonString() string
type DescribeGameServerSessionDetailsRequest ¶
type DescribeGameServerSessionDetailsRequest struct { *tchttp.BaseRequest // 别名ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 游戏服务器会话ID,最小长度不小于1个ASCII字符,最大长度不超过48个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 单次查询记录数上限 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 游戏服务器会话状态(ACTIVE,ACTIVATING,TERMINATED,TERMINATING,ERROR) StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"` }
func NewDescribeGameServerSessionDetailsRequest ¶
func NewDescribeGameServerSessionDetailsRequest() (request *DescribeGameServerSessionDetailsRequest)
func (*DescribeGameServerSessionDetailsRequest) FromJsonString ¶
func (r *DescribeGameServerSessionDetailsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionDetailsRequest) ToJsonString ¶
func (r *DescribeGameServerSessionDetailsRequest) ToJsonString() string
type DescribeGameServerSessionDetailsResponse ¶
type DescribeGameServerSessionDetailsResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话详情列表 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionDetails []*GameServerSessionDetail `json:"GameServerSessionDetails,omitempty" name:"GameServerSessionDetails" list` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeGameServerSessionDetailsResponse ¶
func NewDescribeGameServerSessionDetailsResponse() (response *DescribeGameServerSessionDetailsResponse)
func (*DescribeGameServerSessionDetailsResponse) FromJsonString ¶
func (r *DescribeGameServerSessionDetailsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionDetailsResponse) ToJsonString ¶
func (r *DescribeGameServerSessionDetailsResponse) ToJsonString() string
type DescribeGameServerSessionPlacementRequest ¶
type DescribeGameServerSessionPlacementRequest struct { *tchttp.BaseRequest // 游戏服务器会话放置的唯一标识符 PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"` }
func NewDescribeGameServerSessionPlacementRequest ¶
func NewDescribeGameServerSessionPlacementRequest() (request *DescribeGameServerSessionPlacementRequest)
func (*DescribeGameServerSessionPlacementRequest) FromJsonString ¶
func (r *DescribeGameServerSessionPlacementRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionPlacementRequest) ToJsonString ¶
func (r *DescribeGameServerSessionPlacementRequest) ToJsonString() string
type DescribeGameServerSessionPlacementResponse ¶
type DescribeGameServerSessionPlacementResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话放置 GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeGameServerSessionPlacementResponse ¶
func NewDescribeGameServerSessionPlacementResponse() (response *DescribeGameServerSessionPlacementResponse)
func (*DescribeGameServerSessionPlacementResponse) FromJsonString ¶
func (r *DescribeGameServerSessionPlacementResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionPlacementResponse) ToJsonString ¶
func (r *DescribeGameServerSessionPlacementResponse) ToJsonString() string
type DescribeGameServerSessionQueuesRequest ¶
type DescribeGameServerSessionQueuesRequest struct { *tchttp.BaseRequest // 游戏服务器会话队列名称数组,单个名字长度1~128 Names []*string `json:"Names,omitempty" name:"Names" list` // 结果返回最大数量,最小值0,最大值100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回结果偏移,最小值0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 资源过滤字段,可以按照资源名称、资源ID和标签进行过滤- 资源名称过滤 - Key: 固定字符串 "resource:name" - Values: 资源名称数组(游戏服务器会话队列支持多个名称的过滤)- 标签过滤 - 通过标签键过滤 - Key: 固定字符串 "tag:key" - Values 不传 - 通过标签键值过滤 - Key: 固定字符串 "tag:key-value" - Values: 标签键值对数组,例如 ["key1:value1", "key1:value2", "key2:value2"] Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewDescribeGameServerSessionQueuesRequest ¶
func NewDescribeGameServerSessionQueuesRequest() (request *DescribeGameServerSessionQueuesRequest)
func (*DescribeGameServerSessionQueuesRequest) FromJsonString ¶
func (r *DescribeGameServerSessionQueuesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionQueuesRequest) ToJsonString ¶
func (r *DescribeGameServerSessionQueuesRequest) ToJsonString() string
type DescribeGameServerSessionQueuesResponse ¶
type DescribeGameServerSessionQueuesResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话队列数组 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionQueues []*GameServerSessionQueue `json:"GameServerSessionQueues,omitempty" name:"GameServerSessionQueues" list` // 游戏服务器会话队列总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeGameServerSessionQueuesResponse ¶
func NewDescribeGameServerSessionQueuesResponse() (response *DescribeGameServerSessionQueuesResponse)
func (*DescribeGameServerSessionQueuesResponse) FromJsonString ¶
func (r *DescribeGameServerSessionQueuesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGameServerSessionQueuesResponse) ToJsonString ¶
func (r *DescribeGameServerSessionQueuesResponse) ToJsonString() string
type DescribeGameServerSessionsRequest ¶
type DescribeGameServerSessionsRequest struct { *tchttp.BaseRequest // 别名ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 游戏服务器会话ID,最小长度不小于1个ASCII字符,最大长度不超过48个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 单次查询记录数上限 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 游戏服务器会话状态(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
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 DescribeGameServerSessionsResponse ¶
type DescribeGameServerSessionsResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话列表 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessions []*GameServerSession `json:"GameServerSessions,omitempty" name:"GameServerSessions" list` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeGameServerSessionsResponse ¶
func NewDescribeGameServerSessionsResponse() (response *DescribeGameServerSessionsResponse)
func (*DescribeGameServerSessionsResponse) FromJsonString ¶
func (r *DescribeGameServerSessionsResponse) FromJsonString(s string) error
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 DescribeInstanceLimitRequest ¶
type DescribeInstanceLimitRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInstanceLimitRequest ¶
func NewDescribeInstanceLimitRequest() (request *DescribeInstanceLimitRequest)
func (*DescribeInstanceLimitRequest) FromJsonString ¶
func (r *DescribeInstanceLimitRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceLimitRequest) ToJsonString ¶
func (r *DescribeInstanceLimitRequest) ToJsonString() string
type DescribeInstanceLimitResponse ¶
type DescribeInstanceLimitResponse struct { *tchttp.BaseResponse Response *struct { // 限额 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 详细信息 ExtraInfos []*ExtraInfos `json:"ExtraInfos,omitempty" name:"ExtraInfos" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceLimitResponse ¶
func NewDescribeInstanceLimitResponse() (response *DescribeInstanceLimitResponse)
func (*DescribeInstanceLimitResponse) FromJsonString ¶
func (r *DescribeInstanceLimitResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceLimitResponse) ToJsonString ¶
func (r *DescribeInstanceLimitResponse) ToJsonString() string
type DescribeInstanceTypesRequest ¶
type DescribeInstanceTypesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInstanceTypesRequest ¶
func NewDescribeInstanceTypesRequest() (request *DescribeInstanceTypesRequest)
func (*DescribeInstanceTypesRequest) FromJsonString ¶
func (r *DescribeInstanceTypesRequest) FromJsonString(s string) error
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 DescribeInstanceTypesResponse ¶
type DescribeInstanceTypesResponse struct { *tchttp.BaseResponse Response *struct { // 服务器实例类型列表 InstanceTypeList []*InstanceTypeInfo `json:"InstanceTypeList,omitempty" name:"InstanceTypeList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceTypesResponse ¶
func NewDescribeInstanceTypesResponse() (response *DescribeInstanceTypesResponse)
func (*DescribeInstanceTypesResponse) FromJsonString ¶
func (r *DescribeInstanceTypesResponse) FromJsonString(s string) error
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 DescribeInstancesExtendRequest ¶
type DescribeInstancesExtendRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 返回结果偏移,最小值0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 结果返回最大数量,最小值0,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // CVM实例公网IP IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` }
func NewDescribeInstancesExtendRequest ¶
func NewDescribeInstancesExtendRequest() (request *DescribeInstancesExtendRequest)
func (*DescribeInstancesExtendRequest) FromJsonString ¶
func (r *DescribeInstancesExtendRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesExtendRequest) ToJsonString ¶
func (r *DescribeInstancesExtendRequest) ToJsonString() string
type DescribeInstancesExtendResponse ¶
type DescribeInstancesExtendResponse struct { *tchttp.BaseResponse Response *struct { // 实例信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 Instances []*InstanceExtend `json:"Instances,omitempty" name:"Instances" list` // 梳理信息总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstancesExtendResponse ¶
func NewDescribeInstancesExtendResponse() (response *DescribeInstancesExtendResponse)
func (*DescribeInstancesExtendResponse) FromJsonString ¶
func (r *DescribeInstancesExtendResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesExtendResponse) ToJsonString ¶
func (r *DescribeInstancesExtendResponse) ToJsonString() string
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // CVM实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 结果返回最大数量,最小值0,最大值100 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回结果偏移,最小值0 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // CVM实例公网IP IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 实例信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 Instances []*Instance `json:"Instances,omitempty" name:"Instances" list` // 结果返回最大数量 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribePlayerSessionsRequest ¶
type DescribePlayerSessionsRequest struct { *tchttp.BaseRequest // 游戏服务器会话ID,最小长度不小于1个ASCII字符,最大长度不超过48个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 单次查询记录数上限 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 玩家ID,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"` // 玩家会话ID,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"` // 玩家会话状态(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
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 DescribePlayerSessionsResponse ¶
type DescribePlayerSessionsResponse struct { *tchttp.BaseResponse Response *struct { // 玩家会话列表 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerSessions []*PlayerSession `json:"PlayerSessions,omitempty" name:"PlayerSessions" list` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePlayerSessionsResponse ¶
func NewDescribePlayerSessionsResponse() (response *DescribePlayerSessionsResponse)
func (*DescribePlayerSessionsResponse) FromJsonString ¶
func (r *DescribePlayerSessionsResponse) FromJsonString(s string) error
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 DescribeRuntimeConfigurationRequest ¶
type DescribeRuntimeConfigurationRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDescribeRuntimeConfigurationRequest ¶
func NewDescribeRuntimeConfigurationRequest() (request *DescribeRuntimeConfigurationRequest)
func (*DescribeRuntimeConfigurationRequest) FromJsonString ¶
func (r *DescribeRuntimeConfigurationRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuntimeConfigurationRequest) ToJsonString ¶
func (r *DescribeRuntimeConfigurationRequest) ToJsonString() string
type DescribeRuntimeConfigurationResponse ¶
type DescribeRuntimeConfigurationResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队运行配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRuntimeConfigurationResponse ¶
func NewDescribeRuntimeConfigurationResponse() (response *DescribeRuntimeConfigurationResponse)
func (*DescribeRuntimeConfigurationResponse) FromJsonString ¶
func (r *DescribeRuntimeConfigurationResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuntimeConfigurationResponse) ToJsonString ¶
func (r *DescribeRuntimeConfigurationResponse) ToJsonString() string
type DescribeScalingPoliciesRequest ¶
type DescribeScalingPoliciesRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 状态过滤条件,取值:ACTIVE表示活跃 StatusFilter *string `json:"StatusFilter,omitempty" name:"StatusFilter"` // 返回结果偏移,最小值0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 结果返回最大数量,最小值0,最大值100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeScalingPoliciesRequest ¶
func NewDescribeScalingPoliciesRequest() (request *DescribeScalingPoliciesRequest)
func (*DescribeScalingPoliciesRequest) FromJsonString ¶
func (r *DescribeScalingPoliciesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScalingPoliciesRequest) ToJsonString ¶
func (r *DescribeScalingPoliciesRequest) ToJsonString() string
type DescribeScalingPoliciesResponse ¶
type DescribeScalingPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 动态扩缩容配置策略数组 // 注意:此字段可能返回 null,表示取不到有效值。 ScalingPolicies []*ScalingPolicy `json:"ScalingPolicies,omitempty" name:"ScalingPolicies" list` // 动态扩缩容配置策略总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeScalingPoliciesResponse ¶
func NewDescribeScalingPoliciesResponse() (response *DescribeScalingPoliciesResponse)
func (*DescribeScalingPoliciesResponse) FromJsonString ¶
func (r *DescribeScalingPoliciesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScalingPoliciesResponse) ToJsonString ¶
func (r *DescribeScalingPoliciesResponse) ToJsonString() string
type DescribeTimerScalingPoliciesRequest ¶
type DescribeTimerScalingPoliciesRequest struct { *tchttp.BaseRequest // 扩缩容配置服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 定时器名称 TimerName *string `json:"TimerName,omitempty" name:"TimerName"` // 定时器开始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 定时器结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 分页偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 页大小 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTimerScalingPoliciesRequest ¶
func NewDescribeTimerScalingPoliciesRequest() (request *DescribeTimerScalingPoliciesRequest)
func (*DescribeTimerScalingPoliciesRequest) FromJsonString ¶
func (r *DescribeTimerScalingPoliciesRequest) FromJsonString(s string) error
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 DescribeTimerScalingPoliciesResponse ¶
type DescribeTimerScalingPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 定时器扩缩容策略配置 // 注意:此字段可能返回 null,表示取不到有效值。 TimerScalingPolicies []*TimerScalingPolicy `json:"TimerScalingPolicies,omitempty" name:"TimerScalingPolicies" list` // 定时器总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTimerScalingPoliciesResponse ¶
func NewDescribeTimerScalingPoliciesResponse() (response *DescribeTimerScalingPoliciesResponse)
func (*DescribeTimerScalingPoliciesResponse) FromJsonString ¶
func (r *DescribeTimerScalingPoliciesResponse) FromJsonString(s string) error
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 DescribeUserQuotaRequest ¶
type DescribeUserQuotaRequest struct { *tchttp.BaseRequest // 资源类型 ResourceType *uint64 `json:"ResourceType,omitempty" name:"ResourceType"` }
func NewDescribeUserQuotaRequest ¶
func NewDescribeUserQuotaRequest() (request *DescribeUserQuotaRequest)
func (*DescribeUserQuotaRequest) FromJsonString ¶
func (r *DescribeUserQuotaRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserQuotaRequest) ToJsonString ¶
func (r *DescribeUserQuotaRequest) ToJsonString() string
type DescribeUserQuotaResponse ¶
type DescribeUserQuotaResponse struct { *tchttp.BaseResponse Response *struct { // 配额资源信息 // 注意:此字段可能返回 null,表示取不到有效值。 QuotaResource *QuotaResource `json:"QuotaResource,omitempty" name:"QuotaResource"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeUserQuotaResponse ¶
func NewDescribeUserQuotaResponse() (response *DescribeUserQuotaResponse)
func (*DescribeUserQuotaResponse) FromJsonString ¶
func (r *DescribeUserQuotaResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserQuotaResponse) ToJsonString ¶
func (r *DescribeUserQuotaResponse) ToJsonString() string
type DescribeUserQuotasRequest ¶
type DescribeUserQuotasRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUserQuotasRequest ¶
func NewDescribeUserQuotasRequest() (request *DescribeUserQuotasRequest)
func (*DescribeUserQuotasRequest) FromJsonString ¶
func (r *DescribeUserQuotasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserQuotasRequest) ToJsonString ¶
func (r *DescribeUserQuotasRequest) ToJsonString() string
type DescribeUserQuotasResponse ¶
type DescribeUserQuotasResponse struct { *tchttp.BaseResponse Response *struct { // 配额信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 QuotaResource []*QuotaResource `json:"QuotaResource,omitempty" name:"QuotaResource" list` // 配额信息列表总数,最小值0 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeUserQuotasResponse ¶
func NewDescribeUserQuotasResponse() (response *DescribeUserQuotasResponse)
func (*DescribeUserQuotasResponse) FromJsonString ¶
func (r *DescribeUserQuotasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserQuotasResponse) ToJsonString ¶
func (r *DescribeUserQuotasResponse) ToJsonString() string
type DesiredPlayerSession ¶
type DetachCcnInstancesRequest ¶
type DetachCcnInstancesRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` }
func NewDetachCcnInstancesRequest ¶
func NewDetachCcnInstancesRequest() (request *DetachCcnInstancesRequest)
func (*DetachCcnInstancesRequest) FromJsonString ¶
func (r *DetachCcnInstancesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachCcnInstancesRequest) ToJsonString ¶
func (r *DetachCcnInstancesRequest) ToJsonString() string
type DetachCcnInstancesResponse ¶
type DetachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachCcnInstancesResponse ¶
func NewDetachCcnInstancesResponse() (response *DetachCcnInstancesResponse)
func (*DetachCcnInstancesResponse) FromJsonString ¶
func (r *DetachCcnInstancesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachCcnInstancesResponse) ToJsonString ¶
func (r *DetachCcnInstancesResponse) ToJsonString() string
type Event ¶
type Event struct { // 事件代码,支持以下的事件代码 // // - FLEET_CREATED // - FLEET_STATE_DOWNLOADING // - FLEET_BINARY_DOWNLOAD_FAILED // - FLEET_CREATION_EXTRACTING_BUILD // - FLEET_CREATION_VALIDATING_RUNTIME_CONFIG // - FLEET_STATE_VALIDATING // - FLEET_STATE_BUILDING // - FLEET_STATE_ACTIVATING // - FLEET_STATE_ACTIVE // - FLEET_SCALING_EVENT // - FLEET_STATE_ERROR // - FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND // - FLEET_ACTIVATION_FAILED_NO_INSTANCES // - FLEET_VPC_PEERING_SUCCEEDED // - FLEET_VPC_PEERING_FAILED // - FLEET_VPC_PEERING_DELETE // - FLEET_INITIALIZATION_FAILED // - FLEET_DELETED // - FLEET_STATE_DELETING // - FLEET_ACTIVATION_FAILED // - GAME_SESSION_ACTIVATION_TIMEOUT EventCode *string `json:"EventCode,omitempty" name:"EventCode"` // 事件的唯一标识 ID EventId *string `json:"EventId,omitempty" name:"EventId"` // 事件的发生时间,UTC 时间格式 EventTime *string `json:"EventTime,omitempty" name:"EventTime"` // 事件的消息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitempty" name:"Message"` // 事件相关的日志存储路径 // 注意:此字段可能返回 null,表示取不到有效值。 PreSignedLogUrl *string `json:"PreSignedLogUrl,omitempty" name:"PreSignedLogUrl"` // 事件对应的资源对象唯一标识 ID,例如服务器舰队 ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` }
type ExtraInfos ¶
type FleetAttributes ¶
type FleetAttributes struct { // 生成包 Id AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 创建服务器舰队时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitempty" name:"Description"` // 服务器舰队资源描述 // 注意:此字段可能返回 null,表示取不到有效值。 FleetArn *string `json:"FleetArn,omitempty" name:"FleetArn"` // 服务器舰队 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队类型,目前只支持ON_DEMAND // 注意:此字段可能返回 null,表示取不到有效值。 FleetType *string `json:"FleetType,omitempty" name:"FleetType"` // 服务器类型,例如S5.LARGE8 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 服务器舰队名称 Name *string `json:"Name,omitempty" name:"Name"` // 游戏会话保护策略 // 注意:此字段可能返回 null,表示取不到有效值。 NewGameServerSessionProtectionPolicy *string `json:"NewGameServerSessionProtectionPolicy,omitempty" name:"NewGameServerSessionProtectionPolicy"` // 操作系统类型 // 注意:此字段可能返回 null,表示取不到有效值。 OperatingSystem *string `json:"OperatingSystem,omitempty" name:"OperatingSystem"` // 资源创建限制策略 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"` // 状态:新建、下载中、验证中、生成中、激活中、活跃、异常、删除中、结束 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` // 服务器舰队停止状态,为空时表示自动扩缩容 // 注意:此字段可能返回 null,表示取不到有效值。 StoppedActions []*string `json:"StoppedActions,omitempty" name:"StoppedActions" list` // 服务器舰队终止时间 // 注意:此字段可能返回 null,表示取不到有效值。 TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"` // 时限保护超时时间,默认60分钟,最小值5,最大值1440 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionProtectionTimeLimit *uint64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"` // 计费状态:未开通、已开通、异常、欠费隔离、销毁、解冻 // 注意:此字段可能返回 null,表示取不到有效值。 BillingStatus *string `json:"BillingStatus,omitempty" name:"BillingStatus"` // 标签列表,最大长度50组 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位 // 注意:此字段可能返回 null,表示取不到有效值。 DataDiskInfo []*DiskInfo `json:"DataDiskInfo,omitempty" name:"DataDiskInfo" list` // 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位 // 注意:此字段可能返回 null,表示取不到有效值。 SystemDiskInfo *DiskInfo `json:"SystemDiskInfo,omitempty" name:"SystemDiskInfo"` // 云联网相关信息 // 注意:此字段可能返回 null,表示取不到有效值。 RelatedCcnInfos []*RelatedCcnInfo `json:"RelatedCcnInfos,omitempty" name:"RelatedCcnInfos" list` }
type FleetCapacity ¶
type FleetCapacity struct { // 服务部署 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器类型,如S3.LARGE8,S2.LARGE8,S5.LARGE8等 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 服务器实例统计数据 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceCounts *InstanceCounts `json:"InstanceCounts,omitempty" name:"InstanceCounts"` // 服务器伸缩容间隔,单位分钟,最小值3,最大值30,默认值10 // 注意:此字段可能返回 null,表示取不到有效值。 ScalingInterval *uint64 `json:"ScalingInterval,omitempty" name:"ScalingInterval"` }
type FleetRelatedResource ¶
type FleetRelatedResource struct { // 资源类型。 // - ALIAS:别名 // - QUEUE:队列 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 资源ID,目前仅支持别名ID和队列名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源所在区域,如ap-shanghai、na-siliconvalley等 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` }
type FleetStatisticDetail ¶
type FleetStatisticDetail struct { // 舰队ID // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例IP // 注意:此字段可能返回 null,表示取不到有效值。 InstanceIP *string `json:"InstanceIP,omitempty" name:"InstanceIP"` // 开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 总时长,单位秒 // 注意:此字段可能返回 null,表示取不到有效值。 TotalUsedTimeSeconds *string `json:"TotalUsedTimeSeconds,omitempty" name:"TotalUsedTimeSeconds"` // 总流量,单位MB // 注意:此字段可能返回 null,表示取不到有效值。 TotalUsedFlowMegaBytes *float64 `json:"TotalUsedFlowMegaBytes,omitempty" name:"TotalUsedFlowMegaBytes"` }
type FleetStatisticFlows ¶
type FleetStatisticTimes ¶
type FleetUtilization ¶
type FleetUtilization struct { // 游戏会话数 // 注意:此字段可能返回 null,表示取不到有效值。 ActiveGameServerSessionCount *uint64 `json:"ActiveGameServerSessionCount,omitempty" name:"ActiveGameServerSessionCount"` // 活跃进程数 // 注意:此字段可能返回 null,表示取不到有效值。 ActiveServerProcessCount *uint64 `json:"ActiveServerProcessCount,omitempty" name:"ActiveServerProcessCount"` // 当前游戏玩家数 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentPlayerSessionCount *uint64 `json:"CurrentPlayerSessionCount,omitempty" name:"CurrentPlayerSessionCount"` // 服务部署 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 最大玩家会话数 // 注意:此字段可能返回 null,表示取不到有效值。 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` }
type GameProperty ¶
type GameServerSession ¶
type GameServerSession struct { // 游戏服务器会话创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 创建者ID,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 CreatorId *string `json:"CreatorId,omitempty" name:"CreatorId"` // 当前玩家数量,最小值不小于0 CurrentPlayerSessionCount *uint64 `json:"CurrentPlayerSessionCount,omitempty" name:"CurrentPlayerSessionCount"` // CVM的DNS标识符 // 注意:此字段可能返回 null,表示取不到有效值。 DnsName *string `json:"DnsName,omitempty" name:"DnsName"` // 舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 游戏属性,最大长度不超过16组 // 注意:此字段可能返回 null,表示取不到有效值。 GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties" list` // 游戏服务器会话属性详情,最大长度不超过4096个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"` // 游戏服务器会话ID,最小长度不小于1个ASCII字符,最大长度不超过48个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // CVM IP地址 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // 对战进程详情,最大长度不超过400000个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 MatchmakerData *string `json:"MatchmakerData,omitempty" name:"MatchmakerData"` // 最大玩家数量,最小值不小于0 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` // 游戏服务器会话名称,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 玩家会话创建策略(ACCEPT_ALL,DENY_ALL) // 注意:此字段可能返回 null,表示取不到有效值。 PlayerSessionCreationPolicy *string `json:"PlayerSessionCreationPolicy,omitempty" name:"PlayerSessionCreationPolicy"` // 端口号,最小值不小于1,最大值不超过60000 Port *uint64 `json:"Port,omitempty" name:"Port"` // 游戏服务器会话状态(ACTIVE,ACTIVATING,TERMINATED,TERMINATING,ERROR) Status *string `json:"Status,omitempty" name:"Status"` // 游戏服务器会话状态附加信息 // 注意:此字段可能返回 null,表示取不到有效值。 StatusReason *string `json:"StatusReason,omitempty" name:"StatusReason"` // 终止的时间 // 注意:此字段可能返回 null,表示取不到有效值。 TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"` // 实例类型,最大长度不超过128个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 当前自定义数 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentCustomCount *int64 `json:"CurrentCustomCount,omitempty" name:"CurrentCustomCount"` // 最大自定义数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxCustomCount *int64 `json:"MaxCustomCount,omitempty" name:"MaxCustomCount"` // 权重 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // 会话可用性状态,是否被屏蔽(Enable,Disable) // 注意:此字段可能返回 null,表示取不到有效值。 AvailabilityStatus *string `json:"AvailabilityStatus,omitempty" name:"AvailabilityStatus"` }
type GameServerSessionDetail ¶
type GameServerSessionDetail struct { // 游戏服务器会话 GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"` // 保护策略,可选(NoProtection,FullProtection) // 注意:此字段可能返回 null,表示取不到有效值。 ProtectionPolicy *string `json:"ProtectionPolicy,omitempty" name:"ProtectionPolicy"` }
type GameServerSessionPlacement ¶
type GameServerSessionPlacement struct { // 部署Id PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"` // 服务部署组名称 GameServerSessionQueueName *string `json:"GameServerSessionQueueName,omitempty" name:"GameServerSessionQueueName"` // 玩家延迟 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerLatencies []*PlayerLatency `json:"PlayerLatencies,omitempty" name:"PlayerLatencies" list` // 服务部署状态 Status *string `json:"Status,omitempty" name:"Status"` // 分配给正在运行游戏会话的实例的DNS标识符 // 注意:此字段可能返回 null,表示取不到有效值。 DnsName *string `json:"DnsName,omitempty" name:"DnsName"` // 游戏会话Id // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 游戏会话名称 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionName *string `json:"GameServerSessionName,omitempty" name:"GameServerSessionName"` // 服务部署区域 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionRegion *string `json:"GameServerSessionRegion,omitempty" name:"GameServerSessionRegion"` // 游戏属性 // 注意:此字段可能返回 null,表示取不到有效值。 GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties" list` // 游戏服务器允许同时连接到游戏会话的最大玩家数量,最小值1,最大值为玩家会话最大限额 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` // 游戏会话数据 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"` // 运行游戏会话的实例的IP地址 // 注意:此字段可能返回 null,表示取不到有效值。 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // 运行游戏会话的实例的端口号 // 注意:此字段可能返回 null,表示取不到有效值。 Port *uint64 `json:"Port,omitempty" name:"Port"` // 游戏匹配数据 // 注意:此字段可能返回 null,表示取不到有效值。 MatchmakerData *string `json:"MatchmakerData,omitempty" name:"MatchmakerData"` // 部署的玩家游戏数据 // 注意:此字段可能返回 null,表示取不到有效值。 PlacedPlayerSessions []*PlacedPlayerSession `json:"PlacedPlayerSessions,omitempty" name:"PlacedPlayerSessions" list` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type GameServerSessionQueue ¶
type GameServerSessionQueue struct { // 服务部署组名字 Name *string `json:"Name,omitempty" name:"Name"` // 服务部署组资源 GameServerSessionQueueArn *string `json:"GameServerSessionQueueArn,omitempty" name:"GameServerSessionQueueArn"` // 目的fleet(可为别名)列表 // 注意:此字段可能返回 null,表示取不到有效值。 Destinations []*GameServerSessionQueueDestination `json:"Destinations,omitempty" name:"Destinations" list` // 延迟策略集合 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerLatencyPolicies []*PlayerLatencyPolicy `json:"PlayerLatencyPolicies,omitempty" name:"PlayerLatencyPolicies" list` // 超时时间 TimeoutInSeconds *uint64 `json:"TimeoutInSeconds,omitempty" name:"TimeoutInSeconds"` // 标签列表,最大长度50组 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
type GetGameServerInstanceLogUrlRequest ¶
type GetGameServerInstanceLogUrlRequest struct { *tchttp.BaseRequest // 游戏舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例IP ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每次条数 Size *uint64 `json:"Size,omitempty" name:"Size"` }
func NewGetGameServerInstanceLogUrlRequest ¶
func NewGetGameServerInstanceLogUrlRequest() (request *GetGameServerInstanceLogUrlRequest)
func (*GetGameServerInstanceLogUrlRequest) FromJsonString ¶
func (r *GetGameServerInstanceLogUrlRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetGameServerInstanceLogUrlRequest) ToJsonString ¶
func (r *GetGameServerInstanceLogUrlRequest) ToJsonString() string
type GetGameServerInstanceLogUrlResponse ¶
type GetGameServerInstanceLogUrlResponse struct { *tchttp.BaseResponse Response *struct { // 日志下载URL的数组,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 PresignedUrls []*string `json:"PresignedUrls,omitempty" name:"PresignedUrls" list` // 总条数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 是否还有没拉取完的 HasNext *bool `json:"HasNext,omitempty" name:"HasNext"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetGameServerInstanceLogUrlResponse ¶
func NewGetGameServerInstanceLogUrlResponse() (response *GetGameServerInstanceLogUrlResponse)
func (*GetGameServerInstanceLogUrlResponse) FromJsonString ¶
func (r *GetGameServerInstanceLogUrlResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetGameServerInstanceLogUrlResponse) ToJsonString ¶
func (r *GetGameServerInstanceLogUrlResponse) ToJsonString() string
type GetGameServerSessionLogUrlRequest ¶
type GetGameServerSessionLogUrlRequest struct { *tchttp.BaseRequest // 游戏服务器会话ID,最小长度不小于1个ASCII字符,最大长度不超过48个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` }
func NewGetGameServerSessionLogUrlRequest ¶
func NewGetGameServerSessionLogUrlRequest() (request *GetGameServerSessionLogUrlRequest)
func (*GetGameServerSessionLogUrlRequest) FromJsonString ¶
func (r *GetGameServerSessionLogUrlRequest) FromJsonString(s string) error
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 GetGameServerSessionLogUrlResponse ¶
type GetGameServerSessionLogUrlResponse struct { *tchttp.BaseResponse Response *struct { // 日志下载URL,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 PreSignedUrl *string `json:"PreSignedUrl,omitempty" name:"PreSignedUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetGameServerSessionLogUrlResponse ¶
func NewGetGameServerSessionLogUrlResponse() (response *GetGameServerSessionLogUrlResponse)
func (*GetGameServerSessionLogUrlResponse) FromJsonString ¶
func (r *GetGameServerSessionLogUrlResponse) FromJsonString(s string) error
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 GetInstanceAccessRequest ¶
type GetInstanceAccessRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewGetInstanceAccessRequest ¶
func NewGetInstanceAccessRequest() (request *GetInstanceAccessRequest)
func (*GetInstanceAccessRequest) FromJsonString ¶
func (r *GetInstanceAccessRequest) FromJsonString(s string) error
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 GetInstanceAccessResponse ¶
type GetInstanceAccessResponse struct { *tchttp.BaseResponse Response *struct { // 实例登录所需要的凭据 InstanceAccess *InstanceAccess `json:"InstanceAccess,omitempty" name:"InstanceAccess"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetInstanceAccessResponse ¶
func NewGetInstanceAccessResponse() (response *GetInstanceAccessResponse)
func (*GetInstanceAccessResponse) FromJsonString ¶
func (r *GetInstanceAccessResponse) FromJsonString(s string) error
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 GetUploadCredentialsRequest ¶
type GetUploadCredentialsRequest struct { *tchttp.BaseRequest // 生成包所在地域,详见产品支持的 [地域列表](https://cloud.tencent.com/document/api/1165/42053#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) AssetRegion *string `json:"AssetRegion,omitempty" name:"AssetRegion"` // 生成包的ZIP包名,例如:server.zip BucketKey *string `json:"BucketKey,omitempty" name:"BucketKey"` }
func NewGetUploadCredentialsRequest ¶
func NewGetUploadCredentialsRequest() (request *GetUploadCredentialsRequest)
func (*GetUploadCredentialsRequest) FromJsonString ¶
func (r *GetUploadCredentialsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUploadCredentialsRequest) ToJsonString ¶
func (r *GetUploadCredentialsRequest) ToJsonString() string
type GetUploadCredentialsResponse ¶
type GetUploadCredentialsResponse struct { *tchttp.BaseResponse Response *struct { // 上传文件授权信息Auth BucketAuth *string `json:"BucketAuth,omitempty" name:"BucketAuth"` // Bucket名字 BucketName *string `json:"BucketName,omitempty" name:"BucketName"` // 生成包所在地域 AssetRegion *string `json:"AssetRegion,omitempty" name:"AssetRegion"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetUploadCredentialsResponse ¶
func NewGetUploadCredentialsResponse() (response *GetUploadCredentialsResponse)
func (*GetUploadCredentialsResponse) FromJsonString ¶
func (r *GetUploadCredentialsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUploadCredentialsResponse) ToJsonString ¶
func (r *GetUploadCredentialsResponse) ToJsonString() string
type GetUploadFederationTokenRequest ¶
type GetUploadFederationTokenRequest struct {
*tchttp.BaseRequest
}
func NewGetUploadFederationTokenRequest ¶
func NewGetUploadFederationTokenRequest() (request *GetUploadFederationTokenRequest)
func (*GetUploadFederationTokenRequest) FromJsonString ¶
func (r *GetUploadFederationTokenRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUploadFederationTokenRequest) ToJsonString ¶
func (r *GetUploadFederationTokenRequest) ToJsonString() string
type GetUploadFederationTokenResponse ¶
type GetUploadFederationTokenResponse struct { *tchttp.BaseResponse Response *struct { // 临时证书的过期时间,Unix 时间戳,精确到秒 ExpiredTime *uint64 `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // 临时证书 AssetCredentials *AssetCredentials `json:"AssetCredentials,omitempty" name:"AssetCredentials"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetUploadFederationTokenResponse ¶
func NewGetUploadFederationTokenResponse() (response *GetUploadFederationTokenResponse)
func (*GetUploadFederationTokenResponse) FromJsonString ¶
func (r *GetUploadFederationTokenResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUploadFederationTokenResponse) ToJsonString ¶
func (r *GetUploadFederationTokenResponse) ToJsonString() string
type InboundPermission ¶
type InboundPermission struct { // 起始端口号,最小值1025 FromPort *uint64 `json:"FromPort,omitempty" name:"FromPort"` // IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0 IpRange *string `json:"IpRange,omitempty" name:"IpRange"` // 协议类型:TCP或者UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 终止端口号,最大值60000 ToPort *uint64 `json:"ToPort,omitempty" name:"ToPort"` }
type InboundPermissionAuthorization ¶
type InboundPermissionAuthorization struct { // 起始端口号 FromPort *uint64 `json:"FromPort,omitempty" name:"FromPort"` // IP 端范围,CIDR方式划分 IpRange *string `json:"IpRange,omitempty" name:"IpRange"` // 协议类型 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 终止端口号 ToPort *uint64 `json:"ToPort,omitempty" name:"ToPort"` }
type InboundPermissionRevocations ¶
type InboundPermissionRevocations struct { // 起始端口号 FromPort *uint64 `json:"FromPort,omitempty" name:"FromPort"` // IP 端范围,CIDR 方式换分 IpRange *string `json:"IpRange,omitempty" name:"IpRange"` // 协议类型:UDP或者TCP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 终止端口号 ToPort *uint64 `json:"ToPort,omitempty" name:"ToPort"` }
type Instance ¶
type Instance struct { // 服务部署ID // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // IP地址 // 注意:此字段可能返回 null,表示取不到有效值。 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // dns // 注意:此字段可能返回 null,表示取不到有效值。 DnsName *string `json:"DnsName,omitempty" name:"DnsName"` // 操作系统 // 注意:此字段可能返回 null,表示取不到有效值。 OperatingSystem *string `json:"OperatingSystem,omitempty" name:"OperatingSystem"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` // 类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 实例权重 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // 实例是否保留, 1-保留,0-不保留,默认 // 注意:此字段可能返回 null,表示取不到有效值。 ReserveValue *int64 `json:"ReserveValue,omitempty" name:"ReserveValue"` }
type InstanceAccess ¶
type InstanceAccess struct { // 访问实例所需要的凭据 Credentials *Credentials `json:"Credentials,omitempty" name:"Credentials"` // 服务部署Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例公网IP IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // 操作系统 OperatingSystem *string `json:"OperatingSystem,omitempty" name:"OperatingSystem"` }
type InstanceCounts ¶
type InstanceCounts struct { // 活跃的服务器实例数 // 注意:此字段可能返回 null,表示取不到有效值。 Active *uint64 `json:"Active,omitempty" name:"Active"` // 期望的服务器实例数 // 注意:此字段可能返回 null,表示取不到有效值。 Desired *uint64 `json:"Desired,omitempty" name:"Desired"` // 空闲的服务器实例数 // 注意:此字段可能返回 null,表示取不到有效值。 Idle *uint64 `json:"Idle,omitempty" name:"Idle"` // 服务器实例数最大限制 // 注意:此字段可能返回 null,表示取不到有效值。 MaxiNum *uint64 `json:"MaxiNum,omitempty" name:"MaxiNum"` // 服务器实例数最小限制 // 注意:此字段可能返回 null,表示取不到有效值。 MiniNum *uint64 `json:"MiniNum,omitempty" name:"MiniNum"` // 已开始创建,但未激活的服务器实例数 // 注意:此字段可能返回 null,表示取不到有效值。 Pending *uint64 `json:"Pending,omitempty" name:"Pending"` // 结束中的服务器实例数 // 注意:此字段可能返回 null,表示取不到有效值。 Terminating *uint64 `json:"Terminating,omitempty" name:"Terminating"` }
type InstanceExtend ¶
type InstanceExtend struct { // 实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 Instance *Instance `json:"Instance,omitempty" name:"Instance"` // 实例状态 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitempty" name:"State"` // 健康进程数 // 注意:此字段可能返回 null,表示取不到有效值。 HealthyProcessCnt *int64 `json:"HealthyProcessCnt,omitempty" name:"HealthyProcessCnt"` // 活跃进程数 // 注意:此字段可能返回 null,表示取不到有效值。 ActiveProcessCnt *int64 `json:"ActiveProcessCnt,omitempty" name:"ActiveProcessCnt"` // 当前游戏会话总数 // 注意:此字段可能返回 null,表示取不到有效值。 GameSessionCnt *int64 `json:"GameSessionCnt,omitempty" name:"GameSessionCnt"` // 最大游戏会话数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxGameSessionCnt *int64 `json:"MaxGameSessionCnt,omitempty" name:"MaxGameSessionCnt"` // 当前玩家会话数 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerSessionCnt *int64 `json:"PlayerSessionCnt,omitempty" name:"PlayerSessionCnt"` // 最大玩家会话数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxPlayerSessionCnt *int64 `json:"MaxPlayerSessionCnt,omitempty" name:"MaxPlayerSessionCnt"` }
type InstanceTypeInfo ¶
type InstanceTypeInfo struct { // 类型名,例如“标准型SA1” TypeName *string `json:"TypeName,omitempty" name:"TypeName"` // 类型,例如"SA1.SMALL1" InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // CPU,例如1核就是1 Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` // 内存,例如2G就是2 Memory *uint64 `json:"Memory,omitempty" name:"Memory"` // 网络收到包,例如25万PPS就是25 NetworkCard *uint64 `json:"NetworkCard,omitempty" name:"NetworkCard"` }
type JoinGameServerSessionBatchRequest ¶
type JoinGameServerSessionBatchRequest struct { *tchttp.BaseRequest // 游戏服务器会话ID,最小长度1个ASCII字符,最大长度不超过256个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 玩家ID列表,最小1组,最大25组 PlayerIds []*string `json:"PlayerIds,omitempty" name:"PlayerIds" list` // 玩家自定义数据 PlayerDataMap *PlayerDataMap `json:"PlayerDataMap,omitempty" name:"PlayerDataMap"` }
func NewJoinGameServerSessionBatchRequest ¶
func NewJoinGameServerSessionBatchRequest() (request *JoinGameServerSessionBatchRequest)
func (*JoinGameServerSessionBatchRequest) FromJsonString ¶
func (r *JoinGameServerSessionBatchRequest) FromJsonString(s string) error
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 JoinGameServerSessionBatchResponse ¶
type JoinGameServerSessionBatchResponse struct { *tchttp.BaseResponse Response *struct { // 玩家会话列表,最大25组 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerSessions []*PlayerSession `json:"PlayerSessions,omitempty" name:"PlayerSessions" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewJoinGameServerSessionBatchResponse ¶
func NewJoinGameServerSessionBatchResponse() (response *JoinGameServerSessionBatchResponse)
func (*JoinGameServerSessionBatchResponse) FromJsonString ¶
func (r *JoinGameServerSessionBatchResponse) FromJsonString(s string) error
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 JoinGameServerSessionRequest ¶
type JoinGameServerSessionRequest struct { *tchttp.BaseRequest // 游戏服务器会话ID,最小长度1个ASCII字符,最大长度不超过256个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 玩家ID,最大长度1024个ASCII字符 PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"` // 玩家自定义数据,最大长度2048个ASCII字符 PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"` }
func NewJoinGameServerSessionRequest ¶
func NewJoinGameServerSessionRequest() (request *JoinGameServerSessionRequest)
func (*JoinGameServerSessionRequest) FromJsonString ¶
func (r *JoinGameServerSessionRequest) FromJsonString(s string) error
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 JoinGameServerSessionResponse ¶
type JoinGameServerSessionResponse struct { *tchttp.BaseResponse Response *struct { // 玩家会话 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerSession *PlayerSession `json:"PlayerSession,omitempty" name:"PlayerSession"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewJoinGameServerSessionResponse ¶
func NewJoinGameServerSessionResponse() (response *JoinGameServerSessionResponse)
func (*JoinGameServerSessionResponse) FromJsonString ¶
func (r *JoinGameServerSessionResponse) FromJsonString(s string) error
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 ListAliasesRequest ¶
type ListAliasesRequest struct { *tchttp.BaseRequest // 名字,长度不小于1字符不超过1024字符 Name *string `json:"Name,omitempty" name:"Name"` // 路由策略类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL) RoutingStrategyType *string `json:"RoutingStrategyType,omitempty" name:"RoutingStrategyType"` // 要返回的最大结果数,最小值1 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移,默认0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 排序字段,例如CreationTime OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 排序方式,有效值asc|desc OrderWay *string `json:"OrderWay,omitempty" name:"OrderWay"` // 资源过滤字段,可以按照资源名称和标签进行过滤- 资源名称过滤 - Key: 固定字符串 "resource:name" - Values: 资源名称数组(舰队当前仅支持单个名称的过滤)- 标签过滤 - 通过标签键过滤 - Key: 固定字符串 "tag:key" - Values 不传 - 通过标签键值过滤 - Key: 固定字符串 "tag:key-value" - Values: 标签键值对数组,例如 ["key1:value1", "key1:value2", "key2:value2"] Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewListAliasesRequest ¶
func NewListAliasesRequest() (request *ListAliasesRequest)
func (*ListAliasesRequest) FromJsonString ¶
func (r *ListAliasesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAliasesRequest) ToJsonString ¶
func (r *ListAliasesRequest) ToJsonString() string
type ListAliasesResponse ¶
type ListAliasesResponse struct { *tchttp.BaseResponse Response *struct { // 别名对象数组 // 注意:此字段可能返回 null,表示取不到有效值。 Aliases []*Alias `json:"Aliases,omitempty" name:"Aliases" list` // 总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewListAliasesResponse ¶
func NewListAliasesResponse() (response *ListAliasesResponse)
func (*ListAliasesResponse) FromJsonString ¶
func (r *ListAliasesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAliasesResponse) ToJsonString ¶
func (r *ListAliasesResponse) ToJsonString() string
type ListFleetsRequest ¶
type ListFleetsRequest struct { *tchttp.BaseRequest // 生成包 Id AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 结果返回最大值,暂未使用 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 结果返回偏移,暂未使用 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 资源过滤字段,可以按照资源名称和标签进行过滤- 资源名称过滤 - Key: 固定字符串 "resource:name" - Values: 资源名称数组(当前仅支持单个名称的过滤)- 标签过滤 - 通过标签键过滤 - Key: 固定字符串 "tag:key" - Values 不传 - 通过标签键值过滤 - Key: 固定字符串 "tag:key-value" - Values: 标签键值对数组,例如 ["key1:value1", "key1:value2", "key2:value2"] Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewListFleetsRequest ¶
func NewListFleetsRequest() (request *ListFleetsRequest)
func (*ListFleetsRequest) FromJsonString ¶
func (r *ListFleetsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFleetsRequest) ToJsonString ¶
func (r *ListFleetsRequest) ToJsonString() string
type ListFleetsResponse ¶
type ListFleetsResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队 Id 列表 // 注意:此字段可能返回 null,表示取不到有效值。 FleetIds []*string `json:"FleetIds,omitempty" name:"FleetIds" list` // 服务器舰队 Id 总数,最小值0 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewListFleetsResponse ¶
func NewListFleetsResponse() (response *ListFleetsResponse)
func (*ListFleetsResponse) FromJsonString ¶
func (r *ListFleetsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFleetsResponse) ToJsonString ¶
func (r *ListFleetsResponse) ToJsonString() string
type PlacedPlayerSession ¶
type PlayerDataMap ¶
type PlayerLatency ¶
type PlayerLatency struct { // 玩家Id // 注意:此字段可能返回 null,表示取不到有效值。 PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"` // 延迟对应的区域名称 // 注意:此字段可能返回 null,表示取不到有效值。 RegionIdentifier *string `json:"RegionIdentifier,omitempty" name:"RegionIdentifier"` // 毫秒级延迟 LatencyInMilliseconds *uint64 `json:"LatencyInMilliseconds,omitempty" name:"LatencyInMilliseconds"` }
type PlayerLatencyPolicy ¶
type PlayerLatencyPolicy struct { // 任意player允许的最大延迟,单位:毫秒 // 注意:此字段可能返回 null,表示取不到有效值。 MaximumIndividualPlayerLatencyMilliseconds *uint64 `json:"MaximumIndividualPlayerLatencyMilliseconds,omitempty" name:"MaximumIndividualPlayerLatencyMilliseconds"` // 放置新GameServerSession时强制实施策略的时间长度,单位:秒 // 注意:此字段可能返回 null,表示取不到有效值。 PolicyDurationSeconds *uint64 `json:"PolicyDurationSeconds,omitempty" name:"PolicyDurationSeconds"` }
type PlayerSession ¶
type PlayerSession struct { // 玩家会话创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 游戏服务器会话运行的DNS标识 // 注意:此字段可能返回 null,表示取不到有效值。 DnsName *string `json:"DnsName,omitempty" name:"DnsName"` // 舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 游戏服务器会话ID,最小长度1个ASCII字符,最大长度不超过256个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 游戏服务器会话运行的CVM地址 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // 玩家自定义数据,最大长度2048个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerData *string `json:"PlayerData,omitempty" name:"PlayerData"` // 玩家ID,最大长度1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 PlayerId *string `json:"PlayerId,omitempty" name:"PlayerId"` // 玩家会话ID PlayerSessionId *string `json:"PlayerSessionId,omitempty" name:"PlayerSessionId"` // 端口号,最小值不小于1,最大值不超过60000 Port *uint64 `json:"Port,omitempty" name:"Port"` // 玩家会话的状态(RESERVED = 1,ACTIVE = 2,COMPLETED = 3,TIMEDOUT = 4) Status *string `json:"Status,omitempty" name:"Status"` // 玩家会话终止时间 // 注意:此字段可能返回 null,表示取不到有效值。 TerminationTime *string `json:"TerminationTime,omitempty" name:"TerminationTime"` }
type PutScalingPolicyRequest ¶
type PutScalingPolicyRequest struct { *tchttp.BaseRequest // 扩缩容配置服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 扩缩容策略名称,最小长度为1,最大长度为1024 Name *string `json:"Name,omitempty" name:"Name"` // 扩缩容调整值,ScalingAdjustmentType取值PercentChangeInCapacity时,取值范围-99~99 // ScalingAdjustmentType取值ChangeInCapacity或ExactCapacity时,最小值要缩容的最多CVM个数,最大值为实际最大的CVM个数限额 ScalingAdjustment *int64 `json:"ScalingAdjustment,omitempty" name:"ScalingAdjustment"` // 扩缩容调整类型,取值(ChangeInCapacity,ExactCapacity,PercentChangeInCapacity) ScalingAdjustmentType *string `json:"ScalingAdjustmentType,omitempty" name:"ScalingAdjustmentType"` // 扩缩容指标阈值 Threshold *float64 `json:"Threshold,omitempty" name:"Threshold"` // 扩缩容策略比较符,取值:>,>=,<,<= ComparisonOperator *string `json:"ComparisonOperator,omitempty" name:"ComparisonOperator"` // 单个策略持续时间长度(分钟) EvaluationPeriods *int64 `json:"EvaluationPeriods,omitempty" name:"EvaluationPeriods"` // 扩缩容参与计算的指标名称,PolicyType取值RuleBased, // MetricName取值(AvailableGameServerSessions,AvailableCustomCount,PercentAvailableCustomCount,ActiveInstances,IdleInstances,CurrentPlayerSessions和PercentIdleInstances); // PolicyType取值TargetBased时,MetricName取值PercentAvailableGameSessions MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 策略类型,取值:TargetBased表示基于目标的策略;RuleBased表示基于规则的策略 PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"` // 扩缩容目标值配置,只有TargetBased类型的策略生效 TargetConfiguration *TargetConfiguration `json:"TargetConfiguration,omitempty" name:"TargetConfiguration"` }
func NewPutScalingPolicyRequest ¶
func NewPutScalingPolicyRequest() (request *PutScalingPolicyRequest)
func (*PutScalingPolicyRequest) FromJsonString ¶
func (r *PutScalingPolicyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutScalingPolicyRequest) ToJsonString ¶
func (r *PutScalingPolicyRequest) ToJsonString() string
type PutScalingPolicyResponse ¶
type PutScalingPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 规则名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewPutScalingPolicyResponse ¶
func NewPutScalingPolicyResponse() (response *PutScalingPolicyResponse)
func (*PutScalingPolicyResponse) FromJsonString ¶
func (r *PutScalingPolicyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutScalingPolicyResponse) ToJsonString ¶
func (r *PutScalingPolicyResponse) ToJsonString() string
type PutTimerScalingPolicyRequest ¶
type PutTimerScalingPolicyRequest struct { *tchttp.BaseRequest // 定时器策略消息 TimerScalingPolicy *TimerScalingPolicy `json:"TimerScalingPolicy,omitempty" name:"TimerScalingPolicy"` }
func NewPutTimerScalingPolicyRequest ¶
func NewPutTimerScalingPolicyRequest() (request *PutTimerScalingPolicyRequest)
func (*PutTimerScalingPolicyRequest) FromJsonString ¶
func (r *PutTimerScalingPolicyRequest) FromJsonString(s string) error
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 PutTimerScalingPolicyResponse ¶
type PutTimerScalingPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewPutTimerScalingPolicyResponse ¶
func NewPutTimerScalingPolicyResponse() (response *PutTimerScalingPolicyResponse)
func (*PutTimerScalingPolicyResponse) FromJsonString ¶
func (r *PutTimerScalingPolicyResponse) FromJsonString(s string) error
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 QuotaResource ¶
type QuotaResource struct { // 资源类型,1生成包、2服务部署、3别名、4游戏服务器队列、5实例 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceType *uint64 `json:"ResourceType,omitempty" name:"ResourceType"` // 总额度 // 注意:此字段可能返回 null,表示取不到有效值。 HardLimit *uint64 `json:"HardLimit,omitempty" name:"HardLimit"` // 剩余额度 // 注意:此字段可能返回 null,表示取不到有效值。 Remaining *uint64 `json:"Remaining,omitempty" name:"Remaining"` // 额外信息,可能为空 // 注意:此字段可能返回 null,表示取不到有效值。 ExtraInfo *string `json:"ExtraInfo,omitempty" name:"ExtraInfo"` }
type RelatedCcnInfo ¶
type ResolveAliasRequest ¶
type ResolveAliasRequest struct { *tchttp.BaseRequest // 要获取fleetId的别名ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` }
func NewResolveAliasRequest ¶
func NewResolveAliasRequest() (request *ResolveAliasRequest)
func (*ResolveAliasRequest) FromJsonString ¶
func (r *ResolveAliasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResolveAliasRequest) ToJsonString ¶
func (r *ResolveAliasRequest) ToJsonString() string
type ResolveAliasResponse ¶
type ResolveAliasResponse struct { *tchttp.BaseResponse Response *struct { // 别名指向的fleet的唯一标识符 // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResolveAliasResponse ¶
func NewResolveAliasResponse() (response *ResolveAliasResponse)
func (*ResolveAliasResponse) FromJsonString ¶
func (r *ResolveAliasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResolveAliasResponse) ToJsonString ¶
func (r *ResolveAliasResponse) ToJsonString() string
type ResourceCreationLimitPolicy ¶
type ResourceCreationLimitPolicy struct { // 创建数量,最小值1,默认2 NewGameServerSessionsPerCreator *uint64 `json:"NewGameServerSessionsPerCreator,omitempty" name:"NewGameServerSessionsPerCreator"` // 单位时间,最小值1,默认3,单位分钟 PolicyPeriodInMinutes *uint64 `json:"PolicyPeriodInMinutes,omitempty" name:"PolicyPeriodInMinutes"` }
type RoutingStrategy ¶
type RoutingStrategy struct { // 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL) Type *string `json:"Type,omitempty" name:"Type"` // 别名指向的队列的唯一标识符 // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitempty" name:"Message"` }
type RuntimeConfiguration ¶
type RuntimeConfiguration struct { // 游戏会话进程超时,最小值1,最大值600,单位秒 GameServerSessionActivationTimeoutSeconds *uint64 `json:"GameServerSessionActivationTimeoutSeconds,omitempty" name:"GameServerSessionActivationTimeoutSeconds"` // 最大游戏会话数,最小值1,最大值2147483647 MaxConcurrentGameServerSessionActivations *uint64 `json:"MaxConcurrentGameServerSessionActivations,omitempty" name:"MaxConcurrentGameServerSessionActivations"` // 服务进程配置,至少有一个进程配置 ServerProcesses []*ServerProcesse `json:"ServerProcesses,omitempty" name:"ServerProcesses" list` }
type ScalingPolicy ¶
type ScalingPolicy struct { // 服务部署ID // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 ScalingAdjustment *string `json:"ScalingAdjustment,omitempty" name:"ScalingAdjustment"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 ScalingAdjustmentType *string `json:"ScalingAdjustmentType,omitempty" name:"ScalingAdjustmentType"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 ComparisonOperator *string `json:"ComparisonOperator,omitempty" name:"ComparisonOperator"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 Threshold *string `json:"Threshold,omitempty" name:"Threshold"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 EvaluationPeriods *string `json:"EvaluationPeriods,omitempty" name:"EvaluationPeriods"` // 保留参数 // 注意:此字段可能返回 null,表示取不到有效值。 MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 策略类型 // 注意:此字段可能返回 null,表示取不到有效值。 PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"` // 基于规则的配置 // 注意:此字段可能返回 null,表示取不到有效值。 TargetConfiguration *TargetConfiguration `json:"TargetConfiguration,omitempty" name:"TargetConfiguration"` }
type SearchGameServerSessionsRequest ¶
type SearchGameServerSessionsRequest struct { *tchttp.BaseRequest // 别名ID AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 单次查询记录数上限 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 搜索条件表达式,支持如下变量 // gameServerSessionName 游戏会话名称 String // gameServerSessionId 游戏会话ID String // maximumSessions 最大的玩家会话数 Number // creationTimeMillis 创建时间,单位:毫秒 Number // playerSessionCount 当前玩家会话数 Number // hasAvailablePlayerSessions 是否有可用玩家数 String 取值true或false // gameServerSessionProperties 游戏会话属性 String // // 表达式String类型 等于=,不等于<>判断 // 表示Number类型支持 =,<>,>,>=,<,<= // // 例如: // FilterExpression取值 // playerSessionCount>=2 AND hasAvailablePlayerSessions=true" // 表示查找至少有两个玩家,而且有可用玩家会话的游戏会话。 // FilterExpression取值 // gameServerSessionProperties.K1 = 'V1' AND gameServerSessionProperties.K2 = 'V2' OR gameServerSessionProperties.K3 = 'V3' // // 表示 // 查询满足如下游戏服务器会话属性的游戏会话 // { // "GameProperties":[ // { // "Key":"K1", // "Value":"V1" // }, // { // "Key":"K2", // "Value":"V2" // }, // { // "Key":"K3", // "Value":"V3" // } // ] // } FilterExpression *string `json:"FilterExpression,omitempty" name:"FilterExpression"` // 排序条件关键字 // 支持排序字段 // gameServerSessionName 游戏会话名称 String // gameServerSessionId 游戏会话ID String // maximumSessions 最大的玩家会话数 Number // creationTimeMillis 创建时间,单位:毫秒 Number // playerSessionCount 当前玩家会话数 Number SortExpression *string `json:"SortExpression,omitempty" name:"SortExpression"` }
func NewSearchGameServerSessionsRequest ¶
func NewSearchGameServerSessionsRequest() (request *SearchGameServerSessionsRequest)
func (*SearchGameServerSessionsRequest) FromJsonString ¶
func (r *SearchGameServerSessionsRequest) FromJsonString(s string) error
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 SearchGameServerSessionsResponse ¶
type SearchGameServerSessionsResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话列表 // 注意:此字段可能返回 null,表示取不到有效值。 GameServerSessions []*GameServerSession `json:"GameServerSessions,omitempty" name:"GameServerSessions" list` // 页偏移,用于查询下一页,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 // 注意:此字段可能返回 null,表示取不到有效值。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSearchGameServerSessionsResponse ¶
func NewSearchGameServerSessionsResponse() (response *SearchGameServerSessionsResponse)
func (*SearchGameServerSessionsResponse) FromJsonString ¶
func (r *SearchGameServerSessionsResponse) FromJsonString(s string) error
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 ServerProcesse ¶
type ServerProcesse struct { // 并发执行数量,所有进程并发执行总数最小值1,最大值50 ConcurrentExecutions *uint64 `json:"ConcurrentExecutions,omitempty" name:"ConcurrentExecutions"` // 启动路径:Linux路径/local/game/ 或WIndows路径C:\game\,最小长度1,最大长度1024 LaunchPath *string `json:"LaunchPath,omitempty" name:"LaunchPath"` // 启动参数,最小长度0,最大长度1024 Parameters *string `json:"Parameters,omitempty" name:"Parameters"` }
type SetServerReservedRequest ¶
type SetServerReservedRequest struct { *tchttp.BaseRequest // 扩缩容配置服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例是否保留, 1-保留,0-不保留,默认 ReserveValue *int64 `json:"ReserveValue,omitempty" name:"ReserveValue"` }
func NewSetServerReservedRequest ¶
func NewSetServerReservedRequest() (request *SetServerReservedRequest)
func (*SetServerReservedRequest) FromJsonString ¶
func (r *SetServerReservedRequest) FromJsonString(s string) error
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 SetServerReservedResponse ¶
type SetServerReservedResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSetServerReservedResponse ¶
func NewSetServerReservedResponse() (response *SetServerReservedResponse)
func (*SetServerReservedResponse) FromJsonString ¶
func (r *SetServerReservedResponse) FromJsonString(s string) error
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 SetServerWeightRequest ¶
type SetServerWeightRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 权重,最小值0,最大值10,默认值5 Weight *int64 `json:"Weight,omitempty" name:"Weight"` }
func NewSetServerWeightRequest ¶
func NewSetServerWeightRequest() (request *SetServerWeightRequest)
func (*SetServerWeightRequest) FromJsonString ¶
func (r *SetServerWeightRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetServerWeightRequest) ToJsonString ¶
func (r *SetServerWeightRequest) ToJsonString() string
type SetServerWeightResponse ¶
type SetServerWeightResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSetServerWeightResponse ¶
func NewSetServerWeightResponse() (response *SetServerWeightResponse)
func (*SetServerWeightResponse) FromJsonString ¶
func (r *SetServerWeightResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetServerWeightResponse) ToJsonString ¶
func (r *SetServerWeightResponse) ToJsonString() string
type StartFleetActionsRequest ¶
type StartFleetActionsRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队扩展策略,值为["AUTO_SCALING"] Actions []*string `json:"Actions,omitempty" name:"Actions" list` }
func NewStartFleetActionsRequest ¶
func NewStartFleetActionsRequest() (request *StartFleetActionsRequest)
func (*StartFleetActionsRequest) FromJsonString ¶
func (r *StartFleetActionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartFleetActionsRequest) ToJsonString ¶
func (r *StartFleetActionsRequest) ToJsonString() string
type StartFleetActionsResponse ¶
type StartFleetActionsResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStartFleetActionsResponse ¶
func NewStartFleetActionsResponse() (response *StartFleetActionsResponse)
func (*StartFleetActionsResponse) FromJsonString ¶
func (r *StartFleetActionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartFleetActionsResponse) ToJsonString ¶
func (r *StartFleetActionsResponse) ToJsonString() string
type StartGameServerSessionPlacementRequest ¶
type StartGameServerSessionPlacementRequest struct { *tchttp.BaseRequest // 开始部署游戏服务器会话的唯一标识符,最大值48个ASCII字符,模式:[a-zA-Z0-9-]+ PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"` // 游戏服务器会话队列名称 GameServerSessionQueueName *string `json:"GameServerSessionQueueName,omitempty" name:"GameServerSessionQueueName"` // 游戏服务器允许同时连接到游戏会话的最大玩家数量,最小值1,最大值为玩家会话最大限额 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` // 玩家游戏会话信息 DesiredPlayerSessions []*DesiredPlayerSession `json:"DesiredPlayerSessions,omitempty" name:"DesiredPlayerSessions" list` // 玩家游戏会话属性 GameProperties []*GameProperty `json:"GameProperties,omitempty" name:"GameProperties" list` // 游戏服务器会话数据,最大长度不超过4096个ASCII字符 GameServerSessionData *string `json:"GameServerSessionData,omitempty" name:"GameServerSessionData"` // 游戏服务器会话名称,最大长度不超过4096个ASCII字符 GameServerSessionName *string `json:"GameServerSessionName,omitempty" name:"GameServerSessionName"` // 玩家延迟 PlayerLatencies []*PlayerLatency `json:"PlayerLatencies,omitempty" name:"PlayerLatencies" list` }
func NewStartGameServerSessionPlacementRequest ¶
func NewStartGameServerSessionPlacementRequest() (request *StartGameServerSessionPlacementRequest)
func (*StartGameServerSessionPlacementRequest) FromJsonString ¶
func (r *StartGameServerSessionPlacementRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartGameServerSessionPlacementRequest) ToJsonString ¶
func (r *StartGameServerSessionPlacementRequest) ToJsonString() string
type StartGameServerSessionPlacementResponse ¶
type StartGameServerSessionPlacementResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话放置 GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStartGameServerSessionPlacementResponse ¶
func NewStartGameServerSessionPlacementResponse() (response *StartGameServerSessionPlacementResponse)
func (*StartGameServerSessionPlacementResponse) FromJsonString ¶
func (r *StartGameServerSessionPlacementResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartGameServerSessionPlacementResponse) ToJsonString ¶
func (r *StartGameServerSessionPlacementResponse) ToJsonString() string
type StopFleetActionsRequest ¶
type StopFleetActionsRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队扩展策略,值为["AUTO_SCALING"] Actions []*string `json:"Actions,omitempty" name:"Actions" list` }
func NewStopFleetActionsRequest ¶
func NewStopFleetActionsRequest() (request *StopFleetActionsRequest)
func (*StopFleetActionsRequest) FromJsonString ¶
func (r *StopFleetActionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopFleetActionsRequest) ToJsonString ¶
func (r *StopFleetActionsRequest) ToJsonString() string
type StopFleetActionsResponse ¶
type StopFleetActionsResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStopFleetActionsResponse ¶
func NewStopFleetActionsResponse() (response *StopFleetActionsResponse)
func (*StopFleetActionsResponse) FromJsonString ¶
func (r *StopFleetActionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopFleetActionsResponse) ToJsonString ¶
func (r *StopFleetActionsResponse) ToJsonString() string
type StopGameServerSessionPlacementRequest ¶
type StopGameServerSessionPlacementRequest struct { *tchttp.BaseRequest // 游戏服务器会话放置的唯一标识符 PlacementId *string `json:"PlacementId,omitempty" name:"PlacementId"` }
func NewStopGameServerSessionPlacementRequest ¶
func NewStopGameServerSessionPlacementRequest() (request *StopGameServerSessionPlacementRequest)
func (*StopGameServerSessionPlacementRequest) FromJsonString ¶
func (r *StopGameServerSessionPlacementRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopGameServerSessionPlacementRequest) ToJsonString ¶
func (r *StopGameServerSessionPlacementRequest) ToJsonString() string
type StopGameServerSessionPlacementResponse ¶
type StopGameServerSessionPlacementResponse struct { *tchttp.BaseResponse Response *struct { // 游戏服务器会话放置 GameServerSessionPlacement *GameServerSessionPlacement `json:"GameServerSessionPlacement,omitempty" name:"GameServerSessionPlacement"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStopGameServerSessionPlacementResponse ¶
func NewStopGameServerSessionPlacementResponse() (response *StopGameServerSessionPlacementResponse)
func (*StopGameServerSessionPlacementResponse) FromJsonString ¶
func (r *StopGameServerSessionPlacementResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopGameServerSessionPlacementResponse) ToJsonString ¶
func (r *StopGameServerSessionPlacementResponse) ToJsonString() string
type TargetConfiguration ¶
type TargetConfiguration struct { // 预留存率 // 注意:此字段可能返回 null,表示取不到有效值。 TargetValue *uint64 `json:"TargetValue,omitempty" name:"TargetValue"` }
type TimerConfiguration ¶
type TimerConfiguration struct { // 定时器重复周期类型(未定义0,单次1、按天2、按月3、按周4) // 注意:此字段可能返回 null,表示取不到有效值。 TimerType *int64 `json:"TimerType,omitempty" name:"TimerType"` // 定时器取值 // 注意:此字段可能返回 null,表示取不到有效值。 TimerValue *TimerValue `json:"TimerValue,omitempty" name:"TimerValue"` // 定时器开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 定时器结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type TimerFleetCapacity ¶
type TimerFleetCapacity struct { // 扩缩容配置服务器舰队ID // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 期望实例数 // 注意:此字段可能返回 null,表示取不到有效值。 DesiredInstances *int64 `json:"DesiredInstances,omitempty" name:"DesiredInstances"` // 最小实例数 // 注意:此字段可能返回 null,表示取不到有效值。 MinSize *int64 `json:"MinSize,omitempty" name:"MinSize"` // 最大实例数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"` // 伸缩容间隔,单位:分钟 // 注意:此字段可能返回 null,表示取不到有效值。 ScalingInterval *int64 `json:"ScalingInterval,omitempty" name:"ScalingInterval"` // 扩缩容类型(手动1,自动2、未定义0) // 注意:此字段可能返回 null,表示取不到有效值。 ScalingType *int64 `json:"ScalingType,omitempty" name:"ScalingType"` // 基于目标的扩展策略的设置 // 注意:此字段可能返回 null,表示取不到有效值。 TargetConfiguration *TargetConfiguration `json:"TargetConfiguration,omitempty" name:"TargetConfiguration"` }
type TimerScalingPolicy ¶
type TimerScalingPolicy struct { // 定时器ID,进行encode,填写时更新 // 注意:此字段可能返回 null,表示取不到有效值。 TimerId *string `json:"TimerId,omitempty" name:"TimerId"` // 定时器名称 // 注意:此字段可能返回 null,表示取不到有效值。 TimerName *string `json:"TimerName,omitempty" name:"TimerName"` // 定时器状态(未定义0、未生效1、生效中2、已停止3、已过期4) // 注意:此字段可能返回 null,表示取不到有效值。 TimerStatus *int64 `json:"TimerStatus,omitempty" name:"TimerStatus"` // 定时器弹性伸缩策略 // 注意:此字段可能返回 null,表示取不到有效值。 TimerFleetCapacity *TimerFleetCapacity `json:"TimerFleetCapacity,omitempty" name:"TimerFleetCapacity"` // 重复周期配置 // 注意:此字段可能返回 null,表示取不到有效值。 TimerConfiguration *TimerConfiguration `json:"TimerConfiguration,omitempty" name:"TimerConfiguration"` }
type TimerValue ¶
type TimerValue struct { // 每X天,执行一次(重复周期-按天/单次) // 注意:此字段可能返回 null,表示取不到有效值。 Day *int64 `json:"Day,omitempty" name:"Day"` // 每月从第x天,执行一次(重复周期-按月) // 注意:此字段可能返回 null,表示取不到有效值。 FromDay *int64 `json:"FromDay,omitempty" name:"FromDay"` // 每月到第x天,执行一次(重复周期-按月) // 注意:此字段可能返回 null,表示取不到有效值。 ToDay *int64 `json:"ToDay,omitempty" name:"ToDay"` // 重复周期-按周,周几(多个值,取值周一(1,2,3,4,5,6,7)周日) // 注意:此字段可能返回 null,表示取不到有效值。 WeekDays []*int64 `json:"WeekDays,omitempty" name:"WeekDays" list` }
type UpdateAliasRequest ¶
type UpdateAliasRequest struct { *tchttp.BaseRequest // 要更新的别名的唯一标识符 AliasId *string `json:"AliasId,omitempty" name:"AliasId"` // 名字,长度不小于1字符不超过1024字符 Name *string `json:"Name,omitempty" name:"Name"` // 别名的可读说明,长度不小于1字符不超过1024字符 Description *string `json:"Description,omitempty" name:"Description"` // 别名的路由配置 RoutingStrategy *RoutingStrategy `json:"RoutingStrategy,omitempty" name:"RoutingStrategy"` }
func NewUpdateAliasRequest ¶
func NewUpdateAliasRequest() (request *UpdateAliasRequest)
func (*UpdateAliasRequest) FromJsonString ¶
func (r *UpdateAliasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAliasRequest) ToJsonString ¶
func (r *UpdateAliasRequest) ToJsonString() string
type UpdateAliasResponse ¶
type UpdateAliasResponse struct { *tchttp.BaseResponse Response *struct { // 别名对象 // 注意:此字段可能返回 null,表示取不到有效值。 Alias *Alias `json:"Alias,omitempty" name:"Alias"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateAliasResponse ¶
func NewUpdateAliasResponse() (response *UpdateAliasResponse)
func (*UpdateAliasResponse) FromJsonString ¶
func (r *UpdateAliasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAliasResponse) ToJsonString ¶
func (r *UpdateAliasResponse) ToJsonString() string
type UpdateAssetRequest ¶
type UpdateAssetRequest struct { *tchttp.BaseRequest // 生成包ID AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 生成包名字,最小长度为1,最大长度为64 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 生成包版本,最小长度为1,最大长度为64 AssetVersion *string `json:"AssetVersion,omitempty" name:"AssetVersion"` }
func NewUpdateAssetRequest ¶
func NewUpdateAssetRequest() (request *UpdateAssetRequest)
func (*UpdateAssetRequest) FromJsonString ¶
func (r *UpdateAssetRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAssetRequest) ToJsonString ¶
func (r *UpdateAssetRequest) ToJsonString() string
type UpdateAssetResponse ¶
type UpdateAssetResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateAssetResponse ¶
func NewUpdateAssetResponse() (response *UpdateAssetResponse)
func (*UpdateAssetResponse) FromJsonString ¶
func (r *UpdateAssetResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAssetResponse) ToJsonString ¶
func (r *UpdateAssetResponse) ToJsonString() string
type UpdateBucketAccelerateOptRequest ¶
type UpdateBucketAccelerateOptRequest struct { *tchttp.BaseRequest // true为开启全球加速,false为关闭 Allowed *bool `json:"Allowed,omitempty" name:"Allowed"` }
func NewUpdateBucketAccelerateOptRequest ¶
func NewUpdateBucketAccelerateOptRequest() (request *UpdateBucketAccelerateOptRequest)
func (*UpdateBucketAccelerateOptRequest) FromJsonString ¶
func (r *UpdateBucketAccelerateOptRequest) FromJsonString(s string) error
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 UpdateBucketAccelerateOptResponse ¶
type UpdateBucketAccelerateOptResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateBucketAccelerateOptResponse ¶
func NewUpdateBucketAccelerateOptResponse() (response *UpdateBucketAccelerateOptResponse)
func (*UpdateBucketAccelerateOptResponse) FromJsonString ¶
func (r *UpdateBucketAccelerateOptResponse) FromJsonString(s string) error
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 UpdateBucketCORSOptRequest ¶
type UpdateBucketCORSOptRequest struct { *tchttp.BaseRequest // 允许的访问来源;具体参见 [cos文档](https://cloud.tencent.com/document/product/436/8279) AllowedOrigins []*string `json:"AllowedOrigins,omitempty" name:"AllowedOrigins" list` // 允许的 HTTP 操作方法;可以配置多个:PUT、GET、POST、HEAD。[cos文档](https://cloud.tencent.com/document/product/436/8279) AllowedMethods []*string `json:"AllowedMethods,omitempty" name:"AllowedMethods" list` // 用于指定允许浏览器发送 CORS 请求时携带的自定义 HTTP 请求头部;可以配置*,代表允许所有头部,为了避免遗漏,推荐配置为*。[cos文档](https://cloud.tencent.com/document/product/436/8279) AllowedHeaders []*string `json:"AllowedHeaders,omitempty" name:"AllowedHeaders" list` // 跨域资源共享配置的有效时间,单位为秒。[cos文档](https://cloud.tencent.com/document/product/436/8279) MaxAgeSeconds *int64 `json:"MaxAgeSeconds,omitempty" name:"MaxAgeSeconds"` // 允许浏览器获取的 CORS 请求响应中的头部,不区分大小写;默认情况下浏览器只能访问简单响应头部:Cache-Control、Content-Type、Expires、Last-Modified,如果需要访问其他响应头部,需要添加 ExposeHeader 配置。[cos文档](https://cloud.tencent.com/document/product/436/8279) ExposeHeaders []*string `json:"ExposeHeaders,omitempty" name:"ExposeHeaders" list` }
func NewUpdateBucketCORSOptRequest ¶
func NewUpdateBucketCORSOptRequest() (request *UpdateBucketCORSOptRequest)
func (*UpdateBucketCORSOptRequest) FromJsonString ¶
func (r *UpdateBucketCORSOptRequest) FromJsonString(s string) error
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 UpdateBucketCORSOptResponse ¶
type UpdateBucketCORSOptResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateBucketCORSOptResponse ¶
func NewUpdateBucketCORSOptResponse() (response *UpdateBucketCORSOptResponse)
func (*UpdateBucketCORSOptResponse) FromJsonString ¶
func (r *UpdateBucketCORSOptResponse) FromJsonString(s string) error
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 UpdateFleetAttributesRequest ¶
type UpdateFleetAttributesRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队描述,最小长度0,最大长度100 Description *string `json:"Description,omitempty" name:"Description"` // 服务器舰队名称,最小长度1,最大长度50 Name *string `json:"Name,omitempty" name:"Name"` // 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection NewGameSessionProtectionPolicy *string `json:"NewGameSessionProtectionPolicy,omitempty" name:"NewGameSessionProtectionPolicy"` // 资源创建限制策略 ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty" name:"ResourceCreationLimitPolicy"` // 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效 GameServerSessionProtectionTimeLimit *int64 `json:"GameServerSessionProtectionTimeLimit,omitempty" name:"GameServerSessionProtectionTimeLimit"` }
func NewUpdateFleetAttributesRequest ¶
func NewUpdateFleetAttributesRequest() (request *UpdateFleetAttributesRequest)
func (*UpdateFleetAttributesRequest) FromJsonString ¶
func (r *UpdateFleetAttributesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetAttributesRequest) ToJsonString ¶
func (r *UpdateFleetAttributesRequest) ToJsonString() string
type UpdateFleetAttributesResponse ¶
type UpdateFleetAttributesResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateFleetAttributesResponse ¶
func NewUpdateFleetAttributesResponse() (response *UpdateFleetAttributesResponse)
func (*UpdateFleetAttributesResponse) FromJsonString ¶
func (r *UpdateFleetAttributesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetAttributesResponse) ToJsonString ¶
func (r *UpdateFleetAttributesResponse) ToJsonString() string
type UpdateFleetCapacityRequest ¶
type UpdateFleetCapacityRequest struct { *tchttp.BaseRequest // 服务器舰队ID FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 期望的服务器实例数 DesiredInstances *uint64 `json:"DesiredInstances,omitempty" name:"DesiredInstances"` // 服务器实例数最小限制,最小值0,最大值不超过最高配额查看各地区最高配额减1 MinSize *uint64 `json:"MinSize,omitempty" name:"MinSize"` // 服务器实例数最大限制,最小值1,最大值不超过最高配额查看各地区最高配额 MaxSize *uint64 `json:"MaxSize,omitempty" name:"MaxSize"` // 服务器伸缩容间隔,单位分钟,最小值3,最大值30,默认值10 ScalingInterval *uint64 `json:"ScalingInterval,omitempty" name:"ScalingInterval"` }
func NewUpdateFleetCapacityRequest ¶
func NewUpdateFleetCapacityRequest() (request *UpdateFleetCapacityRequest)
func (*UpdateFleetCapacityRequest) FromJsonString ¶
func (r *UpdateFleetCapacityRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetCapacityRequest) ToJsonString ¶
func (r *UpdateFleetCapacityRequest) ToJsonString() string
type UpdateFleetCapacityResponse ¶
type UpdateFleetCapacityResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队ID // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateFleetCapacityResponse ¶
func NewUpdateFleetCapacityResponse() (response *UpdateFleetCapacityResponse)
func (*UpdateFleetCapacityResponse) FromJsonString ¶
func (r *UpdateFleetCapacityResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetCapacityResponse) ToJsonString ¶
func (r *UpdateFleetCapacityResponse) ToJsonString() string
type UpdateFleetNameRequest ¶
type UpdateFleetNameRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队名称,最小长度1,最大长度50 Name *string `json:"Name,omitempty" name:"Name"` }
func NewUpdateFleetNameRequest ¶
func NewUpdateFleetNameRequest() (request *UpdateFleetNameRequest)
func (*UpdateFleetNameRequest) FromJsonString ¶
func (r *UpdateFleetNameRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetNameRequest) ToJsonString ¶
func (r *UpdateFleetNameRequest) ToJsonString() string
type UpdateFleetNameResponse ¶
type UpdateFleetNameResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateFleetNameResponse ¶
func NewUpdateFleetNameResponse() (response *UpdateFleetNameResponse)
func (*UpdateFleetNameResponse) FromJsonString ¶
func (r *UpdateFleetNameResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetNameResponse) ToJsonString ¶
func (r *UpdateFleetNameResponse) ToJsonString() string
type UpdateFleetPortSettingsRequest ¶
type UpdateFleetPortSettingsRequest struct { *tchttp.BaseRequest // 服务器舰队 Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 新增安全组 InboundPermissionAuthorizations []*InboundPermissionAuthorization `json:"InboundPermissionAuthorizations,omitempty" name:"InboundPermissionAuthorizations" list` // 移除安全组 InboundPermissionRevocations []*InboundPermissionRevocations `json:"InboundPermissionRevocations,omitempty" name:"InboundPermissionRevocations" list` }
func NewUpdateFleetPortSettingsRequest ¶
func NewUpdateFleetPortSettingsRequest() (request *UpdateFleetPortSettingsRequest)
func (*UpdateFleetPortSettingsRequest) FromJsonString ¶
func (r *UpdateFleetPortSettingsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetPortSettingsRequest) ToJsonString ¶
func (r *UpdateFleetPortSettingsRequest) ToJsonString() string
type UpdateFleetPortSettingsResponse ¶
type UpdateFleetPortSettingsResponse struct { *tchttp.BaseResponse Response *struct { // 服务部署 Id // 注意:此字段可能返回 null,表示取不到有效值。 FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateFleetPortSettingsResponse ¶
func NewUpdateFleetPortSettingsResponse() (response *UpdateFleetPortSettingsResponse)
func (*UpdateFleetPortSettingsResponse) FromJsonString ¶
func (r *UpdateFleetPortSettingsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFleetPortSettingsResponse) ToJsonString ¶
func (r *UpdateFleetPortSettingsResponse) ToJsonString() string
type UpdateGameServerSessionQueueRequest ¶
type UpdateGameServerSessionQueueRequest struct { *tchttp.BaseRequest // 游戏服务器会话队列名字,长度1~128 Name *string `json:"Name,omitempty" name:"Name"` // 目的服务器舰队(可为别名)列表 Destinations []*GameServerSessionQueueDestination `json:"Destinations,omitempty" name:"Destinations" list` // 延迟策略集合 PlayerLatencyPolicies []*PlayerLatencyPolicy `json:"PlayerLatencyPolicies,omitempty" name:"PlayerLatencyPolicies" list` // 超时时间 TimeoutInSeconds *uint64 `json:"TimeoutInSeconds,omitempty" name:"TimeoutInSeconds"` }
func NewUpdateGameServerSessionQueueRequest ¶
func NewUpdateGameServerSessionQueueRequest() (request *UpdateGameServerSessionQueueRequest)
func (*UpdateGameServerSessionQueueRequest) FromJsonString ¶
func (r *UpdateGameServerSessionQueueRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGameServerSessionQueueRequest) ToJsonString ¶
func (r *UpdateGameServerSessionQueueRequest) ToJsonString() string
type UpdateGameServerSessionQueueResponse ¶
type UpdateGameServerSessionQueueResponse struct { *tchttp.BaseResponse Response *struct { // 部署服务组对象 GameServerSessionQueue *GameServerSessionQueue `json:"GameServerSessionQueue,omitempty" name:"GameServerSessionQueue"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateGameServerSessionQueueResponse ¶
func NewUpdateGameServerSessionQueueResponse() (response *UpdateGameServerSessionQueueResponse)
func (*UpdateGameServerSessionQueueResponse) FromJsonString ¶
func (r *UpdateGameServerSessionQueueResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGameServerSessionQueueResponse) ToJsonString ¶
func (r *UpdateGameServerSessionQueueResponse) ToJsonString() string
type UpdateGameServerSessionRequest ¶
type UpdateGameServerSessionRequest struct { *tchttp.BaseRequest // 游戏服务器会话ID,最小长度1个ASCII字符,最大长度不超过256个ASCII字符 GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"` // 最大玩家数量,最小值不小于0 MaximumPlayerSessionCount *uint64 `json:"MaximumPlayerSessionCount,omitempty" name:"MaximumPlayerSessionCount"` // 游戏服务器会话名称,最小长度不小于1个ASCII字符,最大长度不超过1024个ASCII字符 Name *string `json:"Name,omitempty" name:"Name"` // 玩家会话创建策略,包括允许所有玩家加入和禁止所有玩家加入(ACCEPT_ALL,DENY_ALL) PlayerSessionCreationPolicy *string `json:"PlayerSessionCreationPolicy,omitempty" name:"PlayerSessionCreationPolicy"` // 保护策略,包括不保护、时限保护和完全保护(NoProtection,TimeLimitProtection,FullProtection) ProtectionPolicy *string `json:"ProtectionPolicy,omitempty" name:"ProtectionPolicy"` }
func NewUpdateGameServerSessionRequest ¶
func NewUpdateGameServerSessionRequest() (request *UpdateGameServerSessionRequest)
func (*UpdateGameServerSessionRequest) FromJsonString ¶
func (r *UpdateGameServerSessionRequest) FromJsonString(s string) error
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 UpdateGameServerSessionResponse ¶
type UpdateGameServerSessionResponse struct { *tchttp.BaseResponse Response *struct { // 更新后的游戏会话 GameServerSession *GameServerSession `json:"GameServerSession,omitempty" name:"GameServerSession"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateGameServerSessionResponse ¶
func NewUpdateGameServerSessionResponse() (response *UpdateGameServerSessionResponse)
func (*UpdateGameServerSessionResponse) FromJsonString ¶
func (r *UpdateGameServerSessionResponse) FromJsonString(s string) error
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 UpdateRuntimeConfigurationRequest ¶
type UpdateRuntimeConfigurationRequest struct { *tchttp.BaseRequest // 服务器舰队Id FleetId *string `json:"FleetId,omitempty" name:"FleetId"` // 服务器舰队配置 RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"` }
func NewUpdateRuntimeConfigurationRequest ¶
func NewUpdateRuntimeConfigurationRequest() (request *UpdateRuntimeConfigurationRequest)
func (*UpdateRuntimeConfigurationRequest) FromJsonString ¶
func (r *UpdateRuntimeConfigurationRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRuntimeConfigurationRequest) ToJsonString ¶
func (r *UpdateRuntimeConfigurationRequest) ToJsonString() string
type UpdateRuntimeConfigurationResponse ¶
type UpdateRuntimeConfigurationResponse struct { *tchttp.BaseResponse Response *struct { // 服务器舰队配置 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeConfiguration *RuntimeConfiguration `json:"RuntimeConfiguration,omitempty" name:"RuntimeConfiguration"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateRuntimeConfigurationResponse ¶
func NewUpdateRuntimeConfigurationResponse() (response *UpdateRuntimeConfigurationResponse)
func (*UpdateRuntimeConfigurationResponse) FromJsonString ¶
func (r *UpdateRuntimeConfigurationResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRuntimeConfigurationResponse) ToJsonString ¶
func (r *UpdateRuntimeConfigurationResponse) ToJsonString() string