tencentcloud-sdk-cam 1.0.265 → 1.0.268

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: 9ec448e03d79d4439b4521042a0e5b7d09b4beed
4
- data.tar.gz: 39132f380fc9379d1c8a1fe8e7227b27a9fb1021
3
+ metadata.gz: 3f8f9f7744f18eb704f761a7c996604aba561c9c
4
+ data.tar.gz: f2eb334480d6c8ef68e24a94c938090152d78fd6
5
5
  SHA512:
6
- metadata.gz: f6d7aeddfd1ad7014c3c0f4fedb6ea56749674502fcd88001c165a095fade41907376e148c06a96a6dbcf0bb510564e62ec30fc9e3e4c75cfb08f55fc6af8e04
7
- data.tar.gz: 4cb68a78ef7d13ffd5a62268315684eb2fbb263b79f28635e09f8fe015729ff4f561bbf7c38425b1fe60211ae309c2262594b8adeb71b68fa4edeba23e786fb8
6
+ metadata.gz: eb78ddccd76659e26d07161d34d5b2b83d43b6f96682b0d577088505e50ad99bf31d26eebcb4ea722a06b957784d925471fa73da2c20cc44f4eb8acf54a00013
7
+ data.tar.gz: f93c5299e9f50e0de21067ce233dd01b4c6dcdc73b7f322353e9371c37d165fe4619c1c30b835c20a17f14a80d61f908f28d153d8bbd2d3228bd3b1f3d8571ec
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.265
1
+ 1.0.268
@@ -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
@@ -3900,7 +3939,7 @@ module TencentCloud
3900
3939
  # @type Uin: Integer
3901
3940
  # @param Name: 子用户用户名
3902
3941
  # @type Name: String
3903
- # @param Uid: 子用户 UID
3942
+ # @param Uid: 子用户 UID,UID是用户作为消息接收人时的唯一标识,和 UIN 一样可以唯一标识一个用户,可通过接口https://cloud.tencent.com/document/api/598/53486 获取
3904
3943
  # @type Uid: Integer
3905
3944
  # @param Remark: 子用户备注
3906
3945
  # @type Remark: String
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.265
4
+ version: 1.0.268
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-25 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common