tencentcloud-sdk-gs 3.0.516 → 3.0.517

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73833247ec5269d1f4dd33c02d9e51a2351d5673
4
- data.tar.gz: 8733b6036c6a2bc747ab7c950c435d110e41060f
3
+ metadata.gz: 78af0099313a8b3fd8c93e52c02a1199e6b48e49
4
+ data.tar.gz: cc80fa139c7feb5777f629714edd344723716037
5
5
  SHA512:
6
- metadata.gz: 70886755fd613ce333c8f5ff6de2f4ea63f56b251381bf5cae037a7ad5e8c5b3a392755f1efb8d1a4aefa303607bb59fb695b0f1c87e3fd6d9ee879cc6b9df6f
7
- data.tar.gz: 0111c33d6decfe1a044b27f937a7a80ceb9cecbb2ef3976b9d1fc130bf10f5b9f2026490c3982ea2f912a7f950f5a9f6898bbcca78ea722d8e827ae4ba683678
6
+ metadata.gz: 23499bce389264f64cb5e57723136f847db8bdac68b13dd41d0a86f289d686b07d5aa55a2db698b3eef9c342aada3d6f6ddf16c3ea94844900d5ae8c12487cef
7
+ data.tar.gz: 29054a1250bd741975d19aa7bb83bea42935d7241ed51e9d35e2d9b2e7589cf91a0c6d2d9901753209cafab8722183a18323de2f1b06a1af4d67830af615440b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.516
1
+ 3.0.517
@@ -19,8 +19,6 @@ module TencentCloud
19
19
  module V20191118
20
20
  # CreateSession请求参数结构体
21
21
  class CreateSessionRequest < TencentCloud::Common::AbstractModel
22
- # @param ClientSession: 客户端session信息,从JSSDK请求中获得
23
- # @type ClientSession: String
24
22
  # @param UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
25
23
  # @type UserId: String
26
24
  # @param GameId: 游戏ID
@@ -29,6 +27,8 @@ module TencentCloud
29
27
  # @type GameRegion: String
30
28
  # @param GameParas: 游戏参数
31
29
  # @type GameParas: String
30
+ # @param ClientSession: 客户端session信息,从JSSDK请求中获得。特殊的,当 RunMode 参数为 RunWithoutClient 时,该字段可以为空
31
+ # @type ClientSession: String
32
32
  # @param Resolution: 分辨率,,可设置为1080p或720p或1920x1080格式
33
33
  # @type Resolution: String
34
34
  # @param ImageUrl: 背景图url,格式为png或jpeg,宽高1920*1080
@@ -58,14 +58,14 @@ module TencentCloud
58
58
  # 默认值(空):要求必须有客户端连接才会保持云端 App 运行。
59
59
  # @type RunMode: String
60
60
 
61
- attr_accessor :ClientSession, :UserId, :GameId, :GameRegion, :GameParas, :Resolution, :ImageUrl, :SetNo, :Bitrate, :MaxBitrate, :MinBitrate, :Fps, :UserIp, :Optimization, :HostUserId, :Role, :GameContext, :RunMode
61
+ attr_accessor :UserId, :GameId, :GameRegion, :GameParas, :ClientSession, :Resolution, :ImageUrl, :SetNo, :Bitrate, :MaxBitrate, :MinBitrate, :Fps, :UserIp, :Optimization, :HostUserId, :Role, :GameContext, :RunMode
62
62
 
63
- def initialize(clientsession=nil, userid=nil, gameid=nil, gameregion=nil, gameparas=nil, resolution=nil, imageurl=nil, setno=nil, bitrate=nil, maxbitrate=nil, minbitrate=nil, fps=nil, userip=nil, optimization=nil, hostuserid=nil, role=nil, gamecontext=nil, runmode=nil)
64
- @ClientSession = clientsession
63
+ def initialize(userid=nil, gameid=nil, gameregion=nil, gameparas=nil, clientsession=nil, resolution=nil, imageurl=nil, setno=nil, bitrate=nil, maxbitrate=nil, minbitrate=nil, fps=nil, userip=nil, optimization=nil, hostuserid=nil, role=nil, gamecontext=nil, runmode=nil)
65
64
  @UserId = userid
66
65
  @GameId = gameid
67
66
  @GameRegion = gameregion
68
67
  @GameParas = gameparas
68
+ @ClientSession = clientsession
69
69
  @Resolution = resolution
70
70
  @ImageUrl = imageurl
71
71
  @SetNo = setno
@@ -82,11 +82,11 @@ module TencentCloud
82
82
  end
83
83
 
84
84
  def deserialize(params)
85
- @ClientSession = params['ClientSession']
86
85
  @UserId = params['UserId']
87
86
  @GameId = params['GameId']
88
87
  @GameRegion = params['GameRegion']
89
88
  @GameParas = params['GameParas']
89
+ @ClientSession = params['ClientSession']
90
90
  @Resolution = params['Resolution']
91
91
  @ImageUrl = params['ImageUrl']
92
92
  @SetNo = params['SetNo']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.516
4
+ version: 3.0.517
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-24 00:00:00.000000000 Z
11
+ date: 2023-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common