Class: TencentCloud::Cloudaudit::V20190319::ResourceField

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(resourcetype = nil, actiontype = nil, eventnames = nil) ⇒ ResourceField

Returns a new instance of ResourceField.



1201
1202
1203
1204
1205
# File 'lib/v20190319/models.rb', line 1201

def initialize(resourcetype=nil, actiontype=nil, eventnames=nil)
  @ResourceType = resourcetype
  @ActionType = actiontype
  @EventNames = eventnames
end

Instance Attribute Details

#ActionTypeObject

Parameters:

  • ResourceType:

    跟踪事件所属产品(支持全部产品或单个产品,如:cam,全部:*)

  • ActionType:

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

  • EventNames:

    跟踪事件接口名列表(ResourceType为 * 时,EventNames必须为全部:指定ResourceType时,支持全部接口:;支持部分接口:[“cos”, “cls”],接口列表上限10个)



1199
1200
1201
# File 'lib/v20190319/models.rb', line 1199

def ActionType
  @ActionType
end

#EventNamesObject

Parameters:

  • ResourceType:

    跟踪事件所属产品(支持全部产品或单个产品,如:cam,全部:*)

  • ActionType:

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

  • EventNames:

    跟踪事件接口名列表(ResourceType为 * 时,EventNames必须为全部:指定ResourceType时,支持全部接口:;支持部分接口:[“cos”, “cls”],接口列表上限10个)



1199
1200
1201
# File 'lib/v20190319/models.rb', line 1199

def EventNames
  @EventNames
end

#ResourceTypeObject

Parameters:

  • ResourceType:

    跟踪事件所属产品(支持全部产品或单个产品,如:cam,全部:*)

  • ActionType:

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

  • EventNames:

    跟踪事件接口名列表(ResourceType为 * 时,EventNames必须为全部:指定ResourceType时,支持全部接口:;支持部分接口:[“cos”, “cls”],接口列表上限10个)



1199
1200
1201
# File 'lib/v20190319/models.rb', line 1199

def ResourceType
  @ResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



1207
1208
1209
1210
1211
# File 'lib/v20190319/models.rb', line 1207

def deserialize(params)
  @ResourceType = params['ResourceType']
  @ActionType = params['ActionType']
  @EventNames = params['EventNames']
end