tencentcloud-sdk-bh 3.0.1171 → 3.0.1177

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 +84 -11
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 755995972c0c7f8f5a76e3d27c7269d89e5335b4
4
- data.tar.gz: 6b7dfad4213614f044cc155794b320c0be77888f
3
+ metadata.gz: a89ae527ce3a6319cc41ac2939f659f0bbc9ac19
4
+ data.tar.gz: 3a152b82537c3f3473ea9dd4e8d137a5afec0cd2
5
5
  SHA512:
6
- metadata.gz: 215dcca35a632836408673cbe8443aa1a310a8e2ed947cf3dab7d9dd221246ed60a37fa88b08949b8592ce914ac2514aa2b0a25106c33711a6c1cd2ba85fd8b2
7
- data.tar.gz: a0aef8756a34a42f138cee98c979c2e703d47b38008c899194949cb5cd5f8cefaf29f654af14249e77dd7fb4ea8ab961e23a7e31da80a9d38bff68e4f0624c96
6
+ metadata.gz: 4df1b4cabf46154577026e46a3503d570dfba4c9343bc99411033592ba0552f201429fc33f9ef14f57bf8b2ced2dffa7bfe011ebfdf6aeb32e2eee5370b49ffd
7
+ data.tar.gz: ac11215954c7e69492249d7e025de3aa1e0f9445a180c056a2bbec70e564cd926e2a0b3ac42b9878199fe1ad07bb4a3b094010098510e4790be4118d5afda774
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1171
1
+ 3.0.1177
@@ -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, 11
78
- deprecate :LoginAccount=, :none, 2025, 11
79
- deprecate :LoginPassword, :none, 2025, 11
80
- deprecate :LoginPassword=, :none, 2025, 11
77
+ deprecate :LoginAccount, :none, 2025, 12
78
+ deprecate :LoginAccount=, :none, 2025, 12
79
+ deprecate :LoginPassword, :none, 2025, 12
80
+ deprecate :LoginPassword=, :none, 2025, 12
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
@@ -688,6 +688,22 @@ module TencentCloud
688
688
  end
689
689
  end
690
690
 
691
+ # 认证方式设置
692
+ class AuthModeSetting < TencentCloud::Common::AbstractModel
693
+ # @param AuthMode: 双因子认证,0-不开启,1-OTP,2-短信
694
+ # @type AuthMode: Integer
695
+
696
+ attr_accessor :AuthMode
697
+
698
+ def initialize(authmode=nil)
699
+ @AuthMode = authmode
700
+ end
701
+
702
+ def deserialize(params)
703
+ @AuthMode = params['AuthMode']
704
+ end
705
+ end
706
+
691
707
  # BindDeviceAccountPassword请求参数结构体
692
708
  class BindDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
693
709
  # @param Id: 主机账号ID
@@ -3841,16 +3857,23 @@ module TencentCloud
3841
3857
 
3842
3858
  # DescribeSecuritySetting返回参数结构体
3843
3859
  class DescribeSecuritySettingResponse < TencentCloud::Common::AbstractModel
3860
+ # @param SecuritySetting: 无
3861
+ # @type SecuritySetting: :class:`Tencentcloud::Bh.v20230418.models.SecuritySetting`
3844
3862
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3845
3863
  # @type RequestId: String
3846
3864
 
3847
- attr_accessor :RequestId
3865
+ attr_accessor :SecuritySetting, :RequestId
3848
3866
 
3849
- def initialize(requestid=nil)
3867
+ def initialize(securitysetting=nil, requestid=nil)
3868
+ @SecuritySetting = securitysetting
3850
3869
  @RequestId = requestid
3851
3870
  end
3852
3871
 
3853
3872
  def deserialize(params)
3873
+ unless params['SecuritySetting'].nil?
3874
+ @SecuritySetting = SecuritySetting.new
3875
+ @SecuritySetting.deserialize(params['SecuritySetting'])
3876
+ end
3854
3877
  @RequestId = params['RequestId']
3855
3878
  end
3856
3879
  end
@@ -5717,8 +5740,8 @@ module TencentCloud
5717
5740
 
5718
5741
  attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
5719
5742
  extend Gem::Deprecate
5720
- deprecate :Status, :none, 2025, 11
5721
- deprecate :Status=, :none, 2025, 11
5743
+ deprecate :Status, :none, 2025, 12
5744
+ deprecate :Status=, :none, 2025, 12
5722
5745
 
5723
5746
  def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
5724
5747
  @ResourceId = resourceid
@@ -6004,6 +6027,26 @@ module TencentCloud
6004
6027
  end
6005
6028
  end
6006
6029
 
6030
+ # 运维资产重连次数
6031
+ class ReconnectionSetting < TencentCloud::Common::AbstractModel
6032
+ # @param ReconnectionMaxCount: 重连次数
6033
+ # @type ReconnectionMaxCount: Integer
6034
+ # @param Enable: true:可以重连,false:不可以重连
6035
+ # @type Enable: Boolean
6036
+
6037
+ attr_accessor :ReconnectionMaxCount, :Enable
6038
+
6039
+ def initialize(reconnectionmaxcount=nil, enable=nil)
6040
+ @ReconnectionMaxCount = reconnectionmaxcount
6041
+ @Enable = enable
6042
+ end
6043
+
6044
+ def deserialize(params)
6045
+ @ReconnectionMaxCount = params['ReconnectionMaxCount']
6046
+ @Enable = params['Enable']
6047
+ end
6048
+ end
6049
+
6007
6050
  # 回放所需字段信息
