tencentcloud-sdk-cam 3.0.957 → 3.0.959

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: 644d1a12d42d2a55be21744110ef52ed7517b057
4
- data.tar.gz: 9cb872bb638fbf988cbc82b890a79c15f1683a8c
3
+ metadata.gz: d37a2254b720e4655da09d2ae4da43fa16bf80bb
4
+ data.tar.gz: fbd757753023d178984f25f8a94d1e3bd7c4c6c5
5
5
  SHA512:
6
- metadata.gz: 05432e2d8e03af87844b1702feaec804cc3b1a5bca84547f0394d46088004e3950d31dff63918cae56c9fb16c42dc589e6f1a33babceccb3d215bc59e7559e21
7
- data.tar.gz: 999025873d879d08574895abfdc3c08da5509a8bc2b846140a8e5b9ebba624ed1615154cb30b16604bff99a06709ee923d058adcb1fe87c616c6c6423747d780
6
+ metadata.gz: cf17f7ff466f0af26be964c27579e060c71e8ac80a38f6ed34abb7b211b1d3d37a64dc41599390bfdae6b9a870ccc068ddd5205d9c03e1218b1ffcc39f478aea
7
+ data.tar.gz: ad53fe040120b2c09c20fc15b385ca1f96a17927f7c99a6732c936701c8e5886bfaa8fdb1b2ac0ad8b5130ed9acbd3c0826f556039a14e78844794d6572b39a4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.957
1
+ 3.0.959
@@ -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.957
4
+ version: 3.0.959
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-09 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common