tencentcloud-sdk-cam 1.0.266 → 1.0.269

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: 81c7d68c121e4419ac31776b5e05b9ec2367c85a
4
- data.tar.gz: 45e54efdf16141b763c1b46c268e19e32bedbace
3
+ metadata.gz: df388dd9e9801066130551eecf6616b24be9bed8
4
+ data.tar.gz: dffd38a61b952a6fd275bc64a320e4806545df4f
5
5
  SHA512:
6
- metadata.gz: 31aa441f5baeac93d2a143fa61e621f3320dd645645074a5e4f19a4c1411fd6038b67e0ff3018b37df1a87eeb2bf1632bc66863c9225d0b0de0abe7896462008
7
- data.tar.gz: 159d9fbfa6395bee9dbfcd9c57b0012f2b049ed6f3c43d7ec28bf028b958867e210c3cf76444f3602252967b93cbfdfe6c90bf1d192c948e9c54e92486a1db9d
6
+ metadata.gz: 7806837954b657ba8f4b072dacfb41bd8205321d7a37f39744ccf6a900150c75f2d0b58268f1fa6a3112e73fc3fd183d0938abc7b6ea516db7c6f72cb1662aec
7
+ data.tar.gz: 804097e88c1142c2bc6b55cd1eb99c5f71332f48d2518875209cae0845316f8ccc7601ed981852401bae8923cb05874599c1ba2cc0a481f9607dee21f07e7301
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.269
@@ -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.
@@ -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.266
4
+ version: 1.0.269
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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common