tencentcloud-sdk-car 3.0.561 → 3.0.564

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220110/models.rb +16 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62c2dfa114d7164345b80aa105b91822d85a21c1
4
- data.tar.gz: 922046da45f70be5a19250d75b6b8051e50fdc38
3
+ metadata.gz: 1fa81c8d8c8b59ff40b4050d4e186d41fa013c0a
4
+ data.tar.gz: 4535af8be196699c1589de4e5b68cfea8568f62f
5
5
  SHA512:
6
- metadata.gz: bec315c1800831f4833af19c85cd6377b6ae67f199cea6d1fc696f29a1282b968316b868033c14ccaeb458827e7c90a60e4d88a8b66641a28caa6e2d3558a3b6
7
- data.tar.gz: 6a67193090f40c0edf03269b8bb2db3bee5959253073767d97ebcc45b455076df6152c91ce7e605b0ebb37f80eabf26ee49480d413488970f75cf15cab265188
6
+ metadata.gz: 10a3069c6b818880fd86fff0fb12f51af97a40049027d6370f68824ff20fe5f18c0c0baf90e19d3207af29edb4d9c537014016a6b98a412d68feebda94f5feb8
7
+ data.tar.gz: 174ecfb0f2c388e7fe5010225e00854ccbba1e5bcc1f820b463cb7349a1c4f9526edc89620c1e3a7d1193c884437f3449351c9bca3704f18139f50128440e29f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.561
1
+ 3.0.564
@@ -71,20 +71,30 @@ module TencentCloud
71
71
  # @type UserId: String
72
72
  # @param UserIp: 用户IP,用户客户端的公网IP,用于就近调度
73
73
  # @type UserIp: String
74
- # @param ClientSession: 客户端session信息,从SDK请求中获得
74
+ # @param ClientSession: 客户端session信息,从SDK请求中获得。特殊的,当 RunMode 参数为 RunWithoutClient 时,该字段可以为空
75
75
  # @type ClientSession: String
76
76
  # @param RunMode: 云端运行模式。
77
77
  # RunWithoutClient:允许无客户端连接的情况下仍保持云端 App 运行
78
78
  # 默认值(空):要求必须有客户端连接才会保持云端 App 运行。
79
79
  # @type RunMode: String
80
-
81
- attr_accessor :UserId, :UserIp, :ClientSession, :RunMode
80
+ # @param HostUserId: 【多人互动】房主用户ID,在多人互动模式下为必填字段。
81
+ # 如果该用户是房主,HostUserId需要和UserId保持一致;
82
+ # 如果该用户非房主,HostUserId需要填写房主的HostUserId。
83
+ # @type HostUserId: String
84
+ # @param Role: 【多人互动】角色。
85
+ # Player:玩家(可通过键鼠等操作应用)
86
+ # Viewer:观察者(只能观看,无法操作)
87
+ # @type Role: String
88
+
89
+ attr_accessor :UserId, :UserIp, :ClientSession, :RunMode, :HostUserId, :Role
82
90
 
83
- def initialize(userid=nil, userip=nil, clientsession=nil, runmode=nil)
91
+ def initialize(userid=nil, userip=nil, clientsession=nil, runmode=nil, hostuserid=nil, role=nil)
84
92
  @UserId = userid
85
93
  @UserIp = userip
86
94
  @ClientSession = clientsession
87
95
  @RunMode = runmode
96
+ @HostUserId = hostuserid
97
+ @Role = role
88
98
  end
89
99
 
90
100
  def deserialize(params)
@@ -92,6 +102,8 @@ module TencentCloud
92
102
  @UserIp = params['UserIp']
93
103
  @ClientSession = params['ClientSession']
94
104
  @RunMode = params['RunMode']
105
+ @HostUserId = params['HostUserId']
106
+ @Role = params['Role']
95
107
  end
96
108
  end
97
109
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-car
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.561
4
+ version: 3.0.564
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-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common