tencentcloud-sdk-dasb 3.0.702 → 3.0.704

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d882f5a8eeaa8eecc8f87224adbf9feb5d935b8b
4
- data.tar.gz: 636481b907f6b75573ede22594c36179d6e7c4ad
3
+ metadata.gz: 920f44e00b96cacdd1ab95cd379f0fa3d8f9f0b5
4
+ data.tar.gz: 9be816beba02195a7cfa6fcc3a29fcc349272894
5
5
  SHA512:
6
- metadata.gz: 5672ddd2f844cc76c7e3b3ee8f24b149100fd1d67c7596333fd3270773230226eb2da8fcf0f44fc3bd4a06159d9feb3f79a61001f4189090733bacb9c2ed653a
7
- data.tar.gz: 27eccb7553291ff552a2ab24b806e7fe56a138cbc6ad21ef751b0f8d923a00aced7cfe323df1923f4ba9f13bbcd5d91fb2322a65f6bb2b23662e49dc711de68a
6
+ metadata.gz: 8b749ef4e34ff98832c858aae4615399f3b260ab5823da35a8db049f2cd086036985225e8c2289d6cde7a7fc4afc04dbd6691b52dba0b2ed192d5e726ede527b
7
+ data.tar.gz: cd4537992330c44287d8146b685fb2803443daa11f660f17612ddc5c35c4f717d6f1adacaf8e5ce0c6ecaaa9bf6cc4a91224e2fec2dcba2eacf7aad5fa9ac9dd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.702
1
+ 3.0.704
@@ -1085,6 +1085,30 @@ module TencentCloud
1085
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
1086
  end
1087
1087
 
1088
+ # 修改用户组
1089
+
1090
+ # @param request: Request instance for ModifyUserGroup.
1091
+ # @type request: :class:`Tencentcloud::dasb::V20191018::ModifyUserGroupRequest`
1092
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::ModifyUserGroupResponse`
1093
+ def ModifyUserGroup(request)
1094
+ body = send_request('ModifyUserGroup', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = ModifyUserGroupResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1088
1112
  # 清除设备账号绑定密码
1089
1113
 
1090
1114
  # @param request: Request instance for ResetDeviceAccountPassword.
@@ -3105,6 +3105,46 @@ module TencentCloud
3105
3105
  end
3106
3106
  end
3107
3107
 
3108
+ # ModifyUserGroup请求参数结构体
3109
+ class ModifyUserGroupRequest < TencentCloud::Common::AbstractModel
3110
+ # @param Id: 用户组ID
3111
+ # @type Id: Integer
3112
+ # @param Name: 用户组名
3113
+ # @type Name: String
3114
+ # @param DepartmentId: 用户组所属的部门ID,如:1.2.3
3115
+ # @type DepartmentId: String
3116
+
3117
+ attr_accessor :Id, :Name, :DepartmentId
3118
+
3119
+ def initialize(id=nil, name=nil, departmentid=nil)
3120
+ @Id = id
3121
+ @Name = name
3122
+ @DepartmentId = departmentid
3123
+ end
3124
+
3125
+ def deserialize(params)
3126
+ @Id = params['Id']
3127
+ @Name = params['Name']
3128
+ @DepartmentId = params['DepartmentId']
3129
+ end
3130
+ end
3131
+
3132
+ # ModifyUserGroup返回参数结构体
3133
+ class ModifyUserGroupResponse < TencentCloud::Common::AbstractModel
3134
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3135
+ # @type RequestId: String
3136
+
3137
+ attr_accessor :RequestId
3138
+
3139
+ def initialize(requestid=nil)
3140
+ @RequestId = requestid
3141
+ end
3142
+
3143
+ def deserialize(params)
3144
+ @RequestId = params['RequestId']
3145
+ end
3146
+ end
3147
+
3108
3148
  # ModifyUser请求参数结构体
3109
3149
  class ModifyUserRequest < TencentCloud::Common::AbstractModel
3110
3150
  # @param Id: 用户ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dasb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.702
4
+ version: 3.0.704
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-11-14 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common