tencentcloud-sdk-bh 3.0.1026 → 3.0.1028

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 +23 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 155731acde7bf4317f55f8533d11ff1cfd448b25
4
- data.tar.gz: 20c3627152d69280e751556e681244eb7aff05e9
3
+ metadata.gz: 5b394ef386bd2b03d5b8f1ac88dbdb1a3cac1341
4
+ data.tar.gz: 2182a239b6c2d656b0f741724ac213001d38b0a2
5
5
  SHA512:
6
- metadata.gz: c6f4570d43b7635b4650cb77e3e936110dd72a1e19cc7d99dd002fb52045cf2d31dab9d6d772d93536cbb7f6497778dd147b5563292e33f65036b1401eb84c62
7
- data.tar.gz: 2c71f24653a695afc4cd4420e567261faedfe8749258fff7b4cb92e48718e676fb4a0fb021f5d7da3cd1b8780a6e46a3b6f82a43bd4812817a364c3335787c5e
6
+ metadata.gz: c47be6a0172996652589657f7bd468b6f2334d8496403e26bdb3c312b06fb79e1dd0f56c7335255e9d394fbd0e81b00c0b570717440cf6375d259effe21aaa99
7
+ data.tar.gz: 7c5f43d8cd4a9ee4e3cb02abd681d5df78fbc9bf42506121bc1fb2bf41193429eca5a8df55f39aa67d18dc169afd400ab3b1392358396f7ae0a193bf6c9ad6d4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1026
1
+ 3.0.1028
@@ -43,19 +43,21 @@ module TencentCloud
43
43
 
44
44
  # AccessDevices请求参数结构体
45
45
  class AccessDevicesRequest < TencentCloud::Common::AbstractModel
46
- # @param InstanceId: 资源id
47
- # @type InstanceId: String
48
- # @param Account: 账号
46
+ # @param Account: 资产的登录账号
49
47
  # @type Account: String
50
48
  # @param LoginAccount: 运维端登录账号
51
49
  # @type LoginAccount: String
52
50
  # @param LoginPassword: 运维端登录密码
53
51
  # @type LoginPassword: String
54
- # @param Password: 密码
52
+ # @param DeviceId: 资产ID
53
+ # @type DeviceId: Integer
54
+ # @param InstanceId: 资源id(优先使用DeviceId)
55
+ # @type InstanceId: String
56
+ # @param Password: 未托管密码私钥时,填入
55
57
  # @type Password: String
56
- # @param PrivateKey: 私钥
58
+ # @param PrivateKey: 未托管密码私钥时,填入
57
59
  # @type PrivateKey: String
58
- # @param PrivateKeyPassword: 私钥密码
60
+ # @param PrivateKeyPassword: 未托管密码私钥时,填入
59
61
  # @type PrivateKeyPassword: String
60
62
  # @param Exe: 客户端工具
61
63
  # @type Exe: String
@@ -67,14 +69,22 @@ module TencentCloud
67
69
  # @type Height: Integer
68
70
  # @param IntranetAccess: 是否内网访问(默认不是)
69
71
  # @type IntranetAccess: Boolean
72
+ # @param AutoManageAccessCredential: 是否自动管理访问串,删掉过期的,新建可用的(默认false)
73
+ # @type AutoManageAccessCredential: Boolean
70
74
 
71
- attr_accessor :InstanceId, :Account, :LoginAccount, :LoginPassword, :Password, :PrivateKey, :PrivateKeyPassword, :Exe, :Drivers, :Width, :Height, :IntranetAccess
75
+ attr_accessor :Account, :LoginAccount, :LoginPassword, :DeviceId, :InstanceId, :Password, :PrivateKey, :PrivateKeyPassword, :Exe, :Drivers, :Width, :Height, :IntranetAccess, :AutoManageAccessCredential
76
+ extend Gem::Deprecate
77
+ deprecate :LoginAccount, :none, 2025, 3
78
+ deprecate :LoginAccount=, :none, 2025, 3
79
+ deprecate :LoginPassword, :none, 2025, 3
80
+ deprecate :LoginPassword=, :none, 2025, 3
72
81
 
73
- def initialize(instanceid=nil, account=nil, loginaccount=nil, loginpassword=nil, password=nil, privatekey=nil, privatekeypassword=nil, exe=nil, drivers=nil, width=nil, height=nil, intranetaccess=nil)
74
- @InstanceId = instanceid
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)
75
83
  @Account = account
76
84
  @LoginAccount = loginaccount
77
85
  @LoginPassword = loginpassword
86
+ @DeviceId = deviceid
87
+ @InstanceId = instanceid
78
88
  @Password = password
79
89
  @PrivateKey = privatekey
80
90
  @PrivateKeyPassword = privatekeypassword
@@ -83,13 +93,15 @@ module TencentCloud
83
93
  @Width = width
84
94
  @Height = height
85
95
  @IntranetAccess = intranetaccess
96
+ @AutoManageAccessCredential = automanageaccesscredential
86
97
  end
87
98
 
88
99
  def deserialize(params)
89
- @InstanceId = params['InstanceId']
90
100
  @Account = params['Account']
91
101
  @LoginAccount = params['LoginAccount']
92
102
  @LoginPassword = params['LoginPassword']
103
+ @DeviceId = params['DeviceId']
104
+ @InstanceId = params['InstanceId']
93
105
  @Password = params['Password']
94
106
  @PrivateKey = params['PrivateKey']
95
107
  @PrivateKeyPassword = params['PrivateKeyPassword']
@@ -98,6 +110,7 @@ module TencentCloud
98
110
  @Width = params['Width']
99
111
  @Height = params['Height']
100
112
  @IntranetAccess = params['IntranetAccess']
113
+ @AutoManageAccessCredential = params['AutoManageAccessCredential']
101
114
  end
102
115
  end
103
116
 
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.1026
4
+ version: 3.0.1028
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-03-24 00:00:00.000000000 Z
11
+ date: 2025-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common