tencentcloud-sdk-bh 3.0.1089 → 3.0.1092

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230418/models.rb +144 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfa72db7bf005aa2dc4c47943ed55f7adf306b2d
4
- data.tar.gz: a639f54d9ca1aef0231bcce6ec656dbc0a48ac81
3
+ metadata.gz: 8d257e254bb549329ac527f53aa491649cd8091b
4
+ data.tar.gz: ee9e6011e64d164924c00905d5c44d78526858c1
5
5
  SHA512:
6
- metadata.gz: 326a905d2762dda62d8c17fa5957bda10c66943f1a3706e01b2e239f61d439c7780b4b1e473ac81014441eb82608c9354bc018240a8c87eeeee0e564b1ddd6dd
7
- data.tar.gz: a158eeea39a4e96128107e1c4671a3b02609b9a35025360a3659f6f76feb577a0e5655a7bf1726272b3a482a91fd9e830ab9f1bb2ba4c6472452b813db79c9ca
6
+ metadata.gz: cc0a237c787cdb90c229471e788d476ef1e6a1c7d380a7493f8b2c1c6b91a1976d5faf5b02722c982501c756e6701b4cc015d459845e6422eaa7453893ebcd4d
7
+ data.tar.gz: 066cb2e9512a2b689be54f3a3573d323297faf6a40a319e1a0a42352e9d957931bfc74cec39f4f1ca40c676f44abe681fe60516522d0b269647da6bb5be473e1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1089
1
+ 3.0.1092
@@ -74,10 +74,10 @@ module TencentCloud
74
74
 
75
75
  attr_accessor :Account, :LoginAccount, :LoginPassword, :DeviceId, :InstanceId, :Password, :PrivateKey, :PrivateKeyPassword, :Exe, :Drivers, :Width, :Height, :IntranetAccess, :AutoManageAccessCredential
76
76
  extend Gem::Deprecate
77
- deprecate :LoginAccount, :none, 2025, 6
78
- deprecate :LoginAccount=, :none, 2025, 6
79
- deprecate :LoginPassword, :none, 2025, 6
80
- deprecate :LoginPassword=, :none, 2025, 6
77
+ deprecate :LoginAccount, :none, 2025, 7
78
+ deprecate :LoginAccount=, :none, 2025, 7
79
+ deprecate :LoginPassword, :none, 2025, 7
80
+ deprecate :LoginPassword=, :none, 2025, 7
81
81
 
82
82
  def initialize(account=nil, loginaccount=nil, loginpassword=nil, deviceid=nil, instanceid=nil, password=nil, privatekey=nil, privatekeypassword=nil, exe=nil, drivers=nil, width=nil, height=nil, intranetaccess=nil, automanageaccesscredential=nil)
83
83
  @Account = account
@@ -977,6 +977,94 @@ module TencentCloud
977
977
  end
978
978
  end
979
979
 
980
+ # 命令集合
981
+ class Command < TencentCloud::Common::AbstractModel
982
+ # @param Cmd: 命令
983
+ # @type Cmd: String
984
+ # @param Time: 命令输入的时间
985
+ # @type Time: String
986
+ # @param TimeOffset: 命令执行时间相对于所属会话开始时间的偏移量,单位ms
987
+ # @type TimeOffset: Integer
988
+ # @param Action: 命令执行情况,1--允许,2--拒绝,3--确认
989
+ # @type Action: Integer
990
+ # @param Sid: 会话id
991
+ # @type Sid: String
992
+ # @param UserName: 用户名
993
+ # @type UserName: String
994
+ # @param Account: 设备account
995
+ # @type Account: String
996
+ # @param InstanceId: 设备ip
997
+ # @type InstanceId: String
998
+ # @param FromIp: source ip
999
+ # @type FromIp: String
1000
+ # @param SessTime: 该命令所属会话的会话开始时间
1001
+ # @type SessTime: String
1002
+ # @param SessionTime: 该命令所属会话的会话开始时间
1003
+ # @type SessionTime: String
1004
+ # @param ConfirmTime: 复核时间
1005
+ # @type ConfirmTime: String
1006
+ # @param UserDepartmentId: 用户部门id
1007
+ # @type UserDepartmentId: String
1008
+ # @param UserDepartmentName: 用户部门name
1009
+ # @type UserDepartmentName: String
1010
+ # @param DeviceDepartmentId: 设备部门id
1011
+ # @type DeviceDepartmentId: String
1012
+ # @param DeviceDepartmentName: 设备部门name
1013
+ # @type DeviceDepartmentName: String
1014
+ # @param Size: 会话大小
1015
+ # @type Size: Integer
1016
+ # @param SignValue: 签名值
1017
+ # @type SignValue: String
1018
+ # @param DeviceKind: 资产类型
1019
+ # @type DeviceKind: String
1020
+
1021
+ attr_accessor :Cmd, :Time, :TimeOffset, :Action, :Sid, :UserName, :Account, :InstanceId, :FromIp, :SessTime, :SessionTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName, :Size, :SignValue, :DeviceKind
1022
+
1023
+ def initialize(cmd=nil, time=nil, timeoffset=nil, action=nil, sid=nil, username=nil, account=nil, instanceid=nil, fromip=nil, sesstime=nil, sessiontime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil, size=nil, signvalue=nil, devicekind=nil)
1024
+ @Cmd = cmd
1025
+ @Time = time
1026
+ @TimeOffset = timeoffset
1027
+ @Action = action
1028
+ @Sid = sid
1029
+ @UserName = username
1030
+ @Account = account
1031
+ @InstanceId = instanceid
1032
+ @FromIp = fromip
1033
+ @SessTime = sesstime
1034
+ @SessionTime = sessiontime
1035
+ @ConfirmTime = confirmtime
1036
+ @UserDepartmentId = userdepartmentid
1037
+ @UserDepartmentName = userdepartmentname
1038
+ @DeviceDepartmentId = devicedepartmentid
1039
+ @DeviceDepartmentName = devicedepartmentname
1040
+ @Size = size
1041
+ @SignValue = signvalue
1042
+ @DeviceKind = devicekind
1043
+ end
1044
+
1045
+ def deserialize(params)
1046
+ @Cmd = params['Cmd']
1047
+ @Time = params['Time']
1048
+ @TimeOffset = params['TimeOffset']
1049
+ @Action = params['Action']
1050
+ @Sid = params['Sid']
1051
+ @UserName = params['UserName']
1052
+ @Account = params['Account']
1053
+ @InstanceId = params['InstanceId']
1054
+ @FromIp = params['FromIp']
1055
+ @SessTime = params['SessTime']
1056
+ @SessionTime = params['SessionTime']
1057
+ @ConfirmTime = params['ConfirmTime']
1058
+ @UserDepartmentId = params['UserDepartmentId']
1059
+ @UserDepartmentName = params['UserDepartmentName']
1060
+ @DeviceDepartmentId = params['DeviceDepartmentId']
1061
+ @DeviceDepartmentName = params['DeviceDepartmentName']
1062
+ @Size = params['Size']
1063
+ @SignValue = params['SignValue']
1064
+ @DeviceKind = params['DeviceKind']
1065
+ end
1066
+ end
1067
+
980
1068
  # CreateAccessWhiteListRule请求参数结构体
981
1069
  class CreateAccessWhiteListRuleRequest < TencentCloud::Common::AbstractModel
982
1070
  # @param Source: ip 10.10.10.1或者网段10.10.10.0/24,最小长度4字节,最大长度40字节。
@@ -4706,8 +4794,8 @@ module TencentCloud
4706
4794
 
4707
4795
  attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
4708
4796
  extend Gem::Deprecate
4709
- deprecate :Status, :none, 2025, 6
4710
- deprecate :Status=, :none, 2025, 6
4797
+ deprecate :Status, :none, 2025, 7
4798
+ deprecate :Status=, :none, 2025, 7
4711
4799
 
4712
4800
  def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
4713
4801
  @ResourceId = resourceid
@@ -4950,6 +5038,34 @@ module TencentCloud
4950
5038
  end
