Class: TencentCloud::Cdb::V20170320::AuditLogFilter
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AuditLogFilter
- Defined in:
- lib/v20170320/models.rb
Overview
审计日志过滤条件。查询审计日志时,用户过滤返回的审计日志。
Instance Attribute Summary collapse
- #AffectRows ⇒ Object
- #AffectRowsSection ⇒ Object
- #DBName ⇒ Object
- #ErrCode ⇒ Object
- #ExecTime ⇒ Object
- #ExecTimeSection ⇒ Object
- #Host ⇒ Object
- #IoWaitTimeSection ⇒ Object
- #LockWaitTimeSection ⇒ Object
- #PolicyName ⇒ Object
- #SentRows ⇒ Object
- #SentRowsSection ⇒ Object
- #Sql ⇒ Object
- #Sqls ⇒ Object
- #SqlType ⇒ Object
- #SqlTypes ⇒ Object
- #TableName ⇒ Object
- #ThreadId ⇒ Object
- #TransactionLivingTimeSection ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(host = nil, user = nil, dbname = nil, tablename = nil, policyname = nil, sql = nil, sqltype = nil, exectime = nil, affectrows = nil, sqltypes = nil, sqls = nil, affectrowssection = nil, sentrowssection = nil, exectimesection = nil, lockwaittimesection = nil, iowaittimesection = nil, transactionlivingtimesection = nil, threadid = nil, sentrows = nil, errcode = nil) ⇒ AuditLogFilter
constructor
A new instance of AuditLogFilter.
Constructor Details
#initialize(host = nil, user = nil, dbname = nil, tablename = nil, policyname = nil, sql = nil, sqltype = nil, exectime = nil, affectrows = nil, sqltypes = nil, sqls = nil, affectrowssection = nil, sentrowssection = nil, exectimesection = nil, lockwaittimesection = nil, iowaittimesection = nil, transactionlivingtimesection = nil, threadid = nil, sentrows = nil, errcode = nil) ⇒ AuditLogFilter
Returns a new instance of AuditLogFilter.
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/v20170320/models.rb', line 853 def initialize(host=nil, user=nil, dbname=nil, tablename=nil, policyname=nil, sql=nil, sqltype=nil, exectime=nil, affectrows=nil, sqltypes=nil, sqls=nil, affectrowssection=nil, sentrowssection=nil, exectimesection=nil, lockwaittimesection=nil, iowaittimesection=nil, transactionlivingtimesection=nil, threadid=nil, sentrows=nil, errcode=nil) @Host = host @User = user @DBName = dbname @TableName = tablename @PolicyName = policyname @Sql = sql @SqlType = sqltype @ExecTime = exectime @AffectRows = affectrows @SqlTypes = sqltypes @Sqls = sqls @AffectRowsSection = affectrowssection @SentRowsSection = sentrowssection @ExecTimeSection = exectimesection @LockWaitTimeSection = lockwaittimesection @IoWaitTimeSection = iowaittimesection @TransactionLivingTimeSection = transactionlivingtimesection @ThreadId = threadid @SentRows = sentrows @ErrCode = errcode end |
Instance Attribute Details
#AffectRows ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def AffectRows @AffectRows end |
#AffectRowsSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def AffectRowsSection @AffectRowsSection end |
#DBName ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def DBName @DBName end |
#ErrCode ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def ErrCode @ErrCode end |
#ExecTime ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def ExecTime @ExecTime end |
#ExecTimeSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def ExecTimeSection @ExecTimeSection end |
#Host ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def Host @Host end |
#IoWaitTimeSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def IoWaitTimeSection @IoWaitTimeSection end |
#LockWaitTimeSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def LockWaitTimeSection @LockWaitTimeSection end |
#PolicyName ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def PolicyName @PolicyName end |
#SentRows ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def SentRows @SentRows end |
#SentRowsSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def SentRowsSection @SentRowsSection end |
#Sql ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def Sql @Sql end |
#Sqls ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def Sqls @Sqls end |
#SqlType ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def SqlType @SqlType end |
#SqlTypes ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def SqlTypes @SqlTypes end |
#TableName ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def TableName @TableName end |
#ThreadId ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def ThreadId @ThreadId end |
#TransactionLivingTimeSection ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def TransactionLivingTimeSection @TransactionLivingTimeSection end |
#User ⇒ Object
851 852 853 |
# File 'lib/v20170320/models.rb', line 851 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/v20170320/models.rb', line 876 def deserialize(params) @Host = params['Host'] @User = params['User'] @DBName = params['DBName'] @TableName = params['TableName'] @PolicyName = params['PolicyName'] @Sql = params['Sql'] @SqlType = params['SqlType'] @ExecTime = params['ExecTime'] @AffectRows = params['AffectRows'] @SqlTypes = params['SqlTypes'] @Sqls = params['Sqls'] @AffectRowsSection = params['AffectRowsSection'] @SentRowsSection = params['SentRowsSection'] @ExecTimeSection = params['ExecTimeSection'] @LockWaitTimeSection = params['LockWaitTimeSection'] @IoWaitTimeSection = params['IoWaitTimeSection'] @TransactionLivingTimeSection = params['TransactionLivingTimeSection'] @ThreadId = params['ThreadId'] @SentRows = params['SentRows'] @ErrCode = params['ErrCode'] end |