tencentcloud-sdk-cam 3.0.956 → 3.0.958

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: ebf057ee267a640bb9b88acdb6d130f62a4657eb
4
- data.tar.gz: 2e54cef1405e9c41f492d8e75800cc3d1cf47b94
3
+ metadata.gz: 7949d04f2539866ca7e65fb4963465b4559022eb
4
+ data.tar.gz: 7e51989c0bb7833ce900908fe5f96dddc3967ff5
5
5
  SHA512:
6
- metadata.gz: 99361f827ff52090e0f50c7067acac7bae0095d47a606a4c53a50a351f8bd766ff934c118131e59521e2924343e6f8afdbaf00fadcd0386d80540536e1491499
7
- data.tar.gz: 72ab10c4048e475ae6cc2168cf3f79296e4fd317c6aad5056f71750b0d050b046dcd5952c14ed2689d580e37ff511a6c3c2abd959c47777e4e14b0babadc92c9
6
+ metadata.gz: 2f29e09ad779b90c5a964d7934d57cc3324f366f3f4153c973a3ed32a15091c2ed5fea088ee763c9513b25263a803988ad1a3a387711c78f9bb341010674c838
7
+ data.tar.gz: ff51d50daeda9e49e32a8cad2e8f9eb4cf675c00bb21ae017bd366d334baf00ee68eac60bd29b2303f4fba91d316e4f3031b1fea764bf3bf56b101db4142c2ed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.956
1
+ 3.0.958
@@ -2095,6 +2095,30 @@ module TencentCloud
2095
2095
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2096
2096
  end
2097
2097
 
2098
+ # 修改角色会话时长
2099
+
2100
+ # @param request: Request instance for UpdateRoleSessionDuration.
2101
+ # @type request: :class:`Tencentcloud::cam::V20190116::UpdateRoleSessionDurationRequest`
2102
+ # @rtype: :class:`Tencentcloud::cam::V20190116::UpdateRoleSessionDurationResponse`
2103
+ def UpdateRoleSessionDuration(request)
2104
+ body = send_request('UpdateRoleSessionDuration', request.serialize)
2105
+ response = JSON.parse(body)
2106
+ if response['Response'].key?('Error') == false
2107
+ model = UpdateRoleSessionDurationResponse.new
2108
+ model.deserialize(response['Response'])
2109
+ model
2110
+ else
2111
+ code = response['Response']['Error']['Code']
2112
+ message = response['Response']['Error']['Message']
2113
+ reqid = response['Response']['RequestId']
2114
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2115
+ end
2116
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2117
+ raise e
2118
+ rescue StandardError => e
2119
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2120
+ end
2121
+
2098
2122
  # 更新SAML身份提供商信息
2099
2123
 
2100
2124
  # @param request: Request instance for UpdateSAMLProvider.
@@ -2956,10 +2956,13 @@ module TencentCloud
2956
2956
  # @type CreateTime: String
2957
2957
  # @param IsReceiverOwner: 是否为主消息接收人。0-否 1-是
2958
2958
  # @type IsReceiverOwner: Integer
2959
+ # @param Remark: 昵称
2960
+ # 注意:此字段可能返回 null,表示取不到有效值。
2961
+ # @type Remark: String
2959
2962
 
2960
- attr_accessor :Uid, :Uin, :Name, :PhoneNum, :CountryCode, :PhoneFlag, :Email, :EmailFlag, :UserType, :CreateTime, :IsReceiverOwner
2963
+ attr_accessor :Uid, :Uin, :Name, :PhoneNum, :CountryCode, :PhoneFlag, :Email, :EmailFlag, :UserType, :CreateTime, :IsReceiverOwner, :Remark
2961
2964
 
2962
- def initialize(uid=nil, uin=nil, name=nil, phonenum=nil, countrycode=nil, phoneflag=nil, email=nil, emailflag=nil, usertype=nil, createtime=nil, isreceiverowner=nil)
2965
+ def initialize(uid=nil, uin=nil, name=nil, phonenum=nil, countrycode=nil, phoneflag=nil, email=nil, emailflag=nil, usertype=nil, createtime=nil, isreceiverowner=nil, remark=nil)
2963
2966
  @Uid = uid
2964
2967
  @Uin = uin
2965
2968
  @Name = name
@@ -2971,6 +2974,7 @@ module TencentCloud
2971
2974
  @UserType = usertype
2972
2975
  @CreateTime = createtime
2973
2976
  @IsReceiverOwner = isreceiverowner
2977
+ @Remark = remark
2974
2978
  end
2975
2979
 
2976
2980
  def deserialize(params)
@@ -2985,6 +2989,7 @@ module TencentCloud
2985
2989
  @UserType = params['UserType']
2986
2990
  @CreateTime = params['CreateTime']
2987
2991
  @IsReceiverOwner = params['IsReceiverOwner']
2992
+ @Remark = params['Remark']
2988
2993
  end
2989
2994
  end
2990
2995
 
@@ -5189,6 +5194,46 @@ module TencentCloud
5189
5194
  end
5190
5195
  end
5191
5196
 
5197
+ # UpdateRoleSessionDuration请求参数结构体
5198
+ class UpdateRoleSessionDurationRequest < TencentCloud::Common::AbstractModel
5199
+ # @param SessionDuration: 时长(秒)
5200
+ # @type SessionDuration: Integer
5201
+ # @param RoleName: 角色名(与角色ID必填一个)
5202
+ # @type RoleName: String
5203
+ # @param RoleId: 角色ID(与角色名必填一个)
5204
+ # @type RoleId: Integer
5205
+
5206
+ attr_accessor :SessionDuration, :RoleName, :RoleId
5207
+
5208
+ def initialize(sessionduration=nil, rolename=nil, roleid=nil)
5209
+ @SessionDuration = sessionduration
5210
+ @RoleName = rolename
5211
+ @RoleId = roleid
5212
+ end
5213
+
5214
+ def deserialize(params)
5215
+ @SessionDuration = params['SessionDuration']
5216
+ @RoleName = params['RoleName']
5217
+ @RoleId = params['RoleId']
5218
+ end
5219
+ end
5220
+
5221
+ # UpdateRoleSessionDuration返回参数结构体
5222
+ class UpdateRoleSessionDurationResponse < TencentCloud::Common::AbstractModel
5223
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5224
+ # @type RequestId: String
5225
+
5226
+ attr_accessor :RequestId
5227
+
5228
+ def initialize(requestid=nil)
5229
+ @RequestId = requestid
5230
+ end
5231
+
5232
+ def deserialize(params)
5233
+ @RequestId = params['RequestId']
5234
+ end
5235
+ end
5236
+
5192
5237
  # UpdateSAMLProvider请求参数结构体
5193
5238
  class UpdateSAMLProviderRequest < TencentCloud::Common::AbstractModel
5194
5239
  # @param Name: SAML身份提供商名称
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: 3.0.956
4
+ version: 3.0.958
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-06 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common