lib/v20191018/models.rb in tencentcloud-sdk-dasb-3.0.695 vs lib/v20191018/models.rb in tencentcloud-sdk-dasb-3.0.696
- old
+ new
@@ -533,10 +533,13 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type InstanceId: String
# @param FromIp: source ip
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FromIp: String
+ # @param SessionTime: 该命令所属会话的会话开始时间
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type SessionTime: String
# @param SessTime: 该命令所属会话的会话开始时间
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SessTime: String
# @param ConfirmTime: 复核时间
# 注意:此字段可能返回 null,表示取不到有效值。
@@ -552,22 +555,26 @@
# @type DeviceDepartmentId: String
# @param DeviceDepartmentName: 设备部门name
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DeviceDepartmentName: String
- attr_accessor :Cmd, :Time, :TimeOffset, :Action, :Sid, :UserName, :Account, :InstanceId, :FromIp, :SessTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName
+ attr_accessor :Cmd, :Time, :TimeOffset, :Action, :Sid, :UserName, :Account, :InstanceId, :FromIp, :SessionTime, :SessTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName
+ extend Gem::Deprecate
+ deprecate :SessTime, :none, 2023, 11
+ deprecate :SessTime=, :none, 2023, 11
- def initialize(cmd=nil, time=nil, timeoffset=nil, action=nil, sid=nil, username=nil, account=nil, instanceid=nil, fromip=nil, sesstime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil)
+ def initialize(cmd=nil, time=nil, timeoffset=nil, action=nil, sid=nil, username=nil, account=nil, instanceid=nil, fromip=nil, sessiontime=nil, sesstime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil)
@Cmd = cmd
@Time = time
@TimeOffset = timeoffset
@Action = action
@Sid = sid
@UserName = username
@Account = account
@InstanceId = instanceid
@FromIp = fromip
+ @SessionTime = sessiontime
@SessTime = sesstime
@ConfirmTime = confirmtime
@UserDepartmentId = userdepartmentid
@UserDepartmentName = userdepartmentname
@DeviceDepartmentId = devicedepartmentid
@@ -582,10 +589,11 @@
@Sid = params['Sid']
@UserName = params['UserName']
@Account = params['Account']
@InstanceId = params['InstanceId']
@FromIp = params['FromIp']
+ @SessionTime = params['SessionTime']
@SessTime = params['SessTime']
@ConfirmTime = params['ConfirmTime']
@UserDepartmentId = params['UserDepartmentId']
@UserDepartmentName = params['UserDepartmentName']
@DeviceDepartmentId = params['DeviceDepartmentId']
@@ -945,20 +953,25 @@
end
end
# CreateResource返回参数结构体
class CreateResourceResponse < TencentCloud::Common::AbstractModel
+ # @param ResourceId: 实例Id
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ResourceId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :RequestId
+ attr_accessor :ResourceId, :RequestId
- def initialize(requestid=nil)
+ def initialize(resourceid=nil, requestid=nil)
+ @ResourceId = resourceid
@RequestId = requestid
end
def deserialize(params)
+ @ResourceId = params['ResourceId']
@RequestId = params['RequestId']
end
end
# CreateUserGroup请求参数结构体
@@ -2700,20 +2713,25 @@
end
end
# ImportExternalDevice返回参数结构体
class ImportExternalDeviceResponse < TencentCloud::Common::AbstractModel
+ # @param DeviceIdSet: 资产ID列表
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DeviceIdSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :RequestId
+ attr_accessor :DeviceIdSet, :RequestId
- def initialize(requestid=nil)
+ def initialize(deviceidset=nil, requestid=nil)
+ @DeviceIdSet = deviceidset
@RequestId = requestid
end
def deserialize(params)
+ @DeviceIdSet = params['DeviceIdSet']
@RequestId = params['RequestId']
end
end
# 登录日志
@@ -3673,12 +3691,15 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Account: String
# @param FromIp: source ip
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FromIp: String
- # @param SessTime: 该命令所属会话的会话开始时间
+ # @param SessionTime: 该命令所属会话的会话开始时间
# 注意:此字段可能返回 null,表示取不到有效值。
+ # @type SessionTime: String
+ # @param SessTime: 该命令所属会话的会话开始时间(废弃,使用SessionTime)
+ # 注意:此字段可能返回 null,表示取不到有效值。
# @type SessTime: String
# @param ConfirmTime: 复核时间
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ConfirmTime: String
# @param UserDepartmentId: 部门id
@@ -3692,13 +3713,16 @@
# @type DeviceDepartmentId: String
# @param DeviceDepartmentName: 设备部门名称
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DeviceDepartmentName: String
- attr_accessor :Time, :UserName, :RealName, :InstanceId, :DeviceName, :PublicIp, :PrivateIp, :Cmd, :Action, :Sid, :TimeOffset, :Account, :FromIp, :SessTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName
+ attr_accessor :Time, :UserName, :RealName, :InstanceId, :DeviceName, :PublicIp, :PrivateIp, :Cmd, :Action, :Sid, :TimeOffset, :Account, :FromIp, :SessionTime, :SessTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName
+ extend Gem::Deprecate
+ deprecate :SessTime, :none, 2023, 11
+ deprecate :SessTime=, :none, 2023, 11
- def initialize(time=nil, username=nil, realname=nil, instanceid=nil, devicename=nil, publicip=nil, privateip=nil, cmd=nil, action=nil, sid=nil, timeoffset=nil, account=nil, fromip=nil, sesstime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil)
+ def initialize(time=nil, username=nil, realname=nil, instanceid=nil, devicename=nil, publicip=nil, privateip=nil, cmd=nil, action=nil, sid=nil, timeoffset=nil, account=nil, fromip=nil, sessiontime=nil, sesstime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil)
@Time = time
@UserName = username
@RealName = realname
@InstanceId = instanceid
@DeviceName = devicename
@@ -3708,10 +3732,11 @@
@Action = action
@Sid = sid
@TimeOffset = timeoffset
@Account = account
@FromIp = fromip
+ @SessionTime = sessiontime
@SessTime = sesstime
@ConfirmTime = confirmtime
@UserDepartmentId = userdepartmentid
@UserDepartmentName = userdepartmentname
@DeviceDepartmentId = devicedepartmentid
@@ -3730,9 +3755,10 @@
@Action = params['Action']
@Sid = params['Sid']
@TimeOffset = params['TimeOffset']
@Account = params['Account']
@FromIp = params['FromIp']
+ @SessionTime = params['SessionTime']
@SessTime = params['SessTime']
@ConfirmTime = params['ConfirmTime']
@UserDepartmentId = params['UserDepartmentId']
@UserDepartmentName = params['UserDepartmentName']
@DeviceDepartmentId = params['DeviceDepartmentId']