6008
6051
  class ReplayInformation < TencentCloud::Common::AbstractModel
6009
6052
  # @param Token: 令牌
@@ -7504,6 +7547,32 @@ module TencentCloud
7504
7547
  end
7505
7548
  end
7506
7549
 
7550
+ # 系统安全设置
7551
+ class SecuritySetting < TencentCloud::Common::AbstractModel
7552
+ # @param AuthModeGM: 国密认证方式设置
7553
+ # @type AuthModeGM: :class:`Tencentcloud::Bh.v20230418.models.AuthModeSetting`
7554
+ # @param Reconnection: 资产重连次数
7555
+ # @type Reconnection: :class:`Tencentcloud::Bh.v20230418.models.ReconnectionSetting`
7556
+
7557
+ attr_accessor :AuthModeGM, :Reconnection
7558
+
7559
+ def initialize(authmodegm=nil, reconnection=nil)
7560
+ @AuthModeGM = authmodegm
7561
+ @Reconnection = reconnection
7562
+ end
7563
+
7564
+ def deserialize(params)
7565
+ unless params['AuthModeGM'].nil?
7566
+ @AuthModeGM = AuthModeSetting.new
7567
+ @AuthModeGM.deserialize(params['AuthModeGM'])
7568
+ end
7569
+ unless params['Reconnection'].nil?
7570
+ @Reconnection = ReconnectionSetting.new
7571
+ @Reconnection.deserialize(params['Reconnection'])
7572
+ end
7573
+ end
7574
+ end
7575
+
7507
7576
  # 搜索字符或图形会话时返回的SessionResul结构体
7508
7577
  class SessionResult < TencentCloud::Common::AbstractModel
7509
7578
  # @param UserName: 用户名
@@ -7837,7 +7906,7 @@ module TencentCloud
7837
7906
 
7838
7907
  # 用户信息
7839
7908
  class User < TencentCloud::Common::AbstractModel
7840
- # @param UserName: 用户名, 3-20个字符 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
7909
+ # @param UserName: 用户名,1 - 128个字符 必须以英文字母开头,只能由a-zA-Z0-9以及+=,.@_-组成,支持邮箱格式
7841
7910
  # @type UserName: String
7842
7911
  # @param RealName: 用户姓名, 最大20个字符,不能包含空白字符
7843
7912
  # @type RealName: String
@@ -7877,10 +7946,12 @@ module TencentCloud
7877
7946
  # @type UserFrom: Integer
7878
7947
  # @param IOAUserGroup: ioa同步过来的用户相关信息
7879
7948
  # @type IOAUserGroup: :class:`Tencentcloud::Bh.v20230418.models.IOAUserGroup`
7949
+ # @param RoleArn: cam角色用户载体
7950
+ # @type RoleArn: String
7880
7951
 
7881
- attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId, :ActiveStatus, :LockStatus, :UKeyStatus, :Status, :AclVersion, :UserFrom, :IOAUserGroup
7952
+ attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId, :ActiveStatus, :LockStatus, :UKeyStatus, :Status, :AclVersion, :UserFrom, :IOAUserGroup, :RoleArn
7882
7953
 
7883
- def initialize(username=nil, realname=nil, id=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil, department=nil, departmentid=nil, activestatus=nil, lockstatus=nil, ukeystatus=nil, status=nil, aclversion=nil, userfrom=nil, ioausergroup=nil)
7954
+ def initialize(username=nil, realname=nil, id=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil, department=nil, departmentid=nil, activestatus=nil, lockstatus=nil, ukeystatus=nil, status=nil, aclversion=nil, userfrom=nil, ioausergroup=nil, rolearn=nil)
7884
7955
  @UserName = username
7885
7956
  @RealName = realname
7886
7957
  @Id = id
@@ -7900,6 +7971,7 @@ module TencentCloud
7900
7971
  @AclVersion = aclversion
7901
7972
  @UserFrom = userfrom
7902
7973
  @IOAUserGroup = ioausergroup
7974
+ @RoleArn = rolearn
7903
7975
  end
7904
7976
 
7905
7977
  def deserialize(params)
@@ -7935,6 +8007,7 @@ module TencentCloud
7935
8007
  @IOAUserGroup = IOAUserGroup.new
7936
8008
  @IOAUserGroup.deserialize(params['IOAUserGroup'])
7937
8009
  end
8010
+ @RoleArn = params['RoleArn']
7938
8011
  end
7939
8012
  end
7940
8013
 
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.1171
4
+ version: 3.0.1177
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-11-20 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-bh.rb
36
37
  - lib/v20230418/client.rb
37
38
  - lib/v20230418/models.rb
38
- - lib/tencentcloud-sdk-bh.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: