tencentcloud-sdk-cam 1.0.264 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e7afff455f50b38c789a3c334d5fabb42a2396f
4
- data.tar.gz: 9c129e6225ed760d1e12a0516ad19d66af843cf8
3
+ metadata.gz: bc62bf0ccbb2b99f708085c40e19bb67e3a52257
4
+ data.tar.gz: 499d4ed47e504bb1d634e2d93f7eb3db6146294a
5
5
  SHA512:
6
- metadata.gz: 03865265804eca3c27675787d9ff1e7d2f2d5f82c936af5f0fe96a6732e95d128ba00472a44202a37893bb8dec681af0d56374bc47b289b629bc2b4e0c62f299
7
- data.tar.gz: 7267e4ee4807e3a4de9464a7796915683160ab8a5ff9c30a75d98a87156199e3e0b5e9f479615c2fd3a8ecf1f67936fe4fcd4be4fae407a2201544a6384d7fd8
6
+ metadata.gz: 7da920c42a6dbc5f642af353013510c56438e5822720b217791ad0a673f6b27e1fb616a7d4a7a33884c072467b3150ff339846f01b7568c8b3458352fc921880
7
+ data.tar.gz: ee1b3fe3422cfdecb2e35116ecb1ec68ebee74e2139a627c79845289043de799629e99008305cbc86937d3e9845a104eda859357ac9e8c62cae9abffa8d1260b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.264
1
+ 1.0.267
@@ -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.
@@ -1968,7 +1968,7 @@ module TencentCloud
1968
1968
 
1969
1969
  # GetSecurityLastUsed请求参数结构体
1970
1970
  class GetSecurityLastUsedRequest < TencentCloud::Common::AbstractModel
1971
- # @param SecretIdList: 查询密钥ID列表
1971
+ # @param SecretIdList: 查询密钥ID列表。最多支持10个。
1972
1972
  # @type SecretIdList: Array
1973
1973
 
1974
1974
  attr_accessor :SecretIdList
@@ -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.264
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-02-24 00:00:00.000000000 Z
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