4951
5039
  end
4952
5040
 
5041
+ # 回放所需字段信息
5042
+ class ReplayInformation < TencentCloud::Common::AbstractModel
5043
+ # @param Token: 令牌
5044
+ # @type Token: String
5045
+ # @param StartTime: 会话开始时间
5046
+ # @type StartTime: String
5047
+ # @param Address: 回放链接
5048
+ # @type Address: String
5049
+ # @param ReplayType: 回放类型 ,默认0, 1-rfb 2-mp4 3-ssh
5050
+ # @type ReplayType: Integer
5051
+
5052
+ attr_accessor :Token, :StartTime, :Address, :ReplayType
5053
+
5054
+ def initialize(token=nil, starttime=nil, address=nil, replaytype=nil)
5055
+ @Token = token
5056
+ @StartTime = starttime
5057
+ @Address = address
5058
+ @ReplayType = replaytype
5059
+ end
5060
+
5061
+ def deserialize(params)
5062
+ @Token = params['Token']
5063
+ @StartTime = params['StartTime']
5064
+ @Address = params['Address']
5065
+ @ReplayType = params['ReplayType']
5066
+ end
5067
+ end
5068
+
4953
5069
  # ReplaySession请求参数结构体
4954
5070
  class ReplaySessionRequest < TencentCloud::Common::AbstractModel
4955
5071
  # @param Sid: 会话Sid
@@ -4968,16 +5084,23 @@ module TencentCloud
4968
5084
 
4969
5085
  # ReplaySession返回参数结构体
4970
5086
  class ReplaySessionResponse < TencentCloud::Common::AbstractModel
5087
+ # @param ReplayInfo: 回放所需信息
5088
+ # @type ReplayInfo: :class:`Tencentcloud::Bh.v20230418.models.ReplayInformation`
4971
5089
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4972
5090
  # @type RequestId: String
4973
5091
 
4974
- attr_accessor :RequestId
5092
+ attr_accessor :ReplayInfo, :RequestId
4975
5093
 
4976
- def initialize(requestid=nil)
5094
+ def initialize(replayinfo=nil, requestid=nil)
5095
+ @ReplayInfo = replayinfo
4977
5096
  @RequestId = requestid
4978
5097
  end
4979
5098
 
4980
5099
  def deserialize(params)
5100
+ unless params['ReplayInfo'].nil?
5101
+ @ReplayInfo = ReplayInformation.new
5102
+ @ReplayInfo.deserialize(params['ReplayInfo'])
5103
+ end
4981
5104
  @RequestId = params['RequestId']
4982
5105
  end
4983
5106
  end
@@ -5493,18 +5616,29 @@ module TencentCloud
5493
5616
  class SearchCommandBySidResponse < TencentCloud::Common::AbstractModel
5494
5617
  # @param TotalCount: 总记录数
5495
5618
  # @type TotalCount: Integer
5619
+ # @param CommandSet: 命令列表
5620
+ # @type CommandSet: Array
5496
5621
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5497
5622
  # @type RequestId: String
5498
5623
 
5499
- attr_accessor :TotalCount, :RequestId
5624
+ attr_accessor :TotalCount, :CommandSet, :RequestId
5500
5625
 
5501
- def initialize(totalcount=nil, requestid=nil)
5626
+ def initialize(totalcount=nil, commandset=nil, requestid=nil)
5502
5627
  @TotalCount = totalcount
5628
+ @CommandSet = commandset
5503
5629
  @RequestId = requestid
5504
5630
  end
5505
5631
 
5506
5632
  def deserialize(params)
5507
5633
  @TotalCount = params['TotalCount']
5634
+ unless params['CommandSet'].nil?
5635
+ @CommandSet = []
5636
+ params['CommandSet'].each do |i|
5637
+ command_tmp = Command.new
5638
+ command_tmp.deserialize(i)
5639
+ @CommandSet << command_tmp
5640
+ end
5641
+ end
5508
5642
  @RequestId = params['RequestId']
5509
5643
  end
5510
5644
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bh
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1089
4
+ version: 3.0.1092
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-25 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common