Class: TencentCloud::Eb::V20210416::UpdateTargetRequest

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

Overview

UpdateTarget请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventbusid = nil, ruleid = nil, targetid = nil, enablebatchdelivery = nil, batchtimeout = nil, batcheventcount = nil) ⇒ UpdateTargetRequest

Returns a new instance of UpdateTargetRequest.



2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/v20210416/models.rb', line 2654

def initialize(eventbusid=nil, ruleid=nil, targetid=nil, enablebatchdelivery=nil, batchtimeout=nil, batcheventcount=nil)
  @EventBusId = eventbusid
  @RuleId = ruleid
  @TargetId = targetid
  @EnableBatchDelivery = enablebatchdelivery
  @BatchTimeout = batchtimeout
  @BatchEventCount = batcheventcount
end

Instance Attribute Details

#BatchEventCountObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def BatchEventCount
  @BatchEventCount
end

#BatchTimeoutObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def BatchTimeout
  @BatchTimeout
end

#EnableBatchDeliveryObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def EnableBatchDelivery
  @EnableBatchDelivery
end

#EventBusIdObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def EventBusId
  @EventBusId
end

#RuleIdObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def RuleId
  @RuleId
end

#TargetIdObject

Parameters:

  • EventBusId:

    事件集ID

  • RuleId:

    事件规则ID

  • TargetId:

    事件目标ID

  • EnableBatchDelivery:

    开启批量投递使能

  • BatchTimeout:

    批量投递最长等待时间

  • BatchEventCount:

    批量投递最大事件条数



2652
2653
2654
# File 'lib/v20210416/models.rb', line 2652

def TargetId
  @TargetId
end

Instance Method Details

#deserialize(params) ⇒ Object



2663
2664
2665
2666
2667
2668
2669
2670
# File 'lib/v20210416/models.rb', line 2663

def deserialize(params)
  @EventBusId = params['EventBusId']
  @RuleId = params['RuleId']
  @TargetId = params['TargetId']
  @EnableBatchDelivery = params['EnableBatchDelivery']
  @BatchTimeout = params['BatchTimeout']
  @BatchEventCount = params['BatchEventCount']
end