tencentcloud-sdk-cam 1.0.266 → 1.0.267
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190116/client.rb +24 -0
- data/lib/v20190116/models.rb +39 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc62bf0ccbb2b99f708085c40e19bb67e3a52257
|
4
|
+
data.tar.gz: 499d4ed47e504bb1d634e2d93f7eb3db6146294a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7da920c42a6dbc5f642af353013510c56438e5822720b217791ad0a673f6b27e1fb616a7d4a7a33884c072467b3150ff339846f01b7568c8b3458352fc921880
|
7
|
+
data.tar.gz: ee1b3fe3422cfdecb2e35116ecb1ec68ebee74e2139a627c79845289043de799629e99008305cbc86937d3e9845a104eda859357ac9e8c62cae9abffa8d1260b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.267
|
data/lib/v20190116/client.rb
CHANGED
@@ -1037,6 +1037,30 @@ module TencentCloud
|
|
1037
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
1038
|
end
|
1039
1039
|
|
1040
|
+
# 获取用户AppId
|
1041
|
+
|
1042
|
+
# @param request: Request instance for GetUserAppId.
|
1043
|
+
# @type request: :class:`Tencentcloud::cam::V20190116::GetUserAppIdRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::cam::V20190116::GetUserAppIdResponse`
|
1045
|
+
def GetUserAppId(request)
|
1046
|
+
body = send_request('GetUserAppId', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = GetUserAppIdResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
1040
1064
|
# 获取用户权限边界
|
1041
1065
|
|
1042
1066
|
# @param request: Request instance for GetUserPermissionBoundary.
|
data/lib/v20190116/models.rb
CHANGED
@@ -2059,6 +2059,45 @@ module TencentCloud
|
|
2059
2059
|
end
|
2060
2060
|
end
|
2061
2061
|
|
2062
|
+
# GetUserAppId请求参数结构体
|
2063
|
+
class GetUserAppIdRequest < TencentCloud::Common::AbstractModel
|
2064
|
+
|
2065
|
+
|
2066
|
+
def initialize()
|
2067
|
+
end
|
2068
|
+
|
2069
|
+
def deserialize(params)
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# GetUserAppId返回参数结构体
|
2074
|
+
class GetUserAppIdResponse < TencentCloud::Common::AbstractModel
|
2075
|
+
# @param Uin: 当前账号Uin
|
2076
|
+
# @type Uin: String
|
2077
|
+
# @param OwnerUin: 当前账号OwnerUin
|
2078
|
+
# @type OwnerUin: String
|
2079
|
+
# @param AppId: 当前账号AppId
|
2080
|
+
# @type AppId: Integer
|
2081
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2082
|
+
# @type RequestId: String
|
2083
|
+
|
2084
|
+
attr_accessor :Uin, :OwnerUin, :AppId, :RequestId
|
2085
|
+
|
2086
|
+
def initialize(uin=nil, owneruin=nil, appid=nil, requestid=nil)
|
2087
|
+
@Uin = uin
|
2088
|
+
@OwnerUin = owneruin
|
2089
|
+
@AppId = appid
|
2090
|
+
@RequestId = requestid
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
def deserialize(params)
|
2094
|
+
@Uin = params['Uin']
|
2095
|
+
@OwnerUin = params['OwnerUin']
|
2096
|
+
@AppId = params['AppId']
|
2097
|
+
@RequestId = params['RequestId']
|
2098
|
+
end
|
2099
|
+
end
|
2100
|
+
|
2062
2101
|
# GetUserPermissionBoundary请求参数结构体
|
2063
2102
|
class GetUserPermissionBoundaryRequest < TencentCloud::Common::AbstractModel
|
2064
2103
|
# @param TargetUin: 子账号Uin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.267
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|