Class: TencentCloud::Cloudaudit::V20190319::Tracks

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190319/models.rb

Overview

跟踪集列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, actiontype = nil, resourcetype = nil, status = nil, eventnames = nil, storage = nil, createtime = nil, trackid = nil) ⇒ Tracks

Returns a new instance of Tracks.



1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
# File 'lib/v20190319/models.rb', line 1362

def initialize(name=nil, actiontype=nil, resourcetype=nil, status=nil, eventnames=nil, storage=nil, createtime=nil, trackid=nil)
  @Name = name
  @ActionType = actiontype
  @ResourceType = resourcetype
  @Status = status
  @EventNames = eventnames
  @Storage = storage
  @CreateTime = createtime
  @TrackId = trackid
end

Instance Attribute Details

#ActionTypeObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def ActionType
  @ActionType
end

#CreateTimeObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def CreateTime
  @CreateTime
end

#EventNamesObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def EventNames
  @EventNames
end

#NameObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def Name
  @Name
end

#ResourceTypeObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def ResourceType
  @ResourceType
end

#StatusObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def Status
  @Status
end

#StorageObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def Storage
  @Storage
end

#TrackIdObject

Parameters:

  • Name:

    跟踪集名称

  • ActionType:

    跟踪事件类型(读:Read;写:Write;全部:*)

  • ResourceType:

    跟踪事件所属产品(如:cos,全部:*)

  • Status:

    跟踪集状态(未开启:0;开启:1)

  • EventNames:
  • Storage:

    数据投递存储(目前支持 cos、cls)

  • CreateTime:

    跟踪集创建时间

  • TrackId:

    跟踪集 ID



1360
1361
1362
# File 'lib/v20190319/models.rb', line 1360

def TrackId
  @TrackId
end

Instance Method Details

#deserialize(params) ⇒ Object



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
# File 'lib/v20190319/models.rb', line 1373

def deserialize(params)
  @Name = params['Name']
  @ActionType = params['ActionType']
  @ResourceType = params['ResourceType']
  @Status = params['Status']
  @EventNames = params['EventNames']
  unless params['Storage'].nil?
    @Storage = Storage.new
    @Storage.deserialize(params['Storage'])
  end
  @CreateTime = params['CreateTime']
  @TrackId = params['TrackId']
end