tencentcloud-sdk-dasb 3.0.703 → 3.0.704
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191018/client.rb +24 -0
- data/lib/v20191018/models.rb +40 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 920f44e00b96cacdd1ab95cd379f0fa3d8f9f0b5
|
4
|
+
data.tar.gz: 9be816beba02195a7cfa6fcc3a29fcc349272894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b749ef4e34ff98832c858aae4615399f3b260ab5823da35a8db049f2cd086036985225e8c2289d6cde7a7fc4afc04dbd6691b52dba0b2ed192d5e726ede527b
|
7
|
+
data.tar.gz: cd4537992330c44287d8146b685fb2803443daa11f660f17612ddc5c35c4f717d6f1adacaf8e5ce0c6ecaaa9bf6cc4a91224e2fec2dcba2eacf7aad5fa9ac9dd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.704
|
data/lib/v20191018/client.rb
CHANGED
@@ -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.
|
data/lib/v20191018/models.rb
CHANGED
@@ -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
|