tencentcloud-sdk-ciam 1.0.344 → 1.0.345

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: 29bedcbada8092cb3342e46d87f10a42ab5adde8
4
- data.tar.gz: 07346a94b28f7102d0d4441882eed873f8617f94
3
+ metadata.gz: 5a3cceb316451e8a07331d0c7c472f8270061f28
4
+ data.tar.gz: 0b0aee7fc9e78e2e10722a583072e6c81569f129
5
5
  SHA512:
6
- metadata.gz: 890b6061079dba89bd964f8ae2ea848930f00584e4e4524aaef07805d1c78f5ee3ca2c479b0da88968120f9bdceef3f6272811352c2e10f325751b26dc0da6b1
7
- data.tar.gz: 17e2a9f95247bc10991deccf580d9edff7e54211b77211692e689480a2ea2625eaacd51ab506846a9241ba6989a024c3e43ec17b7dc32e348496f63f251354f2
6
+ metadata.gz: 421af016a1c21d6b4758046c3bd0cc359b44de9e486ab039bd39d4c26d7abc8ddc2aaacbab47664474e07d0301682ad7e45669eeb7770e89a51e42f8973db012
7
+ data.tar.gz: aea20ce847f4c8a4049d48a040ea075507b8ec367a8e8c266ecf8f8d2bf89821977b827de13d359699e09e147957b787913fa890314364e1a13b56d0be737a52
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.344
1
+ 1.0.345
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 查询日志信息
201
+
202
+ # @param request: Request instance for ListLogMessageByCondition.
203
+ # @type request: :class:`Tencentcloud::ciam::V20220331::ListLogMessageByConditionRequest`
204
+ # @rtype: :class:`Tencentcloud::ciam::V20220331::ListLogMessageByConditionResponse`
205
+ def ListLogMessageByCondition(request)
206
+ body = send_request('ListLogMessageByCondition', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = ListLogMessageByConditionResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 查询用户列表
201
225
 
202
226
  # @param request: Request instance for ListUser.
@@ -690,6 +690,85 @@ module TencentCloud
690
690
  end
691
691
  end
692
692
 
693
+ # ListLogMessageByCondition请求参数结构体
694
+ class ListLogMessageByConditionRequest < TencentCloud::Common::AbstractModel
695
+ # @param UserStoreId: 用户池ID
696
+ # @type UserStoreId: String
697
+ # @param Pageable: 分页数据
698
+ # @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
699
+ # @param StartTime: 开始时间,时间戳精确到毫秒
700
+ # @type StartTime: Integer
701
+ # @param Filters: Key可选值为events
702
+
703
+ # <li> **events** </li> Values为["SIGNUP", "USER_UPDATE", "USER_DELETE", "USER_CREATE", "ACCOUNT_LINKING"] 中的一个或多个
704
+ # @type Filters: Array
705
+
706
+ attr_accessor :UserStoreId, :Pageable, :StartTime, :Filters
707
+
708
+ def initialize(userstoreid=nil, pageable=nil, starttime=nil, filters=nil)
709
+ @UserStoreId = userstoreid
710
+ @Pageable = pageable
711
+ @StartTime = starttime
712
+ @Filters = filters
713
+ end
714
+
715
+ def deserialize(params)
716
+ @UserStoreId = params['UserStoreId']
717
+ unless params['Pageable'].nil?
718
+ @Pageable = Pageable.new
719
+ @Pageable.deserialize(params['Pageable'])
720
+ end
721
+ @StartTime = params['StartTime']
722
+ unless params['Filters'].nil?
723
+ @Filters = []
724
+ params['Filters'].each do |i|
725
+ filter_tmp = Filter.new
726
+ filter_tmp.deserialize(i)
727
+ @Filters << filter_tmp
728
+ end
729
+ end
730
+ end
731
+ end
732
+
733
+ # ListLogMessageByCondition返回参数结构体
734
+ class ListLogMessageByConditionResponse < TencentCloud::Common::AbstractModel
735
+ # @param Total: 总条数
736
+ # @type Total: Integer
737
+ # @param Pageable: 分页对象
738
+ # @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
739
+ # @param Content: 日志列表
740
+ # 注意:此字段可能返回 null,表示取不到有效值。
741
+ # @type Content: Array
742
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
743
+ # @type RequestId: String
744
+
745
+ attr_accessor :Total, :Pageable, :Content, :RequestId
746
+
747
+ def initialize(total=nil, pageable=nil, content=nil, requestid=nil)
748
+ @Total = total
749
+ @Pageable = pageable
750
+ @Content = content
751
+ @RequestId = requestid
752
+ end
753
+
754
+ def deserialize(params)
755
+ @Total = params['Total']
756
+ unless params['Pageable'].nil?
757
+ @Pageable = Pageable.new
758
+ @Pageable.deserialize(params['Pageable'])
759
+ end
760
+ unless params['Content'].nil?
761
+ @Content = []
762
+ params['Content'].each do |i|
763
+ logmessage_tmp = LogMessage.new
764
+ logmessage_tmp.deserialize(i)
765
+ @Content << logmessage_tmp
766
+ end
767
+ end
768
+ @RequestId = params['RequestId']
769
+ end
770
+ end
771
+
693
772
  # ListUserByProperty请求参数结构体
694
773
  class ListUserByPropertyRequest < TencentCloud::Common::AbstractModel
695
774
  # @param UserStoreId: 用户目录ID
@@ -823,6 +902,105 @@ module TencentCloud
823
902
  end
824
903
  end
825
904
 
905
+ # 日志详情
906
+ class LogMessage < TencentCloud::Common::AbstractModel
907
+ # @param LogId: 日志标识
908
+ # @type LogId: String
909
+ # @param TenantId: 租户ID
910
+ # 注意:此字段可能返回 null,表示取不到有效值。
911
+ # @type TenantId: String
912
+ # @param UserStoreId: 用户池ID
913
+ # 注意:此字段可能返回 null,表示取不到有效值。
914
+ # @type UserStoreId: String
915
+ # @param EventCode: 事件编码
916
+ # 注意:此字段可能返回 null,表示取不到有效值。
917
+ # @type EventCode: String
918
+ # @param EventDate: 事件发生时间戳,单位:毫秒
919
+ # 注意:此字段可能返回 null,表示取不到有效值。
920
+ # @type EventDate: Integer
921
+ # @param Description: 描述
922
+ # 注意:此字段可能返回 null,表示取不到有效值。
923
+ # @type Description: String
924
+ # @param Participant: 事件参与者
925
+
926
+ # <li> **TENANT** </li> 租户
927
+ # <li> **USER** </li> 用户
928
+ # 注意:此字段可能返回 null,表示取不到有效值。
929
+ # @type Participant: String
930
+ # @param ApplicationClientId: 应用clientId
931
+ # 注意:此字段可能返回 null,表示取不到有效值。
932
+ # @type ApplicationClientId: String
933
+ # @param ApplicationName: 应用名称
934
+ # 注意:此字段可能返回 null,表示取不到有效值。
935
+ # @type ApplicationName: String
936
+ # @param AuthSourceId: 认证源ID
937
+ # 注意:此字段可能返回 null,表示取不到有效值。
938
+ # @type AuthSourceId: String
939
+ # @param AuthSourceName: 认证源名称
940
+ # 注意:此字段可能返回 null,表示取不到有效值。
941
+ # @type AuthSourceName: String
942
+ # @param AuthSourceType: 认证源类型
943
+ # 注意:此字段可能返回 null,表示取不到有效值。
944
+ # @type AuthSourceType: String
945
+ # @param AuthSourceCategory: 认证源类别
946
+ # 注意:此字段可能返回 null,表示取不到有效值。
947
+ # @type AuthSourceCategory: String
948
+ # @param Ip: IP地址
949
+ # 注意:此字段可能返回 null,表示取不到有效值。
950
+ # @type Ip: String
951
+ # @param UserAgent: 用户代理
952
+ # 注意:此字段可能返回 null,表示取不到有效值。
953
+ # @type UserAgent: String
954
+ # @param UserId: 用户ID
955
+ # 注意:此字段可能返回 null,表示取不到有效值。
956
+ # @type UserId: String
957
+ # @param Detail: 详情
958
+ # 注意:此字段可能返回 null,表示取不到有效值。
959
+ # @type Detail: String
960
+
961
+ attr_accessor :LogId, :TenantId, :UserStoreId, :EventCode, :EventDate, :Description, :Participant, :ApplicationClientId, :ApplicationName, :AuthSourceId, :AuthSourceName, :AuthSourceType, :AuthSourceCategory, :Ip, :UserAgent, :UserId, :Detail
962
+
963
+ def initialize(logid=nil, tenantid=nil, userstoreid=nil, eventcode=nil, eventdate=nil, description=nil, participant=nil, applicationclientid=nil, applicationname=nil, authsourceid=nil, authsourcename=nil, authsourcetype=nil, authsourcecategory=nil, ip=nil, useragent=nil, userid=nil, detail=nil)
964
+ @LogId = logid
965
+ @TenantId = tenantid
966
+ @UserStoreId = userstoreid
967
+ @EventCode = eventcode
968
+ @EventDate = eventdate
969
+ @Description = description
970
+ @Participant = participant
971
+ @ApplicationClientId = applicationclientid
972
+ @ApplicationName = applicationname
973
+ @AuthSourceId = authsourceid
974
+ @AuthSourceName = authsourcename
975
+ @AuthSourceType = authsourcetype
976
+ @AuthSourceCategory = authsourcecategory
977
+ @Ip = ip
978
+ @UserAgent = useragent
979
+ @UserId = userid
980
+ @Detail = detail
981
+ end
982
+
983
+ def deserialize(params)
984
+ @LogId = params['LogId']
985
+ @TenantId = params['TenantId']
986
+ @UserStoreId = params['UserStoreId']
987
+ @EventCode = params['EventCode']
988
+ @EventDate = params['EventDate']
989
+ @Description = params['Description']
990
+ @Participant = params['Participant']
991
+ @ApplicationClientId = params['ApplicationClientId']
992
+ @ApplicationName = params['ApplicationName']
993
+ @AuthSourceId = params['AuthSourceId']
994
+ @AuthSourceName = params['AuthSourceName']
995
+ @AuthSourceType = params['AuthSourceType']
996
+ @AuthSourceCategory = params['AuthSourceCategory']
997
+ @Ip = params['Ip']
998
+ @UserAgent = params['UserAgent']
999
+ @UserId = params['UserId']
1000
+ @Detail = params['Detail']
1001
+ end
1002
+ end
1003
+
826
1004
  # Map数据类型
827
1005
  class MemberMap < TencentCloud::Common::AbstractModel
828
1006
  # @param Name: 健
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ciam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.344
4
+ version: 1.0.345
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-06-28 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common